/* Header Styles - Desktop */
    .header-box {
        background: linear-gradient(to right, #f8f5ff, #f0ebff);
        padding: 12px 0;
        box-shadow: 0 2px 15px rgba(126, 34, 206, 0.08);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        border-bottom: 1px solid #eae0fa;
    }

    .header-container {
        width: 90%;
        max-width: 1300px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    .logo span {
        color: #7E22CE;
        font-weight: 700;
        font-size: 1.5rem;
        letter-spacing: -0.5px;
        font-family: 'Fredoka', sans-serif;
    }

    /* Desktop Navigation */
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .nav-links a {
        text-decoration: none;
        color: #5a189a;
        font-weight: 500;
        font-size: 1rem;
        padding: 6px 0;
        position: relative;
        transition: all 0.3s ease;
        font-family: 'Fredoka', sans-serif;
    }

    .nav-links a:hover {
        color: #7E22CE;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #7E22CE;
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    /* Header Buttons */
    .header-buttons {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .btn {
        padding: 10px 22px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
        display: inline-block;
        text-align: center;
        font-family: 'Fredoka', sans-serif;
    }

    .btn-outline {
        background: transparent;
        color: #7E22CE;
        border: 2px solid #7E22CE;
    }

    .btn-outline:hover {
        background: #7E22CE;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(126, 34, 206, 0.2);
    }

    .btn-solid {
        background: #7E22CE;
        color: white;
        border: 2px solid #7E22CE;
    }

    .btn-solid:hover {
        background: #5a189a;
        border-color: #5a189a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(126, 34, 206, 0.2);
    }

    .btn-owner {
        background: white;
        color: #7E22CE;
        padding: 10px 22px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        font-family: 'Fredoka', sans-serif;
    }

    .btn-owner:hover {
        background: #f5f0ff;
        border-color: #7E22CE;
        transform: translateY(-2px);
    }

    /* Profile Dropdown */
    .profile-wrapper {
        position: relative;
    }

    .profile-circle {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, #7E22CE, #9d4edd);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid white;
        box-shadow: 0 3px 10px rgba(126, 34, 206, 0.15);
        padding: 0;
        overflow: hidden;
    }

    .profile-circle:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(126, 34, 206, 0.25);
    }

    .header-avatar {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .dropdown-menu {
        position: absolute;
        top: 55px;
        right: 0;
        min-width: 220px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border: 1px solid #f0f0f0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-section {
        padding: 8px 0;
    }

    .dropdown-title {
        padding: 8px 16px;
        font-size: 0.75rem;
        font-weight: 600;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        text-decoration: none;
        color: #333;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        font-family: 'Fredoka', sans-serif;
        cursor: pointer;
    }

    .dropdown-item:hover {
        background-color: #f8f5ff;
        color: #7E22CE;
        border-left-color: #7E22CE;
    }

    .dropdown-item i {
        width: 20px;
        margin-right: 10px;
        font-size: 0.9rem;
    }

    .dropdown-divider {
        height: 1px;
        background-color: #f0f0f0;
        margin: 5px 0;
    }

    .logout-btn {
        background: none;
        border: none;
        text-align: left;
        width: 100%;
        padding: 12px 16px;
        font-family: 'Fredoka', sans-serif;
        font-size: 1rem;
        color: #333;
    }

    .logout-btn:hover {
        color: #dc2626;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: none;
        font-size: 1.5rem;
        color: #7E22CE;
        cursor: pointer;
        background: none;
        border: none;
    }

    /* Mobile Bottom Navigation */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        display: none;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid #f0f0f0;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #718096;
        transition: all 0.3s ease;
        padding: 8px 12px;
        border-radius: 10px;
        flex: 1;
    }

    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: #7E22CE;
        background: #f8f5ff;
    }

    .mobile-nav-icon {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .mobile-nav-label {
        font-size: 0.75rem;
        font-weight: 500;
    }

    .mobile-nav-item.active .mobile-nav-label {
        font-weight: 600;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Mobile Menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100%;
        background: white;
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-menu-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    .mobile-menu-logo-text {
        color: #7E22CE;
        font-weight: 700;
        font-size: 1.3rem;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #718096;
        cursor: pointer;
    }

    .mobile-menu-section {
        margin-bottom: 25px;
    }

    .mobile-menu-title {
        font-size: 0.85rem;
        color: #718096;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu-link {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        background: #f8f9fa;
        border-radius: 10px;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .mobile-menu-link:hover,
    .mobile-menu-link.active {
        background: #7E22CE;
        color: white;
    }

    .mobile-menu-link i {
        width: 24px;
        font-size: 1.1rem;
        margin-right: 12px;
    }

    /* Mobile Search Bar */
    .mobile-search-bar {
        position: sticky;
        top: 70px;
        z-index: 100;
        background: white;
        padding: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        display: none;
    }

    .search-container {
        display: flex;
        align-items: center;
        background: #f8f9fa;
        border-radius: 25px;
        padding: 8px 15px;
        border: 1px solid #e9ecef;
    }

    .search-container input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 8px;
        font-family: 'Fredoka', sans-serif;
        font-size: 1rem;
        color: #333;
    }

    .search-container input:focus {
        outline: none;
    }

    .search-container button {
        background: #7E22CE;
        color: white;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* Mobile Action Buttons */
    .mobile-action-buttons {
        position: fixed;
        bottom: 80px;
        right: 20px;
        display: none;
        flex-direction: column;
        gap: 10px;
        z-index: 999;
    }

    .mobile-action-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #7E22CE;
        color: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: 0 4px 15px rgba(126, 34, 206, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-action-btn:hover {
        transform: scale(1.1);
        background: #5a189a;
    }

    /* Add this to your existing styles */
    .logout-mobile-btn {
        color: #333 !important;
    }
    
    .logout-mobile-btn:hover {
        background: #ef4444 !important;
        color: white !important;
    }
    
    .logout-mobile-btn i {
        color: #ef4444;
    }
    
    .logout-mobile-btn:hover i {
        color: white;
    }

    
    

    /* ========== RESPONSIVE DESIGN ========== */
    
    @media (max-width: 768px) {
        body {
            padding-bottom: 70px;
        }
        
        .desktop-nav {
            display: none;
        }
        
        .menu-toggle {
            display: block;
        }
        
        .mobile-bottom-nav {
            display: flex;
        }
        
        .mobile-search-bar {
            display: block;
        }
        
        .mobile-action-buttons {
            display: flex;
        }
        
        .logo span {
            font-size: 1.25rem;
        }
    }

    @media (max-width: 480px) {
        body {
            padding-bottom: 60px;
        }
        
        .mobile-nav-item {
            padding: 8px 5px;
        }
        
        .mobile-nav-label {
            font-size: 0.7rem;
        }
        
        .mobile-action-buttons {
            bottom: 70px;
            right: 15px;
        }
        
        .mobile-menu {
            width: 100%;
        }
    }