/* Left Sidebar */
.sidebar-left {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 72px);
}

.sidebar-section {
    margin: 0;
    padding: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    min-height: 48px;
}

.sidebar-item:hover {
    background: #f8fafc;
}

.sidebar-item.active {
    background: #22c55e;
    color: #ffffff;
}

/* Sidebar Icons - Emoji Style */
.sidebar-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* Sidebar Text */
.sidebar-item span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* Sidebar Badges - Green circular badges */
.sidebar-badge {
    background: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

/* Arrow Icons - Only for specific items */
.arrow-icon {
    width: 12px;
    height: 12px;
    margin-left: auto;
    opacity: 0.5;
    flex-shrink: 0;
}

.sidebar-item:hover .arrow-icon {
    opacity: 0.8;
}

/* Active item styling for badges and arrows */
.sidebar-item.active .sidebar-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.sidebar-item.active .arrow-icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    padding: 16px 0;
}

.currency-info {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

.currency-info .sidebar-icon {
    color: #ef4444;
}

/* Affiliate Section */
.affiliate-section {
    padding: 16px 20px;
}

.affiliate-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.affiliate-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.affiliate-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.affiliate-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Specific item styling */
.sidebar-item:first-child {
    border-top: none;
}

/* Remove borders for cleaner look */
.sidebar-item:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .sidebar-left {
        width: 240px;
    }
    
    .sidebar-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .sidebar-icon {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .sidebar-left {
        display: none;
    }
}

/* Scrollbar styling */
.sidebar-left::-webkit-scrollbar {
    width: 4px;
}

.sidebar-left::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-left::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.sidebar-left::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}
