/* AUTO-INJECT FONT AWESOME GLOBALLY */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --secondary: #17a2b8;
    --warning: #ff9f43;
    --danger: #dc3545;
    --dark: #2c3e50;
    --light: #f4f7f6;
    --gray-btn: #6c757d;
    --main-dash-btn: #28a745;
    --purple-btn: #6f42c1;
    --accent: #ff9f43;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
}

/* ==========================================================================
   GLOBAL TOP ALERT BANNER SYSTEM
   ========================================================================== */
#topAlertBanner {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 9999; 
    padding: 12px 0; 
    display: none;
    justify-content: center; 
    align-items: center; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: #ffffff; 
    color: #2c3e50; 
    font-weight: 600; 
    font-size: 15px;
    border-top: 16px solid #2a3c4d; 
    border-bottom: 1px solid #e2e8f0; 
    animation: slideDown 0.3s ease-in-out;
}
#topAlertBanner::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    bottom: 0; 
    width: 6px; 
    background-color: var(--danger); 
}
@keyframes slideDown { 
    from { opacity: 0; transform: translateY(-100%); } 
    to { opacity: 1; transform: translateY(0); } 
}

#topAlertBanner.info::before { background-color: var(--primary); }
#topAlertBanner.success::before { background-color: var(--main-dash-btn); }
#topAlertBanner.warning::before { background-color: var(--warning); }
#topAlertBanner.danger::before { background-color: var(--danger); }

.alert-container-inner {
    max-width: 1300px !important;
    width: 100%;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-btns { display: flex; gap: 10px; }
.btn-alert { padding: 7px 18px; border-radius: 6px; border: none; font-weight: bold; cursor: pointer; font-size: 13px; }
.btn-alert-ok { background-color: var(--primary); color: white; }
.btn-alert-cancel { background-color: #e2e8f0; color: #4a5568; }

/* ==========================================================================
   ADMIN DASHBOARD LEFT SIDEBAR NAVIGATION & COLLAPSE STYLES
   ========================================================================== */
:root {
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
}

.sidebar-wrapper {
    width: 0; /* wrapper নিজে কোনো স্পেস নেয় না, শুধু sidebar + toggle + overlay হোল্ড করে */
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--dark);
    color: white;
    display: flex;
    flex-direction: column;
    z-index: 1100;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    transition: width 0.3s ease, left 0.3s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.sidebar-brand {
    font-size: 17px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    line-height: 1.3;
}

.sidebar-close-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

/* ডেস্কটপ সাইডবার টগল বাটন স্টাইল */
.desktop-sidebar-collapse-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}
.desktop-sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
}

.sidebar-footer {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sidebar-link .link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-link i {
    width: 18px;
    text-align: center;
    font-size: 15px;
}

.sidebar-link:hover {
    background-color: rgba(255,255,255,0.06);
    color: white;
}

.sidebar-link.active {
    background-color: rgba(0,123,255,0.15);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-link.logout-link {
    color: #ff8a8a;
}
.sidebar-link.logout-link:hover {
    background-color: rgba(220,53,69,0.12);
    color: var(--danger);
}

/* ==========================================================================
   SIDEBAR SUBMENU / DROPDOWN STYLES (NEW STYLES ADDED)
   ========================================================================== */
.sidebar-item-group {
    display: flex;
    flex-direction: column;
}

.submenu-arrow {
    font-size: 12px !important;
    transition: transform 0.3s ease;
}

.sidebar-item-group.open .submenu-arrow {
    transform: rotate(180deg);
}

.sidebar-submenu {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 4px 0;
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 42px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sidebar-sublink i {
    width: 14px;
    font-size: 10px;
    text-align: center;
}

.sidebar-sublink:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-sublink.active {
    color: #38bdf8;
    font-weight: 700;
}

/* --- SIDEBAR COLLAPSED (MINIMIZED) STATE --- */
body.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed-width) !important;
}

body.sidebar-collapsed .sidebar-brand span,
body.sidebar-collapsed .sidebar-link span,
body.sidebar-collapsed .sidebar-sublink span,
body.sidebar-collapsed .submenu-arrow,
body.sidebar-collapsed .sidebar-footer .sidebar-link span {
    display: none !important;
}

body.sidebar-collapsed .sidebar-submenu {
    display: none !important; /* কল্যাপসড অবস্থায় সাব-মেনু হাইড রাখা */
}

body.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 12px 0;
}

body.sidebar-collapsed .sidebar-link .link-content {
    justify-content: center;
}

body.sidebar-collapsed .sidebar-link i {
    font-size: 18px;
    margin: 0;
}

body.sidebar-collapsed .sidebar-header {
    justify-content: center;
    padding: 20px 10px;
}

/* কল্যাপসড অবস্থায় ডানপাশের ফাঁকা জায়গা রিমুভ ও ফুল উইথ করার জন্য মার্জিন ও ম্যাক্স-উইথ আপডেট */
body.sidebar-collapsed .sidebar-wrapper ~ .container,
body.sidebar-collapsed .sidebar-wrapper ~ .welcome-card {
    margin-left: var(--sidebar-collapsed-width) !important;
    margin-right: 30px !important;
    max-width: none !important;
}

/* Mobile hamburger toggle + overlay (ডিফল্টভাবে ডেস্কটপে লুকানো) */
.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1200;
    background-color: var(--dark);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
}

/* সাইডবারের পাশে মূল কন্টেন্ট সরিয়ে দেওয়া এবং ফুল উইথ করা */
.sidebar-wrapper ~ .container,
.sidebar-wrapper ~ .welcome-card {
    margin-left: var(--sidebar-width);
    margin-right: 30px;
    max-width: none !important;
    transition: margin-left 0.3s ease;
}
.sidebar-wrapper ~ .container {
    width: auto;
}

/* ==========================================================================
   PAGE CONTAINER & GENERIC SECTION CARDS
   ========================================================================== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px 25px 25px;
}

.box, .section-card {
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

/* ==========================================================================
   MAIN WEBSITE PUBLIC HEADER & FOOTER COMPONENTS
   ========================================================================== */
/* 1. Announcement Bar */
#global-announce-bar {
    background: linear-gradient(90deg, #ff9f43, #ee5253);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 15px;
    text-align: center;
    position: relative;
    z-index: 1001;
}
.announce-content a {
    color: #fff;
    margin-left: 10px;
    text-decoration: underline;
    font-weight: bold;
}

/* 2. Dynamic Main Site Header Styling */
#global-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    position: relative;
    flex-wrap: nowrap;
    gap: 20px;
}

.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.site-logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.site-logo img {
    max-height: 38px;
    width: auto;
}

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

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

.site-nav ul li > a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.site-nav ul li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease-in-out;
}
.site-nav ul li > a:hover::after,
.site-nav ul li > a:focus::after {
    transform: scaleX(1);
}
.site-nav ul li > a:hover { color: var(--primary); }

.header-btn-group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.btn-primary-head {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    height: auto !important;
}

.btn-primary-head:hover {
    background-color: var(--primary-dark) !important;
}

.btn-auth-head {
    background-color: #f1f5f9 !important;
    color: var(--dark) !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 15px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    height: auto !important;
}

.btn-auth-head:hover {
    background-color: #e2e8f0 !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary-head::after, .btn-auth-head::after { 
    display: none !important; 
}

/* Mobile Toggle Button */
.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--dark);
    cursor: pointer;
    padding: 6px;
}

/* Desktop Dropdown Menu */
.nav-item { 
    position: relative; 
}

.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    list-style: none;
    padding: 6px 0;
    min-width: 190px;
    z-index: 9999;
    border: 1px solid #e2e8f0;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
    margin-top: 0;
}

@media (min-width: 769px) {
    .nav-item:hover > .dropdown-menu { 
        display: flex !important; 
    }
}

.dropdown-menu li {
    width: 100%;
    display: block !important;
    border-bottom: 1px solid #f1f5f9;
}
.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 10px 16px !important;
    display: block !important;
    width: 100% !important;
    color: #2c3e50 !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease, background 0.15s ease;
}

.dropdown-menu li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    width: fit-content;
    max-width: calc(100% - 32px);
    right: auto;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease-in-out !important;
    display: block !important;
}

.dropdown-menu li a:hover { 
    background: #f8fafc !important;
    color: var(--primary) !important; 
}

.dropdown-menu li a:hover::after {
    transform: scaleX(1);
    width: calc(100% - 32px);
}

/* ==========================================================================
   MEGA MENU STYLES
   ========================================================================== */
@media (min-width: 769px) {
    .header-wrapper {
        align-items: stretch;
        padding-top: 0;
        padding-bottom: 0;
        min-height: 64px;
    }
    .site-nav { align-items: stretch; }
    .site-nav ul { align-items: stretch; }
    .site-nav ul li > a { height: 100%; }

    .site-nav ul li.has-mega-menu { position: static; }
    .mega-menu {
        display: none !important;
        position: absolute; top: 100%; left: 0; width: 100%;
        background: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border-top: 2px solid var(--primary); padding: 30px; z-index: 9999;
        border-radius: 0 0 8px 8px; 
    }
    .mega-grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px; align-items: start;
        max-width: 1300px; margin: 0 auto; 
    }
    
    .nav-item.has-mega-menu:hover > .mega-menu,
    .mega-menu:hover { 
        display: block !important; 
    }
    
    .mega-col-title {
        font-size: 16px; font-weight: bold; color: var(--primary-dark);
        margin-bottom: 12px; border-bottom: 2px solid #e2e8f0; padding-bottom: 6px;
    }
    
    .mega-links-col .mega-col-links { display: flex; flex-direction: column; gap: 8px; }
    .mega-links-col a {
        color: #2c3e50; text-decoration: none; font-size: 14px; font-weight: 500;
        padding: 6px 10px; border-radius: 5px; transition: all 0.2s ease;
        display: block; background: #f8fafc; border: 1px solid #e2e8f0;
    }
    .mega-links-col a:hover {
        background: var(--primary); color: #ffffff;
        border-color: var(--primary); transform: translateX(3px);
    }
    .mega-links-col a:hover i { color: #ffffff !important; }

    .mega-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
    .mega-social a {
        width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
        border-radius: 50%; color: white !important; text-decoration: none; font-size: 14px;
        background: #64748b; transition: all 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .mega-social a.fb { background: #1877f2; }
    .mega-social a.yt { background: #ff0000; }
    .mega-social a.wa { background: #25d366; }
    .mega-social a.tw { background: #000000; }
    .mega-social a.tg { background: #0088cc; }
    .mega-social a.ln { background: #0a66c2; }
    .mega-social a:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
}

@media (max-width: 768px) {
    .mega-menu { display: none; background: #f8fafc; padding: 15px; border-radius: 6px; margin-top: 5px; }
    .mega-grid-container { display: flex; flex-direction: column; gap: 15px; }
    .nav-item.show-mobile-dropdown > .mega-menu { display: block; }
    
    .mega-col-title { font-size: 15px; color: var(--primary); margin-bottom: 8px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 5px; }
    
    .mega-links-col .mega-col-links { display: flex; flex-direction: column; gap: 6px; }
    .mega-links-col a { display: block; padding: 6px 0; color: #2c3e50; text-decoration: none; font-size: 14px; }
    
    .mega-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
    .mega-social a {
        width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
        border-radius: 50%; color: white !important; font-size: 13px;
    }
    .mega-social a.fb { background: #1877f2; } .mega-social a.yt { background: #ff0000; } .mega-social a.wa { background: #25d366; }
    .mega-social a.tw { background: #000000; } .mega-social a.tg { background: #0088cc; } .mega-social a.ln { background: #0a66c2; }
}

/* ==========================================================================
   3. Dynamic Footer Styling
   ========================================================================== */
#global-footer { 
    background-color: #1e293b; 
    color: #cbd5e1; 
    padding: 50px 20px 20px 20px; 
    margin-top: 60px; 
}
.footer-container { 
    max-width: 1300px; 
    margin: 0 auto; 
}

.footer-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 30px; 
    margin-bottom: 30px; 
}
.footer-col { 
    flex: 1 1 200px; 
}

@media (min-width: 900px) {
    .footer-col:first-child {
        flex: 1.5 1 250px; 
        max-width: 380px; 
    }
    .footer-col.info-col {
        margin-right: 100px; 
    }
    .footer-col:last-child {
        flex: 0 1 auto; 
    }
}

.footer-col h4 { font-size: 17px; margin-bottom: 15px; color: #ffffff; border-bottom: 2px solid var(--primary); padding-bottom: 6px; display: inline-block; font-weight: 700; }
.footer-col p { font-size: 14px; color: #94a3b8; line-height: 1.6;}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a { 
    color: #cbd5e1 !important; 
    text-decoration: none !important; 
    font-size: 14px; 
    transition: color 0.2s ease;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}
.footer-col ul li a i {
    margin-right: 6px;
    font-size: 12px;
    color: #38bdf8;
    transition: none !important;
    transform: none !important;
}
.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #38bdf8;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}
.footer-col ul li a:hover::after {
    transform: scaleX(1);
}
.footer-col ul li a:hover { 
    color: #38bdf8 !important; 
}

.footer-social { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn { 
    width: 38px; 
    height: 38px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    color: #ffffff !important; 
    text-decoration: none !important; 
    font-size: 16px; 
    transition: background 0.2s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    background: #334155;
}
.social-btn:hover { transform: none !important; }
.social-btn.fb { background: #1877f2; }
.social-btn.yt { background: #ff0000; }
.social-btn.wa { background: #25d366; }
.social-btn.tw { background: #000000; }
.social-btn.tg { background: #0088cc; }
.social-btn.ln { background: #0a66c2; }

.footer-bottom { 
    display: flex;
    align-items: center;
    padding-top: 25px; 
    border-top: 1px solid #334155; 
    font-size: 13px; 
    color: #64748b; 
    min-height: 40px;
}

.footer-copy-text {
    flex: 1;
}

.footer-copy-text.text-left {
    text-align: left;
}
.footer-copy-text.text-center {
    text-align: center;
}

.footer-copy-links {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.footer-copy-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copy-links a:hover {
    color: #38bdf8;
}

.footer-copy-links .sep {
    color: #475569;
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 900px) {
    /* সাইডবার ডিফল্টভাবে স্ক্রিনের বাইরে লুকানো থাকবে */
    .sidebar {
        left: calc(-1 * var(--sidebar-width));
        transition: left 0.25s ease;
    }
    .sidebar.active {
        left: 0;
    }

    .sidebar-close-btn {
        display: block;
    }

    .mobile-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-overlay.active {
        display: block;
    }

    /* মোবাইলে কন্টেন্ট আর সাইডবারের জন্য জায়গা রাখা লাগবে না */
    .sidebar-wrapper ~ .container,
    .sidebar-wrapper ~ .welcome-card {
        margin-left: 0;
    }
    .sidebar-wrapper ~ .container {
        max-width: 1300px;
        padding-top: 60px; /* হ্যামবার্গার বাটনের নিচে জায়গা */
    }
}

@media (max-width: 768px) {
    .mobile-toggle-btn {
        display: block;
    }

    .site-nav {
        display: none;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 12px 25px rgba(0,0,0,0.12);
        border-top: 1px solid #f1f5f9;
        
        /* 💡 স্বাভাবিক অবস্থায় কোনো অতিরিক্ত প্যাডিং নেই */
        padding: 15px 20px 20px 20px;
        z-index: 1000;
        text-align: left;
        
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .site-nav ul li {
        width: 100%;
        border-bottom: 1px solid #f8fafc;
        text-align: left;
        padding: 0 !important;
    }
    .site-nav ul li:last-child {
        border-bottom: none;
    }

    .site-nav ul li > a {
        width: 100%;
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        padding: 10px 0;
        font-size: 14px;
    }
    .site-nav ul li > a::after { display: none !important; }

    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8fafc !important;
        padding: 4px 12px !important;
        margin: 0 0 6px 0 !important;
        border-left: none !important;
        border-radius: 6px !important;
        align-items: flex-start !important;
    }

    .dropdown-menu li a {
        padding: 8px 0 !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }
    .dropdown-menu li a::after {
        display: none !important;
    }

    .nav-item.show-mobile-dropdown > .dropdown-menu {
        display: flex !important;
    }

    .header-btn-group {
        width: 100%;
        margin-top: 12px;
        margin-left: 0;
        padding-top: 15px;
        margin-bottom: 15px; 
        border-top: 1px solid #f1f5f9;
        display: flex;
        justify-content: flex-start;
        gap: 10px;
    }
    .btn-primary-head, .btn-auth-head {
        flex: 1;
        justify-content: center !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        padding-bottom: 20px;
    }
    
    .footer-copy-text.text-left,
    .footer-copy-text.text-center {
        text-align: center;
    }
    
    .footer-copy-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}