/*
Theme Name: Yojana Manch Premium Pro
Theme URI: https://igrroww.in
Author: iGrroww.in Web Services
Description: Responsive Mobile Layout, 2-Column Mobile Tables, Royal Navy Color Engine.
Version: 5.3.0 Mobile Responsive Edition
Text Domain: yojanamanch
*/

:root {
    --brand-green: #1d4ed8;
    --brand-green-dark: #1e3a8a;
    --brand-red: #e11d48;
    --brand-blue: #0284c7;
    --brand-magenta: #9333ea;
    --brand-orange: #ea580c;
    --brand-visited: #64748b; /* Visited Link Color */
    
    --bg-body: #f8fafc;
    --bg-main: #ffffff;
    --bg-topbar: #0f172a;
    
    --text-topbar: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body.dark-mode {
    --bg-body: #020617;
    --bg-main: #0f172a;
    --bg-topbar: #000000;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --brand-green: #3b82f6;
    --brand-green-dark: #2563eb;
    --brand-red: #f43f5e;
    --brand-visited: #94a3b8;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--brand-blue); transition: all 0.2s ease-in-out; }
a:hover { color: var(--brand-green); }
a:active { color: var(--brand-orange) !important; opacity: 0.8; }
.data-list-container a:visited { color: var(--brand-visited) !important; }

ul, ol { list-style: none; }
img, video, iframe { max-width: 100%; height: auto; }

/* Wrapper Mobile Fixed Width */
.premium-wrapper {
    width: 100% !important; 
    max-width: 1200px !important; 
    margin: 0 auto;
    background-color: var(--bg-main);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}
body.dark-mode .premium-wrapper { box-shadow: 0 10px 40px rgba(0,0,0,0.6); }

@keyframes blink-premium { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } }
.animate-blink { animation: blink-premium 1.5s infinite ease-in-out; }

.tag-blink-new { background: var(--brand-red); color: #ffffff; font-size: 10px; padding: 3px 8px; border-radius: 4px; margin-left: 8px; font-weight: 900; text-transform: uppercase; vertical-align: middle; display: inline-block; line-height: 1; }
.tag-fomo-alert { background: var(--brand-orange); color: #ffffff; font-size: 10px; padding: 3px 8px; border-radius: 4px; margin-left: 8px; font-weight: 900; text-transform: uppercase; vertical-align: middle; display: inline-block; line-height: 1; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.font-bold { font-weight: 700 !important; }
.font-black { font-weight: 900 !important; }
.uppercase { text-transform: uppercase !important; }
.mt-10 { margin-top: 10px !important; } .mb-10 { margin-bottom: 10px !important; }

.alignnone { margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { background: var(--bg-body); border: 1px solid var(--border-color); max-width: 96%; padding: 5px 3px 10px; text-align: center; border-radius: 4px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; border-radius: 2px; }
.wp-caption p.wp-caption-text { font-size: 13px; line-height: 1.5; margin: 0; padding: 10px 4px 5px; color: var(--text-muted); font-weight: 600; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-body); border-left: 1px solid var(--border-color); }
::-webkit-scrollbar-thumb { background: var(--brand-green); border-radius: 0px; border: 2px solid var(--bg-body); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-green-dark); }
body.dark-mode ::-webkit-scrollbar-track { background: #020617; border-left: 1px solid #1e293b; }
body.dark-mode ::-webkit-scrollbar-thumb { background: #1e293b; border: 2px solid #020617; }

@media print {
    body, .premium-wrapper { background: #ffffff !important; color: #000000 !important; box-shadow: none !important; width: 100% !important; min-width: 0 !important; }
    .top-bar-master, .header-main-master, .main-nav-master, .premium-sidebar-wrapper, .footer-premium, .state-filter-bar { display: none !important; }
    a { color: #000000 !important; text-decoration: underline !important; }
}