/* --- Global Variables & Glassmorphism --- */
:root {
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.glass-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

/* --- AdSense Placeholders --- */
.ad-placeholder {
    background-color: #f1f5f9;
    border: 2px dashed #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    text-align: center;
    margin: 2rem auto;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}
.ad-placeholder::before {
    content: "Advertisement";
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}
.ad-leaderboard { width: 100%; max-width: 728px; height: 90px; }
.ad-rectangle { width: 100%; max-width: 300px; height: 250px; }
.ad-fluid { width: 100%; min-height: 120px; }

/* --- High Contrast Buttons --- */
.btn-high-contrast {
    background-color: #0f172a; /* डार्क कलर */
    color: #ffffff !important; /* सफ़ेद टेक्स्ट */
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-high-contrast:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.btn-secondary-contrast {
    background-color: #ea580c;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.4);
    cursor: pointer;
}

.btn-secondary-contrast:hover {
    background-color: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(194, 65, 12, 0.5);
}


/* =========================================
   Resume Maker - A4 Paper & Print Styles
========================================= */
.a4-wrapper {
    width: 210mm;
    min-height: 297mm;
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin: 0 auto;
    padding: 20mm;
    box-sizing: border-box;
    transform-origin: top center;
}

@media screen and (max-width: 1024px) {
    .a4-wrapper {
        width: 100%;
        min-height: auto;
        padding: 6vw;
    }
}

/* Custom Scrollbar for Editor */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Perfect Print & PDF Generation Settings */
@media print {
    body, html {
        margin: 0;
        padding: 0;
        background: white !important;
    }
    
    /* Hide EVERYTHING except the A4 wrapper */
    body > *:not(main),
    main > *:not(#view-resume-maker),
    .global-header, .global-footer,
    #view-resume-maker > div > div:first-child, /* Hide input form */
    .no-print,
    .ad-placeholder {
        display: none !important;
    }

    /* Adjust Resume Container to fill page perfectly */
    #view-resume-maker, .preview-section, .a4-wrapper {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: white !important;
        transform: none !important;
    }
    
    ::-webkit-scrollbar { display: none; }
}





