/* EventSub chatbot — composants page (coque : fs-config-shell.css) */

.event-sub-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.estm-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.estm-stats strong {
    color: #e5e7eb;
}

.tier-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 100001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

#module-content.module-disabled {
    opacity: 0.45;
    filter: grayscale(1);
    pointer-events: none;
    user-select: none;
}

#module-disabled-banner {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fecaca;
    border-radius: 10px;
    padding: 12px 14px;
    display: none;
}

#module-disabled-banner.active {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fs-config-page .glass-card:has(.collapsible-header:not(.open)),
.fs-config-page .event-sub-section:has(.collapsible-header:not(.open)) {
    padding-bottom: 1rem;
}

.fs-config-page .glass-card:has(.collapsible-header.open),
.fs-config-page .event-sub-section:has(.collapsible-header.open) {
    padding-bottom: 2rem;
}
