body.login-page {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

#mouse-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.login-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 450px;
  padding: 15px;
}

.login-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 40px;
  width: 100%;
}

.logo-container {
  text-align: center;
  margin-bottom: 2rem;
}
.logo-container img {
  max-width: 180px;
  height: auto;
}

.form-title {
  text-align: center;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group .form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
}
.input-wrapper .input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}
.input-wrapper .form-input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.input-wrapper .form-input:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.input-wrapper .form-input.is-invalid {
  border-color: #e3342f;
}

.error-message {
  color: #e3342f;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.form-actions .checkbox-wrapper {
  display: flex;
  align-items: center;
}
.form-actions .checkbox-wrapper input[type=checkbox] {
  margin-right: 0.5rem;
}
.form-actions .checkbox-wrapper label {
  color: #666;
  cursor: pointer;
}
.form-actions .forgot-link {
  color: #667eea;
  text-decoration: none;
}
.form-actions .forgot-link:hover {
  text-decoration: underline;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #667eea, #764ba2);
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.btn-primary:active {
  transform: translateY(0);
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  padding: 10px;
  border-radius: 5px;
  font-size: 0.85rem;
  margin-top: 1.5rem;
  text-align: center;
  border: 1px solid #ffeeba;
}
