:root {
  --apex-primary: #1d4ed8;
  --apex-muted: #6b7280;
}

body {
  background-color: #f8fafc;
}

.stats-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.stats-card .label {
  font-size: 0.85rem;
  color: var(--apex-muted);
}

.stats-card .value {
  font-size: 1.25rem;
  font-weight: 600;
}

.auth-body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1d4ed8, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 2rem;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5);
}

footer {
  background: transparent;
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    padding-right: 2.5rem;
}

.password-field.compact input {
    padding-right: 2rem;
    height: 2.25rem;
}

.toggle-password {
    position: absolute;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.toggle-password.visible {
    opacity: 1;
}

.toggle-password .icon-eye {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    position: relative;
}

.toggle-password .icon-eye::before,
.toggle-password .icon-eye::after {
    content: "";
    position: absolute;
    border: 2px solid #475569;
    border-radius: 999px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toggle-password .icon-eye::before {
    width: 100%;
    height: 60%;
    top: 20%;
    left: 0;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.toggle-password .icon-eye::after {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-radius: 50%;
    background: transparent;
}

.toggle-password.active .icon-eye::after {
    background: #475569;
}

.toggle-password.active .icon-eye::before {
    opacity: 0.35;
}
