/* ============================================================
   AMS — register.css
   Create-account page only. Loaded alongside css/shared.css.

   Design note: mirror image of login.css on purpose — cyan leads
   top-right instead of violet leading top-left, orbs swap corners,
   and the brand icon gets a slow sparkle-spin instead of the
   login page's pulse. Small enough that the two pages clearly
   belong to the same product, distinct enough that you always
   know which one you're on.
   ============================================================ */

.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;
}

/* Swapped vs. login.css: cyan top-right, violet bottom-left */
.register-page .login-orb-a {
    width: 480px;
    height: 480px;
    top: -150px;
    right: -120px;
    left: auto;
    background: radial-gradient(circle, #67e8f9, transparent 70%);
    animation: registerOrbA 15s ease-in-out infinite;
}

.register-page .login-orb-b {
    width: 520px;
    height: 520px;
    bottom: -170px;
    left: -130px;
    right: auto;
    background: radial-gradient(circle, #c4b5fd, transparent 70%);
    animation: registerOrbB 17s ease-in-out infinite;
}

@keyframes registerOrbA {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-35px, 25px); }
}

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

.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; }

/* Sparkle-spin instead of login's pulse — a little more "first
   time here" energy for account creation. */
.register-page .login-brand-icon {
    animation: sparkleSpin 5s ease-in-out infinite;
}
@keyframes sparkleSpin {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(8deg); }
}

.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(8,145,178,0.22);
}

.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;
}

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

.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; }
}
