:root {
    --bg-body: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #326a46;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-lg: 24px;
    --radius-md: 16px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.scanner-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
}

.banner-wrapper {
    position: relative;
    height: 260px; /* Tall modernized widescreen presence banner */
    width: 100%;
    background: #326a46;
    overflow: hidden;
}

.banner-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--card-bg));
}

/* Styling html5-qrcode library containers seamlessly */
#reader {
    border: none !important;
    padding: 0 !important;
    border-radius: var(--radius-md);
    overflow: hidden;
}

#reader __video {
    border-radius: var(--radius-md) !important;
    object-fit: cover;
}

#reader button {
    background-color: #326a46 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    transition: all 0.2s !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

#reader button:hover {
    background-color: #1e293b !important;
    transform: translateY(-1px);
}

/* Modern Status Boxes */
.status-box {
    border-radius: var(--radius-md);
    padding: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
}

.status-box .status-title {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-valid {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.status-warning {
    background-color: #fffbeb;
    border-color: #fef3c7;
    color: #b45309;
}

.status-invalid {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

