/* ==========================================================================
   Pagina- en componentstijlen
   --------------------------------------------------------------------------
   Verzameld uit de <style>-blokken die eerder in de .razor/.cshtml bestanden
   stonden. Die blokken waren al globaal (Blazor scopet ze niet), dus dit
   gedraagt zich identiek - nu alleen op een plek in plaats van verspreid.
   Geladen via _Host.cshtml en Areas/Identity/Pages/_Layout.cshtml.
   ========================================================================== */

/* ===== Postivo/Pages/About.razor ===== */
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    }

/* ===== Postivo/Pages/Campaigns.razor ===== */
    .campaign-card {
        transition: all 0.2s ease;
    }

    .campaign-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    }

    .text-purple {
        color: #6f42c1;
    }

    .bg-purple {
        background-color: #6f42c1 !important;
    }

/* ===== Postivo/Pages/Features.razor ===== */
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    }

/* ===== Postivo/Components/CreditsDisplay.razor ===== */
.credits-display {
    z-index: 1000;
    position: relative;
    width: 100%;
}

.credits-badge {
    font-size: 0.875rem !important;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    /* Geen color:inherit: in de paarse zijbalk werd de tekst wit op een lichte pil. */
    /* .badge zet color:#fff; de bg-* regels overschrijven dit per status. */
    color: var(--calm-muted-ink);
    padding: 0.5rem 0.75rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.credits-badge:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

/* Mobile optimization */
@media (max-width: 576px) {
    .credits-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}

/* ===== Postivo/Components/FeedbackButton.razor ===== */
    .feedback-container {
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .feedback-button {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 8px 0 0 8px;
        padding: 16px 10px;
        font-size: 13px;
        font-weight: 600;
        box-shadow: -2px 0 10px rgba(102, 126, 234, 0.3);
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        min-width: 40px;
    }

    .feedback-button:hover {
        transform: translateX(-3px);
        box-shadow: -4px 0 15px rgba(102, 126, 234, 0.5);
    }

    .feedback-button:active {
        transform: translateX(0);
    }

    .feedback-button i {
        font-size: 18px;
    }

    .feedback-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 11px;
        letter-spacing: 1px;
        font-weight: 700;
    }

    .feedback-text span {
        display: block;
        text-align: center;
        line-height: 1;
    }

    /* Mobile optimization */
    @media (max-width: 768px) {
        .feedback-button {
            padding: 12px 8px;
            min-width: 35px;
        }

        .feedback-button i {
            font-size: 16px;
        }

        .feedback-text {
            font-size: 9px;
            gap: 1px;
        }
    }

    /* Ensure button is above other elements */
    .feedback-button {
        position: relative;
        z-index: 1001;
    }

/* ===== Postivo/Components/VideoQueueStatus.razor ===== */
    .video-queue-status {
        border-left: 4px solid;
        margin-bottom: 1rem;
    }

    .video-queue-status .alert-info {
        border-left-color: var(--calm-info);
    }

    .video-queue-status .alert-primary {
        border-left-color: var(--calm-primary);
    }

    .video-queue-status .alert-success {
        border-left-color: var(--calm-success);
    }

    .video-queue-status .alert-danger {
        border-left-color: var(--calm-danger);
    }

    .spin {
        animation: spin 2s linear infinite;
    }

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

