html, body {
  height: 100%;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: #4A2614;
  position: relative;
  overflow: hidden;
  background-color: #FAC874;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FAC874;
  z-index: -1;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #FAC874;
  z-index: 1;
}

.login-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
  position: relative;
  z-index: 1;
}

.logo img {
  width: 350px;
  opacity: 0.95;
  filter: drop-shadow(0 4px 10px rgba(111, 59, 30, 0.45));
  margin-bottom: 20px;
}

.login-box {
  padding: 30px 25px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 25px rgba(74, 38, 20, 0.35);
  backdrop-filter: blur(5px);
  max-width: 350px;
  width: 100%;
}

label {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #4A2614;
  margin-bottom: 4px;
}

.form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid #6F3B1E;
  border-radius: 0;
  color: #4A2614;
  font-weight: 500;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.form-control:focus {
  border-color: #FAC874;
  box-shadow: 0 4px 10px rgba(250,200,116, 0.5);
  background: transparent;
  outline: none;
}

.form-control::placeholder {
  color: #8B5A3C;
}

.btn-login {
  width: 100%;
  background-color: #6F3B1E;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 0;
  margin-top: 15px;
  transition: all 0.4s ease;
}

.btn-login:hover {
  background-color: #4A2614;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(74, 38, 20, 0.5);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.toggle-password {
  position: absolute;
  top: 34px;
  right: 0;
  background: transparent;
  border: none;
  color: #8B5A3C;
  cursor: pointer;
  padding: 0 8px;
  font-size: 1rem;
  z-index: 1;
  outline: none;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #6F3B1E;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 200, 116, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  border: 6px solid rgba(243, 208, 45, 0.6);
  border-top: 6px solid #6F3B1E;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/*** SELECT2 ***/
.select2-container--bootstrap4 .select2-selection {
  background: #FAC874 !important;
  border: none !important;
  border-bottom: 1px solid #6F3B1E !important;
  border-radius: 0 !important;
  color: #4A2614 !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
  border-bottom-color: #55F758 !important;
  box-shadow: 0 4px 10px rgba(85, 247, 88, 0.35) !important;
}

.select2-container--bootstrap4 .select2-results__option--highlighted {
  background: #FAC874 !important;
  font-weight: 100;
  color: #4A2614 !important;

}
