/* ============================================================
   SIND.CLUB — Login Page Styles
   /public_html/assets/css/login.css
   ============================================================ */

:root {
    --navy:   #0a1628;
    --accent: #00c896;
    --white:  #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--navy);
    color: var(--white);
    min-height: 100vh;
}

.login-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 30%, rgba(0,200,150,.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(26,58,110,.5) 0%, transparent 60%);
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,200,150,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,200,150,.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.login-card {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(0,200,150,.15);
    border-radius: 20px;
    padding: 52px 48px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 32px 80px rgba(0,0,0,.4);
}

.login-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 6px;
}

.login-logo span {
    color: var(--accent);
}

.login-badge {
    display: inline-block;
    background: rgba(0,200,150,.1);
    border: 1px solid rgba(0,200,150,.2);
    color: var(--accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 32px;
}

.login-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.login-sub {
    font-size: .88rem;
    color: rgba(255,255,255,.4);
    font-weight: 300;
    margin-bottom: 36px;
    line-height: 1.6;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--white);
    color: #1a1a2e;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.btn-google:active {
    transform: translateY(0);
}

.btn-google svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.08);
}

.login-divider span {
    font-size: .75rem;
    color: rgba(255,255,255,.2);
}

.login-info {
    font-size: .78rem;
    color: rgba(255,255,255,.2);
    line-height: 1.6;
}

.login-info strong {
    color: rgba(255,255,255,.35);
}

.loading {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(0,200,150,.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    font-size: .88rem;
    color: rgba(255,255,255,.4);
}

.error-msg {
    display: none;
    background: rgba(255,80,80,.1);
    border: 1px solid rgba(255,80,80,.2);
    color: #ff6b6b;
    font-size: .82rem;
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: left;
}

.success-msg {
    display: none;
    background: rgba(0,200,150,.1);
    border: 1px solid rgba(0,200,150,.2);
    color: var(--accent);
    font-size: .82rem;
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: left;
}

@media (max-width: 480px) {
    .login-card {
        padding: 36px 24px;
        margin: 20px;
    }
}
