/* SwiftUnlock HQ - Header Styles */
/* 1. Global Reset to fix "Gap" issues */
html, body {
    margin: 0;
    padding: 0;
    top: 0;
}
/* 2. Main Header Container - Make it Sticky */
.main-header {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    /* Sticky Positioning */
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 1030; /* High z-index to stay on top of content */
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Shadow for depth when scrolling */
}
/* 3. Top Bar */
.header-top {
    background-color: #f8f9fa; 
    font-size: 0.85rem;
    color: #6c757d;
    position: relative; /* Ensure it renders correctly */
}
.header-top a {
    transition: color 0.2s;
}
.header-top a:hover {
    color: #0d6efd !important;
}
/* 4. Middle Bar */
.header-middle {
    /* Removed individual sticky/fixed properties here to let .main-header handle it */
    border-bottom: 1px solid #eee;
    background-color: #fff;
}
/* Brand Color */
.text-primary {
    color: #0056b3 !important; 
}
.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0056b3;
}
/* 5. Bottom Bar */
.header-bottom {
    background-color: #f1f3f5;
}
.search-container .input-group-text {
    background: #fff;
    border-color: #ced4da;
}
.search-container input:focus {
    box-shadow: none;
    border-color: #ced4da;
}
/* Misc Elements */
.btn-secondary {
    background-color: #6c757d;
    border: none;
}
.btn-secondary:hover {
    background-color: #5a6268;
}
.profile-section img {
    object-fit: cover;
}
.profile-section small {
    line-height: 1.2;
}
.hover-white:hover {
    color: #fff !important;
    transition: color 0.3s;
}

/* Additions for Mobile Offcanvas Matching */
.offcanvas-header {
    background-color: #0d6efd; /* Deeper blue to match screenshots */
}
.offcanvas-body .list-group-item {
    border: none;
    padding: 0.75rem 1.25rem;
}
.offcanvas-body .list-group-item .text-uppercase {
    color: #6c757d;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem 0;
}
.offcanvas-body .collapse .list-group-item {
    padding-left: 2.5rem;
    font-size: 0.95rem;
}
.offcanvas-body a:hover {
    background-color: #f8f9fa;
}