/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --saffron: #FF9933;
    --maroon: #800000;
    --cream: #FFF8E7;
    --sidebar-bg: #2c0b0b; /* Dark brownish-maroon */
    --text-dark: #333;
    --light-gold: #fffcf5;
    --border-color: #ddd;
}

body {
    font-family: 'Merriweather', serif;
    background-color: var(--cream);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    line-height: 1.6;
}

/* =========================================
   2. SIDEBAR & NAVIGATION
   ========================================= */
.sidebar {
    width: 240px;
    background-color: var(--sidebar-bg);
    position: fixed;
    height: 100%;
    border-right: 4px solid var(--saffron);
    z-index: 100;
    overflow-y: auto; 
}

.sidebar-header {
    padding: 25px 15px;
    background-color: #1a0505;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-header h2 {
    margin: 10px 0 0 0;
    font-size: 1.4rem;
    color: var(--saffron);
    font-family: 'Merriweather', serif;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.menu a {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.menu a:hover {
    background-color: var(--maroon);
    color: var(--saffron);
    padding-left: 25px; 
}

.menu a.active {
    color: var(--saffron);
    background: rgba(255,255,255,0.05);
}

.menu-category {
    padding: 15px 20px 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #777;
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    font-weight: bold;
}

/* =========================================
   3. CSS LOGO 
   ========================================= */
.logo-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto; 
}

.sun-body {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #ffaa4d 0%, #FF9933 100%);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 153, 51, 0.5);
}

.question-mark {
    font-family: 'Merriweather', serif;
    font-weight: bold;
    color: var(--maroon);
    font-size: 32px;
    margin-top: 2px;
}

.ray {
    position: absolute;
    background-color: var(--saffron);
    width: 6px;
    height: 12px;
    border-radius: 4px;
    z-index: 1;
    left: 37px;
    top: 34px;
    transform-origin: center;
}

.ray-1 { transform: rotate(0deg) translateY(-36px); }
.ray-2 { transform: rotate(45deg) translateY(-36px); }
.ray-3 { transform: rotate(90deg) translateY(-36px); }
.ray-4 { transform: rotate(135deg) translateY(-36px); }
.ray-5 { transform: rotate(180deg) translateY(-36px); }
.ray-6 { transform: rotate(225deg) translateY(-36px); }
.ray-7 { transform: rotate(270deg) translateY(-36px); }
.ray-8 { transform: rotate(315deg) translateY(-36px); }

/* =========================================
   4. MAIN CONTENT LAYOUT
   ========================================= */
.main-content {
    margin-left: 240px; 
    flex: 1;
    padding: 30px;
}

.page-title {
    color: var(--maroon);
    border-bottom: 2px solid var(--saffron);
    padding-bottom: 5px;
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: bold;
}

/* =========================================
   UPDATED DESCRIPTION BOX STYLES
   ========================================= */
/* =========================================
   UPDATED DESCRIPTION BOX STYLES (Crisper Version)
   ========================================= */
.product-desc-box {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    /* REMOVED the thick left orange border */
    /* Added a subtle top accent instead for a cleaner look */
    border-top: 3px solid var(--saffron); 
    border-radius: 12px; /* Slightly rounder */
    padding: 25px; /* A bit more internal space */
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Softer, deeper shadow */
    display: flex;
    gap: 25px;
    align-items: flex-start;
    max-width: 850px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-desc-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* The Question Mark Icon Circle */
.desc-icon-wrapper {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    /* Using the site's light gold for background instead of orange */
    background-color: var(--light-gold); 
    /* Using maroon for contrast and elegance */
    color: var(--maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.6rem; /* Larger, clearer question mark */
    border: 1px solid #e0d0b0; /* Subtle gold border definition */
}

.desc-content {
    flex: 1;
}

/* The "DESCRIPTION" Label */
.desc-label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px; /* Wider spacing for a premium feel */
    color: #888;
    font-weight: 700;
    margin-bottom: 8px;
}

/* The Main Text */
.desc-text {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #333; /* Slightly darker text for crispness */
    line-height: 1.8; /* Relaxed line-height for easier reading */
}

.desc-text strong {
    color: var(--maroon);
}

.product-desc-box strong {
    color: var(--maroon);
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

/* =========================================
   5. FORM STYLES (UPDATED FOR ROUNDED CORNERS)
   ========================================= */
.card, .content-card {
    background: #ffffff;
    /* Clean, light border to match description box */
    border: 1px solid #eaeaea; 
    /* Thinner, cleaner top accent */
    border-top: 3px solid var(--saffron); 
    /* Matching rounded corners */
    border-radius: 12px; 
    padding: 35px; /* Slightly more spacious for the form */
    max-width: 850px;
    /* Soft, premium shadow */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    margin-bottom: 30px;
    /* Smooth lift animation */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add the same hover "lift" effect for consistency */
.card:hover, .content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.compact-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.section-hdr {
    font-family: 'Lato', sans-serif;
    color: var(--maroon);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    margin: 20px 0 10px 0;
    padding-bottom: 4px;
}

label {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    color: #666;
    font-family: 'Lato', sans-serif;
    margin-bottom: 3px;
}

/* UPDATED: Rounded Corners for ALL inputs */
input, select, textarea {
    width: 100%;
    padding: 10px;          /* Increased padding */
    border: 2px solid #ccc; /* Slightly thicker border */
    border-radius: 10px;    /* ROUNDED CORNERS APPLIED GLOBALLY */
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    background: #fdfdfd;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #3182ce; /* Blue highlight */
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
    outline: none;
    background: #fff;
}

/* =========================================
   6. ARTICLE & GRID STYLES
   ========================================= */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.article-card {
    background: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid var(--maroon);
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left-color: var(--saffron);
}

.article-title {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--maroon);
    margin: 0 0 10px 0;
}

.article-title a { text-decoration: none; color: inherit; }
.article-title a:hover { text-decoration: underline; }

.article-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    color: #fff;
    background-color: var(--sidebar-bg);
    padding: 6px 12px;
    border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    align-self: flex-start;
}
.read-more:hover { background-color: var(--maroon); }

.tag-new {
    background-color: var(--saffron);
    color: white;
    padding: 2px 6px;
    font-size: 0.65rem;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 5px;
    text-transform: uppercase;
}

.flush-right-img {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    width: 600px;
    border: 4px solid var(--saffron);
    padding: 5px;
    background: white;
}

.astro-data {
    font-family: 'Roboto Mono', monospace;
    white-space: pre-wrap;
    font-size: 0.8rem;
    color: #222;
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 3px solid #ccc;
    overflow-x: auto;
    margin-top: 20px;
}

.back-link {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
}
.back-link:hover { color: var(--maroon); }

/* =========================================
   7. MODAL STYLES
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-top: 6px solid var(--maroon);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 5px;
}

.modal-content-tc {
    margin: 15% auto;
    max-width: 500px;
    border: 1px solid #888;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: none; 
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover { color: #000; }

.modal-h2 {
    color: var(--maroon);
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-top: 0;
}

.modal-hr {
    margin: 10px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.modal-h3 {
    color: #333;
    margin-top: 25px;
    border-bottom: 1px dotted #ccc;
    font-size: 1.1rem;
}

/* =========================================
   8. PROFILE / ABOUT STYLES
   ========================================= */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.profile-title {
    font-size: 0.95rem;
    color: #666;
    font-family: 'Lato', sans-serif;
}

.highlight {
    color: var(--maroon);
    font-weight: bold;
}

/* =========================================
   9. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 4px solid var(--saffron);
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .compact-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .compact-row.two-col {
        grid-template-columns: 1fr;
    }

    .flush-right-img {
        float: none;
        width: 100%;
        margin-left: 0;
    }
    
    .modal-content, .modal-content-tc {
        width: 90%;
        margin: 10% auto;
    }
}

/* =========================================
   10. LONGEVITY ML SPECIFIC STYLES
   ========================================= */
/* (The crisp-box class is essentially redundant now that all inputs 
   are rounded, but keeping it won't hurt) */
.crisp-box {
    border: 2px solid #4a5568;
    border-radius: 12px; /* Extra round */
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}
.crisp-box:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.tc-container {
    margin-top: 25px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.tc-label {
    font-weight: bold; 
    display: block; 
    margin-bottom: 8px;
}
.tc-link {
    color: #3182ce; 
    text-decoration: underline;
}
.tc-select {
    background-color: white;
}

.submit-btn {
    background-color: var(--saffron);
    color: var(--maroon);
    font-weight: bold;
    border: none;
    padding: 15px;
    cursor: pointer;
    margin-top: 25px;
    font-size: 1.1rem;
    width: 100%;
    border-radius: 3px;
    transition: background 0.3s, transform 0.1s;
}
.submit-btn:hover {
    background-color: #ffaa4d;
}
.submit-btn:active {
    transform: scale(0.98);
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.status-box {
    display: none; 
    margin-top: 20px; 
    padding: 15px; 
    border-radius: 4px;
}
.status-loading {
    background-color: #e8f4fd;
    color: #0d3c61;
}
.status-error {
    background-color: #fdeded;
    color: #5f2120;
}

.ml-result-box {
    display: none; 
    background: #fffcf5; 
    border: 1px solid #ddd; 
    padding: 20px; 
    margin-top: 20px;
}

.summary-box {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    border-left: 5px solid var(--saffron);
    margin-bottom: 20px;
}

.prediction-highlight {
    font-size: 1.4rem; 
    color: var(--maroon); 
    font-weight: bold; 
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.report-title {
    margin-bottom: 10px; 
    color: #333;
}

.report-container {
    max-height: 400px; 
    overflow-y: auto; 
    background: #fff; 
    padding: 15px; 
    border: 1px solid #eee;
}

.report-text {
    font-family: 'Roboto Mono', monospace; 
    font-size: 0.8rem; 
    color: #555; 
    white-space: pre-wrap;
    margin: 0;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--saffron);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Boxed Visitor Digits */
.visitor-container {
    text-align: center; 
    margin-top: 40px; 
    margin-bottom: 20px;
}

.visitor-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--sidebar-bg);
    color: var(--saffron);
    padding: 10px 25px;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(44, 11, 11, 0.3);
    border: 1px solid rgba(255, 153, 51, 0.3);
    transition: transform 0.2s ease;
}

.visitor-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 11, 11, 0.4);
}

.visitor-count-number {
    display: flex;
    gap: 4px; 
}

.digit-box {
    background: #444;       
    color: #fff;            
    padding: 2px 8px;       
    border-radius: 4px;     
    font-family: 'Courier New', monospace; 
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid #666; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); 
}

/* =========================================
   UPDATED: MODERN TERMS & BUTTONS
   ========================================= */

/* 1. The Container for the Checkbox */
.terms {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px; /* Matches your other inputs */
    padding: 15px 20px;
    margin-top: 25px;
    display: flex;
    align-items: center; /* Vertically centers the checkbox */
    gap: 15px; /* Space between box and text */
    transition: all 0.3s ease;
}

/* Add a subtle highlight when hovering the terms box */
.terms:hover {
    border-color: var(--saffron);
    background-color: #fffcf5; /* Very light gold tint */
}

/* Customizing the Checkbox Color */
.terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--maroon); /* Makes the tick mark Maroon/Brand color */
    border-radius: 4px; /* Softens the square */
}

.terms span {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.terms a {
    color: var(--maroon);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dotted var(--maroon);
}
.terms a:hover {
    color: var(--saffron);
    border-bottom-style: solid;
}

/* 2. The Modern "Pill" Submit Button */
button[type="submit"] {
    /* Gradient for depth */
    background: linear-gradient(135deg, var(--saffron) 0%, #ffaa4d 100%);
    color: var(--maroon);
    
    font-family: 'Lato', sans-serif;
    font-weight: 800; /* Extra bold */
    text-transform: uppercase;
    letter-spacing: 1px; /* Crisp spacing */
    font-size: 1rem;
    
    border: none;
    padding: 18px 30px;
    
    /* PILL SHAPE */
    border-radius: 50px; 
    
    cursor: pointer;
    margin-top: 35px;
    width: 100%;
    
    /* Colored Shadow ("Glow") */
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.4);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button[type="submit"]:hover {
    transform: translateY(-3px); /* Lifts up */
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.6); /* Shadow grows */
    filter: brightness(1.05); /* Gets slightly brighter */
}

button[type="submit"]:active {
    transform: scale(0.98); /* Clicks down */
    box-shadow: 0 2px 10px rgba(255, 153, 51, 0.3);
}

/* =========================================
   11. NEW RESULTS STYLING (Strict Table)
   ========================================= */

.results-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 25px;
    margin-top: 15px;
}

.result-card-panel {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 0; 
    padding-bottom: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    text-align: center;
    overflow: hidden; 
}

.panel-label {
    background-color: #fcfcfc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 700;
    padding: 15px;
    margin: 0;
    display: block;
    border-bottom: 1px solid #eee;
}

#chip-container {
    padding: 20px;
}

.year-chip {
    display: inline-block;
    background: linear-gradient(135deg, var(--maroon) 0%, #600000 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 6px;
    box-shadow: 0 3px 6px rgba(128, 0, 0, 0.3);
}

/* STRICT TABLE LAYOUT */
.decade-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 3 Columns: Decade Range | Max Count | Ages */
/* Proportions: 1.2fr (Range) | 0.8fr (Count) | 2fr (Ages) */
.decade-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 2fr; 
    padding: 12px 15px;
    background: #fff5e6; 
    border-bottom: 2px solid #ecd8b8;
    font-weight: bold;
    color: var(--maroon);
    font-size: 0.75rem;
    text-transform: uppercase;
    text-align: left;
}

/* Center the middle column header */
.decade-header span:nth-child(2) {
    text-align: center;
}

.decade-item {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 2fr; /* Matches Header */
    padding: 12px 15px;
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem;
    color: #444;
    text-align: left;
    align-items: center; /* Vertically center */
}

.decade-item:last-child {
    border-bottom: none;
}

.col-decade {
    font-weight: 800;
    color: var(--maroon);
}

.col-score {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    color: #333;
    background-color: #f4f4f4;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    width: fit-content;
    margin: 0 auto; /* True center */
}

.col-years {
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

/* Container for the stats */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 15px 30px;
    margin: 40px auto; /* Centers it and adds space */
    max-width: 500px;
    gap: 30px;
}

/* Individual Stat Item */
.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icons */
.stat-icon {
    width: 24px;
    height: 24px;
    color: #FF8C00; /* Matches your Sun/Vedic theme */
    opacity: 0.8;
}

/* Text Container */
.stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* The Label (Visitors/Charts) */
.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    font-weight: 600;
}

/* The Number */
.stat-number {
    font-family: 'Courier New', monospace; /* Monospace keeps numbers aligned */
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

/* Vertical Divider Line */
.stat-divider {
    width: 1px;
    height: 30px;
    background: #eee;
}

/* Responsive: Stack on mobile */
@media (max-width: 600px) {
    .stats-bar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        width: 90%;
    }
    .stat-divider {
        width: 100%;
        height: 1px;
    }
}

@media print {
    /* 1. HIDE EVERYTHING by default */
    body * {
        visibility: hidden;
    }

    /* 2. UNHIDE ONLY THE CONTENT WE WANT */
    /* We target the ".card" because that holds the form & results */
    .card, .card * {
        visibility: visible;
    }

    /* 3. POSITIONING RESET */
    /* Force the card to snap to the top-left corner of the paper */
    .card {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* 4. HIDE UI ELEMENTS INSIDE THE CARD */
    /* Even though the card is visible, we don't want these specific buttons/counters */
    .submit-btn, 
    .terms, 
    .trust-badge-container, 
    #status-message,
    .product-desc-box {
        display: none !important;
    }

    /* 5. CLEAN UP INPUTS */
    /* Make the birth details look like plain text, not boxes */
    input, select {
        border: none !important;
        background: transparent !important;
        appearance: none;
        padding: 0 !important;
        font-weight: bold;
    }

    /* 6. ENSURE COLORS PRINT */
    /* Forces the browser to print the background colors of your year chips */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}