/* _content/LoveBuzz.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-srj9x24km3] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-srj9x24km3] {
    flex: 1;
}

.sidebar[b-srj9x24km3] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-srj9x24km3] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-srj9x24km3]  a, .top-row[b-srj9x24km3]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-srj9x24km3]  a:hover, .top-row[b-srj9x24km3]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-srj9x24km3]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-srj9x24km3] {
        justify-content: space-between;
    }

    .top-row[b-srj9x24km3]  a, .top-row[b-srj9x24km3]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-srj9x24km3] {
        flex-direction: row;
    }

    .sidebar[b-srj9x24km3] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-srj9x24km3] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-srj9x24km3]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-srj9x24km3], article[b-srj9x24km3] {
        /*
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
        */
    }
}

#blazor-error-ui[b-srj9x24km3] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-srj9x24km3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/LoveBuzz.Web/Components/Pages/Monitor.razor.rz.scp.css */
.loading-container[b-e5rqtx2262] {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

/* Override global quiz-container max-width for Monitor */
[b-e5rqtx2262] .quiz-container {
    max-width: none !important;
}

.loading-spinner[b-e5rqtx2262] {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
    border-radius: 50%;
    animation: spin-b-e5rqtx2262 1s ease-in-out infinite;
    margin: 0 auto 20px;
}

.loading-text[b-e5rqtx2262] {
    font-size: 16px;
    margin: 0;
}

.error-container[b-e5rqtx2262] {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.error-icon[b-e5rqtx2262] {
    margin-bottom: 20px;
    color: #ff6b6b;
}

.error-title[b-e5rqtx2262] {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 10px;
    color: #2c3e50;
}

.error-message[b-e5rqtx2262] {
    font-size: 18px;
    margin: 0 0 10px;
}

.error-subtitle[b-e5rqtx2262] {
    font-size: 16px;
    opacity: 0.8;
    margin: 0;
}

/* PIN Entry Styles */
.pin-input-section[b-e5rqtx2262] {
    margin-top: 24px;
}

.pin-input[b-e5rqtx2262] {
    width: 100%;
    padding: 16px 20px;
    font-size: 20px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
    margin-bottom: 16px;
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    color: #2c3e50;
}

    .pin-input:focus[b-e5rqtx2262] {
        outline: none;
        border-color: #ff6b6b;
        background: white;
        box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
    }

    .pin-input.error[b-e5rqtx2262] {
        border-color: #dc3545;
        background: #fff5f5;
    }

.pin-error[b-e5rqtx2262] {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

/* Progress Section */
.progress-section[b-e5rqtx2262] {
    margin: 24px 0;
}

.progress-text[b-e5rqtx2262] {
    margin-top: 8px;
    font-size: 14px;
    color: #7f8c8d;
}

/* Question Navigation */
.question-navigation[b-e5rqtx2262] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 16px;
}

.question-indicators[b-e5rqtx2262] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.question-indicator[b-e5rqtx2262] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    background: white;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .question-indicator:hover[b-e5rqtx2262] {
        border-color: #ff6b6b;
        color: #ff6b6b;
    }

    .question-indicator.current[b-e5rqtx2262] {
        background: #ff6b6b;
        border-color: #ff6b6b;
        color: white;
    }

    .question-indicator.completed[b-e5rqtx2262] {
        background: #28a745;
        border-color: #28a745;
        color: white;
    }

    .question-indicator.pending[b-e5rqtx2262] {
        border-color: #ffc107;
        color: #ffc107;
    }

.back-btn[b-e5rqtx2262] {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .back-btn:hover[b-e5rqtx2262] {
        background: #e9ecef;
    }

/* Question Header Info */
.question-header-info[b-e5rqtx2262] {
    margin-bottom: 24px;
}

.question-meta[b-e5rqtx2262] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.question-counter[b-e5rqtx2262] {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.total-votes[b-e5rqtx2262] {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

    .total-votes.no-votes[b-e5rqtx2262] {
        background: rgba(108, 117, 125, 0.1);
        color: #6c757d;
    }

.voting-status[b-e5rqtx2262] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .voting-status.complete[b-e5rqtx2262] {
        background: rgba(40, 167, 69, 0.1);
        color: #166534;
        border: 1px solid rgba(40, 167, 69, 0.2);
    }

    .voting-status.waiting[b-e5rqtx2262] {
        background: rgba(255, 193, 7, 0.1);
        color: #856404;
        border: 1px solid rgba(255, 193, 7, 0.2);
    }

.polling-indicator[b-e5rqtx2262] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.polling-dot[b-e5rqtx2262] {
    width: 6px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulse-b-e5rqtx2262 1.5s infinite;
}

@keyframes pulse-b-e5rqtx2262 {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Answer Statistics */
.answers-stats[b-e5rqtx2262] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.answer-stat[b-e5rqtx2262] {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .answer-stat.correct[b-e5rqtx2262] {
        background: rgba(40, 167, 69, 0.05);
        border-color: rgba(40, 167, 69, 0.2);
    }

.answer-header[b-e5rqtx2262] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
}

.answer-text-container[b-e5rqtx2262] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.answer-text[b-e5rqtx2262] {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
}

.correct-badge[b-e5rqtx2262] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    background: rgba(40, 167, 69, 0.1);
    color: #166534;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.answer-stats-info[b-e5rqtx2262] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.vote-count[b-e5rqtx2262] {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.vote-percentage[b-e5rqtx2262] {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 500;
}

.vote-progress[b-e5rqtx2262] {
    margin-bottom: 12px;
}

.vote-progress-bar[b-e5rqtx2262] {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.vote-progress-fill[b-e5rqtx2262] {
    height: 100%;
    background: #ff6b6b;
    border-radius: 4px;
    transition: width 0.3s ease;
}

    .vote-progress-fill.correct[b-e5rqtx2262] {
        background: #28a745;
    }

.voting-tables[b-e5rqtx2262] {
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
}

.tables-label[b-e5rqtx2262] {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.tables-list[b-e5rqtx2262] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.table-badge[b-e5rqtx2262] {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

/* Navigation Buttons */
.question-navigation-buttons[b-e5rqtx2262] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.nav-btn[b-e5rqtx2262] {
    flex: 1;
    padding: 12px 20px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 150px;
}

    .nav-btn:hover:not(.disabled)[b-e5rqtx2262] {
        background: #e55555;
        transform: translateY(-1px);
    }

    .nav-btn.disabled[b-e5rqtx2262] {
        background: #e9ecef;
        color: #6c757d;
        cursor: not-allowed;
        transform: none;
    }

.nav-btn.results-btn[b-e5rqtx2262] {
    background: #28a745;
    border-color: #28a745;
}

    .nav-btn.results-btn:hover[b-e5rqtx2262] {
        background: #218838;
        border-color: #1e7e34;
    }

.no-answers[b-e5rqtx2262] {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

    .no-answers p[b-e5rqtx2262] {
        margin: 0;
        font-style: italic;
    }

/* Results Section */
.results-navigation[b-e5rqtx2262] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    gap: 16px;
}

.results-container[b-e5rqtx2262] {
    margin-top: 24px;
}

.results-card[b-e5rqtx2262] {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.results-header[b-e5rqtx2262] {
    text-align: center;
    margin-bottom: 32px;
}

    .results-header h2[b-e5rqtx2262] {
        font-size: 28px;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 8px;
    }

    .results-header p[b-e5rqtx2262] {
        color: #7f8c8d;
        margin: 0;
        font-size: 16px;
    }

.leaderboard[b-e5rqtx2262] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leaderboard-item[b-e5rqtx2262] {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    gap: 20px;
}

    .leaderboard-item.winner[b-e5rqtx2262] {
        background: linear-gradient(135deg, #a8e6cf 0%, #c8f2e0 100%);
        border-color: #7dd3b0;
        transform: scale(1.02);
        box-shadow: 0 8px 16px rgba(125, 211, 176, 0.3);
    }

    .leaderboard-item.podium:not(.winner)[b-e5rqtx2262] {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-color: #dee2e6;
    }

.position-badge[b-e5rqtx2262] {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    flex-shrink: 0;
}

    .position-badge.winner[b-e5rqtx2262] {
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        font-size: 16px;
    }

    .position-badge.podium:not(.winner)[b-e5rqtx2262] {
        background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    }

.crown[b-e5rqtx2262] {
    position: absolute;
    top: -8px;
    font-size: 16px;
}

.table-info[b-e5rqtx2262] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.table-avatar[b-e5rqtx2262] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.table-details[b-e5rqtx2262] {
    flex: 1;
}

.table-name[b-e5rqtx2262] {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px;
}

.table-description[b-e5rqtx2262] {
    color: #7f8c8d;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.score-info[b-e5rqtx2262] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 120px;
}

.score-main[b-e5rqtx2262] {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.correct-count[b-e5rqtx2262] {
    color: #27ae60;
}

.total-count[b-e5rqtx2262] {
    color: #7f8c8d;
    font-size: 18px;
}

.percentage[b-e5rqtx2262] {
    font-size: 16px;
    font-weight: 600;
    color: #7f8c8d;
}

.score-bar[b-e5rqtx2262] {
    width: 100px;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill[b-e5rqtx2262] {
    height: 100%;
    background: #6c757d;
    border-radius: 4px;
    transition: width 0.3s ease;
}

    .score-fill.winner[b-e5rqtx2262] {
        background: linear-gradient(90deg, #27ae60, #2ecc71);
    }

    .score-fill.podium:not(.winner)[b-e5rqtx2262] {
        background: linear-gradient(90deg, #95a5a6, #7f8c8d);
    }

.no-results[b-e5rqtx2262] {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

    .no-results p[b-e5rqtx2262] {
        margin: 0;
        font-style: italic;
    }

@keyframes spin-b-e5rqtx2262 {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .question-navigation[b-e5rqtx2262] {
        flex-direction: column;
        align-items: stretch;
    }

    .question-indicators[b-e5rqtx2262] {
        justify-content: center;
    }

    .answer-header[b-e5rqtx2262] {
        flex-direction: column;
        gap: 8px;
    }

    .answer-stats-info[b-e5rqtx2262] {
        align-items: flex-start;
        flex-direction: row;
        gap: 12px;
    }

    .question-navigation-buttons[b-e5rqtx2262] {
        flex-direction: column;
    }

    .nav-btn[b-e5rqtx2262] {
        max-width: none;
    }

    .results-navigation[b-e5rqtx2262] {
        flex-direction: column;
    }

    .results-card[b-e5rqtx2262] {
        padding: 20px;
    }

    .results-header h2[b-e5rqtx2262] {
        font-size: 24px;
    }

    .leaderboard-item[b-e5rqtx2262] {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .table-info[b-e5rqtx2262] {
        flex-direction: column;
        text-align: center;
    }

    .score-info[b-e5rqtx2262] {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .question-header[b-e5rqtx2262] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .pin-input[b-e5rqtx2262] {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .question-meta[b-e5rqtx2262] {
        flex-direction: column;
        align-items: flex-start;
    }

    .tables-list[b-e5rqtx2262] {
        gap: 4px;
    }

    .table-badge[b-e5rqtx2262] {
        font-size: 10px;
    }
}
