/* Inventory Navbar Tabs */
.inventory-tabs {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    border-bottom: 1.5px solid #e5e7eb;
    padding-bottom: 8px;
}
.inventory-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 32px 8px 32px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.05rem;
    color: #444;
    border-right: 1px solid #e5e7eb;
    min-width: 110px;
    transition: background 0.15s, color 0.15s;
}
.inventory-tab:last-child {
    border-right: none;
}
.inventory-tab.active, .inventory-tab:focus {
    color: #2563eb;
    background: #f3f6fa;
    font-weight: 700;
}
.inventory-tab svg {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 4px !important;
    color: #888 !important;
    fill: #888 !important;
    display: inline-block !important;
    opacity: 1 !important;
    vertical-align: middle !important;
}
.inventory-tab.active svg {
    color: #2563eb !important;
    fill: #2563eb !important;
}
.room-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 32px 8px 32px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.05rem;
    color: #444;
    border-right: 1px solid #e5e7eb;
    min-width: 110px;
    transition: background 0.15s, color 0.15s;
}
.room-tab-btn:last-child {
    border-right: none;
}
.room-tab-btn:not(.active):hover {
    background: #f3f4f6;
    color: #2563eb;
}
.room-tab-btn.active {
    color: #2563eb;
    background: #f3f6fa;
    font-weight: 700;
}
.room-tab-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.room-tab-btn svg {
    width: 32px !important;
    height: 32px !important;
    color: #888 !important;
    fill: #888 !important;
    display: inline-block !important;
    opacity: 1 !important;
    vertical-align: middle !important;
}
.room-tab-btn.active svg {
    color: #2563eb !important;
    fill: #2563eb !important;
}
/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.navbar.hide {
    transform: translateY(-100%);
}
.navbar.hide {
    transform: translateY(-100%);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
}

.navbar-logo .logo-img {
    height: 50px;
    width: auto;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 35px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.nav-contact:hover {
    opacity: 0.8;
}

.navbar-right .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Navbar Avatar */
.navbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    color: #4A90E2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Notification Bell */
.navbar-notification-bell {
    position: relative;
    display: flex;
    align-items: center;
}

.notification-bell-btn {
    background: none;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    border-radius: 50%;
    pointer-events: auto;
}

.notification-bell-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.notification-bell-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

.notification-bell-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ef5350;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid #4A90E2;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 360px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    margin-top: 10px;
    pointer-events: auto;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 8px 8px 0 0;
}

.notification-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.notification-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #1f2937;
}

.notification-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: 320px;
    overflow-y: auto;
}

.notification-empty {
    padding: 24px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notification-item:hover {
    background-color: #f9fafb;
}

.notification-item.notification-clickable:hover {
    background-color: #f3f4f6;
    transition: all 0.15s ease;
}

.notification-item.unread {
    background-color: #eff6ff;
}

.notification-item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.notification-item.quote-added .notification-item-icon {
    background-color: #dbeafe;
    color: #0284c7;
}

.notification-item.quote-accepted .notification-item-icon {
    background-color: #dcfce7;
    color: #16a34a;
}

.notification-item-content {
    flex: 1;
    min-width: 0;
}

.notification-item-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
    margin: 0;
}

.notification-item-message {
    color: #6b7280;
    font-size: 0.8rem;
    margin: 4px 0 0 0;
}

.notification-item-time {
    color: #d1d5db;
    font-size: 0.75rem;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }

    .notification-dropdown {
        width: 320px;
    }
}

@media (max-width: 640px) {
    .notification-dropdown {
        width: calc(100vw - 40px);
        right: -50%;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 12px 20px;
        gap: 20px;
    }

    .navbar-logo .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }

    .navbar-menu {
        display: none;
    }

    .nav-contact span {
        display: none;
    }
    
    .navbar-right .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .navbar-container {
        flex-wrap: wrap;
    }

    .navbar-menu {
        width: 100%;
        order: 3;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .navbar-right {
        flex-direction: column;
        width: 100%;
    }

    .navbar-right .btn {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
    }
}
