/* Auth Container */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: #d5d2d2;
}




.auth-card h2 {
  color: #001F3F;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  color: #64748b;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Auth Form */
.auth-form {
  background-color: #f0eded; /* dark white */
  border-radius: 12px;
  box-shadow: 2px 10px 5px rgb(153, 153, 153); /* soft box shadow */
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  
}


/* Form Group */
.form-group {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 0.75rem; /* right padding for icon space */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 8px;
}

.form-group i {
  position: absolute;
  right: 1rem; /* moves icon to the right */
  color: #94a3b8;
  pointer-events: none;
}


label {
  display: block;
  margin-bottom: 0.5rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.875rem;
}



.toggle-password {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
  }
  


/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}
.form-group-terms{
  display: flex;
}

#agreeTerms{
  display: flex;
  margin-top: 9px;
}
.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
}

.forgot-password {
  color: #005f99;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Auth Button */
.auth-btn {
  background: rgba(0, 31, 63, 0.9);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.auth-btn:hover {
  background: rgba(0, 31, 63, 0.7);
  color: #d1fae5;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.875rem;
  margin: 1rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e2e8f0;
}

/* Social Login */
.social-login {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: white;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.social-btn:hover {
  background-color: #f8fafc;
}

.social-btn.google {
  color: #db4437;
}

.social-btn.github {
  color: #333;
}

/* Auth Switch */
.auth-switch {
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

.auth-switch a {
  color: #005f99;
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem;
  }

  .social-login {
    flex-direction: column;
  }
}


  .alert {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #34d399;
}

.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}
