/*
Theme Name: Postal Employee Knowledge Hub
Theme URI: https://digimit.in
Author: AI Collaborator
Description: High-performance dashboard portal for Postal Employees featuring live scheme calculators, custom operational desks, and an official forms directory.
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: postal-hub
*/

body { 
    background-color: #f4f6f9; 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    color: #333; 
    scroll-behavior: smooth; 
}

.navbar-brand { 
    font-size: 1.8rem; 
    font-weight: 800; 
}

/* --- Hero Section Design --- */
.hero-section-restored { 
    background: #dc3545 !important;
    background: linear-gradient(135deg, #dc3545, #b01a2b) !important;
    color: #ffffff !important; 
    padding: 60px 0 50px 0; 
    border-radius: 0 0 24px 24px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
}
.hero-title-main { 
    font-size: 2.5rem; 
    font-weight: 800; 
    letter-spacing: -0.5px; 
    margin-bottom: 12px; 
    color: #ffffff !important; 
}
.hero-tagline-sub { 
    font-size: 1.15rem; 
    font-weight: 500; 
    color: rgba(255, 255, 255, 0.9) !important; 
    margin-bottom: 25px; 
}

.hero-quick-btn { 
    background: rgba(255, 255, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 8px; 
    color: #ffffff !important; 
    font-weight: 600; 
    font-size: 0.92rem; 
    padding: 10px 22px; 
    transition: all 0.2s; 
    text-decoration: none; 
    display: inline-block; 
}
.hero-quick-btn:hover, .hero-quick-btn.active-hero { 
    background: #ffffff; 
    color: #dc3545 !important; 
    border-color: #ffffff; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

/* --- Content Layout Containers --- */
.section-wrapper-unified { 
    background: #fff; 
    border-radius: 12px; 
    border: 1px solid #eef2f5; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.02); 
    padding: 25px; 
    margin-bottom: 2rem; 
    scroll-margin-top: 80px; 
}
.section-title-unified { 
    font-size: 1.45rem; 
    font-weight: 700; 
    color: #212529; 
    margin-bottom: 20px; 
    padding-bottom: 8px; 
    border-bottom: 1px solid #edf2f7; 
}

/* --- Horizontal Tab Switcher Axis --- */
.scheme-switcher-btn { 
    background: #f8f9fa; 
    border: 1px solid #eef2f5; 
    border-radius: 8px; 
    color: #495057; 
    font-weight: 600; 
    font-size: 0.88rem; 
    padding: 10px 16px; 
    transition: all 0.2s; 
    white-space: nowrap; 
}
.scheme-switcher-btn:hover, .scheme-switcher-btn.active-scheme { 
    background-color: #dc3545; 
    color: white !important; 
    border-color: #dc3545; 
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15); 
}
.scrollable-scheme-row { 
    display: flex; 
    gap: 10px; 
    overflow-x: auto; 
    padding-bottom: 12px; 
    -webkit-overflow-scrolling: touch; 
}
.scrollable-scheme-row::-webkit-scrollbar { height: 5px; }
.scrollable-scheme-row::-webkit-scrollbar-thumb { background: #dee2e6; border-radius: 4px; }

/* --- Dynamic Listing Typography --- */
.guide-thumb-unified { 
    border-bottom: 1px solid #edf2f7; 
    padding-bottom: 12px; 
    margin-bottom: 12px; 
}
.guide-thumb-unified:last-child { 
    border-bottom: none; 
    padding-bottom: 0; 
    margin-bottom: 0; 
}
.guide-thumb-unified h6 a {
    transition: color 0.2s;
}
.guide-thumb-unified h6 a:hover {
    color: #dc3545 !important;
}

/* --- Sidebar Offcanvas Panel Styling --- */
.custom-right-drawer { 
    width: 320px !important; 
    border-left: none !important; 
    box-shadow: -5px 0 30px rgba(0,0,0,0.1); 
}
.drawer-title-brand { 
    font-size: 1.6rem; 
    font-weight: 800; 
}
.drawer-menu-list { 
    list-style: none; 
    padding: 0; 
    margin: 20px 0 0 0; 
}
.drawer-menu-list li a { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 14px 20px; 
    color: #495057; 
    font-weight: 600; 
    font-size: 0.98rem; 
    text-decoration: none; 
    transition: all 0.2s; 
}
.drawer-menu-list li a:hover, .drawer-menu-list li.current-menu-item a { 
    background-color: #fde8e9; 
    color: #dc3545 !important; 
}

/* --- Mathematics Calculation Display Components --- */
.display-result { 
    font-size: 2.2rem; 
    font-weight: 800; 
    color: #198754; 
    letter-spacing: -0.5px; 
}
.formula-working-box {
    font-family: inherit;
}