
/* --- Sidebar Widgets --- */
.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
}

.widget-title {
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* Category List */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-item .icon-box {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.category-item .text {
    flex-grow: 1;
}

.category-item .arrow {
    font-size: 12px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateX(5px);
    color: var(--primary-color);
    border-color: rgba(227,30,36,0.1);
}

.category-item:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
}

.category-item:hover .arrow {
    opacity: 1;
    transform: translateX(3px);
}

.category-item.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(227,30,36,0.3);
}

.category-item.active .icon-box {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.category-item.active .arrow {
    color: #fff;
    opacity: 1;
}

/* Help Widget */
.help-widget {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #fff !important; /* Force text color */
}

.help-widget h5 {
    color: #fff !important; /* Force heading color */
}

.help-widget .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-color);
    animation: pulse-glow 2s infinite;
}

.help-widget p {
    color: rgba(255,255,255,0.9) !important; /* Increase opacity and force color */
    font-weight: 500;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(227,30,36,0.5);
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 0 0 rgba(227,30,36, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(227,30,36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227,30,36, 0); }
}

.help-bg-shape {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
