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

.btn-profile {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
}

.btn-profile:hover {
    border-color: hsl(29, 90%, 49%);
    background: #fef8f4;
}

.btn-profile i.fa-user-circle {
    font-size: 24px;
    color: hsl(29, 90%, 49%);
}

.btn-profile i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.profile-dropdown .show i.fa-chevron-down {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.profile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.profile-avatar {
    font-size: 48px;
    color: hsl(29, 90%, 49%);
    line-height: 1;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

.profile-email {
    font-size: 13px;
    color: #666;
}

.profile-menu-items {
    padding: 8px 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.profile-menu-item:hover {
    background: #f8f8f8;
    color: hsl(29, 90%, 49%);
}

.profile-menu-item i {
    width: 20px;
    font-size: 16px;
    color: #666;
}

.profile-menu-item:hover i {
    color: hsl(29, 90%, 49%);
}

.profile-menu-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .profile-menu {
        right: -10px;
        min-width: 260px;
    }

    .btn-profile span {
        display: none;
    }

    .profile-menu-header {
        padding: 15px;
    }

    .profile-avatar {
        font-size: 40px;
    }
}

/* Order Badge */
.order-badge {
    background: #ff4757;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
    min-width: 18px;
    text-align: center;
}

/* Animation for profile dropdown */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-menu.show {
    animation: fadeInDown 0.3s ease forwards;
}
