
/* CHMSU Alumni Login Page Styles */
/* Green color scheme consistent with logo: #91D65A */

.login-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid #91D65A;
  border-radius: 15px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #91D65A;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
}

/* Form styling with green theme */
.form-label {
  color: #497A23;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid #91D65A;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #497A23;
  box-shadow: 0 0 0 0.2rem rgba(145, 214, 90, 0.25);
  outline: none;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

/* Password visibility toggle button */
.btn-outline-success {
  color: #91D65A;
  border-color: #91D65A;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-success:hover {
  color: #fff;
  background-color: #91D65A;
  border-color: #91D65A;
}

.btn-outline-success:focus {
  box-shadow: 0 0 0 0.2rem rgba(145, 214, 90, 0.5);
}

/* Success button styling */
.btn-success {
  background-color: #91D65A;
  border-color: #91D65A;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #497A23;
  border-color: #497A23;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(145, 214, 90, 0.4);
}

/* Links styling */
.text-success {
  color: #91D65A !important;
  transition: color 0.3s ease;
}

.text-success:hover {
  color: #497A23 !important;
}

/* Login credentials box */
.border-success {
  border-color: #91D65A !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* Responsive design */
@media (max-width: 576px) {
  .login-form {
    margin: 1rem;
    padding: 1.5rem;
  }

  .login-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .btn-success {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .bg-main {
    padding: 1rem;
  }
}

/* Animation for form appearance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-form {
  animation: fadeInUp 0.6s ease-out;
}

/* Enhanced form group spacing */
.form-group {
  margin-bottom: 1.5rem;
}

/* Alert styling for errors */
.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

/* Recaptcha styling */
.g-recaptcha {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

/* Input group styling */
.input-group-lg .form-control,
.input-group-lg .btn {
  border-radius: 8px;
}

.input-group .btn {
  border-left: none;
}

/* Focus states for better accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid #91D65A;
  outline-offset: 2px;
}
