/* Social Beams — auth pages. Reuses the site tokens from styles.css
 * (--bg, --card, --border, --purple, --pink, .btn, ...). Only the
 * auth card + form styles live here. */

.auth-page { min-height: calc(100vh - 57px); display: flex; align-items: center; justify-content: center; padding: 56px 20px 72px; position: relative; overflow: hidden; }
.auth-card { width: 100%; max-width: 460px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px 30px; box-shadow: var(--shadow), var(--glow); position: relative; z-index: 2; }
.auth-card.wide { max-width: 560px; }
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.auth-logo .mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--purple), var(--pink)); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: 800; color: #fff; }
.auth-logo b { font-size: 1.25rem; }
.auth-card h1 { font-size: 1.55rem; margin: 14px 0 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 22px; font-size: .98rem; }
.auth-card .sub b { color: #fff; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 15px; font-size: 1rem; font-family: inherit; color: var(--text); background: var(--card2); border: 1px solid var(--border); border-radius: 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(150, 80, 255, .25); }
.field input:disabled { opacity: .55; }
.field .hint { font-size: .85rem; color: var(--muted2); margin-top: 6px; }
.auth-msg { display: none; padding: 12px 15px; border-radius: 12px; font-size: .95rem; margin-bottom: 16px; }
.auth-msg.error { display: block; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .45); color: #fca5a5; }
.auth-msg.ok { display: block; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .45); color: #6ee7b7; }
.auth-msg.info { display: block; background: rgba(150, 80, 255, .12); border: 1px solid rgba(150, 80, 255, .4); color: #d8b4fe; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: .93rem; flex-wrap: wrap; }
.auth-links a { color: var(--muted); }
.auth-links a:hover { color: #fff; text-decoration: none; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted2); font-size: .85rem; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.google-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: #1f1f1f; font-weight: 700; font-size: .98rem; font-family: inherit; cursor: pointer; transition: box-shadow .15s; }
.google-btn:hover { box-shadow: 0 4px 18px rgba(255, 255, 255, .25); }
.google-btn:disabled { opacity: .6; cursor: default; }
.auth-foot { text-align: center; color: var(--muted2); font-size: .9rem; margin-top: 22px; }
.auth-foot a { color: var(--pink-soft); }
.check-mail { text-align: center; padding: 8px 0 4px; }
.check-mail .big { font-size: 2.6rem; margin-bottom: 8px; }
.check-mail p { color: var(--muted); }
.plan-line { display: flex; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--border); }
.plan-line span { color: var(--muted); }
.plan-line b { text-align: right; }
.plan-line:last-of-type { border-bottom: none; }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(52, 211, 153, .15); color: var(--green); border: 1px solid rgba(52, 211, 153, .4); }
.pill.free { background: rgba(150, 80, 255, .12); color: #d8b4fe; border-color: rgba(150, 80, 255, .4); }
.pill.expired { background: rgba(239, 68, 68, .12); color: #fca5a5; border-color: rgba(239, 68, 68, .45); }
@media (max-width: 520px) { .auth-card { padding: 28px 22px 24px; } }

/* ---- Auth redesign: hero, gradient card, orbit ring, stars ---- */
.auth-page{flex-direction:column}
.auth-ring{position:absolute;top:50%;left:50%;width:640px;height:640px;margin:-320px 0 0 -320px;border:1px solid rgba(150,80,255,.22);border-radius:50%;pointer-events:none;z-index:0;animation:authSpin 40s linear infinite}
.auth-ring::before,.auth-ring::after{content:"";position:absolute;width:8px;height:8px;border-radius:50%}
.auth-ring::before{top:12%;left:16%;background:var(--pink);box-shadow:0 0 14px 2px rgba(255,95,162,.8)}
.auth-ring::after{bottom:10%;right:14%;background:var(--purple);box-shadow:0 0 14px 2px rgba(150,80,255,.8)}
@keyframes authSpin{to{transform:rotate(360deg)}}
.auth-star{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;opacity:.7;pointer-events:none;z-index:0;animation:authTwinkle 3s ease-in-out infinite}
.auth-star.s1{top:9%;left:12%}
.auth-star.s2{top:16%;right:11%;animation-delay:.6s}
.auth-star.s3{top:38%;left:5%;width:2px;height:2px;animation-delay:1.2s}
.auth-star.s4{top:52%;right:6%;animation-delay:.3s}
.auth-star.s5{top:76%;left:13%;animation-delay:1.8s}
.auth-star.s6{top:84%;right:17%;width:2px;height:2px;animation-delay:.9s}
.auth-star.s7{top:7%;right:33%;width:2px;height:2px;animation-delay:1.5s}
.auth-star.s8{top:64%;left:88%;animation-delay:2.1s}
@keyframes authTwinkle{0%,100%{opacity:.15;transform:scale(.7)}50%{opacity:.9;transform:scale(1.15)}}
.auth-hero{text-align:center;position:relative;z-index:2;margin-bottom:26px;max-width:640px}
.auth-pill{display:inline-block;padding:7px 16px;border-radius:999px;font-size:.82rem;font-weight:700;letter-spacing:.06em;color:#e9d5ff;background:rgba(150,80,255,.14);border:1px solid rgba(150,80,255,.4)}
.auth-hero h2{font-size:clamp(1.7rem,4.5vw,2.4rem);letter-spacing:-.02em;margin:16px 0 14px}
.auth-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.auth-chips span{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;font-size:.85rem;font-weight:600;color:var(--muted);background:rgba(255,255,255,.05);border:1px solid var(--border)}
.auth-chips i{width:8px;height:8px;border-radius:50%;background:var(--dot,#fff);box-shadow:0 0 8px var(--dot,#fff)}
.auth-trial{position:relative;z-index:2;margin-top:22px;text-align:center;font-size:.95rem;font-weight:600;color:#f0abfc}
.auth-card{background:linear-gradient(var(--card),var(--card)) padding-box,linear-gradient(135deg,rgba(150,80,255,.7),rgba(255,95,162,.55) 45%,rgba(150,80,255,.12)) border-box;border:1px solid transparent;border-radius:24px;box-shadow:0 24px 70px rgba(0,0,0,.55),0 0 60px rgba(150,80,255,.22)}
.auth-logo .mark{box-shadow:0 0 24px rgba(255,95,162,.55)}
@media (max-width:520px){.auth-hero{margin-bottom:20px}.auth-ring{width:480px;height:480px;margin:-240px 0 0 -240px}}

.auth-logo .mark-img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 18px rgba(150, 80, 255, .45); }
