/*
Theme Name: RajSSO Modern Pro
Theme URI: https://rajsso.com
Author: RajSSO Engineering
Author URI: https://rajsso.com
Description: High-performance, SEO-optimized, AdSense-ready standalone WordPress theme for Rajasthan Single Sign-On and Indian e-governance information portals. Features complete WP Admin panel control, flat sharp UI, zero margins, no bulky rounded boxes, zero emojis, and pure SVG iconography.
Version: 3.0.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rajsso-modern
Tags: government-portal, clean, custom-header, full-width-template, responsive-layout, seo-friendly, translation-ready
*/

/* --------------------------------------------------------------------------
 * 1. DESIGN TOKENS & ULTRA-CLEAN FLAT RESET (NO BULKY ROUND BOXES, NO MARGINS)
 * -------------------------------------------------------------------------- */
:root {
    --brand-navy: #090d16;        /* Deep Premium Slate */
    --brand-blue: #1d4ed8;        /* Royal Tech Blue */
    --brand-blue-hover: #1e40af;
    --brand-accent: #0284c7;      /* Tech Cyan */
    --brand-green: #15803d;       /* Success / Registration */
    --brand-green-hover: #166534;
    --brand-amber: #b45309;       /* Warning / Alert */
    --brand-amber-light: #fffbeb;
    --brand-red: #b91c1c;         /* Danger / Disclaimers */
    --brand-red-light: #fef2f2;
    --surface-bg: #ffffff;        /* Pure Clean White Background */
    --surface-card: #ffffff;
    --surface-alt: #f8fafc;       /* Clean Subtle Fill */
    --text-heading: #0f172a;      /* Primary Headline */
    --text-body: #334155;         /* Body copy */
    --text-muted: #64748b;        /* Secondary notes */
    --border-color: #e2e8f0;      /* Hairline crisp border */
    --border-dark: #cbd5e1;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --radius-sharp: 0px;          /* Sharp Clean 0px Corners as requested */
    --radius-sm: 4px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--surface-bg);
    color: var(--text-body);
    font-family: var(--font-sans);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* Clean Neutral Link Baseline - No Jarring Default Blue */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

/* Editorial & Article Text Links */
.article-content p a,
.entry-content a,
.main-content-card p a,
.hero-description a,
.disclaimer-body a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #94a3b8;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: all 0.15s ease;
}

.article-content p a:hover,
.entry-content a:hover,
.main-content-card p a:hover,
.hero-description a:hover,
.disclaimer-body a:hover {
    color: #1d4ed8;
    text-decoration-color: #1d4ed8;
}

/* Table Text Links */
.sharp-table a:not(.table-action-link) {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
}

.sharp-table a:not(.table-action-link):hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.table-action-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1e40af;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    padding: 3px 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.table-action-link:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    border-color: #1d4ed8;
}

.table-action-link svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* Breadcrumbs Links */
.article-breadcrumbs a, .archive-breadcrumbs a {
    color: #64748b !important;
    text-decoration: none !important;
}

.article-breadcrumbs a:hover, .archive-breadcrumbs a:hover {
    color: #0f172a !important;
    text-decoration: underline !important;
}

/* Footer Links */
.footer-links a, .footer-bottom a {
    color: #94a3b8 !important;
    text-decoration: none !important;
}

.footer-links a:hover, .footer-bottom a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Fluid Container with Zero Bulky Side Margins */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

/* --------------------------------------------------------------------------
 * 2. TOP BANNER & CLEAN MOBILE HEADER
 * -------------------------------------------------------------------------- */






.notice-pulse {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    flex-shrink: 0;
}





@media (max-width: 600px) {
    
    
}

/* Main Site Header */
.site-header {
    background-color: var(--header-bg, #ffffff);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99999 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0; /* Increased vertical padding by ~15% for refined breathing room */
    gap: 16px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.brand-logo-img {
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.brand-custom-logo {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.site-brand .site-title {
    color: var(--brand-title-color, var(--header-text, var(--brand-navy)));
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon-box {
    width: 38px;
    height: 38px;
    background: #090d16;
    color: #ffffff;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-icon-box svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
}

.brand-title-wrap h1, .brand-title-wrap .site-title {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--header-text, var(--brand-navy));
    line-height: 1.15;
}

.brand-title-wrap .site-tagline {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
}

.site-navigation {
    display: flex;
    align-items: center;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.site-nav a {
    color: var(--header-text, var(--text-body));
    font-weight: 600;
    font-size: 14px;
    padding: 4px 0;
}

.site-nav a:hover {
    color: var(--brand-blue);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
 * 2. NAVIGATION (UNIFIED DESKTOP NAVBAR & MOBILE OFF-CANVAS DRAWER)
 * -------------------------------------------------------------------------- */
.site-navigation {
    display: flex;
    align-items: center;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--header-text, var(--text-body));
    font-weight: 600;
    font-size: 14px;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-nav a:hover {
    color: var(--brand-blue);
    text-decoration: none;
}

/* Categories Dropdown (Desktop: Zero-Gap Hover + Click Support) */
.site-nav .nav-dropdown {
    position: relative;
}

/* Invisible Bridge preventing mouseout gap flicker */
.site-nav .nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.site-nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    font: inherit;
    color: inherit;
    padding: 4px 0;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.site-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    min-width: 240px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 1050;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.site-nav .nav-dropdown:hover .dropdown-menu,
.site-nav .nav-dropdown:focus-within .dropdown-menu,
.site-nav .nav-dropdown.active-dropdown .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    display: block;
}

.site-nav .nav-dropdown:hover .dropdown-arrow,
.site-nav .nav-dropdown.active-dropdown .dropdown-arrow {
    transform: rotate(180deg);
}

.site-nav .dropdown-menu li {
    padding: 0;
    margin: 0;
    width: 100%;
    border-bottom: none;
    list-style: none;
}

.site-nav .dropdown-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 16px;
    font-size: 13.5px;
    color: var(--text-heading) !important;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav .dropdown-menu a:hover {
    background-color: #f1f5f9;
    color: var(--brand-blue) !important;
    text-decoration: none;
}

.cat-pill {
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--brand-blue);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 2px;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.header-action-btn:hover {
    background-color: var(--brand-blue-hover);
    text-decoration: none !important;
}

/* Mobile Toggle Hamburger Button */
.mobile-nav-toggle {
    display: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 42px !important;
    height: 42px !important;
    padding: 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mobile-nav-toggle:hover {
    background: #e2e8f0;
}

.mobile-nav-toggle .hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer Backdrop (Clean subtle overlay, strictly behind sidebar, zero blur) */
.mobile-nav-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.35) !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.mobile-nav-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    pointer-events: auto !important;
}

body.nav-locked {
    overflow: hidden !important;
}
body.nav-locked .site-header {
    z-index: 99999 !important;
}

/* Desktop Visibility Defaults */
@media (min-width: 861px) {
    .mobile-menu-header,
    .mobile-nav-cta,
    .mobile-nav-toggle,
    .mobile-nav-backdrop {
        display: none !important;
    }
}

/* Mobile Breakpoint (<=860px) */
@media (max-width: 860px) {
    .header-action-btn.desktop-only {
        display: none !important;
    }

    .mobile-nav-toggle {
    display: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 42px !important;
    height: 42px !important;
    padding: 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    /* Single Navigation turns into Smooth Off-Canvas Drawer */
    .site-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -330px !important;
        width: 300px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 100000 !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.14) !important;
        display: flex !important;
        flex-direction: column !important;
        transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        filter: none !important;
        -webkit-filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .site-navigation.mobile-active {
        right: 0 !important;
    }

    .mobile-menu-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc;
        flex-shrink: 0;
    }

    .mobile-drawer-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 800;
        font-size: 15.5px;
        color: #0f172a;
    }

    .mobile-menu-close {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #475569;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        transition: background 0.15s, color 0.15s;
    }

    .mobile-menu-close:hover {
        background: #fee2e2;
        color: #dc2626;
        border-color: #fca5a5;
    }

    .site-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 10px 16px !important;
        gap: 0 !important;
        list-style: none !important;
    }

    .site-nav li {
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .site-nav a,
    .site-nav .dropdown-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 46px !important;
        padding: 11px 4px !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        text-decoration: none !important;
        cursor: pointer !important;
        border: none !important;
        background: none !important;
    }

    .site-nav a:hover,
    .site-nav .dropdown-toggle:hover {
        color: var(--brand-blue) !important;
    }

    /* Mobile Accordion Sub-Menu */
    .site-nav .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--brand-blue) !important;
        background: #f8fafc !important;
        border-radius: 0 4px 4px 0 !important;
        padding: 4px 0 8px 12px !important;
        margin: 0 0 8px 0 !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        min-width: 100% !important;
        pointer-events: auto !important;
    }

    .site-nav .nav-dropdown.active-dropdown .dropdown-menu {
        display: block !important;
    }

    .site-nav .dropdown-menu li {
        border-bottom: none !important;
    }

    .site-nav .dropdown-menu a {
        padding: 7px 8px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #334155 !important;
        min-height: 38px !important;
        border-radius: 2px !important;
    }

    .site-nav .dropdown-menu a:hover {
        background: #e2e8f0 !important;
        color: var(--brand-blue) !important;
    }

    .site-nav .nav-dropdown.active-dropdown .dropdown-arrow {
        transform: rotate(180deg) !important;
        color: var(--brand-blue) !important;
    }

    .mobile-nav-cta {
        display: block !important;
        margin-top: auto !important;
        padding: 18px 18px 24px 18px !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    .mobile-cta-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        background: var(--brand-blue) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        padding: 12px 18px !important;
        border-radius: 4px !important;
        text-decoration: none !important;
        box-shadow: 0 3px 10px rgba(29, 78, 216, 0.25) !important;
        transition: background 0.15s ease !important;
    }

    .mobile-cta-button:hover {
        background: var(--brand-blue-hover) !important;
    }
}

/* --------------------------------------------------------------------------
 * 3. HERO SECTION (CLEAN LIGHT THEME, GENERATEPRESS FEEL, SSO CARD GRAPHIC)
 * -------------------------------------------------------------------------- */
.hero-wrapper {
    background: #ffffff;
    color: var(--text-body);
    padding: 36px 0 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #1d4ed8;
    margin-bottom: 14px;
    border-radius: 2px;
}

.hero-badge-pill svg {
    width: 13px;
    height: 13px;
    stroke: #2563eb;
}

.hero-headline {
    color: var(--brand-navy);
    font-size: clamp(23px, 3.8vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-description {
    color: var(--text-body);
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-trust-list svg {
    width: 14px;
    height: 14px;
    stroke: #16a34a;
}

/* SSO Visual Badge Card */
.sso-visual-badge-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 22px 24px;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.sso-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sso-card-emblem {
    width: 36px;
    height: 36px;
    background: #2563eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sso-card-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.sso-card-subtitle {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

.sso-card-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sso-chip-pattern {
    width: 38px;
    height: 28px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 3px;
    border: 1px solid #b45309;
}

.sso-verified-tag {
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.15);
    padding: 3px 8px;
    border-radius: 2px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.sso-card-id-row {
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 12px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.sso-id-label {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.sso-id-code {
    display: block;
    font-family: monospace;
    font-size: 15px;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 1px;
}

.sso-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.sso-ssl-badge {
    color: #38bdf8;
    font-weight: 600;
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Sharp Action Buttons Grid */
.sharp-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.sharp-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 2px; /* Sharp flat edges */
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
    border: 1px solid transparent;
}

.sharp-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2.2;
}

.sharp-btn-primary {
    background-color: #1d4ed8;
    color: #ffffff !important;
    border-color: #1e40af;
}
.sharp-btn-primary:hover {
    background-color: #1e40af;
}

.sharp-btn-success {
    background-color: #15803d;
    color: #ffffff !important;
    border-color: #166534;
}
.sharp-btn-success:hover {
    background-color: #166534;
}

.sharp-btn-amber {
    background-color: #b45309;
    color: #ffffff !important;
    border-color: #92400e;
}
.sharp-btn-amber:hover {
    background-color: #92400e;
}

.sharp-btn-neutral {
    background-color: #1e293b;
    color: #ffffff !important;
    border-color: #334155;
}
.sharp-btn-neutral:hover {
    background-color: #334155;
}

/* --------------------------------------------------------------------------
 * 4. DISCLAIMER & ADSENSE NOTICE BOXES (FLAT, CLEAN, ZERO ROUND)
 * -------------------------------------------------------------------------- */
.adsense-disclaimer-box {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid var(--brand-amber);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0;
}

.adsense-disclaimer-box.red-alert {
    background-color: #fef2f2;
    border-color: #fecaca;
    border-left-color: var(--brand-red);
}

.disclaimer-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    color: var(--brand-amber);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.adsense-disclaimer-box.red-alert .disclaimer-head {
    color: var(--brand-red);
}

.disclaimer-head svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.2;
}

.disclaimer-body {
    font-size: 14px;
    color: #78350f;
    line-height: 1.6;
}

.adsense-disclaimer-box.red-alert .disclaimer-body {
    color: #991b1b;
}

/* --------------------------------------------------------------------------
 * 5. MAIN CONTENT CARD (ZERO MARGINS, NO ROUND BOX, CLEAN WHITE BACKGROUND)
 * -------------------------------------------------------------------------- */
.content-area {
    padding: 30px 0 50px 0;
    background-color: #ffffff; /* Clean white, no annoying outer margins */
}

.main-content-card {
    background-color: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: 24px 14px;
    box-sizing: border-box;
    max-width: 100%;
}

.article-content h2 {
    color: var(--brand-navy);
    font-size: clamp(20px, 2.6vw, 25px);
    font-weight: 800;
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    letter-spacing: -0.3px;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background-color: var(--brand-blue);
}

.article-content h3 {
    color: var(--text-heading);
    font-size: 18px;
    font-weight: 700;
    margin-top: 26px;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.article-content p {
    font-size: 15.5px;
    color: var(--text-body);
    line-height: 1.72;
    margin-bottom: 18px;
}

.article-content strong {
    color: var(--text-heading);
}

/* --------------------------------------------------------------------------
 * 6. SHARP TABLES & MATRICES (FLAT, ZERO ROUND CORNERS)
 * -------------------------------------------------------------------------- */
.sharp-table-container {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.sharp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #ffffff;
    text-align: left;
}

.sharp-table th {
    background-color: #090d16;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 16px;
    border: 1px solid #1e293b;
    font-size: 13px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.sharp-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.sharp-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.table-action-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--brand-blue);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 2px;
    text-decoration: none !important;
    white-space: nowrap;
}

.table-action-link:hover {
    background-color: var(--brand-blue-hover);
}

.table-action-link svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* --------------------------------------------------------------------------
 * 7. VECTOR SERVICES GRID (FLAT, CLEAN, ZERO EMOJIS)
 * -------------------------------------------------------------------------- */
.services-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.service-feature-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0; /* Sharp 0px corners */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.15s ease;
}

.service-feature-card:hover {
    border-color: var(--brand-blue);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.service-vector-icon {
    width: 38px;
    height: 38px;
    background-color: #eff6ff;
    color: var(--brand-blue);
    border: 1px solid #bfdbfe;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-vector-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.service-header-text .service-dept-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-header-text h4 {
    margin: 2px 0 0 0;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.35;
}

.service-card-body p {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.55;
    margin-bottom: 14px;
}

.service-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.service-card-footer a:hover {
    color: var(--brand-blue-hover);
    text-decoration: underline;
}

.service-card-footer a svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* --------------------------------------------------------------------------
 * 8. STEPPED PROCESS BOXES (FLAT, ZERO ROUNDS)
 * -------------------------------------------------------------------------- */
.sharp-steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.sharp-step-item {
    display: flex;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 16px 20px;
}

.step-index-box {
    width: 32px;
    height: 32px;
    background-color: #090d16;
    color: #ffffff;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.step-body-content h4 {
    margin: 0 0 4px 0;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-heading);
}

.step-body-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
 * 9. FAQ ACCORDION (FLAT, ACCESSIBLE)
 * -------------------------------------------------------------------------- */
.modern-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 28px 0;
}

.modern-faq-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.modern-faq-toggle {
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.modern-faq-toggle:hover {
    background-color: #f8fafc;
}

.faq-indicator {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    stroke-width: 2.2;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.modern-faq-card.open .faq-indicator {
    transform: rotate(180deg);
}

.modern-faq-content {
    display: none;
    padding: 0 20px 18px 20px;
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.65;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.modern-faq-card.open .modern-faq-content {
    display: block;
}

/* --------------------------------------------------------------------------
 * 10. FOOTER & ADSENSE LEGAL LINKS
 * -------------------------------------------------------------------------- */
.site-footer {
    background-color: #090d16;
    color: #94a3b8;
    padding: 40px 0 24px 0;
    border-top: 1px solid #1e293b;
    font-size: 13.5px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}

@media (max-width: 800px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-list a {
    color: #cbd5e1;
    font-size: 13px;
}

.footer-links-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #64748b;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
 * 11. HERO FEATURED IMAGE & BUTTON POSITION ENHANCEMENTS
 * -------------------------------------------------------------------------- */
.hero-card-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-featured-image {
    width: 100%;
    height: auto;
    max-width: 580px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    display: block;
    object-fit: cover;
}

.inside-hero-btn-wrap {
    margin: 18px 0 0 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.inside-hero-btn-wrap h2, .inside-hero-btn-wrap p {
    display: none;
}

.below-hero-btn-wrap {
    margin: 20px 0 !important;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
 * 12. ARTICLES & EDITORIAL LAYOUT
 * -------------------------------------------------------------------------- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.article-card:hover .article-thumb img {
    transform: scale(1.03);
}

.article-thumb {
    overflow: hidden;
    height: 190px;
    background: #f1f5f9;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}




/* --------------------------------------------------------------------------
 * 2. APPLE-GRADE STICKY HEADER (CLEAN, NO BLUR, CRISP ELEVATION)
 * -------------------------------------------------------------------------- */
.site-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100000 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    padding: 3px 0 !important;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    height: auto !important;
    min-height: 64px !important;
    padding: 4px 20px !important;
    box-sizing: border-box !important;
    gap: 16px !important;
}

@media (max-width: 768px) {
    .site-header {
        padding: 2px 0 !important;
    }
    .header-container {
        padding: 4px 16px !important;
        min-height: 58px !important;
    }
}

.site-branding {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.custom-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.custom-logo {
    height: 38px !important;
    width: auto !important;
    max-width: 145px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Desktop Navigation */
.main-navigation {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.nav-menu {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 6px !important;
}

.nav-menu .menu-item a {
    color: #334155 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
    display: inline-block !important;
}

.nav-menu .menu-item a:hover {
    color: #1d4ed8 !important;
    background-color: #f8fafc !important;
}

.header-right-action {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.header-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease !important;
    box-shadow: 0 1px 2px rgba(29, 78, 216, 0.2) !important;
}

.header-cta-btn:hover {
    background-color: #1e40af !important;
    color: #ffffff !important;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 860px) {
    .mobile-nav-toggle {
        display: flex !important;
    }
}

.mobile-nav-toggle .hamburger-bar {
    width: 22px !important;
    height: 2px !important;
    background-color: #0f172a !important;
    border-radius: 2px !important;
}

.mobile-drawer-header {
    display: none !important;
}

.mobile-nav-cta {
    display: none !important;
}

.mobile-nav-backdrop {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(15, 23, 42, 0.5) !important;
    z-index: 10000 !important;
}

.mobile-nav-backdrop.active {
    display: block !important;
}

@media (max-width: 860px) {
    .header-cta-btn {
        display: none !important;
    }

    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 285px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 10001 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15) !important;
        transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
    }

    .main-navigation.mobile-active {
        right: 0 !important;
    }

    .mobile-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
    }

    .drawer-title {
        font-weight: 800 !important;
        font-size: 15.5px !important;
        color: #0f172a !important;
    }

    .mobile-drawer-close {
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 4px !important;
        width: 30px !important;
        height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-size: 20px !important;
        color: #475569 !important;
        line-height: 1 !important;
    }

    .nav-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 12px 14px !important;
        gap: 4px !important;
    }

    .nav-menu .menu-item a {
        font-size: 15px !important;
        padding: 12px 14px !important;
        border-radius: 4px !important;
        color: #1e293b !important;
        display: block !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .mobile-nav-cta {
        display: block !important;
        padding: 16px 20px !important;
        margin-top: auto !important;
        border-top: 1px solid #e2e8f0 !important;
    }
}


/* --------------------------------------------------------------------------
 * BULLETPROOF MOBILE DRAWER & ZERO BLUR STACKING FIX
 * -------------------------------------------------------------------------- */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100000 !important;
    background-color: #ffffff !important;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.mobile-nav-backdrop {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.4) !important;
    z-index: 99990 !important;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

.mobile-nav-backdrop.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 860px) {
    #site-navigation.main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 285px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 100005 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18) !important;
        transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
        pointer-events: auto !important;
        filter: none !important;
        -webkit-filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    #site-navigation.main-navigation.mobile-active {
        right: 0 !important;
        pointer-events: auto !important;
    }

    .mobile-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 18px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
    }

    .mobile-drawer-close {
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 4px !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-size: 22px !important;
        color: #334155 !important;
        line-height: 1 !important;
        z-index: 100010 !important;
        pointer-events: auto !important;
    }

    .nav-menu .menu-item a {
        position: relative !important;
        z-index: 100010 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    .mobile-nav-cta a {
        position: relative !important;
        z-index: 100010 !important;
        pointer-events: auto !important;
    }
}

/* --------------------------------------------------------------------------
 * ARTICLE 3% MARGIN LAYOUT RULES
 * -------------------------------------------------------------------------- */
.article-container {
    width: 94% !important;
    max-width: 1160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 768px) {
    .article-container {
        width: 94% !important;
        margin-left: 3% !important;
        margin-right: 3% !important;
        padding: 16px 0 !important;
    }
    .main-content-card.article-content {
        padding: 20px 14px !important;
    }
}


/* --------------------------------------------------------------------------
 * GLOBAL LAYOUT OVERFLOW GUARD & RESPONSIVE TABLES
 * -------------------------------------------------------------------------- */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

table, pre, code, p, h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    overflow-wrap: break-word;
}

.sharp-table-container, .table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 18px 0 !important;
    border: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
 * ELEVATED ACTION PORTAL CARDS GATEWAY
 * -------------------------------------------------------------------------- */
.portal-gateway-section {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 22px 18px !important;
    margin: 22px 0 30px 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.portal-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 14px !important;
}

.portal-action-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 18px 16px !important;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.portal-action-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07) !important;
    text-decoration: none !important;
}

.portal-action-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: #cbd5e1;
}

.card-login::before { background: #1d4ed8 !important; }
.card-login:hover { border-color: #93c5fd !important; }

.card-register::before { background: #15803d !important; }
.card-register:hover { border-color: #86efac !important; }

.card-reset::before { background: #b45309 !important; }
.card-reset:hover { border-color: #fde68a !important; }

.card-recover::before { background: #0f172a !important; }
.card-recover:hover { border-color: #cbd5e1 !important; }

.card-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
}

.card-badge {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
}

.badge-blue { background: #eff6ff !important; color: #1d4ed8 !important; }
.badge-green { background: #f0fdf4 !important; color: #15803d !important; }
.badge-amber { background: #fffbeb !important; color: #b45309 !important; }
.badge-slate { background: #f1f5f9 !important; color: #334155 !important; }

.card-icon-wrap {
    width: 34px !important;
    height: 34px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.card-icon-wrap svg {
    width: 17px !important;
    height: 17px !important;
}

.icon-blue { background: #eff6ff !important; color: #1d4ed8 !important; }
.icon-green { background: #f0fdf4 !important; color: #15803d !important; }
.icon-amber { background: #fffbeb !important; color: #b45309 !important; }
.icon-slate { background: #f1f5f9 !important; color: #0f172a !important; }

.card-title {
    font-size: 16.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

.card-desc {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 14px 0 !important;
    flex-grow: 1 !important;
}

.card-action-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-top: auto !important;
}

.card-login .card-action-link { color: #1d4ed8 !important; }
.card-register .card-action-link { color: #15803d !important; }
.card-reset .card-action-link { color: #b45309 !important; }
.card-recover .card-action-link { color: #0f172a !important; }

.card-action-link svg {
    width: 14px !important;
    height: 14px !important;
    transition: transform 0.15s ease !important;
}

.portal-action-card:hover .card-action-link svg {
    transform: translateX(3px) !important;
}

/* --------------------------------------------------------------------------
 * FOOTER HIGH CONTRAST TEXT
 * -------------------------------------------------------------------------- */
.site-footer {
    background-color: #090d16 !important;
    color: #e2e8f0 !important;
}

.site-footer p {
    color: #cbd5e1 !important;
    font-size: 14px !important;
}

.site-footer h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.site-footer .footer-links a {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 2 !important;
}

.site-footer .footer-links a:hover {
    color: #60a5fa !important;
    text-decoration: underline !important;
}

.footer-bottom {
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom a {
    color: #cbd5e1 !important;
}
.footer-bottom a:hover {
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
 * HOMEPAGE ZERO SIDE-MARGIN ARCHITECTURE (USER DIRECTIVE)
 * -------------------------------------------------------------------------- */
body.home-page {
    overflow-x: hidden !important;
}

body.home-page .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header & Footer Container Bounds (Logo and Toggle placement anchored) */
body.home-page .site-header .container,
body.home-page .site-header .header-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
@media (max-width: 768px) {
    body.home-page .site-header .container,
    body.home-page .site-header .header-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

body.home-page .site-footer .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
@media (max-width: 768px) {
    body.home-page .site-footer .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Hero Section: 0 side margin, edge-to-edge flush */
body.home-page .hero-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 28px 0 34px 0 !important;
    border-left: none !important;
    border-right: none !important;
}

body.home-page .hero-grid {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    body.home-page .hero-grid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* Main Content Area & Card: Zero Side Margin, No Double Border */
body.home-page .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 10px 0 40px 0 !important;
    background: transparent !important;
}

body.home-page .main-content-card {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    body.home-page .main-content-card {
        padding: 12px 14px !important;
    }
}

/* Action Portal Gateway: 0 Side Margins */
body.home-page .portal-gateway-section {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 6px !important;
    padding: 20px 16px !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    body.home-page .portal-gateway-section {
        padding: 16px 12px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
}

/* Flush Edge-to-Edge Tables on Mobile */
@media (max-width: 768px) {
    body.home-page .sharp-table-container,
    body.home-page .table-responsive {
        margin-left: -14px !important;
        margin-right: -14px !important;
        width: calc(100% + 28px) !important;
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
    }
}

