/* ============================================================
   LOGIN.CSS — BrightWay Enterprises Login Page
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 24px 40px;
  background: var(--bg-soft);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.05), transparent 60%);
  border-radius: 50%;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 36px;
}

.auth-card-header .bw-logo-icon {
  margin: 0 auto 16px;
}

.auth-card-header h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.auth-card-header p {
  font-size: 0.92rem;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

.auth-divider span {
  position: relative;
  background: var(--bg-white);
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

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

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 24px;
}

.remember-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.remember-check input {
  accent-color: var(--primary);
}

.forgot-link {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

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

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 8px;
}

.password-toggle:hover { color: var(--text-primary); }

@media (max-width: 480px) {
  .auth-card { padding: 32px 24px; }
}
