:root {
    --primary-color: #064e3b;
    --primary-gradient: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    --secondary-gradient: linear-gradient(90deg, #064e3b 0%, #059669 100%);
    --bg-color: #e5e7eb;
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #94a3b8;
    --accent-blue: #10b981;
    --footer-bg: #064e3b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Mobile App Simulation Container */
.app-container {
    width: 100%;
    max-width: 400px;
    background-color: #f8fafc;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
.header-section {
    background: var(--primary-gradient);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.verified-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Logo Banner */
.logo-banner {
    background: #ffffffea;
    padding: 18px 20px 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo-main {
    max-width: 180px;
    max-height: 60px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 8px;
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 25px 20px;
    background-color: #f8fafc;
}

.cert-id-card {
    background: var(--secondary-gradient);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cert-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.cert-id {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Sections */
.section-group {
    margin-bottom: 25px;
}

.section-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #cbd5e1;
}

.info-card {
    background-color: var(--card-bg);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mb-3 {
    margin-bottom: 12px;
}

.info-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.4;
}

/* Footer */
.footer-section {
    background-color: var(--footer-bg);
    color: white;
    text-align: center;
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 400;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Invalid state overrides */
.header-section.invalid {
    background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 100%);
}

.header-section.invalid .badge {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Declaration Box */
.declaration-box {
    background-color: var(--card-bg);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
    text-align: justify;
}

.declaration-box strong {
    color: var(--primary-color);
}

/* Add this to the bottom of styles.css */
@media print {
    .no-print {
        display: none !important;
    }

    .app-container {
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}

/* Desktop View Enhancements */
@media screen and (min-width: 768px) {
    .app-container {
        max-width: 800px;
        border-radius: 24px;
    }
    .header-section {
        padding: 50px 30px;
    }
    .verified-title {
        font-size: 32px;
    }
    .main-content {
        padding: 40px;
    }
    .section-group {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 35px;
    }
    .section-title {
        width: 100%;
        font-size: 18px;
    }
    .info-card {
        flex: 1;
        min-width: calc(50% - 10px);
        margin-bottom: 0 !important;
        padding: 18px 20px;
    }
    .info-value {
        font-size: 16px;
    }
    .declaration-box {
        font-size: 16px;
        padding: 30px;
        line-height: 1.8;
    }
    .cert-id {
        font-size: 22px;
    }
}

/* Download Button Styles */
/* .download-container {
    text-align: center;
    margin: 30px 0;
}

.download-btn {
    background-color: #00303d;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 90%;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 48, 61, 0.4);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #065e47;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 94, 71, 0.6);
} */