/* ===== SIDEBAR NAV ===== */
.profile-nav {
    background: white;
    border-radius: 16px;
    border: 1px solid #E8ECF4;
    overflow: hidden;
}

.profile-nav-header {
    padding: 18px;
    border-bottom: 1px solid #F0F2F8;
    background: linear-gradient(135deg, #F8FAFC, #FFFFFF);
}

.profile-nav-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B00, #FF8C33);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-nav-name {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 2px;
}

.profile-nav-email {
    font-size: 12px;
    color: #64748B;
    font-weight: 400;
}

.profile-nav-notif {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 10px;
    line-height: 1;
}

.profile-nav-notif:hover {
    background: transparent;
}

.profile-nav-notif i[data-lucide] {
    width: 10px !important;
    height: 10px !important;
    opacity: 0.6;
}

.profile-nav-notif-dot {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 4px;
    height: 4px;
    background: #EF4444;
    border-radius: 50%;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.profile-nav-item:hover {
    background: #F8FAFC;
    color: #1E293B;
}

.profile-nav-item.active {
    background: #FFF7ED;
    color: #EA580C;
    font-weight: 600;
}

.profile-nav-item.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: #EA580C;
    border-radius: 2px 0 0 2px;
}

.profile-nav-item i, 
.profile-nav-item svg {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.profile-nav-item.active i, 
.profile-nav-item.active svg {
    opacity: 1;
}

.profile-nav-item:hover i, 
.profile-nav-item:hover svg {
    opacity: 0.7;
}

.nav-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #F0F2F8;
    color: #8A94A6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.profile-nav-item.active .nav-count {
    background: rgba(255, 107, 0, 0.1);
    color: #FF6B00;
}

.nav-count.red {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

/* ===== MOBILE NAV DROPDOWN ===== */
.mobile-nav-dropdown {
    background: white;
    border-radius: 14px;
    border: 1px solid #E8ECF4;
    overflow: hidden;
}

.mobile-nav-dropdown summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-dropdown summary:hover {
    background: #F8FAFC;
}

.mobile-nav-dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-nav-dropdown-icon i {
    width: 16px !important;
    height: 16px !important;
    color: #64748B;
}

.mobile-nav-dropdown-text {
    font-size: 14px;
    font-weight: 600;
    color: #1F2A44;
    flex: 1;
}

.mobile-nav-dropdown-arrow {
    width: 18px !important;
    height: 18px !important;
    color: #8A94A6;
    transition: transform 0.25s ease;
}

.mobile-nav-dropdown[open] .mobile-nav-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-nav-dropdown-list {
    padding: 6px 8px;
    border-top: 1px solid #F0F2F8;
}

.mobile-nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    transition: all 0.2s ease;
}

.mobile-nav-dropdown-item:hover {
    background: #F8FAFC;
    color: #1F2A44;
}

.mobile-nav-dropdown-item.active {
    background: #FFF7ED;
    color: #EA580C;
    font-weight: 600;
}

.mobile-nav-dropdown-item i {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.6;
    flex-shrink: 0;
}

.mobile-nav-dropdown-item.active i {
    opacity: 1;
}

.mobile-nav-dropdown-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    background: #F0F2F8;
    color: #8A94A6;
}

.mobile-nav-dropdown-count.red {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.mobile-nav-dropdown-divider {
    height: 1px;
    background: #F0F2F8;
    margin: 4px 12px;
}

/* ===== SIDEBAR ACTION BLOCKS ===== */
.sidebar-action-blocks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.sidebar-action-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    background: white;
}

.sidebar-action-card:last-child {
    margin-bottom: 0;
}

.sidebar-action-card--shop {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.06), rgba(255, 140, 51, 0.02));
    border-color: rgba(255, 107, 0, 0.12);
}

.sidebar-action-card--shop:hover {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 140, 51, 0.06));
    border-color: rgba(255, 107, 0, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.12);
}

.sidebar-action-card--shop .sidebar-action-card__icon {
    background: linear-gradient(135deg, #FF6B00, #FF8C33);
    color: white;
}

.sidebar-action-card--shop .sidebar-action-card__arrow {
    color: #FF6B00;
}

.sidebar-action-card--master {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(96, 165, 250, 0.02));
    border-color: rgba(59, 130, 246, 0.12);
}

.sidebar-action-card--master:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(96, 165, 250, 0.06));
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.12);
}

.sidebar-action-card--master .sidebar-action-card__icon {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    color: white;
}

.sidebar-action-card--master .sidebar-action-card__arrow {
    color: #3B82F6;
}

.sidebar-action-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.sidebar-action-card:hover .sidebar-action-card__icon {
    transform: scale(1.08);
}

.sidebar-action-card__icon i {
    width: 20px !important;
    height: 20px !important;
}

.sidebar-action-card__text {
    flex: 1;
    min-width: 0;
}

.sidebar-action-card__text h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1F2A44;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.sidebar-action-card__text p {
    font-size: 11px;
    color: #8A94A6;
    margin: 0;
    line-height: 1.2;
}

.sidebar-action-card__arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    opacity: 0.6;
}

.sidebar-action-card:hover .sidebar-action-card__arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* ===== PAGE LAYOUT ===== */
.profile-page-layout {
    display: block;
}

@media (min-width: 1024px) {
    .profile-page-layout {
        display: grid;
        grid-template-columns: 18rem minmax(0, 1fr);
        gap: 2rem;
        align-items: start;
    }
}

/* ===== SIDEBAR ===== */
.sidebar-fixed {
    position: relative;
    width: 100%;
    z-index: 50;
}

.profile-main-content {
    min-width: 0;
}

@media (min-width: 1024px) {
    .profile-main-content {
        margin-left: 0;
    }
}

@media (max-width: 1024px) {
    .sidebar-fixed {
        display: none;
    }
}

.sidebar-fixed::-webkit-scrollbar {
    width: 4px;
}

.sidebar-fixed::-webkit-scrollbar-thumb {
    background: #E8ECF4;
    border-radius: 2px;
}

