/* ===== VaxCert - Standalone Page Styles ===== */
/* Shared across: login, captcha, offline, not-found, lookup-not-found */

:root {
    --primary: #4361a6;
    --primary-dark: #2d4373;
    --dark: #1c2536;
    --gray: #64748b;
}

/* === LOGIN PAGE === */
.login-page {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(140deg, var(--dark) 0%, var(--primary-dark) 60%, var(--primary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}
.login-brand {
    text-align: center;
    margin-bottom: 32px;
}
.login-brand .bi { font-size: 2.5rem; color: var(--primary); }
.login-brand h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 8px 0 4px;
}
.login-brand p { color: var(--gray); font-size: 0.9rem; }
.login-card .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
}
.login-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67,97,166,0.1);
}
.login-card .form-label { font-weight: 500; font-size: 0.9rem; }
.login-card .form-check-label { font-size: 0.9rem; }
.btn-login {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s;
}
.btn-login:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(67,97,166,0.3);
}
.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
}
.back-link:hover { color: var(--primary); }

/* === CAPTCHA / SECURITY CHECK PAGE === */
.captcha-page {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(140deg, var(--dark) 0%, var(--primary-dark) 60%, var(--primary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.verify-card {
    background: #fff; border-radius: 20px; padding: 44px 36px;
    width: 100%; max-width: 440px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12); text-align: center;
}
.shield-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: #e8edf6; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 2rem; color: var(--primary);
}
.verify-card h2 {
    font-family: 'Outfit', sans-serif; font-weight: 700;
    color: var(--dark); font-size: 1.4rem; margin-bottom: 6px;
}
.subtitle { color: #6b7a8d; font-size: 0.88rem; margin-bottom: 28px; }
.btn-verify {
    background: var(--primary); color: #fff; border: none; border-radius: 10px;
    padding: 13px; font-weight: 600; font-size: 0.95rem; width: 100%; transition: all 0.3s;
}
.btn-verify:hover { background: var(--primary-dark); color: #fff; }
.error-msg { color: #dc2626; font-size: 0.88rem; margin-bottom: 14px; }
.recaptcha-wrapper { display: flex; justify-content: center; margin-bottom: 20px; }
.captcha-footer { margin-top: 22px; font-size: 0.82rem; }
.captcha-footer a { color: #6b7a8d; text-decoration: none; }
.captcha-footer a:hover { color: var(--primary); }

/* === OFFLINE PAGE === */
.offline-page {
    font-family: 'Inter', sans-serif; background: #f1f5f9;
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.offline-card {
    max-width: 460px; border-radius: 24px; text-align: center;
    padding: 48px 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: none; background: #fff;
}
.offline-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: #fef3c7; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 2.2rem; color: #d97706;
}
.offline-card h2 {
    font-family: 'Poppins', sans-serif; font-weight: 700;
    color: #1e293b; font-size: 1.4rem; margin-bottom: 12px;
}
.offline-card p { color: var(--gray); font-size: 0.95rem; }
.btn-retry {
    background: var(--primary); color: #fff; border: none; border-radius: 12px;
    padding: 12px 30px; font-weight: 600; text-decoration: none; display: inline-block;
    margin-top: 16px; cursor: pointer;
}
.btn-retry:hover { background: var(--primary-dark); color: #fff; }

/* === NOT FOUND PAGE === */
.not-found-page {
    font-family: 'Inter', sans-serif; background: #f1f5f9;
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.not-found-card {
    max-width: 460px; border-radius: 24px; text-align: center;
    padding: 48px 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: none; background: #fff;
}
.error-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: #fee2e2; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 2.2rem; color: #dc2626;
}
.warn-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: #fef3c7; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 2.2rem; color: #d97706;
}
.not-found-card h2 {
    font-family: 'Poppins', sans-serif; font-weight: 700;
    color: #1e293b; font-size: 1.4rem; margin-bottom: 12px;
}
.not-found-card p { color: var(--gray); font-size: 0.95rem; }
.mr-code {
    font-weight: 700; color: #1e293b; background: #f1f5f9;
    padding: 2px 10px; border-radius: 6px;
}
.btn-home {
    background: var(--primary); color: #fff; border: none; border-radius: 12px;
    padding: 12px 30px; font-weight: 600; text-decoration: none; display: inline-block;
    margin-top: 16px;
}
.btn-home:hover { background: var(--primary-dark); color: #fff; }
.not-found-card .secondary-link {
    margin-top: 12px;
}
.not-found-card .secondary-link a {
    color: var(--primary); font-size: 0.9rem; text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
    .login-card,
    .verify-card,
    .offline-card,
    .not-found-card {
        padding: 32px 24px;
    }
    .login-brand h2 { font-size: 1.5rem; }
    .login-card { max-width: 100%; }
    .verify-card { max-width: 100%; }
}
