/* ACAGES UI — auth / standalone state screens (login, reset, maintenance, unauthorized, 404) */

html, body.ac-auth-body {
  height: 100%;
  margin: 0;
  background: var(--ac-bg);
  font-family: var(--ac-font-sans);
  color: var(--ac-text);
}

.ac-auth-shell {
  min-height: 100vh;
  display: flex;
}

.ac-auth-panel {
  flex: 1 1 460px;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ac-space-8);
  position: relative;
  z-index: 2;
  background: var(--ac-surface);
}

.ac-auth-card {
  width: 100%;
  max-width: 380px;
}

.ac-auth-logo { max-height: 44px; margin-bottom: var(--ac-space-6); }

.ac-auth-title {
  font-family: var(--ac-font-display);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--ac-text);
}
.ac-auth-subtitle { color: var(--ac-text-muted); font-size: 13.5px; margin-bottom: var(--ac-space-6); }

.ac-auth-field { position: relative; margin-bottom: var(--ac-space-4); }
.ac-auth-field input.form-control { padding-left: 42px; height: 46px; }
.ac-auth-field .ac-auth-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ac-text-faint); font-size: 14px; z-index: 2;
}
.ac-auth-field .ac-auth-toggle-pass {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ac-text-faint); cursor: pointer; font-size: 13px;
}

.ac-auth-submit {
  width: 100%;
  height: 46px;
  font-size: 14px;
}

.ac-auth-forgot {
  display: block;
  text-align: center;
  margin-top: var(--ac-space-5);
  font-size: 13px;
  font-weight: 600;
}

.ac-auth-hero {
  flex: 2 1 60%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--ac-hero-gradient);
  color: #fff;
  padding: var(--ac-space-10);
}
.ac-auth-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  mix-blend-mode: overlay;
}
.ac-auth-hero::before, .ac-auth-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.45) 0%, transparent 70%);
  filter: blur(1px);
  animation: ac-float 10s var(--ac-ease) infinite;
}
.ac-auth-hero::before { width: 320px; height: 320px; top: -100px; right: 8%; }
.ac-auth-hero::after { width: 200px; height: 200px; bottom: 12%; left: 8%; animation-delay: 3s; }

.ac-auth-hero-content { position: relative; z-index: 2; max-width: 480px; }
.ac-auth-hero-eyebrow { text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75); }
.ac-auth-hero-title { font-family: var(--ac-font-display); font-size: 32px; font-weight: 800; margin: 8px 0 12px; line-height: 1.2; }
.ac-auth-hero-desc { color: rgba(255,255,255,0.85); font-size: 14.5px; line-height: 1.6; }

.ac-auth-notices { margin-top: var(--ac-space-6); display: flex; flex-direction: column; gap: 10px; max-height: 40vh; overflow-y: auto; }
.ac-auth-notice {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--ac-radius-lg);
  padding: var(--ac-space-4) var(--ac-space-5);
}
.ac-auth-notice h4 { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; }
.ac-auth-notice p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,0.8); }
.ac-auth-notice a { color: #fff; text-decoration: underline; }

.ac-auth-captcha { display: flex; align-items: center; gap: 10px; margin-bottom: var(--ac-space-4); }
.ac-auth-captcha-refresh { cursor: pointer; color: var(--ac-text-muted); }
.ac-auth-captcha-refresh:hover { color: var(--ac-primary); }

@media (max-width: 900px) {
  .ac-auth-hero { display: none; }
  .ac-auth-panel { max-width: none; flex: 1 1 100%; }
}
