/* Login page styles. Extracted from inline <style> in pages/login.php on 2026-05-10.
 * The .login-wrap base recipe (vars, layout, ::before) lives in bmm_theme.css under .bmm-page-wrap.
 * This file holds only login-specific selectors. */

.login-grid{
    position:relative;
    max-width: 1080px;
    margin: 0 auto;
    display:grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items:start;
}
@media (min-width: 960px){
    .login-grid{ grid-template-columns: 1fr 1fr; }
}

/* === LEFT === */
.login-lede{ position:relative; }
.login-kicker{
    display:inline-flex; align-items:center; gap:10px;
    font-size: 12px; letter-spacing:.22em; text-transform:uppercase;
    color: var(--accent); font-weight: 500;
}
.login-kicker .dot{
    width:6px; height:6px; border-radius:50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmm-accent) 12%, transparent);
}
.login-h1{
    font-family:'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.05; letter-spacing: -0.015em;
    margin: 18px 0 14px;
}
.login-h1 em{ font-style: italic; font-weight: 400; color: var(--accent); }
.login-lede p.lede{
    font-size: 16px; line-height: 1.6;
    color: var(--ink-soft);
    max-width: 48ch; margin: 0 0 28px;
}

.login-wrap .perks{
    position:relative;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 22px 22px 18px;
    border-radius: 2px;
}
.login-wrap .perks::before, .login-wrap .perks::after{
    content:""; position:absolute; width:14px; height:14px;
    border: 1px solid var(--accent); opacity:.85;
}
.login-wrap .perks::before{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.login-wrap .perks::after{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.login-wrap .perks-head{
    display:flex; align-items:center; justify-content:space-between;
    padding-bottom: 14px; margin-bottom: 8px;
    border-bottom: 1px solid var(--line-soft);
}
.login-wrap .perks-head .lbl{
    font-size: 12px; letter-spacing:.18em; text-transform:uppercase;
    color: var(--muted); font-weight: 500;
    display:flex; align-items:center; gap:10px;
}
.login-wrap .perks-head .seal{ color: var(--accent); display:inline-grid; place-items:center; }
.login-wrap .perks-head .side{
    font-family:'Fraunces', serif;
    font-size: 15px; font-style: italic; color: var(--ink-soft);
}

.login-wrap .perks ul{ list-style:none; padding:0; margin: 6px 0 0; display:grid; gap: 2px; }
.login-wrap .perks li{
    display:grid; grid-template-columns: 22px 1fr;
    align-items: baseline; gap: 12px;
    padding: 11px 2px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px; line-height: 1.4;
}
.login-wrap .perks li:last-child{ border-bottom:none; }
.login-wrap .perks li .mk{ color: var(--accent); opacity:.85; font-size: 14px; line-height: 1; }
.login-wrap .perks li strong{ font-weight: 600; }

.login-wrap .foot-links{
    margin-top: 20px;
    font-size: 13px; color: var(--muted);
}
.login-wrap .foot-links a{ color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bmm-accent) 35%, transparent); }
.login-wrap .foot-links a + a{ margin-left: 14px; }

/* === RIGHT: card === */
.login-wrap .card{
    position:relative;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(22px, 3vw, 36px);
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(20,18,26,.02), 0 20px 50px -30px color-mix(in srgb, var(--bmm-accent) 18%, transparent);
}
.login-wrap .card .crn{ position:absolute; width: 14px; height: 14px; border: 1px solid var(--accent); opacity: .75; }
.login-wrap .card .crn.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.login-wrap .card .crn.tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.login-wrap .card .crn.bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; }
.login-wrap .card .crn.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.login-wrap .card-head{
    display:flex; align-items:baseline; justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px; margin-bottom: 22px;
    border-bottom: 1px solid var(--line-soft);
}
.login-wrap .card-head h2{
    font-family:'Fraunces', serif; font-weight: 500;
    font-size: 22px; letter-spacing: -0.01em;
    margin: 0;
}
.login-wrap .card-head h2 em{ font-style: italic; color: var(--accent); font-weight: 400; }
.login-wrap .card-head .note{ font-size: 12px; color: var(--muted); }
.login-wrap .card-head .note a{ color: var(--accent); text-decoration:none; border-bottom: 1px solid color-mix(in srgb, var(--bmm-accent) 35%, transparent); }

/* Social block */
.login-wrap .social{ display:flex; flex-direction:column; gap:10px; margin-bottom: 20px; }
.login-wrap .social .g_id_signin iframe{ width: 100% !important; }
.login-wrap .social a.fb{
    display:inline-flex; align-items:center; justify-content:center; gap: 10px;
    padding: 11px 14px;
    font-family:'Fraunces', serif; font-size: 14px; font-weight: 500;
    color: var(--ink); text-decoration: none;
    background: #fff; border: 1px solid var(--line);
    border-radius: 2px;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.login-wrap .social a.fb:hover{ border-color: var(--accent); color: var(--accent); background: var(--paper-tint); }
.login-wrap .social a.fb svg{ width: 16px; height: 16px; color: #1877f2; }

.login-wrap .divider{
    display:flex; align-items:center; gap: 12px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}
.login-wrap .divider::before, .login-wrap .divider::after{
    content:""; flex:1; height:1px; background: var(--line);
}

.login-wrap .fstack{ display:flex; flex-direction:column; gap: 16px; }
.login-wrap .f{ display:flex; flex-direction:column; gap: 7px; }
.login-wrap .f label{
    font-size: 12px; font-weight: 500; letter-spacing: .05em;
    color: var(--ink);
    display:flex; align-items:center; gap: 8px;
}
.login-wrap .f label .n{ font-size: 10px; color: var(--accent); letter-spacing: .1em; }
.login-wrap .f input[type="text"],
.login-wrap .f input[type="email"],
.login-wrap .f input[type="password"],
.login-wrap .f input[type="username"]{
    appearance:none; -webkit-appearance:none;
    width: 100%;
    font-family:'Fraunces', serif; font-size: 15px;
    color: var(--ink); background: #fff;
    border: 1px solid var(--line);
    padding: 12px 13px; border-radius: 2px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.login-wrap .f input::placeholder{ color: #b4b1c0; }
.login-wrap .f input:hover{ border-color: #d3cde2; }
.login-wrap .f input:focus{ border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bmm-accent) 15%, transparent); }

.login-wrap .row{
    display:flex; align-items:center; justify-content:space-between;
    gap: 12px;
    font-size: 13px;
}
.login-wrap .row label.cb{
    display:inline-flex; align-items:center; gap: 8px;
    color: var(--ink-soft); cursor: pointer;
    user-select: none;
}
.login-wrap .row label.cb input[type="checkbox"]{
    appearance:none; -webkit-appearance:none;
    width: 16px; height: 16px; margin: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 2px;
    display:grid; place-items: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.login-wrap .row label.cb input[type="checkbox"]:checked{
    border-color: var(--accent);
    background: var(--accent);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.5l2.5 2.5 4.5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}
.login-wrap .row a.forgot{
    color: var(--accent); text-decoration:none;
    border-bottom: 1px solid color-mix(in srgb, var(--bmm-accent) 35%, transparent);
    font-family:'Fraunces', serif;
}
.login-wrap .row a.forgot:hover{ border-bottom-color: var(--accent); }

.login-wrap .cap-slot{
    padding: 12px;
    border: 1px dashed var(--line);
    background: var(--paper-tint);
    display:flex; justify-content: center;
    border-radius: 2px;
}

.login-wrap .err{
    border: 1px solid #f1c5c5;
    background: var(--danger-bg);
    color: #7a1717;
    padding: 12px 14px;
    font-size: 14px; line-height: 1.5;
    border-radius: 2px;
}
.login-wrap .err strong{
    display:block;
    font-size: 12px; letter-spacing: .08em;
    color: var(--danger); margin-bottom: 4px;
    font-weight: 600;
}

.login-wrap .btn{
    appearance:none; border: none; cursor:pointer;
    width: 100%; height: 52px;
    font-family:'Fraunces', serif;
    font-size: 16px; font-weight: 500;
    color: #fff; background: var(--accent);
    border-radius: 2px;
    position:relative; overflow:hidden;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--bmm-accent) 5%, transparent);
}
.login-wrap .btn:hover{ background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(91,33,182,.55); }
.login-wrap .btn:active{ transform: translateY(0); }
.login-wrap .btn::after{
    content:""; position:absolute; top:0; bottom:0; width:40%; left:-50%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transform: skewX(-18deg);
    transition: left .7s cubic-bezier(.2,.7,.3,1);
}
.login-wrap .btn:hover::after{ left: 140%; }

.login-wrap .signup-hint{
    margin-top: 18px; padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-size: 13px; color: var(--ink-soft);
    text-align: center;
}
.login-wrap .signup-hint a{ color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bmm-accent) 35%, transparent); font-family:'Fraunces', serif; }

.login-wrap .rv{ opacity: 0; transform: translateY(10px); animation: login-rise .7s cubic-bezier(.2,.7,.25,1) forwards; }
.login-wrap .rv.d1{ animation-delay: .04s; }
.login-wrap .rv.d2{ animation-delay: .14s; }
.login-wrap .rv.d3{ animation-delay: .24s; }
.login-wrap .rv.d4{ animation-delay: .34s; }
@keyframes login-rise{ to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .login-wrap .rv{ animation:none; opacity:1; transform:none; } }
