/* Common Navbar Styles */

/* User Dropdown Styling */
.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    background: #ffffff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 180px;
}

.dropdown-item {
    padding: 12px 20px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: #ff6b35;
    color: #ffffff;
    transform: translateX(5px);
}

.dropdown-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid #e9ecef;
}

/* Navbar text color overrides */
.header_section .nav-link {
    color: #ffffff !important;
}

.header_section .navbar-brand {
    color: #ffffff !important;
}

.header_section .user_link {
    color: #ffffff !important;
}

.header_section .order_online {
    color: #ffffff !important;
}

/* Cart icon styling */
.cart-icon {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Active nav item styling */
.nav-item.active .nav-link {
    color: #ff6b35 !important;
    font-weight: 600;
}

/* User greeting styling */
.user-greeting {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.user_link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Logout link styling */
#logout-link:hover {
    background: #dc3545;
    color: #ffffff;
}
