/* ==================== Font Face ==================== */
@font-face {
    font-family: 'SolaimanLipi';
    src: url('/assets/fonts/SolaimanLipi.ttf') format('truetype');
    font-display: swap;
}

/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --darker-color: #212529;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-primary: #333;
    --text-secondary: #6c757d;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --sidebar-width: 250px;
}

/* ==================== Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SolaimanLipi', 'Roboto', sans-serif !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-color);
}

/* ==================== Layout Wrapper ==================== */
.wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--white);
}

/* ==================== Sidebar Styles ==================== */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: var(--white);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: background var(--transition-normal);
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.no-animation .submenu {
    transition: none !important;
}

/* ==================== Responsive Sidebar Fix ==================== */

/* Mobile View */
@media (max-width: 768px) {

    .sidebar {
        width: 250px;         
        height: 100vh;
        position: fixed;
        top: 0;
        left: -100%;             
        transition: left 0.3s ease;
        z-index: 1100;
    }

    .sidebar.open,
    .sidebar.active {
        left: 0;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    header .sidebar-toggle {
        display: inline-flex;
    }

    .content-body {
        width: 95%;
        margin: 10px auto;
        padding: 15px;
    }
}

/* Desktop View */
@media (min-width: 769px) {

    .sidebar {
        left: 0;
    }

    .main-content {
        margin-left: var(--sidebar-width);
        width: calc(100% - var(--sidebar-width));
    }

    header .sidebar-toggle {
        display: none;
    }
}

.sidebar.active {

    transform: translateX(0);

}

/* ==================== Sidebar Header ==================== */
.sidebar-header {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #1a252f 0%, #0f1419 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-wrapper {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.profile-wrapper:hover {
    transform: translateY(-2px);
}

.profile-pic {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all var(--transition-normal);
    display: block;
    margin: 0 auto;
}

.profile-wrapper:hover .profile-pic {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

/* User Text Animation */
.user-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-normal), opacity var(--transition-normal), margin var(--transition-normal);
}

.profile-wrapper:hover .user-text {
    max-height: 150px;
    opacity: 1;
    margin-top: 0.5rem;
}

.full-name {
    margin-top: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ff1649;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.role {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.union {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #b9e4c9;
    line-height: 1.3;
}

/* ==================== Sidebar Navigation ==================== */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all var(--transition-normal);
    position: relative;
}

.sidebar ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(0, 123, 255, 0.1);
    transition: width var(--transition-normal);
}

.sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-left-color: var(--primary-color);
}

.sidebar ul li a:hover::before {
    width: 100%;
}

.sidebar ul li a i {
    margin-right: 12px;
    font-size: 1.1rem;
    transition: transform var(--transition-normal);
}

.sidebar ul li a:hover i {
    transform: scale(1.15);
}

/* Active Link Styles */
.sidebar .active {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.2) 0%, transparent 100%);
    color: var(--white);
    font-weight: 600;
    border-left-color: var(--primary-color);
}

.sidebar .active i {
    color: var(--primary-color);
}

/* ==================== Submenu Styles ==================== */
.sidebar ul li .submenu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    padding-left: 1rem;
    border-left: 2px solid rgba(0, 123, 255, 0.3);
    margin-left: 1rem;
}

.sidebar ul li .submenu li a {
    padding: 10px 20px;
    font-size: 0.88rem;
    border-left: none;
}

.submenu-toggle {
    cursor: pointer;
}

.sidebar ul li .submenu-toggle i.float-end {
    margin-left: auto;
    transition: transform var(--transition-normal);
}

.rotate {
    transform: rotate(180deg);
}

/* Sub-submenu Styles */
.sidebar ul li .sub-submenu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.3);
    padding-left: 1rem;
    border-left: 2px solid rgba(0, 123, 255, 0.2);
    margin-left: 0.5rem;
}

.sidebar ul li .sub-submenu li a {
    padding: 8px 15px;
    font-size: 0.85rem;
}

.sidebar ul li .sub-submenu li a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.sub-submenu-toggle {
    cursor: pointer;
}

/* ==================== Main Content Area ==================== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    width: calc(100% - var(--sidebar-width));
}

/* ==================== Header Styles ==================== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: linear-gradient(135deg, #1a2a3b 0%, #0f1923 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .rtl-animation {
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
}

header .rtl-animation p {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    animation: slideIn 15s linear infinite;
    background: linear-gradient(90deg, #00c6ff, #0072ff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes slideIn {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

header .sidebar-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    background-color: #343a40;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

header .sidebar-toggle:hover {
    background-color: #495057;
    transform: scale(1.05);
}

header .sidebar-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(72, 126, 176, 0.6);
}

header .sidebar-toggle:active {
    transform: scale(0.95);
    background-color: #212529;
}

/* ==================== Content Body ==================== */
.content-body {
    flex: 1;
    padding: 30px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    margin: 25px auto;
    width: 92%;
    max-width: 1200px;
    border-radius: var(--border-radius-xl);
    transition: box-shadow var(--transition-normal);
}

.content-body:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* ==================== Main Container ==================== */
.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #f9f9f9;
}

.main-container nav.navbar {
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.main-container .navbar-nav .nav-item .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
}

.main-container .navbar-nav .nav-item .nav-link:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

/* ==================== Form Elements ==================== */
label {
    margin: 8px 0 6px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

label span {
    color: var(--danger-color);
    margin-left: 3px;
}

.error {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin: 5px 0 0 10px;
    display: block;
    font-weight: 500;
}

input.error-input,
input.has-error,
select.has-error,
textarea.has-error {
    border: 2px solid var(--danger-color) !important;
    background-color: #ffe6e6;
    animation: shake 0.3s ease;
}

input.has-error:focus,
select.has-error:focus,
textarea.has-error:focus {
    background-color: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* ==================== Headings ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    position: relative;
    transition: all var(--transition-normal);
}

/* Modern H1 & H2 */
h1, h2 {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ff4d4f, #ff7a59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    margin-top: 8px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff4d4f, #ff7a59);
    transition: width var(--transition-normal);
}

h1:hover::after {
    width: 120px;
}

h2 {
    font-size: 2rem;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 8px;
    border-radius: 2px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    transition: width var(--transition-normal);
}

h2:hover::after {
    width: 100px;
}

/* H3-H6 Styles */
h3, h4, h5, h6 {
    color: var(--text-primary);
    display: inline-block;
    padding: 0.2rem 0.4rem;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 0, 0, 0.03);
}

h3:hover, h4:hover, h5:hover, h6:hover {
    background: rgba(0, 123, 255, 0.08);
    transform: translateX(3px);
}

h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ==================== Action Buttons ==================== */
.action-buttons {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    width: 100%;
    max-width: 450px;
    margin-top: 25px;
}

.action-buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--white);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.login-btn {
    background: linear-gradient(135deg, #17a2b8 0%, #0dcaf0 100%);
}

.reset-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
}

.action-buttons button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.action-buttons button:active {
    transform: translateY(-1px);
}

/* ==================== Toast Container ==================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.toast-body {
    font-size: 15px;
    padding: 15px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

/* ==================== Message Container ==================== */
#messageContainer {
    display: block !important;
}

/* ==================== Breadcrumb ==================== */
.breadcrumb {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 12px 18px !important;
    margin: 0 0 20px 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: var(--border-radius-md) !important;
    font-size: 0.95rem !important;
    box-shadow: var(--shadow-sm) !important;
}

.breadcrumb-item {
    display: flex !important;
    align-items: center !important;
    color: var(--primary-color) !important;
    transition: color var(--transition-normal) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    margin: 0 10px !important;
    color: var(--secondary-color) !important;
    font-weight: 300 !important;
}

.breadcrumb-item a {
    color: inherit !important;
    text-decoration: none !important;
    padding: 4px 8px !important;
    border-radius: var(--border-radius-sm) !important;
    transition: all var(--transition-normal) !important;
}

.breadcrumb-item a:hover {
    background: rgba(0, 123, 255, 0.1) !important;
    transform: translateY(-1px) !important;
}

.breadcrumb-item.active {
    color: #495057 !important;
    font-weight: 600 !important;
    pointer-events: none !important;
}

/* ==================== Scroll to Top Button ==================== */
.top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    padding: 16px;
    width: 55px;
    height: 55px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transition: all var(--transition-normal);
}

.top-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.6);
}

.top-button:active {
    transform: translateY(-4px);
}

/* ==================== Footer ==================== */
footer {
    background: linear-gradient(135deg, #2980b9 0%, #1d6fa5 100%);
    color: var(--white);
    padding: 30px 20px;
    font-size: 0.95rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.custom-footer {
    background: linear-gradient(135deg, #1d72b8 0%, #155a94 100%);
    font-family: 'SolaimanLipi', sans-serif;
    font-size: 15px;
    padding: 25px 20px;
    transition: background var(--transition-normal);
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

footer .footer-content .social-links,
.footer-icons {
    display: flex;
    gap: 10px;
}

footer .footer-content .social-links a,
.footer-icons a {
    color: var(--white);
    font-size: 20px;
    margin: 0 10px;
    transition: all var(--transition-normal);
    display: inline-block;
}

footer .footer-content .social-links a:hover,
.footer-icons a:hover {
    color: var(--warning-color);
    transform: translateY(-3px);
}

footer .footer-content .copy-right,
.copy-right {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

footer .footer-content .copy-right a,
.copy-right a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-normal);
}

footer .footer-content .copy-right a:hover,
.copy-right a:hover {
    color: var(--white);
}

/* ==================== Modal Styles ==================== */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.custom-modal-content {
    background: var(--white);
    padding: 30px;
    width: 90%;
    max-width: 450px;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-modal-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 15px;
}

.custom-modal-header i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.custom-modal-body p {
    font-size: 1rem;
    margin: 10px 0;
    color: var(--text-primary);
}

#applicant_id {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.custom-modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-action,
.btn-close-modal {
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-action {
    background: var(--primary-color);
    color: var(--white);
}

.btn-action:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-close-modal {
    background: var(--danger-color);
    color: var(--white);
}

.btn-close-modal:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== Animations ==================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

.animate-pulse {
    animation: pulse 1.8s infinite ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); color: var(--warning-color); }
    50% { transform: rotate(180deg); color: #ff9800; }
    100% { transform: rotate(360deg); color: var(--warning-color); }
}

.animate-spin {
    animation: spin 2s linear infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-8px); }
}

.animate-shake {
    animation: shake 0.5s ease-in-out infinite;
}

.animated-badge:hover {
    filter: brightness(1.2);
    transition: all var(--transition-normal);
}

/* ==================== Bangla Font Styles ==================== */
.bangla {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-size: 16px;
}

.error-bangla {
    color: var(--danger-color);
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* ==================== Utility Classes ==================== */
.text-gradient {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-gradient {
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #0056d2 0%, #00a6d6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
}

.modern-alert {
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    padding: 15px 20px;
    box-shadow: var(--shadow-sm);
}


/* ==================== Union Card ==================== */
.union-card {
    transition: all var(--transition-normal);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.union-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all var(--transition-normal);
}

.union-card:hover .card-title {
    transform: scale(1.05);
}

.union-card h6 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: color var(--transition-normal);
}
@media (min-width: 769px) {
    header .sidebar-toggle {
        display: none !important; 
    }
}

/* ==================== Breadcrumbs (Bootstrap Compatible) ==================== */
.breadcrumb-nav {
    background-color: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.breadcrumb-container {
    padding: 0.75rem 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent;
    border-radius: 0;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.35rem 0;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--secondary-color);
    opacity: 0.6;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
    padding-right: 0;
}

.breadcrumb-item.active::after {
    display: none;
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--transition-fast);
    border-radius: var(--border-radius-sm);
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
}

.breadcrumb-link:hover {
    color: var(--primary-hover);
    background-color: rgba(0, 123, 255, 0.05);
    text-decoration: none;
}

.breadcrumb-link i {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-right: 0.25rem;
}

.breadcrumb-item i {
    font-size: 0.9rem;
    margin-right: 0.35rem;
    opacity: 0.8;
}

/* ==================== Responsive Breadcrumbs ==================== */
@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.85rem;
        gap: 0.25rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.25rem;
    }

    .breadcrumb-link {
        padding: 0.15rem 0.35rem;
        margin: -0.15rem -0.35rem;
        gap: 0.2rem;
    }

    .breadcrumb-item i {
        margin-right: 0.2rem;
    }

    /* Hide icons on very small screens */
    .breadcrumb-item:not(.active) .breadcrumb-link i {
        display: none;
    }
}

/* ==================== Dark Mode Support ==================== */
@media (prefers-color-scheme: dark) {
    .breadcrumb-nav {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .breadcrumb-link {
        color: #66b3ff;
    }

    .breadcrumb-link:hover {
        color: #99ccff;
        background-color: rgba(102, 179, 255, 0.1);
    }

    .breadcrumb-item:not(:last-child)::after {
        color: rgba(255, 255, 255, 0.4);
    }
}


