/* =========================================================
   LAZY BOY GAMES — GAME EDITOR LOGIN (AAA)
   ========================================================= */

/* ---------- Base ---------- */

/* ==================== Hero Branding ==================== */

.login-hero
{
    text-align: center;
    margin-bottom: 26px;
}

.login-hero-logo
{
    font-size: 44px;
    margin-bottom: 8px;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}

.login-hero-brand
{
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    background: linear-gradient(180deg, #ffffff, #a9b8d6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    margin-bottom: 4px;
}

.login-hero-title
{
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.login-hero-sub
{
    font-size: 14px;
    color: #9aa6bd;
}


html, body
{
    margin: 0;
    padding: 0;
    height: 100%;
}

body
{
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
            radial-gradient(1200px 600px at 50% -20%, #233044 0%, #0b0f14 55%, #05070a 100%);
    color: #e6eaf0;
}

/* ---------- Layout ---------- */

.login-wrap
{
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    box-sizing: border-box;
}

/* ---------- Card ---------- */

.login-card
{
    width: min(460px, 94vw);
    padding: 28px 26px 24px;
    border-radius: 20px;

    background:
            linear-gradient(180deg, rgba(28,36,52,0.95), rgba(16,22,34,0.95));

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
            0 40px 120px rgba(0,0,0,0.65),
            inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ---------- Brand Header ---------- */

.login-head
{
    text-align: center;
    margin-bottom: 18px;
}

.login-logo
{
    font-size: 40px;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

.login-brand
{
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    background: linear-gradient(180deg, #ffffff, #9fb4d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    margin-bottom: 2px;
}

.login-title
{
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
}

.login-sub
{
    margin: 6px 0 0;
    font-size: 14px;
    color: #9aa6bd;
}

/* ---------- Form ---------- */

.form__group
{
    margin: 14px 0;
}

.form__label
{
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #aeb8cc;
}

.input
{
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;

    background: linear-gradient(180deg, #0e141d, #0a0f16);
    color: #e6eaf0;

    border: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;

    transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease,
            background 0.2s ease;
}

.input::placeholder
{
    color: #6f7a90;
}

.input:focus
{
    outline: none;
    background: #0f1622;

    border-color: rgba(64,140,255,0.6);
    box-shadow:
            0 0 0 3px rgba(64,140,255,0.25);
}

/* ---------- Button ---------- */

.btn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    border: none;
    cursor: pointer;

    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn--primary
{
    background:
            linear-gradient(180deg, #4aa3ff 0%, #1f6fe3 100%);
    color: #ffffff;

    box-shadow:
            0 10px 30px rgba(46,140,255,0.45),
            inset 0 1px 0 rgba(255,255,255,0.35);
}

.btn--primary:hover
{
    filter: brightness(1.06);
}

.btn--xl
{
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    margin-top: 8px;
}

/* ---------- Error ---------- */

.error
{
    margin: 12px 0;
    padding: 10px 12px;

    border-radius: 12px;

    background: rgba(240,84,84,0.14);
    border: 1px solid rgba(240,84,84,0.45);

    color: #ffd9d9;
    font-size: 13px;
}

/* ---------- Footer ---------- */

.login-foot
{
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #8f9bb3;
}

.login-foot a
{
    color: #4aa3ff;
    text-decoration: none;
    font-weight: 600;
}

.login-foot a:hover
{
    text-decoration: underline;
}


.apple-login-btn
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    box-sizing: border-box;          /* 🔒 CRITICAL */

    padding: 14px 18px;

    border-radius: 14px;
    text-decoration: none;

    background: linear-gradient(180deg, #111111, #000000);
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow:
            0 10px 26px rgba(0,0,0,0.6),
            inset 0 1px 0 rgba(255,255,255,0.15);

    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.apple-login-btn:hover
{
    transform: translateY(-1px);
    box-shadow:
            0 14px 34px rgba(0,0,0,0.75),
            inset 0 1px 0 rgba(255,255,255,0.2);
}
/* ==================== Apple Sign-In ==================== */

.login-divider
{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #7f8aa3;
    font-size: 13px;
}

.login-divider::before,
.login-divider::after
{
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2a3448, transparent);
}



.apple-icon
{
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 814 1000'%3E%3Cpath d='M788 838c-19 44-27 63-52 103-36 56-87 126-150 127-56 1-71-35-145-35s-91 34-147 36c-61 3-108-61-145-117-81-124-143-351-60-504 41-76 115-123 195-124 61-1 118 39 147 39 29 0 95-48 160-41 27 1 103 11 152 83-4 3-91 53-90 158 1 125 110 166 111 166zM553 0c7 81-23 160-69 214-45 55-123 98-197 92-8-78 26-159 69-213C401 38 480-3 553 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
