/* Account Menu Styles */
.account-menu-wrapper {
    position: relative;
    margin-left: 20px;
}

.account-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.header-bottom .account-icon-btn {
    color: #2c3e50;
}

.account-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-bottom .account-icon-btn:hover {
    background: rgba(255, 95, 19, 0.1);
}

.account-icon-btn i {
    font-size: 1.3rem;
}

.account-icon-btn .user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.account-icon-btn .dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.account-icon-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.account-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

/* Logged Out Menu */
.account-dropdown .login-section {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.login-section h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.login-section p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-register {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-login {
    background: #ff5f13;
    color: white;
}

.btn-login:hover {
    background: #e54d0a;
    transform: translateY(-2px);
    color: white;
}

.btn-register {
    background: transparent;
    color: #ff5f13;
    border: 2px solid #ff5f13;
}

.btn-register:hover {
    background: #ff5f13;
    color: white;
    transform: translateY(-2px);
}

/* Logged In Menu */
.user-info-section {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5f13, #f39c12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.user-details h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.user-details p {
    color: #666;
    font-size: 0.85rem;
}

/* Menu Items */
.account-menu-items {
    padding: 10px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #2c3e50 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    background: #f8f9fa;
    color: #ff5f13 !important;
}

.menu-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: inherit !important;
}

.menu-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.menu-item.logout {
    border-top: 1px solid #e0e0e0;
    color: #e74c3c !important;
}

.menu-item.logout:hover {
    background: #fee;
    color: #c0392b !important;
}

/* Quick Stats */
.quick-stats {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: #666;
}

.stat-value {
    font-weight: 700;
    color: #ff5f13;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .account-menu-wrapper {
        display: none !important;
    }
    
    /* Mobile menu account items styling */
    #mobile-account-menu a {
        display: flex;
        align-items: center;
    }
    
    #mobile-account-menu a i {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }
    
    #mobile-account-menu ul.slicknav_hidden li a {
        padding-left: 35px;
    }
}

@media (max-width: 768px) {
    .account-menu-wrapper {
        display: none !important;
    }
}