/* MBB Next Slots Widget Styles */
.mbb-next-slots-widget {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
    position: relative;
    overflow: hidden;
    animation: mbbWidgetGlow 3s ease-in-out infinite;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mbb-next-slots-widget.style-minimal {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: none;
}

.mbb-next-slots-widget.style-compact {
    padding: 12px;
    border-radius: 8px;
    max-width: 400px;
}

@keyframes mbbWidgetGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15); }
    50% { box-shadow: 0 12px 40px rgba(14, 165, 233, 0.25); }
}

.mbb-widget-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.mbb-widget-icon {
    font-size: 24px;
    animation: mbbIconPulse 2s ease-in-out infinite;
    flex-shrink: 0;
    margin-top: 2px;
}

@keyframes mbbIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mbb-widget-title {
    font-size: 18px;
    font-weight: 800;
    color: #0c4a6e;
    letter-spacing: 0.3px;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.mbb-widget-subtitle {
    font-size: 14px;
    color: #0369a1;
    margin: 0;
    opacity: 0.9;
    line-height: 1.3;
}

.mbb-slots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
    justify-content: center;
}

.mbb-slot-pill {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    animation: mbbSlotSlideIn 0.6s ease-out both;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    border: none;
    outline: none;
    transition: transform 0.2s ease;
}

.mbb-slot-pill:hover {
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.mbb-slot-pill:nth-child(1) { animation-delay: 0.1s; }
.mbb-slot-pill:nth-child(2) { animation-delay: 0.2s; }
.mbb-slot-pill:nth-child(3) { animation-delay: 0.3s; }
.mbb-slot-pill:nth-child(4) { animation-delay: 0.4s; }
.mbb-slot-pill:nth-child(5) { animation-delay: 0.5s; }

@keyframes mbbSlotSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mbb-widget-hint {
    color: #155e75;
    font-size: 12px;
    margin-top: 12px;
    font-style: italic;
    text-align: center;
    line-height: 1.3;
}

.mbb-widget-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0369a1;
    font-weight: 600;
    padding: 20px;
    min-height: 60px;
}

.mbb-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #bae6fd;
    border-top: 2px solid #0ea5e9;
    border-radius: 50%;
    animation: mbbSpin 1s linear infinite;
}

@keyframes mbbSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mbb-widget-error {
    color: #dc2626;
    text-align: center;
    font-weight: 600;
    padding: 15px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    line-height: 1.4;
}

.mbb-widget-error small {
    display: block;
    margin-top: 8px;
    font-weight: normal;
    opacity: 0.8;
}

.mbb-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white !important;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    text-align: center;
    margin: 16px auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
    display: block;
    max-width: 250px;
    border: none;
    cursor: pointer;
}

.mbb-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
    text-decoration: none !important;
    color: white !important;
}

.mbb-cta-button:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

/* FAQ-Sektion */
.mbb-faq-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
}

.mbb-faq-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0c4a6e;
    margin: 0 0 16px 0;
    text-align: center;
}

.mbb-faq-list {
    display: grid;
    gap: 12px;
}

.mbb-faq-item {
    background: rgba(14, 165, 233, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid #0ea5e9;
    font-size: 13px;
    line-height: 1.4;
}

.mbb-faq-item strong {
    color: #0c4a6e;
    display: block;
    margin-bottom: 4px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .mbb-next-slots-widget {
        padding: 16px;
        margin: 16px auto;
    }
    
    .mbb-widget-title {
        font-size: 16px;
    }
    
    .mbb-slot-pill {
        font-size: 12px;
        padding: 8px 12px;
    }

    .mbb-slots-container {
        gap: 8px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .mbb-next-slots-widget,
    .mbb-widget-icon,
    .mbb-slot-pill,
    .mbb-loading-spinner {
        animation: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .mbb-next-slots-widget.style-minimal {
        background: #1f2937;
        border-color: #374151;
        color: #f9fafb;
    }
    
    .mbb-next-slots-widget.style-minimal .mbb-widget-title {
        color: #f9fafb;
    }
    
    .mbb-next-slots-widget.style-minimal .mbb-widget-subtitle {
        color: #d1d5db;
    }
}
