/* Auth Pages - Login & Register */

/* Page Layout */
.auth-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  background: #F8F9FA;
}

/* Auth Container */
.auth-container {
  background: #FFFFFF;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
}

/* Header */
.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-size: 1.875rem;
  color: #5CC5C8;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: #6C757D;
  font-size: 0.875rem;
}

/* Form Groups */
.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.auth-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #495057;
  font-weight: 500;
  font-size: 0.875rem;
}

.auth-form .form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #DEE2E6;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: #F8F9FA;
  color: #212529;
  transition: all 0.2s ease-in-out;
}

.auth-form .form-group input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #5CC5C8;
  box-shadow: 0 0 0 3px rgba(92, 197, 200, 0.1);
}

.auth-form .form-group input::placeholder {
  color: #6C757D;
}

/* Alerts */
.auth-alert {
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  border-left: 4px solid;
}

.auth-alert-error {
  background-color: #fef2f2;
  border-left-color: #dc2626;
  color: #7f1d1d;
}

.auth-alert-success {
  background-color: #f0fdf4;
  border-left-color: #16a34a;
  color: #166534;
}

.auth-alert strong {
  font-weight: 600;
}

/* Submit Button */
.auth-submit {
  width: 100%;
  padding: 1rem;
  background: #5CC5C8;
  color: #FFFFFF;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 0.75rem;
  transition: background 0.2s ease-in-out;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-submit:hover {
  background: #52B3B6;
}

.auth-submit:active {
  background: #4AB5B8;
}

.auth-submit:disabled {
  background: #E9ECEF;
  color: #6C757D;
  cursor: not-allowed;
}

/* Footer Links */
.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: #6C757D;
  border-top: 1px solid #E9ECEF;
  padding-top: 1rem;
}

.auth-footer a {
  color: #5CC5C8;
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: #6C757D;
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E9ECEF;
}

.auth-divider span {
  padding: 0 1rem;
}

/* Toggle Link (Login/Register switch) */
.auth-toggle {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #6C757D;
}

.auth-toggle a {
  color: #5CC5C8;
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.25rem;
}

.auth-toggle a:hover {
  text-decoration: underline;
}

/* Password Requirements (for register) */
.password-requirements {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: var(--light-gray);
  border-radius: 0.5rem;
  font-size: 0.75rem;
}

.password-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.password-requirements li {
  padding: 0.25rem 0;
  color: #6C757D;
  
}

.password-requirements li::before {
  content: "• ";
  color: #5CC5C8;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Checkbox Group (Remember me, Terms) */
.auth-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.auth-checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
  cursor: pointer;
  width: 16px;
  height: 16px;
  border-radius: 0.25rem;
  accent-color: #5CC5C8;
}

.auth-checkbox label {
  margin-bottom: 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: normal;
  color: #495057;
}

.auth-checkbox a {
  color: #5CC5C8;
  text-decoration: none;
}

.auth-checkbox a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-page {
    padding: 1rem;
  }

  .auth-container {
    padding: 2rem 1.5rem;
  }

  .auth-header h1 {
    font-size: 1.5rem;
  }

  .auth-form .form-group input {
    padding: 0.625rem 0.875rem;
  }

  .auth-submit {
    padding: 0.875rem;
    font-size: 0.875rem;
  }
}

/* Print */
@media print {
  .auth-page {
    display: none;
  }
}