/* auth.css — Login / Sign Up page styles */

.auth-section {
  padding: 60px 40px 100px;
  display: flex;
  justify-content: center;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  padding: 40px;
  width: 100%;
  max-width: 440px;
}

/* ---- TABS ---- */
.auth-tabs {
  display: flex;
  gap: 8px;
  background: var(--gray-100);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.auth-tab.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

/* ---- FORMS ---- */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form.hidden {
  display: none;
}

.auth-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.auth-form-subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.auth-form .form-input {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--gray-50, #f9f9f9);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.auth-form .form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 83, 159, 0.1);
  background: var(--white);
}

.auth-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}

.auth-submit-btn:hover {
  background: #003d7a;
}

.auth-submit-btn:active {
  transform: scale(0.98);
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-divider {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin: 4px 0;
}

.auth-switch-link {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  text-decoration: underline;
  font-family: var(--font-body);
}
