/* ===== VaxCert - Verification / Lookup Page Styles ===== */

.lookup-hero {
    background: linear-gradient(140deg, #1c2536 0%, #2d4373 50%, #4361a6 100%);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.lookup-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67,97,166,0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.lookup-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(67,97,166,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-left h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
}
.hero-left h1 span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-left p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}
.hero-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hero-feature-icon.blue { background: rgba(96,165,250,0.15); color: #60a5fa; }
.hero-feature-icon.green { background: rgba(52,211,153,0.15); color: #34d399; }
.hero-feature-icon.purple { background: rgba(167,139,250,0.15); color: #a78bfa; }

.lookup-card {
    background: #fff;
    border-radius: 20px;
    padding: 44px 36px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    z-index: 1;
}
.lookup-card .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: #4361a6;
}
.lookup-card h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #1c2536;
    font-size: 1.4rem;
    margin-bottom: 6px;
}
.lookup-card .subtitle {
    color: #6b7a8d;
    font-size: 0.88rem;
    margin-bottom: 28px;
}
.lookup-card .form-control {
    border: 2px solid #dfe4ea;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
}
.lookup-card .form-control:focus {
    border-color: #4361a6;
    box-shadow: 0 0 0 3px rgba(67,97,166,0.1);
}
.lookup-card .form-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: #1c2536;
    text-align: left;
    display: block;
}
.btn-primary-custom {
    background: #4361a6;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-primary-custom:hover {
    background: #2d4373;
    color: #fff;
}
.btn-scan {
    background: #4361a6;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 10px;
}
.btn-scan:hover { background: #2d4373; }
.btn-scan-outline {
    background: #e8edf6;
    color: #4361a6;
    border: 2px solid #dfe4ea;
    border-radius: 10px;
    padding: 13px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-scan-outline:hover { background: #dfe4ea; border-color: #4361a6; }
.error-msg { color: #dc2626; font-size: 0.88rem; margin-bottom: 14px; }
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #9ca8b7;
    font-size: 0.82rem;
    font-weight: 500;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dfe4ea;
}
#qr-scanner-container {
    display: none;
    margin-top: 14px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #dfe4ea;
    padding: 10px;
}
#qr-scanner-container.active { display: block; }
#qr-video { width: 100%; border-radius: 8px; background: #000; }
#qr-reader { border-radius: 8px; overflow: hidden; }
#qr-reader video { border-radius: 8px; }
#qr-reader img[alt="Info icon"] { display: none; }
#qr-reader__dashboard { display: none !important; }
.qr-status { font-size: 0.82rem; color: #6b7a8d; margin-top: 8px; }
.qr-status.success { color: #3a8d71; font-weight: 600; }
.qr-status.error { color: #dc2626; }
.qr-status.error a { color: #4361a6; text-decoration: underline; font-weight: 600; }
.btn-stop-scan {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}
.mr-section { text-align: left; }
.recaptcha-wrapper { display: flex; justify-content: center; margin-bottom: 14px; }

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hero-left { text-align: center; margin-bottom: 40px; }
    .hero-left h1 { font-size: 2rem; }
    .hero-features { align-items: center; }
    .lookup-card { margin: 0 auto; }
}

@media (max-width: 480px) {
    .hero-left h1 { font-size: 1.6rem; }
    .lookup-card { padding: 30px 20px; }
}
