/* ============================================================
   AMS — login.css
   Sign-in page only. Loaded alongside css/shared.css.

   Design note: this is the front door, so the violet orb leads
   (top-left, larger, warmer) with cyan trailing bottom-right —
   the brand gradient read left-to-right, violet → cyan, same
   direction as the wordmark text itself.
   ============================================================ */

.login-body {
    background: var(--ams-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.55;
}

.login-orb-a {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, #c4b5fd, transparent 70%);
    animation: loginOrbA 14s ease-in-out infinite;
}

.login-orb-b {
    width: 480px;
    height: 480px;
    bottom: -180px;
    right: -140px;
    background: radial-gradient(circle, #67e8f9, transparent 70%);
    animation: loginOrbB 16s ease-in-out infinite;
}

@keyframes loginOrbA {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(40px, 30px); }
}

@keyframes loginOrbB {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, -40px); }
}

.login-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(17,24,39,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
}

.login-page {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 24px;
}

.login-brand { text-align: center; margin-bottom: 28px; }

.login-brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--ams-muted);
    margin-top: 4px;
    text-transform: uppercase;
}

.login-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(17,24,39,0.06);
    padding: 36px 38px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 60px -24px rgba(76,29,149,0.25);
}

.login-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ams-ink);
    margin-bottom: 6px;
}

.login-card-desc {
    font-size: 0.82rem;
    color: var(--ams-muted);
    margin-bottom: 26px;
    line-height: 1.5;
}

/* Remember / forgot row */
.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.lremember {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    color: #374151;
    cursor: pointer;
}
.lremember input[type=checkbox] { cursor: pointer; accent-color: var(--ams-violet); }

.lforgot {
    font-size: 0.8rem;
    color: var(--ams-violet-dark);
    text-decoration: none;
    font-weight: 500;
}
.lforgot:hover { color: var(--ams-violet-darker); text-decoration: underline; }

.lregister-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--ams-muted);
    margin-top: 20px;
}
.lregister-link {
    color: var(--ams-violet-dark);
    font-weight: 600;
    text-decoration: none;
}
.lregister-link:hover { color: var(--ams-violet-darker); text-decoration: underline; }

/* Channel chips — this is a media studio, so the sign-in page
   quietly shows what it publishes to before you're even in. */
.login-channels {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ams-border);
}

.lchannel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ams-muted);
    background: var(--ams-bg);
    border: 1px solid var(--ams-border);
    border-radius: 999px;
    padding: 5px 12px;
}
.lchannel i { font-size: 0.78rem; color: var(--ams-violet-dark); }

.login-security {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    color: var(--ams-muted);
    margin-top: 22px;
}
.lsec-dot { font-size: 0.4rem; color: #d1d5db; }

@media (max-width: 560px) {
    .login-card { padding: 30px 22px; }
    .login-orb { display: none; }
}
