﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿/* ===== COMPACT TAB STYLING ===== */

:root {
    --primary-blue: #00A6FF;
    --light-blue: #80D3FF;
    --dark-blue: #0077B3;
    --primary-rgb: 0, 166, 255;
    --light-blue-rgb: 128, 211, 255;
}

/* Compact Tab Design */
.compact-nav-pills {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 2px;
}

.compact-nav-pills .nav-item {
    flex: 1;
}

.compact-nav-pills .nav-link {
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    min-height: 36px;
}

.compact-nav-pills .nav-link:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.compact-nav-pills .nav-link.active {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.3);
}

.compact-nav-pills .nav-link i {
    font-size: 0.75rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .compact-nav-pills {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 4px 4px 4px 8px;
        gap: 1px;
    }

    .compact-nav-pills::-webkit-scrollbar {
        display: none;
    }

    .compact-nav-pills .nav-item {
        flex-shrink: 0;
        min-width: auto;
    }

    .compact-nav-pills .nav-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        min-height: 30px;
        flex-direction: column;
        gap: 0.2rem;
        min-width: 60px;
        text-align: center;
    }

    .compact-nav-pills .nav-link i {
        font-size: 0.7rem;
        margin: 0;
    }

    .compact-nav-pills .nav-link span {
        font-size: 0.6rem;
        line-height: 1;
        font-weight: 500;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .compact-nav-pills .nav-link {
        font-size: 0.65rem;
        padding: 0.25rem 0.35rem;
        min-height: 28px;
        min-width: 50px;
    }

    .compact-nav-pills .nav-link i {
        font-size: 0.65rem;
    }

    .compact-nav-pills .nav-link span {
        font-size: 0.55rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .compact-nav-pills .nav-link {
        min-height: 36px;
        padding: 0.4rem 0.6rem;
    }

    .compact-nav-pills .nav-link:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .compact-nav-pills .nav-link {
        min-height: 26px;
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }

    .compact-nav-pills .nav-link i {
        font-size: 0.6rem;
    }

    .compact-nav-pills .nav-link span {
        font-size: 0.5rem;
    }
}

/* Sidebar Navigation Active States */
.navbar-vertical .nav-link.active {
    background-color: var(--primary-blue, #00A6FF) !important;
    color: #ffffff !important;
    border-radius: 8px;
    margin: 2px 8px;
}

.navbar-vertical .nav-link.active .nav-link-icon i {
    color: #ffffff !important;
}

.navbar-vertical .nav-link.active .nav-link-text {
    color: #ffffff !important;
    font-weight: 600;
}

/* Hover states for non-active links */
.navbar-vertical .nav-link:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 2px 8px;
}

/* Mobile Sidebar Improvements */
@media (max-width: 991.98px) {
    /* Smooth sidebar transitions */
    .navbar-vertical {
        transition: transform 0.3s ease-in-out;
    }

    /* Improve mobile nav link touch targets */
    .mobile-nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        transition: background-color 0.2s ease;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:focus {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-link:active {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(0.98);
        transition: all 0.1s ease;
    }

    /* Active state for mobile */
    .mobile-nav-link.active {
        background-color: var(--primary-blue, #00A6FF) !important;
        color: #ffffff !important;
        border-radius: 8px;
        margin: 2px 8px;
    }

    /* Improve sidebar backdrop */
    .navbar-vertical.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }
}

/* Beautiful Compact Accommodation Cards */
.airbnb-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.airbnb-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #e0e0e0;
}

/* Image Container - Smaller and More Compact */
.airbnb-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.airbnb-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.airbnb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.airbnb-card:hover .airbnb-image {
    transform: scale(1.05);
}

/* Compact Heart Button */
.airbnb-heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.airbnb-heart-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.airbnb-heart-btn i {
    font-size: 14px;
    color: #666666;
}

.airbnb-heart-btn .fas {
    color: #ff385c;
}

/* Compact Image Indicators */
.airbnb-image-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    z-index: 2;
}

.airbnb-image-indicators .indicator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.airbnb-image-indicators .indicator.active {
    background: rgba(255, 255, 255, 1);
    width: 5px;
    height: 5px;
}

/* Compact Card Content */
.airbnb-content {
    padding: 12px 16px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.airbnb-location {
    font-size: 14px;
    font-weight: 600;
    color: #222222;
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.airbnb-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 500;
    color: #222222;
    flex-shrink: 0;
}

.airbnb-rating i {
    color: #ffd700;
    font-size: 11px;
}

.airbnb-distance {
    font-size: 13px;
    color: #717171;
    margin: 2px 0 0 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.airbnb-dates {
    font-size: 13px;
    color: #717171;
    margin: 1px 0 0 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.airbnb-price {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #f5f5f5;
}

.airbnb-price .price-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue, #00A6FF);
}

.airbnb-price .price-period {
    font-size: 13px;
    font-weight: 400;
    color: #717171;
}

/* Mobile Responsive - 2 Cards Per Row */
@media (max-width: 768px) {
    .airbnb-image-container {
        height: 140px;
    }

    .airbnb-content {
        padding: 8px 10px 10px 10px;
    }

    .airbnb-location {
        font-size: 12px;
        font-weight: 600;
    }

    .airbnb-rating {
        font-size: 11px;
    }

    .airbnb-rating i {
        font-size: 10px;
    }

    .airbnb-distance,
    .airbnb-dates {
        font-size: 11px;
        margin: 1px 0 0 0;
    }

    .airbnb-price {
        margin-top: 4px;
        padding-top: 4px;
    }

    .airbnb-price .price-amount {
        font-size: 14px;
        font-weight: 700;
    }

    .airbnb-price .price-period {
        font-size: 11px;
    }

    .airbnb-heart-btn {
        width: 24px;
        height: 24px;
        top: 6px;
        right: 6px;
    }

    .airbnb-heart-btn i {
        font-size: 11px;
    }

    /* Ensure 2 cards per row on mobile */
    .row.g-3 {
        --bs-gutter-x: 0.75rem;
    }
}

/* Extra Small Mobile - Still 2 Cards Per Row */
@media (max-width: 480px) {
    .airbnb-image-container {
        height: 120px;
    }

    .airbnb-content {
        padding: 6px 8px 8px 8px;
    }

    .airbnb-location {
        font-size: 11px;
        font-weight: 600;
    }

    .airbnb-rating {
        font-size: 10px;
    }

    .airbnb-rating i {
        font-size: 9px;
    }

    .airbnb-distance,
    .airbnb-dates {
        font-size: 10px;
        margin: 1px 0 0 0;
    }

    .airbnb-price {
        margin-top: 3px;
        padding-top: 3px;
    }

    .airbnb-price .price-amount {
        font-size: 13px;
        font-weight: 700;
    }

    .airbnb-price .price-period {
        font-size: 10px;
    }

    .airbnb-heart-btn {
        width: 22px;
        height: 22px;
        top: 5px;
        right: 5px;
    }

/* ===== FANCY SEARCH AND FILTERS ===== */

/* Search Container */
.search-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

/* Search Hero Section */
.search-hero {
    background: linear-gradient(135deg, var(--primary-blue, #00A6FF) 0%, var(--dark-blue, #0077B3) 100%);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.search-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.search-hero-content {
    position: relative;
    z-index: 2;
}

.search-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.search-hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Desktop Search Bar */
.search-bar {
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.search-field {
    flex: 1;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-input,
.search-select {
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: #666666;
    background: transparent;
    width: 100%;
}

.search-input::placeholder {
    color: #999999;
}

.search-divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
    margin: 0 8px;
}

.search-btn {
    background: var(--primary-blue, #00A6FF);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 4px;
}

.search-btn:hover {
    background: var(--dark-blue, #0077B3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 166, 255, 0.3);
}

/* Mobile Search Bar */
.mobile-search {
    margin-top: 1rem;
}

.mobile-search-bar {
    background: white;
    border-radius: 50px;
    padding: 16px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-search-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.mobile-search-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-search-icon {
    color: #666666;
    font-size: 1.1rem;
}

.mobile-search-text {
    flex: 1;
}

.mobile-search-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 2px;
}

.mobile-search-subtitle {
    font-size: 0.8rem;
    color: #999999;
}

.mobile-filter-btn {
    background: #f7f7f7;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    border: 1px solid #e0e0e0;
}

/* Advanced Filters */
.advanced-filters {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.filters-header {
    margin-bottom: 1rem;
}

.filters-toggle {
    background: none;
    border: none;
    color: var(--primary-blue, #00A6FF);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters-toggle:hover {
    color: var(--dark-blue, #0077B3);
}

.filters-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222222;
    margin: 0;
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-pill {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.filter-pill input {
    display: none;
}

.filter-pill:hover {
    border-color: var(--primary-blue, #00A6FF);
    background: rgba(0, 166, 255, 0.05);
}

.filter-pill.active {
    background: var(--primary-blue, #00A6FF);
    color: white;
    border-color: var(--primary-blue, #00A6FF);
}

.filter-select,
.filter-date {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.filter-select:focus,
.filter-date:focus {
    border-color: var(--primary-blue, #00A6FF);
    box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.1);
}

/* Mobile Filters Modal */
.mobile-filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    align-items: flex-end;
}

.mobile-filters-modal {
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.mobile-filters-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-filters-header h5 {
    margin: 0;
    font-weight: 600;
}

.mobile-filters-content {
    padding: 1.5rem;
}

.mobile-filter-section {
    margin-bottom: 1.5rem;
}

.mobile-filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 0.5rem;
    display: block;
}

.mobile-filter-input,
.mobile-filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.mobile-filter-input:focus,
.mobile-filter-select:focus {
    border-color: var(--primary-blue, #00A6FF);
    box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.1);
}

.mobile-filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mobile-filter-pill {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mobile-filter-pill input {
    display: none;
}

.mobile-filter-pill:hover {
    border-color: var(--primary-blue, #00A6FF);
    background: rgba(0, 166, 255, 0.05);
}

.mobile-filter-pill.active {
    background: var(--primary-blue, #00A6FF);
    color: white;
    border-color: var(--primary-blue, #00A6FF);
}

.mobile-filters-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .search-hero {
        padding: 1.5rem;
    }

    .search-hero-title {
        font-size: 1.5rem;
    }

    .search-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .search-hero {
        padding: 1rem;
    }

    .search-hero-title {
        font-size: 1.3rem;
    }

    .search-hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .mobile-search-bar {
        padding: 12px 16px;
    }

    .mobile-search-title {
        font-size: 0.9rem;
    }

    .mobile-search-subtitle {
        font-size: 0.75rem;
    }
}

/* Modern Tab Container */
.custom-tabs {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Tab Navigation */
.custom-tabs .nav-tabs {
    border: none;
    background: #f8f9fa;
    padding: 0.5rem;
    margin: 0;
    border-radius: 12px 12px 0 0;
}

.custom-tabs .nav-tabs .nav-item {
    margin: 0 0.25rem;
}

.custom-tabs .nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.custom-tabs .nav-tabs .nav-link:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.custom-tabs .nav-tabs .nav-link.active {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.3);
}

.custom-tabs .nav-tabs .nav-link i {
    font-size: 0.875rem;
}

/* Tab Content */
.custom-tabs .tab-content {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}

/* Compact Tab Variant */
.compact-tabs .nav-tabs {
    padding: 0.25rem;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.compact-tabs .nav-tabs .nav-link {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: 6px;
}

.compact-tabs .tab-content {
    padding: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-tabs .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0.5rem 0.5rem 0.5rem 1rem;
    }
    
    .custom-tabs .nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .custom-tabs .nav-tabs .nav-item {
        flex-shrink: 0;
    }
    
    .custom-tabs .nav-tabs .nav-link {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }
    
    .custom-tabs .tab-content {
        padding: 1rem;
    }
}

/* Minimal Tab Style */
.minimal-tabs .nav-tabs {
    background: transparent;
    border-bottom: 2px solid #e9ecef;
    padding: 0;
}

.minimal-tabs .nav-tabs .nav-link {
    border: none;
    background: transparent;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0.75rem 1rem;
    margin-bottom: -2px;
}

.minimal-tabs .nav-tabs .nav-link.active {
    background: transparent;
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    box-shadow: none;
}

.minimal-tabs .nav-tabs .nav-link:hover {
    background: transparent;
    border-bottom-color: var(--light-blue);
}

/* Pill Tab Style */
.pill-tabs .nav-tabs {
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.5rem;
}

.pill-tabs .nav-tabs .nav-item {
    margin: 0;
}

.pill-tabs .nav-tabs .nav-link {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.pill-tabs .nav-tabs .nav-link.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Icon-only tabs for mobile */
@media (max-width: 576px) {
    .icon-only-mobile .nav-link span:not(.d-none) {
        display: none !important;
    }
    
    .icon-only-mobile .nav-link i {
        margin: 0;
    }
}

/* Badge support in tabs */
.nav-link .badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    margin-left: 0.25rem;
}

/* Loading state for tabs */
.tab-loading {
    opacity: 0.6;
    pointer-events: none;
}

.tab-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification dots */
.nav-link .notification-dot {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 8px;
    height: 8px;
    background: #dc3545;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

/* Disabled tab state */
.nav-link.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Tab with counter */
.nav-link .counter {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

.nav-link.active .counter {
    background: rgba(255, 255, 255, 0.3);
}

/* Smooth transitions */
.custom-tabs .nav-tabs .nav-link,
.custom-tabs .tab-content {
    transition: all 0.2s ease;
}

/* Focus states for accessibility */
.custom-tabs .nav-tabs .nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .custom-tabs .nav-tabs .nav-link.active {
        border: 2px solid #000000;
    }
}
