/* extends login.css */
.login-card { max-width: 420px; }
.login-card h1 { margin-bottom: 14px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin: -8px -4px 22px; border-bottom: 1px solid #e5e5e5; }
.tab { background: none; border: 0; padding: 12px; font: inherit; font-weight: 600; color: #777; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.active { color: #111; border-bottom-color: #111; }
.link { align-self: flex-end; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: #0b7a8a; cursor: pointer; }
form[hidden] { display: none; }
#msg { margin-bottom: 16px; }

/* Google button + divider */
.social { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px; background: #fff; border: 1px solid #ccc; border-radius: 4px; font: inherit; font-weight: 600; cursor: pointer; }
.google-btn:hover { background: #f7f7f7; }
.google-btn:disabled { opacity: .6; cursor: wait; }
.divider { display: flex; align-items: center; gap: 12px; color: #888; font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #e5e5e5; }
[hidden] { display: none !important; }

/* ===== Refreshed look: split layout (scoped, admin login is not affected) ===== */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }

.auth-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 40px 52px; display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(155deg, #111 0%, #262626 55%, #4a1b17 100%);
}
.auth-hero::after {
    content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
    right: -140px; bottom: -140px;
    background: radial-gradient(circle, rgba(255, 216, 0, .28), transparent 66%);
}
.auth-hero .brand { color: #fff; position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 40px; }
.hero-copy h2 { margin: 0 0 16px; font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -.5px; }
.hero-copy p { margin: 0; max-width: 380px; color: #cfcfcf; font-size: 15px; line-height: 1.6; }
.hero-copy ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; font-size: 14px; }
.hero-copy li { display: flex; align-items: center; gap: 12px; }
.hero-copy li::before {
    content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; background: #ffd800; color: #111; font-size: 12px; font-weight: 800;
}

.auth-panel { display: flex; align-items: center; justify-content: center; padding: 32px 20px; background: #f5f5f5; }
.auth-page .login-card { max-width: 420px; border-radius: 14px; padding: 34px 30px; box-shadow: 0 10px 40px rgba(0, 0, 0, .08); }
.auth-page .login-card h1 { font-size: 24px; margin-bottom: 18px; }

.auth-page .tabs { background: #f1f1f1; border: 0; border-radius: 10px; padding: 4px; margin: 0 0 24px; gap: 4px; }
.auth-page .tab { border: 0; margin: 0; border-radius: 8px; padding: 10px; }
.auth-page .tab.active { background: #fff; color: #111; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }

.auth-page input { border-radius: 8px; padding: 13px 12px; }
.auth-page input:focus { outline-color: #f03a2e; }
.auth-page .btn { background: #f03a2e; border-radius: 8px; padding: 14px; letter-spacing: .4px; transition: background .15s; }
.auth-page .btn:hover { background: #d92f24; }
.auth-page .back { display: block; text-align: center; }

@media (max-width: 860px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-hero { padding: 24px 22px; }
    .hero-copy { padding-bottom: 6px; }
    .hero-copy h2 { font-size: 26px; margin: 18px 0 0; }
    .hero-copy p, .hero-copy ul { display: none; }
    .auth-panel { padding: 24px 16px 40px; align-items: flex-start; }
}

@media (max-width: 860px) {
    .auth-hero { justify-content: flex-start; gap: 6px; }
}
