/* /Components/Quiz/QuestionEditor.razor.rz.scp.css */
.question-editor[b-07i82p811y] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Compact row - элементы в линию на широком экране */
.editor-row[b-07i82p811y] {
    display: flex;
    gap: 12px;
}

.compact-row[b-07i82p811y] {
    flex-wrap: wrap;
}

.compact-row > .edit-field[b-07i82p811y] {
    flex: 1;
    min-width: 140px;
}

.type-field[b-07i82p811y] {
    flex: 2 !important;
    min-width: 180px !important;
}

.required-field[b-07i82p811y] {
    flex: 0 0 auto !important;
    min-width: auto !important;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8px;
}

.edit-field[b-07i82p811y] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edit-field > label:not(.checkbox-label)[b-07i82p811y] {
    font-size: 13px;
    font-weight: 500;
    color: var(--tg-theme-hint-color);
}

.edit-field input[type="text"][b-07i82p811y],
.edit-field input[type="number"][b-07i82p811y],
.edit-field textarea[b-07i82p811y],
.edit-field select[b-07i82p811y] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 8px;
    background: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.edit-field input:focus[b-07i82p811y],
.edit-field textarea:focus[b-07i82p811y],
.edit-field select:focus[b-07i82p811y] {
    outline: none;
    border-color: var(--tg-theme-button-color);
}

.edit-field input[b-07i82p811y]::placeholder,
.edit-field textarea[b-07i82p811y]::placeholder {
    color: var(--tg-theme-hint-color);
}

.type-select[b-07i82p811y] {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Checkbox field */
.checkbox-label[b-07i82p811y] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--tg-theme-text-color);
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"][b-07i82p811y] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--tg-theme-button-color);
}

/* Options list */
.options-field[b-07i82p811y] {
    gap: 8px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--tg-theme-section-separator-color);
}

.options-list[b-07i82p811y] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-row[b-07i82p811y] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: grab;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.option-row:hover[b-07i82p811y] {
    background: var(--tg-theme-secondary-bg-color);
}

.option-row.dragging[b-07i82p811y] {
    opacity: 0.5;
    cursor: grabbing;
}

.option-row.drop-target[b-07i82p811y] {
    background: rgba(51, 144, 236, 0.1);
    border: 1px dashed var(--tg-theme-button-color);
}

.option-drag-handle[b-07i82p811y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 24px;
    color: var(--tg-theme-hint-color);
    cursor: grab;
    flex-shrink: 0;
}

.option-drag-handle:hover[b-07i82p811y] {
    color: var(--tg-theme-text-color);
}

.option-number[b-07i82p811y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tg-theme-hint-color);
    background: var(--tg-theme-secondary-bg-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.option-text-input[b-07i82p811y],
.option-caption-input[b-07i82p811y] {
    flex: 1;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

.remove-option-btn[b-07i82p811y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--tg-theme-hint-color);
    transition: all 0.2s;
    flex-shrink: 0;
}

.remove-option-btn:hover:not(:disabled)[b-07i82p811y] {
    background: rgba(229, 57, 53, 0.1);
    color: var(--tg-theme-destructive-color);
}

.remove-option-btn:disabled[b-07i82p811y] {
    opacity: 0.3;
    cursor: not-allowed;
}

.add-option-btn[b-07i82p811y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tg-theme-button-color);
    background: none;
    border: 1px dashed var(--tg-theme-button-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.add-option-btn:hover[b-07i82p811y] {
    background: rgba(51, 144, 236, 0.1);
}

/* Image option upload */
.option-image-upload[b-07i82p811y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--tg-theme-secondary-bg-color);
    border: 1px dashed var(--tg-theme-section-separator-color);
    border-radius: 8px;
    cursor: pointer;
    color: var(--tg-theme-hint-color);
    transition: all 0.2s;
    flex-shrink: 0;
    position: relative;
}

.option-image-upload:hover[b-07i82p811y] {
    border-color: var(--tg-theme-button-color);
    color: var(--tg-theme-button-color);
}

.option-image-upload.uploading[b-07i82p811y] {
    pointer-events: none;
}

.option-image-upload[b-07i82p811y]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.option-image-preview[b-07i82p811y] {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.option-image-preview img[b-07i82p811y] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.remove-option-image-btn[b-07i82p811y] {
    position: absolute;
    top: -4px;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: background 0.2s;
}

.remove-option-image-btn:hover[b-07i82p811y] {
    background: var(--tg-theme-destructive-color);
}

/* Small spinner */
.tg-spinner.small[b-07i82p811y] {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* Upload error */
.upload-error[b-07i82p811y] {
    padding: 8px 12px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: var(--tg-theme-destructive-color);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .compact-row[b-07i82p811y] {
        flex-direction: column;
    }

    .compact-row > .edit-field[b-07i82p811y] {
        width: 100%;
    }

    .required-field[b-07i82p811y] {
        padding-bottom: 0;
    }
}
/* /Components/Quiz/QuizItemCard.razor.rz.scp.css */
.quiz-item-card[b-rbh35f8svc] {
    position: relative;
    background: var(--tg-theme-section-bg-color);
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    cursor: grab;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.quiz-item-card:hover[b-rbh35f8svc] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quiz-item-card.dragging[b-rbh35f8svc] {
    opacity: 0.5;
    cursor: grabbing;
}

.quiz-item-card.drop-target[b-rbh35f8svc] {
    border-color: var(--tg-theme-button-color);
    border-style: dashed;
    background: rgba(51, 144, 236, 0.05);
}

/* Приколоченный элемент (не перетаскивается) */
.quiz-item-card.pinned[b-rbh35f8svc] {
    cursor: default;
}

.quiz-item-card.pinned:hover[b-rbh35f8svc] {
    box-shadow: none;
}

/* Элементы внутри страницы (не PageBreak) - с отступом */
.quiz-item-card:not(.page-break)[b-rbh35f8svc] {
    margin-left: 24px;
}

/* Стиль для разделителя страниц (PageBreak) */
.quiz-item-card.page-break[b-rbh35f8svc] {
    background: linear-gradient(135deg, var(--tg-theme-section-bg-color) 0%, rgba(51, 144, 236, 0.05) 100%);
    border-left: 3px solid var(--tg-theme-button-color);
}

.quiz-item-card.page-break .card-number[b-rbh35f8svc] {
    background: var(--tg-theme-accent-text-color, #3390ec);
    min-width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 50%;
}

.card-header[b-rbh35f8svc] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--tg-theme-section-separator-color);
}

.card-number[b-rbh35f8svc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    padding: 0 8px;
    background: var(--tg-theme-button-color);
    color: var(--tg-theme-button-text-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.card-type[b-rbh35f8svc] {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--tg-theme-hint-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-actions[b-rbh35f8svc] {
    display: flex;
    gap: 4px;
}

.card-menu-btn[b-rbh35f8svc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--tg-theme-hint-color);
    transition: all 0.2s ease;
}

.card-menu-btn:hover[b-rbh35f8svc] {
    background: var(--tg-theme-secondary-bg-color);
    color: var(--tg-theme-text-color);
}

.card-content[b-rbh35f8svc] {
    padding: 16px;
}

/* Context Menu */
.card-menu-overlay[b-rbh35f8svc] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

.card-menu[b-rbh35f8svc] {
    position: absolute;
    top: 48px;
    right: 12px;
    min-width: 200px;
    background: var(--tg-theme-content-bg-color);
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    animation: menuFadeIn-b-rbh35f8svc 0.15s ease;
}

@keyframes menuFadeIn-b-rbh35f8svc {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-menu-item[b-rbh35f8svc] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--tg-theme-text-color);
    cursor: pointer;
    transition: background-color 0.15s ease;
    text-align: left;
}

.card-menu-item:hover[b-rbh35f8svc] {
    background: var(--tg-theme-secondary-bg-color);
}

.card-menu-item.danger[b-rbh35f8svc] {
    color: var(--tg-theme-destructive-color);
}

.card-menu-item.danger:hover[b-rbh35f8svc] {
    background: rgba(229, 57, 53, 0.1);
}

.card-menu-item.has-submenu[b-rbh35f8svc] {
    justify-content: flex-start;
}

.card-menu-item .submenu-arrow[b-rbh35f8svc] {
    margin-left: auto;
    opacity: 0.5;
}

.card-menu-divider[b-rbh35f8svc] {
    height: 1px;
    background: var(--tg-theme-section-separator-color);
    margin: 4px 0;
}

/* Submenu - inline accordion style */
.card-menu-item.has-submenu[b-rbh35f8svc] {
    justify-content: flex-start;
}

.card-menu-item.has-submenu .submenu-arrow[b-rbh35f8svc] {
    margin-left: auto;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.card-menu-item.has-submenu .submenu-arrow.expanded[b-rbh35f8svc] {
    transform: rotate(180deg);
}

.card-menu-item.has-submenu.active[b-rbh35f8svc] {
    background: var(--tg-theme-secondary-bg-color);
}

.submenu-inline[b-rbh35f8svc] {
    background: var(--tg-theme-secondary-bg-color);
    border-radius: 0;
    overflow: hidden;
    animation: submenuSlideDown-b-rbh35f8svc 0.15s ease;
}

@keyframes submenuSlideDown-b-rbh35f8svc {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

.submenu-inline .submenu-item[b-rbh35f8svc] {
    padding-left: 44px;
    font-size: 13px;
}

.submenu-inline .submenu-item:hover[b-rbh35f8svc] {
    background: var(--tg-theme-section-separator-color);
}

/* Режим редактирования */
.quiz-item-card.editing[b-rbh35f8svc] {
    border-color: var(--tg-theme-button-color);
    box-shadow: 0 2px 12px rgba(51, 144, 236, 0.15);
}

.card-edit-form[b-rbh35f8svc] {
    padding: 16px;
    animation: expandForm-b-rbh35f8svc 0.2s ease;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

@keyframes expandForm-b-rbh35f8svc {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.edit-field[b-rbh35f8svc] {
    margin-bottom: 16px;
}

.edit-field label[b-rbh35f8svc] {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tg-theme-hint-color);
}

.edit-field input[b-rbh35f8svc],
.edit-field textarea[b-rbh35f8svc] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 8px;
    background: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.edit-field textarea[b-rbh35f8svc] {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.edit-field input:focus[b-rbh35f8svc],
.edit-field textarea:focus[b-rbh35f8svc] {
    outline: none;
    border-color: var(--tg-theme-button-color);
}

.edit-field input[b-rbh35f8svc]::placeholder,
.edit-field textarea[b-rbh35f8svc]::placeholder {
    color: var(--tg-theme-hint-color);
}

.edit-actions[b-rbh35f8svc] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.edit-cancel-btn[b-rbh35f8svc],
.edit-save-btn[b-rbh35f8svc] {
    padding: 8px 16px !important;
    font-size: 14px !important;
}

/* Image Upload Zone */
.image-upload-zone[b-rbh35f8svc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 16px;
    border: 2px dashed var(--tg-theme-section-separator-color);
    border-radius: 12px;
    background: var(--tg-theme-secondary-bg-color);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.image-upload-zone.uploading[b-rbh35f8svc] {
    pointer-events: none;
}

/* Скрываем input file, но оставляем его кликабельным через label */
.image-upload-zone input[type="file"][b-rbh35f8svc] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.image-upload-zone:hover[b-rbh35f8svc] {
    border-color: var(--tg-theme-button-color);
    background: rgba(51, 144, 236, 0.05);
}

.image-upload-zone svg[b-rbh35f8svc] {
    color: var(--tg-theme-hint-color);
}

.image-upload-zone span[b-rbh35f8svc] {
    font-size: 14px;
    color: var(--tg-theme-text-color);
}

.image-upload-zone .upload-hint[b-rbh35f8svc] {
    font-size: 12px;
    color: var(--tg-theme-hint-color);
}

.upload-progress[b-rbh35f8svc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-progress span[b-rbh35f8svc] {
    color: var(--tg-theme-hint-color);
}

.upload-error[b-rbh35f8svc] {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: var(--tg-theme-destructive-color);
}

/* Image Preview */
.image-preview[b-rbh35f8svc] {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.image-preview img[b-rbh35f8svc] {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
}

.remove-image-btn[b-rbh35f8svc] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: background 0.2s;
}

.remove-image-btn:hover[b-rbh35f8svc] {
    background: var(--tg-theme-destructive-color);
}

/* Card content image preview */
.item-image-preview[b-rbh35f8svc] {
    max-width: 100%;
    max-height: 120px;
    border-radius: 8px;
    object-fit: contain;
}

.item-image-placeholder[b-rbh35f8svc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--tg-theme-secondary-bg-color);
    border-radius: 8px;
    color: var(--tg-theme-hint-color);
    font-size: 13px;
}
/* /Components/Results/OptionsResultCard.razor.rz.scp.css */
.result-card[b-eag1yybse4] {
    background: var(--tg-theme-section-bg-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

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

.result-question-title[b-eag1yybse4] {
    font-size: 16px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
    flex: 1;
}

.result-response-count[b-eag1yybse4] {
    font-size: 13px;
    color: var(--tg-theme-hint-color);
    white-space: nowrap;
}

.result-description[b-eag1yybse4] {
    font-size: 14px;
    color: var(--tg-theme-hint-color);
    margin: 0 0 12px 0;
}

.options-results[b-eag1yybse4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-result-row[b-eag1yybse4] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-info[b-eag1yybse4] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    max-width: 200px;
}

.option-thumb[b-eag1yybse4] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.option-text[b-eag1yybse4] {
    font-size: 14px;
    color: var(--tg-theme-text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.option-bar-container[b-eag1yybse4] {
    flex: 1;
    height: 24px;
    background: var(--tg-theme-secondary-bg-color);
    border-radius: 6px;
    overflow: hidden;
}

.option-bar[b-eag1yybse4] {
    height: 100%;
    background: var(--tg-theme-button-color);
    border-radius: 6px;
    transition: width 0.3s ease;
    min-width: 2px;
}

.option-stats[b-eag1yybse4] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    justify-content: flex-end;
}

.option-count[b-eag1yybse4] {
    font-size: 14px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
}

.option-percent[b-eag1yybse4] {
    font-size: 13px;
    color: var(--tg-theme-hint-color);
    min-width: 40px;
    text-align: right;
}

@media (max-width: 480px) {
    .option-result-row[b-eag1yybse4] {
        flex-wrap: wrap;
    }

    .option-info[b-eag1yybse4] {
        width: 100%;
        max-width: none;
        margin-bottom: 4px;
    }

    .option-bar-container[b-eag1yybse4] {
        order: 1;
        flex: 1;
    }

    .option-stats[b-eag1yybse4] {
        order: 2;
        min-width: 70px;
    }
}
/* /Components/Results/RatingResultCard.razor.rz.scp.css */
.result-card[b-rpkt3pzf80] {
    background: var(--tg-theme-section-bg-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

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

.result-question-title[b-rpkt3pzf80] {
    font-size: 16px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
    flex: 1;
}

.result-response-count[b-rpkt3pzf80] {
    font-size: 13px;
    color: var(--tg-theme-hint-color);
    white-space: nowrap;
}

.result-description[b-rpkt3pzf80] {
    font-size: 14px;
    color: var(--tg-theme-hint-color);
    margin: 0 0 12px 0;
}

.rating-results[b-rpkt3pzf80] {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.rating-average[b-rpkt3pzf80] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: var(--tg-theme-bg-color);
    border-radius: 12px;
    min-width: 100px;
}

.average-value[b-rpkt3pzf80] {
    font-size: 36px;
    font-weight: 600;
    color: var(--tg-theme-button-color);
    line-height: 1;
}

.average-label[b-rpkt3pzf80] {
    font-size: 12px;
    color: var(--tg-theme-hint-color);
    margin-top: 4px;
}

.rating-distribution[b-rpkt3pzf80] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-row[b-rpkt3pzf80] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-value[b-rpkt3pzf80] {
    min-width: 28px;
    text-align: center;
    font-size: 16px;
}

.rating-bar-container[b-rpkt3pzf80] {
    flex: 1;
    height: 20px;
    background: var(--tg-theme-secondary-bg-color);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar[b-rpkt3pzf80] {
    height: 100%;
    background: var(--tg-theme-button-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-count[b-rpkt3pzf80] {
    min-width: 32px;
    text-align: right;
    font-size: 13px;
    color: var(--tg-theme-hint-color);
}

.no-results[b-rpkt3pzf80] {
    text-align: center;
    padding: 24px;
    color: var(--tg-theme-hint-color);
    font-style: italic;
}

@media (max-width: 480px) {
    .rating-results[b-rpkt3pzf80] {
        flex-direction: column;
    }

    .rating-average[b-rpkt3pzf80] {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        padding: 12px;
    }

    .average-value[b-rpkt3pzf80] {
        font-size: 28px;
    }

    .average-label[b-rpkt3pzf80] {
        margin-top: 0;
    }
}
/* /Components/Results/TextResultCard.razor.rz.scp.css */
.result-card[b-r0e8hnmdjh] {
    background: var(--tg-theme-section-bg-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

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

.result-question-title[b-r0e8hnmdjh] {
    font-size: 16px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
    flex: 1;
}

.result-response-count[b-r0e8hnmdjh] {
    font-size: 13px;
    color: var(--tg-theme-hint-color);
    white-space: nowrap;
}

.result-description[b-r0e8hnmdjh] {
    font-size: 14px;
    color: var(--tg-theme-hint-color);
    margin: 0 0 12px 0;
}

.text-answers[b-r0e8hnmdjh] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.text-answer-item[b-r0e8hnmdjh] {
    background: var(--tg-theme-bg-color);
    border-radius: 8px;
    padding: 12px;
}

.answer-content[b-r0e8hnmdjh] {
    font-size: 14px;
    color: var(--tg-theme-text-color);
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.answer-meta[b-r0e8hnmdjh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--tg-theme-section-separator-color);
    font-size: 12px;
    color: var(--tg-theme-hint-color);
}

.answer-user[b-r0e8hnmdjh] {
    font-weight: 500;
}

.answer-user.anonymous[b-r0e8hnmdjh] {
    font-style: italic;
}

.show-more-btn[b-r0e8hnmdjh] {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: var(--tg-theme-bg-color);
    border: 1px dashed var(--tg-theme-section-separator-color);
    border-radius: 8px;
    color: var(--tg-theme-button-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.show-more-btn:hover[b-r0e8hnmdjh] {
    background: var(--tg-theme-secondary-bg-color);
}

.no-results[b-r0e8hnmdjh] {
    text-align: center;
    padding: 24px;
    color: var(--tg-theme-hint-color);
    font-style: italic;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-5oj5bzt6zb] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.tg-header[b-5oj5bzt6zb] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--tg-theme-header-bg-color);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tg-header-title[b-5oj5bzt6zb] {
    font-size: 17px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
    flex: 1;
}

.burger-btn[b-5oj5bzt6zb] {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--tg-theme-hint-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.burger-btn:hover[b-5oj5bzt6zb] {
    background-color: var(--tg-theme-secondary-bg-color);
    color: var(--tg-theme-text-color);
}

.theme-toggle-btn[b-5oj5bzt6zb] {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--tg-theme-hint-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover[b-5oj5bzt6zb] {
    background-color: var(--tg-theme-secondary-bg-color);
    color: var(--tg-theme-button-color);
}

.app-body[b-5oj5bzt6zb] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.content-area[b-5oj5bzt6zb] {
    flex: 1;
    overflow-y: auto;
    background-color: var(--tg-theme-content-bg-color);
}

.main-content[b-5oj5bzt6zb] {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Desktop: sidebar постоянно виден */
@media (min-width: 769px) {
    .burger-btn[b-5oj5bzt6zb] {
        display: none;
    }

    .tg-header-title[b-5oj5bzt6zb] {
        text-align: left;
    }

    .main-content[b-5oj5bzt6zb] {
        padding: 24px 32px;
    }
}
/* /Layout/Sidebar.razor.rz.scp.css */
.sidebar[b-u939i3bq9j] {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--tg-theme-section-bg-color);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.sidebar.open[b-u939i3bq9j] {
    transform: translateX(0);
}

.sidebar-overlay[b-u939i3bq9j] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.sidebar-close[b-u939i3bq9j] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--tg-theme-hint-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.sidebar-close:hover[b-u939i3bq9j] {
    background-color: var(--tg-theme-secondary-bg-color);
    color: var(--tg-theme-text-color);
}

.sidebar-nav[b-u939i3bq9j] {
    flex: 1;
    overflow-y: auto;
    padding: 0 0 12px;
}

.sidebar-item[b-u939i3bq9j] {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--tg-theme-text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 12px;
}

.sidebar-item:hover[b-u939i3bq9j] {
    background-color: var(--tg-theme-secondary-bg-color);
}

.sidebar-item.active[b-u939i3bq9j] {
    color: var(--tg-theme-button-color);
    background-color: rgba(51, 144, 236, 0.1);
}

.sidebar-item-icon[b-u939i3bq9j] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-item-text[b-u939i3bq9j] {
    font-size: 15px;
    font-weight: 500;
}

/* Секции с аккордеоном */
.sidebar-section[b-u939i3bq9j] {
    margin: 4px 0;
}

.sidebar-section-header[b-u939i3bq9j] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--tg-theme-text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 12px;
    text-align: left;
}

.sidebar-section-header:hover[b-u939i3bq9j] {
    background-color: var(--tg-theme-secondary-bg-color);
}

.sidebar-section-chevron[b-u939i3bq9j] {
    margin-left: auto;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
    color: var(--tg-theme-hint-color);
}

.sidebar-section-header.expanded .sidebar-section-chevron[b-u939i3bq9j] {
    transform: rotate(180deg);
}

.sidebar-section-header.static[b-u939i3bq9j] {
    cursor: default;
}

.sidebar-section-header.static:hover[b-u939i3bq9j] {
    background-color: transparent;
}

.sidebar-section-count[b-u939i3bq9j] {
    margin-left: auto;
    font-size: 12px;
    color: var(--tg-theme-hint-color);
    background-color: var(--tg-theme-secondary-bg-color);
    padding: 2px 8px;
    border-radius: 10px;
}

.sidebar-section-content[b-u939i3bq9j] {
    padding: 4px 0;
    animation: slideDown-b-u939i3bq9j 0.2s ease;
}

@keyframes slideDown-b-u939i3bq9j {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-subitem[b-u939i3bq9j] {
    display: flex;
    flex-direction: column;
    padding: 6px 20px 6px 52px;
    color: var(--tg-theme-text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 0;
}

.sidebar-subitem:hover[b-u939i3bq9j] {
    background-color: var(--tg-theme-secondary-bg-color);
}

.sidebar-subitem-title[b-u939i3bq9j] {
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-subitem-date[b-u939i3bq9j] {
    font-size: 12px;
    color: var(--tg-theme-hint-color);
}

.sidebar-empty[b-u939i3bq9j] {
    padding: 12px 20px 12px 52px;
    font-size: 13px;
    color: var(--tg-theme-hint-color);
    font-style: italic;
}

/* Группы */
.sidebar-group-item[b-u939i3bq9j] {
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 52px;
    color: var(--tg-theme-text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 8px;
}

.sidebar-group-item:hover[b-u939i3bq9j] {
    background-color: var(--tg-theme-secondary-bg-color);
}

.sidebar-group-item.active[b-u939i3bq9j] {
    color: var(--tg-theme-button-color);
    background-color: rgba(51, 144, 236, 0.1);
}

.sidebar-group-icon[b-u939i3bq9j] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--tg-theme-hint-color);
}

.sidebar-group-item.active .sidebar-group-icon[b-u939i3bq9j] {
    color: var(--tg-theme-button-color);
}

.sidebar-group-title[b-u939i3bq9j] {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-group-count[b-u939i3bq9j] {
    font-size: 12px;
    color: var(--tg-theme-hint-color);
    background-color: var(--tg-theme-secondary-bg-color);
    padding: 2px 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

.sidebar-divider[b-u939i3bq9j] {
    height: 1px;
    background-color: var(--tg-theme-section-separator-color);
    margin: 8px 20px;
}

.sidebar-footer[b-u939i3bq9j] {
    padding: 16px 20px;
    border-top: 1px solid var(--tg-theme-section-separator-color);
}

.sidebar-logout[b-u939i3bq9j] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--tg-theme-destructive-color);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-logout:hover[b-u939i3bq9j] {
    background-color: rgba(229, 57, 53, 0.1);
}

/* Desktop: sidebar всегда видим, статичная позиция */
@media (min-width: 769px) {
    .sidebar[b-u939i3bq9j] {
        position: static;
        transform: translateX(0);
        height: 100%;
        box-shadow: none;
        border-right: 1px solid var(--tg-theme-section-separator-color);
        flex-shrink: 0;
    }

    .sidebar-close[b-u939i3bq9j] {
        display: none;
    }

    .sidebar-overlay[b-u939i3bq9j] {
        display: none;
    }
}
/* /Pages/GroupsManage.razor.rz.scp.css */
.groups-manage-page[b-hdd7jv93rd] {
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.groups-header[b-hdd7jv93rd] {
    margin-bottom: 24px;
}

.groups-header h1[b-hdd7jv93rd] {
    font-size: 24px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
    margin: 0 0 8px;
}

.groups-hint[b-hdd7jv93rd] {
    font-size: 14px;
    color: var(--tg-theme-hint-color);
    margin: 0;
}

/* Загрузка */
.groups-loading[b-hdd7jv93rd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    gap: 16px;
    color: var(--tg-theme-hint-color);
}

.loading-spinner[b-hdd7jv93rd] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--tg-theme-secondary-bg-color);
    border-top-color: var(--tg-theme-button-color);
    border-radius: 50%;
    animation: spin-b-hdd7jv93rd 1s linear infinite;
}

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

/* Форма добавления */
.group-add-form[b-hdd7jv93rd] {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.group-input[b-hdd7jv93rd] {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 8px;
    background-color: var(--tg-theme-section-bg-color);
    color: var(--tg-theme-text-color);
    outline: none;
    transition: border-color 0.2s ease;
}

.group-input:focus[b-hdd7jv93rd] {
    border-color: var(--tg-theme-button-color);
}

.group-input[b-hdd7jv93rd]::placeholder {
    color: var(--tg-theme-hint-color);
}

/* Пустое состояние */
.groups-empty[b-hdd7jv93rd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    gap: 12px;
}

.groups-empty h3[b-hdd7jv93rd] {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
    margin: 0;
}

.groups-empty p[b-hdd7jv93rd] {
    font-size: 14px;
    color: var(--tg-theme-hint-color);
    margin: 0;
}

/* Список групп */
.groups-list[b-hdd7jv93rd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-item[b-hdd7jv93rd] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--tg-theme-section-bg-color);
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: grab;
}

.group-item:hover[b-hdd7jv93rd] {
    border-color: var(--tg-theme-button-color);
}

.group-item.dragging[b-hdd7jv93rd] {
    opacity: 0.5;
    cursor: grabbing;
}

.group-item.drag-over[b-hdd7jv93rd] {
    border-color: var(--tg-theme-button-color);
    background-color: rgba(51, 144, 236, 0.1);
}

.group-drag-handle[b-hdd7jv93rd] {
    display: flex;
    align-items: center;
    color: var(--tg-theme-hint-color);
    cursor: grab;
    flex-shrink: 0;
}

.group-drag-handle:active[b-hdd7jv93rd] {
    cursor: grabbing;
}

.group-title[b-hdd7jv93rd] {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-quiz-count[b-hdd7jv93rd] {
    font-size: 13px;
    color: var(--tg-theme-hint-color);
    flex-shrink: 0;
}

.group-actions[b-hdd7jv93rd] {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.group-action-btn[b-hdd7jv93rd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--tg-theme-hint-color);
}

.group-action-btn:hover[b-hdd7jv93rd] {
    background-color: var(--tg-theme-secondary-bg-color);
}

.group-action-btn.edit:hover[b-hdd7jv93rd] {
    color: var(--tg-theme-button-color);
}

.group-action-btn.delete:hover[b-hdd7jv93rd] {
    color: var(--tg-theme-destructive-color);
}

.group-action-btn.save[b-hdd7jv93rd] {
    color: #4caf50;
}

.group-action-btn.save:hover[b-hdd7jv93rd] {
    background-color: rgba(76, 175, 80, 0.1);
}

.group-action-btn.cancel:hover[b-hdd7jv93rd] {
    color: var(--tg-theme-destructive-color);
}

/* Редактирование */
.group-edit-input[b-hdd7jv93rd] {
    flex: 1;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid var(--tg-theme-button-color);
    border-radius: 6px;
    background-color: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
    outline: none;
}

.group-edit-actions[b-hdd7jv93rd] {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

/* Ошибка */
.groups-error[b-hdd7jv93rd] {
    margin-top: 16px;
    padding: 12px 16px;
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--tg-theme-destructive-color);
    border-radius: 8px;
    font-size: 14px;
}

/* Модальное окно */
.modal-overlay[b-hdd7jv93rd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal-content[b-hdd7jv93rd] {
    background-color: var(--tg-theme-section-bg-color);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    animation: modalSlideIn-b-hdd7jv93rd 0.2s ease;
}

@keyframes modalSlideIn-b-hdd7jv93rd {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content h3[b-hdd7jv93rd] {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
    margin: 0 0 12px;
}

.modal-content p[b-hdd7jv93rd] {
    font-size: 14px;
    color: var(--tg-theme-text-color);
    margin: 0 0 8px;
}

.modal-warning[b-hdd7jv93rd] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border-radius: 8px;
    margin-top: 12px;
}

.modal-actions[b-hdd7jv93rd] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Адаптивность */
@media (min-width: 768px) {
    .groups-manage-page[b-hdd7jv93rd] {
        padding: 24px;
    }
}
/* /Pages/QuizEditor.razor.rz.scp.css */
.quiz-editor[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
}

.loading-state[b-talcp7w4d5],
.error-state[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px;
    text-align: center;
    color: var(--tg-theme-hint-color);
}

.editor-header[b-talcp7w4d5] {
    margin-bottom: 24px;
}

.editor-header h1[b-talcp7w4d5] {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
}

.editor-content[b-talcp7w4d5] {
    flex: 1;
}

.form-group[b-talcp7w4d5] {
    margin-bottom: 20px;
}

.form-group label[b-talcp7w4d5] {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
}

.form-group input[b-talcp7w4d5],
.form-group textarea[b-talcp7w4d5],
.form-group select[b-talcp7w4d5] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 8px;
    background: var(--tg-theme-section-bg-color);
    color: var(--tg-theme-text-color);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group input:focus[b-talcp7w4d5],
.form-group textarea:focus[b-talcp7w4d5],
.form-group select:focus[b-talcp7w4d5] {
    outline: none;
    border-color: var(--tg-theme-button-color);
}

.form-group input[b-talcp7w4d5]::placeholder,
.form-group textarea[b-talcp7w4d5]::placeholder {
    color: var(--tg-theme-hint-color);
}

.form-group textarea[b-talcp7w4d5] {
    resize: vertical;
    min-height: 80px;
}

/* Short URL field */
.short-url-field[b-talcp7w4d5] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--tg-theme-section-bg-color);
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 8px;
}

.short-url-text[b-talcp7w4d5] {
    flex: 1;
    font-size: 14px;
    font-family: monospace;
    color: var(--tg-theme-text-color);
    word-break: break-all;
    user-select: all;
}

.copy-url-btn[b-talcp7w4d5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: var(--tg-theme-button-color);
    color: var(--tg-theme-button-text-color);
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.copy-url-btn:hover[b-talcp7w4d5] {
    opacity: 0.85;
}

.copy-url-btn:active[b-talcp7w4d5] {
    opacity: 0.7;
}

/* Access mode selector */
.access-mode-options[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.access-mode-option[b-talcp7w4d5] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--tg-theme-section-bg-color);
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.access-mode-option:hover:not(.disabled)[b-talcp7w4d5] {
    border-color: var(--tg-theme-button-color);
}

.access-mode-option.selected[b-talcp7w4d5] {
    border-color: var(--tg-theme-button-color);
    background: rgba(51, 144, 236, 0.08);
}

.access-mode-option.disabled[b-talcp7w4d5] {
    opacity: 0.5;
    cursor: not-allowed;
}

.access-mode-option input[type="radio"][b-talcp7w4d5] {
    display: none;
}

.access-mode-icon[b-talcp7w4d5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--tg-theme-secondary-bg-color);
    border-radius: 8px;
    color: var(--tg-theme-hint-color);
    flex-shrink: 0;
}

.access-mode-option.selected .access-mode-icon[b-talcp7w4d5] {
    background: var(--tg-theme-button-color);
    color: var(--tg-theme-button-text-color);
}

.access-mode-text[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.access-mode-title[b-talcp7w4d5] {
    font-size: 15px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
}

.access-mode-desc[b-talcp7w4d5] {
    font-size: 13px;
    color: var(--tg-theme-hint-color);
}

@media (min-width: 600px) {
    .access-mode-options[b-talcp7w4d5] {
        flex-direction: row;
    }

    .access-mode-option[b-talcp7w4d5] {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .access-mode-text[b-talcp7w4d5] {
        align-items: center;
    }
}

/* Checkbox options */
.checkbox-options[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-option[b-talcp7w4d5] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--tg-theme-section-bg-color);
    border: 1px solid var(--tg-theme-section-separator-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-option:hover[b-talcp7w4d5] {
    border-color: var(--tg-theme-button-color);
}

.checkbox-option input[type="checkbox"][b-talcp7w4d5] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-top: 2px;
    accent-color: var(--tg-theme-button-color);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.checkbox-title[b-talcp7w4d5] {
    font-size: 15px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
}

.checkbox-desc[b-talcp7w4d5] {
    font-size: 13px;
    color: var(--tg-theme-hint-color);
}

/* Items section */
.items-section[b-talcp7w4d5] {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--tg-theme-section-separator-color);
}

.items-header[b-talcp7w4d5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.items-header h2[b-talcp7w4d5] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
}

.add-item-btn[b-talcp7w4d5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px !important;
    font-size: 14px !important;
}

.items-list[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
}

.item-preview[b-talcp7w4d5] {
    font-size: 15px;
    color: var(--tg-theme-text-color);
    line-height: 1.5;
}

.items-empty[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    color: var(--tg-theme-hint-color);
    background: var(--tg-theme-section-bg-color);
    border: 2px dashed var(--tg-theme-section-separator-color);
    border-radius: 12px;
}

.items-empty svg[b-talcp7w4d5] {
    margin-bottom: 16px;
    opacity: 0.5;
}

.items-empty p[b-talcp7w4d5] {
    margin: 0;
    font-size: 15px;
}

.editor-footer[b-talcp7w4d5] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--tg-theme-section-separator-color);
    margin-top: 24px;
}

/* Mobile: кнопки на всю ширину */
@media (max-width: 480px) {
    .editor-footer[b-talcp7w4d5] {
        flex-direction: column-reverse;
    }

    .editor-footer .tg-button[b-talcp7w4d5] {
        width: 100%;
    }

    .items-header[b-talcp7w4d5] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .add-item-btn[b-talcp7w4d5] {
        width: 100%;
        justify-content: center;
    }
}

/* Image item preview */
.item-preview-image[b-talcp7w4d5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-image-preview[b-talcp7w4d5] {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    object-fit: contain;
}

.item-image-caption[b-talcp7w4d5] {
    font-size: 13px;
    color: var(--tg-theme-hint-color);
    font-style: italic;
    text-align: center;
}

.item-image-placeholder[b-talcp7w4d5] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--tg-theme-secondary-bg-color);
    border-radius: 8px;
    color: var(--tg-theme-hint-color);
    font-size: 14px;
}

.item-image-placeholder svg[b-talcp7w4d5] {
    flex-shrink: 0;
    opacity: 0.5;
}
/* /Pages/QuizGroup.razor.rz.scp.css */
.quiz-group-page[b-fa6iyc6kzx] {
    padding: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.quiz-group-header[b-fa6iyc6kzx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.quiz-group-title[b-fa6iyc6kzx] {
    font-size: 24px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
    margin: 0;
}

.quiz-group-actions[b-fa6iyc6kzx] {
    display: flex;
    gap: 8px;
}

/* Состояние загрузки */
.quiz-group-loading[b-fa6iyc6kzx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    gap: 16px;
    color: var(--tg-theme-hint-color);
}

.loading-spinner[b-fa6iyc6kzx] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--tg-theme-secondary-bg-color);
    border-top-color: var(--tg-theme-button-color);
    border-radius: 50%;
    animation: spin-b-fa6iyc6kzx 1s linear infinite;
}

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

/* Пустое состояние */
.quiz-group-empty[b-fa6iyc6kzx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    gap: 12px;
}

.quiz-group-empty h3[b-fa6iyc6kzx] {
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
    margin: 0;
}

.quiz-group-empty p[b-fa6iyc6kzx] {
    font-size: 14px;
    color: var(--tg-theme-hint-color);
    margin: 0 0 16px;
}

/* Карточки опросов (мобильная версия) */
.quiz-cards[b-fa6iyc6kzx] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.quiz-card[b-fa6iyc6kzx] {
    display: block;
    background-color: var(--tg-theme-section-bg-color);
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--tg-theme-section-separator-color);
}

.quiz-card:hover[b-fa6iyc6kzx] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quiz-card-header[b-fa6iyc6kzx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.quiz-card-status[b-fa6iyc6kzx] {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.quiz-card-status.status-draft[b-fa6iyc6kzx] {
    background-color: rgba(158, 158, 158, 0.2);
    color: var(--tg-theme-hint-color);
}

.quiz-card-status.status-published[b-fa6iyc6kzx] {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.quiz-card-status.status-closed[b-fa6iyc6kzx] {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.quiz-card-responses[b-fa6iyc6kzx] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--tg-theme-hint-color);
}

.quiz-card-title[b-fa6iyc6kzx] {
    font-size: 16px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
    margin: 0 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quiz-card-meta[b-fa6iyc6kzx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--tg-theme-hint-color);
}

.quiz-card-slug[b-fa6iyc6kzx] {
    font-family: monospace;
    background-color: var(--tg-theme-secondary-bg-color);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Кнопка меню в карточке */
.quiz-card[b-fa6iyc6kzx] {
    position: relative;
}

.quiz-card-link[b-fa6iyc6kzx] {
    display: block;
    text-decoration: none;
    color: inherit;
}

.quiz-card-menu-btn[b-fa6iyc6kzx] {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: var(--tg-theme-secondary-bg-color);
    color: var(--tg-theme-hint-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1;
}

.quiz-card-menu-btn:hover[b-fa6iyc6kzx] {
    background: var(--tg-theme-button-color);
    color: var(--tg-theme-button-text-color);
}

/* Таблица (десктопная версия) - скрыта по умолчанию */
.quiz-table-wrapper[b-fa6iyc6kzx] {
    display: none;
    overflow-x: auto;
}

.quiz-table[b-fa6iyc6kzx] {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--tg-theme-section-bg-color);
    border-radius: 12px;
}

.quiz-table th[b-fa6iyc6kzx],
.quiz-table td[b-fa6iyc6kzx] {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--tg-theme-section-separator-color);
}

.quiz-table th[b-fa6iyc6kzx] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--tg-theme-hint-color);
    background-color: var(--tg-theme-secondary-bg-color);
}

.quiz-table tr[b-fa6iyc6kzx] {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quiz-table tbody tr:hover[b-fa6iyc6kzx] {
    background-color: var(--tg-theme-secondary-bg-color);
}

.quiz-table tbody tr:last-child td[b-fa6iyc6kzx] {
    border-bottom: none;
}

.quiz-table-title[b-fa6iyc6kzx] {
    font-weight: 500;
    color: var(--tg-theme-text-color);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quiz-table-responses[b-fa6iyc6kzx] {
    text-align: center;
    font-weight: 500;
}

.quiz-table-slug code[b-fa6iyc6kzx] {
    font-size: 12px;
    background-color: var(--tg-theme-secondary-bg-color);
    padding: 2px 6px;
    border-radius: 4px;
}

.slug-cell[b-fa6iyc6kzx] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-slug-btn[b-fa6iyc6kzx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: var(--tg-theme-button-color);
    color: var(--tg-theme-button-text-color);
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.copy-slug-btn:hover[b-fa6iyc6kzx] {
    opacity: 1;
}

.quiz-table-date[b-fa6iyc6kzx] {
    white-space: nowrap;
    color: var(--tg-theme-hint-color);
    font-size: 13px;
}

.quiz-status-badge[b-fa6iyc6kzx] {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.quiz-status-badge.status-draft[b-fa6iyc6kzx] {
    background-color: rgba(158, 158, 158, 0.2);
    color: var(--tg-theme-hint-color);
}

.quiz-status-badge.status-published[b-fa6iyc6kzx] {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.quiz-status-badge.status-closed[b-fa6iyc6kzx] {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

/* Пагинация */
.quiz-pagination[b-fa6iyc6kzx] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 16px 0;
}

.quiz-pagination-info[b-fa6iyc6kzx] {
    font-size: 14px;
    color: var(--tg-theme-hint-color);
}

/* Адаптивность: карточки в сетке на средних экранах */
@media (min-width: 480px) {
    .quiz-cards[b-fa6iyc6kzx] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .quiz-group-page[b-fa6iyc6kzx] {
        padding: 24px;
    }

    .quiz-cards[b-fa6iyc6kzx] {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Переключение на таблицу только на широких экранах */
@media (min-width: 1200px) {
    .quiz-cards[b-fa6iyc6kzx] {
        display: none;
    }

    .quiz-table-wrapper[b-fa6iyc6kzx] {
        display: block;
    }
}

/* Колонка действий */
.actions-column[b-fa6iyc6kzx] {
    width: 48px;
}

.quiz-table-actions[b-fa6iyc6kzx] {
    text-align: center;
}

/* Dropdown */
.dropdown-container[b-fa6iyc6kzx] {
    position: relative;
    display: inline-block;
}

.dropdown-trigger[b-fa6iyc6kzx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--tg-theme-hint-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-trigger:hover[b-fa6iyc6kzx] {
    background: var(--tg-theme-secondary-bg-color);
    color: var(--tg-theme-text-color);
}

/* Overlay для закрытия по клику вне меню */
.dropdown-overlay[b-fa6iyc6kzx] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

/* На мобильных - bottom sheet */
.dropdown-menu[b-fa6iyc6kzx] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: unset;
    padding: 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    background: var(--tg-theme-bg-color);
    border: none;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideUp-b-fa6iyc6kzx 0.2s ease-out;
}

@keyframes slideUp-b-fa6iyc6kzx {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* На десктопе - меню рядом с кнопкой */
@media (min-width: 768px) {
    .dropdown-overlay[b-fa6iyc6kzx] {
        background: transparent;
    }

    .dropdown-menu[b-fa6iyc6kzx] {
        bottom: unset;
        left: var(--dropdown-x, 50%);
        right: unset;
        top: var(--dropdown-y, 50%);
        transform: translateX(-100%);
        min-width: 200px;
        max-width: 240px;
        padding: 6px;
        border-radius: 10px;
        border: 1px solid var(--tg-theme-section-separator-color);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        animation: fadeIn-b-fa6iyc6kzx 0.12s ease-out;
    }

    @keyframes fadeIn-b-fa6iyc6kzx {
        from {
            opacity: 0;
            transform: translateX(-100%) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateX(-100%) scale(1);
        }
    }
}

.dropdown-item[b-fa6iyc6kzx] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: var(--tg-theme-text-color);
    font-size: 16px;
    text-decoration: none;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.15s;
}

@media (min-width: 768px) {
    .dropdown-item[b-fa6iyc6kzx] {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 6px;
    }
}

.dropdown-item:hover[b-fa6iyc6kzx] {
    background: var(--tg-theme-secondary-bg-color);
}

.dropdown-item svg[b-fa6iyc6kzx] {
    flex-shrink: 0;
    color: var(--tg-theme-hint-color);
}

.dropdown-item-danger[b-fa6iyc6kzx] {
    color: var(--tg-theme-destructive-text-color, #ff3b30);
}

.dropdown-item-danger svg[b-fa6iyc6kzx] {
    color: var(--tg-theme-destructive-text-color, #ff3b30);
}

.dropdown-divider[b-fa6iyc6kzx] {
    height: 1px;
    margin: 4px 0;
    background: var(--tg-theme-section-separator-color);
}

.warning-badge[b-fa6iyc6kzx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: auto;
    background: #ff9800;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
}
/* /Pages/QuizPlayer.razor.rz.scp.css */
.quiz-player[b-83ojte5cf0] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.player-loading[b-83ojte5cf0],
.player-not-found[b-83ojte5cf0],
.player-auth-required[b-83ojte5cf0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
    color: var(--tg-theme-hint-color);
}

.player-loading .tg-spinner[b-83ojte5cf0],
.player-not-found svg[b-83ojte5cf0],
.player-auth-required svg[b-83ojte5cf0] {
    margin-bottom: 8px;
}

.player-not-found h2[b-83ojte5cf0],
.player-auth-required h2[b-83ojte5cf0] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
}

.player-not-found p[b-83ojte5cf0],
.player-auth-required p[b-83ojte5cf0],
.player-success p[b-83ojte5cf0] {
    margin: 0;
    font-size: 15px;
    max-width: 300px;
}

.player-success[b-83ojte5cf0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
}

.player-success svg[b-83ojte5cf0] {
    margin-bottom: 8px;
}

.player-success h2[b-83ojte5cf0] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
}

.auth-buttons[b-83ojte5cf0] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
    max-width: 280px;
}

.auth-buttons .tg-button[b-83ojte5cf0] {
    width: 100%;
    justify-content: center;
}

/* Author preview banner */
.author-preview-banner[b-83ojte5cf0] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    background: color-mix(in srgb, var(--tg-theme-button-color) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--tg-theme-button-color) 30%, transparent);
    border-radius: 12px;
    color: var(--tg-theme-text-color);
    font-size: 14px;
}

.author-preview-banner svg[b-83ojte5cf0] {
    flex-shrink: 0;
    color: var(--tg-theme-button-color);
}

/* Player content */
.player-content[b-83ojte5cf0] {
    flex: 1;
    padding: 24px 16px;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.player-header[b-83ojte5cf0] {
    margin-bottom: 32px;
    text-align: center;
}

.player-header h1[b-83ojte5cf0] {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
}

.player-description[b-83ojte5cf0] {
    margin: 0;
    font-size: 15px;
    color: var(--tg-theme-hint-color);
    line-height: 1.5;
}

/* Page title */
.page-title[b-83ojte5cf0] {
    margin-bottom: 24px;
}

.page-title h2[b-83ojte5cf0] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
}

/* Page items */
.page-items[b-83ojte5cf0] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-item[b-83ojte5cf0] {
    animation: fadeIn-b-83ojte5cf0 0.3s ease;
}

@keyframes fadeIn-b-83ojte5cf0 {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Question block */
.question-block[b-83ojte5cf0] {
    background: var(--tg-theme-section-bg-color);
    border-radius: 12px;
    padding: 16px;
}

.question-header[b-83ojte5cf0] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
}

.question-title[b-83ojte5cf0] {
    font-size: 16px;
    font-weight: 500;
    color: var(--tg-theme-text-color);
    line-height: 1.4;
}

.question-required[b-83ojte5cf0] {
    color: var(--tg-theme-destructive-text-color, #ff3b30);
    font-weight: 600;
}

.question-description[b-83ojte5cf0] {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--tg-theme-hint-color);
    line-height: 1.4;
}

.question-answer[b-83ojte5cf0] {
    margin-top: 12px;
}

/* Question error state */
.question-block.has-error[b-83ojte5cf0] {
    border: 1.5px solid var(--tg-theme-destructive-text-color, #ff3b30);
}

.question-error[b-83ojte5cf0] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: color-mix(in srgb, var(--tg-theme-destructive-text-color, #ff3b30) 10%, transparent);
    border-radius: 8px;
    color: var(--tg-theme-destructive-text-color, #ff3b30);
    font-size: 14px;
}

.question-error svg[b-83ojte5cf0] {
    flex-shrink: 0;
}

/* Text block */
.text-block[b-83ojte5cf0] {
    background: var(--tg-theme-section-bg-color);
    border-radius: 12px;
    padding: 16px;
}

.text-title[b-83ojte5cf0] {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
}

.text-content[b-83ojte5cf0] {
    font-size: 15px;
    color: var(--tg-theme-text-color);
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Image block */
.image-block[b-83ojte5cf0] {
    text-align: center;
}

.content-image[b-83ojte5cf0] {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.image-caption[b-83ojte5cf0] {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: var(--tg-theme-hint-color);
}

/* Options list (radio/checkbox) */
.options-list[b-83ojte5cf0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.options-buttons[b-83ojte5cf0] {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.options-buttons .option-item[b-83ojte5cf0] {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 20px;
    background: var(--tg-theme-bg-color);
    border: 1.5px solid var(--tg-theme-section-separator-color);
}

.options-buttons .option-item.selected[b-83ojte5cf0] {
    background: var(--tg-theme-button-color);
    border-color: var(--tg-theme-button-color);
    color: var(--tg-theme-button-text-color);
}

.options-buttons .option-item .option-radio[b-83ojte5cf0] {
    display: none;
}

.option-item[b-83ojte5cf0] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--tg-theme-bg-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
}

.option-item:hover[b-83ojte5cf0] {
    background: var(--tg-theme-secondary-bg-color);
}

.option-item.selected[b-83ojte5cf0] {
    border-color: var(--tg-theme-button-color);
    background: color-mix(in srgb, var(--tg-theme-button-color) 10%, transparent);
}

.option-item input[type="radio"][b-83ojte5cf0],
.option-item input[type="checkbox"][b-83ojte5cf0] {
    display: none;
}

.option-radio[b-83ojte5cf0],
.option-checkbox[b-83ojte5cf0] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--tg-theme-hint-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.option-radio[b-83ojte5cf0] {
    border-radius: 50%;
}

.option-checkbox[b-83ojte5cf0] {
    border-radius: 4px;
}

.option-item.selected .option-radio[b-83ojte5cf0] {
    border-color: var(--tg-theme-button-color);
}

.option-item.selected .option-radio[b-83ojte5cf0]::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--tg-theme-button-color);
    border-radius: 50%;
}

.option-item.selected .option-checkbox[b-83ojte5cf0] {
    border-color: var(--tg-theme-button-color);
    background: var(--tg-theme-button-color);
}

.option-item.selected .option-checkbox[b-83ojte5cf0]::after {
    content: '✓';
    color: var(--tg-theme-button-text-color);
    font-size: 14px;
    font-weight: 600;
}

.option-text[b-83ojte5cf0] {
    font-size: 15px;
    color: var(--tg-theme-text-color);
    line-height: 1.3;
}

/* Text input */
.text-input[b-83ojte5cf0],
.date-input[b-83ojte5cf0] {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1.5px solid var(--tg-theme-section-separator-color);
    border-radius: 12px;
    background: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.text-input:focus[b-83ojte5cf0],
.date-input:focus[b-83ojte5cf0] {
    border-color: var(--tg-theme-button-color);
}

.text-input[b-83ojte5cf0]::placeholder {
    color: var(--tg-theme-hint-color);
}

textarea.text-input[b-83ojte5cf0] {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Rating input */
.rating-input[b-83ojte5cf0] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.rating-item[b-83ojte5cf0] {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--tg-theme-bg-color);
    border: 1.5px solid var(--tg-theme-section-separator-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--tg-theme-hint-color);
    opacity: 0.6;
}

.rating-item:hover[b-83ojte5cf0] {
    transform: scale(1.1);
    color: #ffc107;
    opacity: 1;
}

.rating-item.active[b-83ojte5cf0] {
    background: color-mix(in srgb, var(--tg-theme-button-color) 15%, transparent);
    border-color: var(--tg-theme-button-color);
    color: #ffc107;
    opacity: 1;
}

/* Image choice */
.image-options[b-83ojte5cf0] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.image-option[b-83ojte5cf0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: var(--tg-theme-bg-color);
    border: 2px solid var(--tg-theme-section-separator-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.image-option:hover[b-83ojte5cf0] {
    border-color: var(--tg-theme-hint-color);
}

.image-option.selected[b-83ojte5cf0] {
    border-color: var(--tg-theme-button-color);
    background: color-mix(in srgb, var(--tg-theme-button-color) 10%, transparent);
}

.image-option input[type="radio"][b-83ojte5cf0] {
    display: none;
}

.image-option img[b-83ojte5cf0] {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.image-option-text[b-83ojte5cf0] {
    margin-top: 8px;
    font-size: 14px;
    color: var(--tg-theme-text-color);
    text-align: center;
}

/* Navigation */
.player-navigation[b-83ojte5cf0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--tg-theme-section-separator-color);
    gap: 12px;
}

.player-navigation .tg-button[b-83ojte5cf0] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-navigation .tg-button:disabled[b-83ojte5cf0] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Submit error */
.submit-error[b-83ojte5cf0] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    background: color-mix(in srgb, var(--tg-theme-destructive-text-color, #ff3b30) 10%, transparent);
    border-radius: 12px;
    color: var(--tg-theme-destructive-text-color, #ff3b30);
    font-size: 14px;
}

.submit-error svg[b-83ojte5cf0] {
    flex-shrink: 0;
}

/* Page indicator */
.page-indicator[b-83ojte5cf0] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.page-dot[b-83ojte5cf0] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tg-theme-section-separator-color);
    transition: all 0.3s ease;
}

.page-dot.active[b-83ojte5cf0] {
    width: 24px;
    border-radius: 4px;
    background: var(--tg-theme-button-color);
}

.page-dot.completed[b-83ojte5cf0] {
    background: var(--tg-theme-button-color);
    opacity: 0.5;
}

.page-counter[b-83ojte5cf0] {
    margin-left: 8px;
    font-size: 13px;
    color: var(--tg-theme-hint-color);
}

/* Unsupported type */
.unsupported-type[b-83ojte5cf0] {
    padding: 16px;
    text-align: center;
    color: var(--tg-theme-hint-color);
    font-size: 14px;
    font-style: italic;
}
/* /Pages/QuizResults.razor.rz.scp.css */
.results-page[b-tn7go6woj5] {
    min-height: 100vh;
    padding: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.results-loading[b-tn7go6woj5],
.results-error[b-tn7go6woj5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 16px;
    text-align: center;
    color: var(--tg-theme-hint-color);
}

.results-error svg[b-tn7go6woj5] {
    opacity: 0.5;
}

.results-error h2[b-tn7go6woj5] {
    margin: 0;
    font-size: 20px;
    color: var(--tg-theme-text-color);
}

.results-error p[b-tn7go6woj5] {
    margin: 0;
    font-size: 15px;
}

.results-header[b-tn7go6woj5] {
    margin-bottom: 24px;
}

.results-nav[b-tn7go6woj5] {
    margin-bottom: 16px;
}

.back-link[b-tn7go6woj5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tg-theme-link-color);
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover[b-tn7go6woj5] {
    text-decoration: underline;
}

.results-title[b-tn7go6woj5] {
    margin: 0 0 16px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--tg-theme-text-color);
}

.results-summary[b-tn7go6woj5] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.summary-item[b-tn7go6woj5] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 16px;
    background: var(--tg-theme-section-bg-color);
    border-radius: 8px;
}

.summary-value[b-tn7go6woj5] {
    font-size: 24px;
    font-weight: 600;
    color: var(--tg-theme-button-color);
}

.summary-label[b-tn7go6woj5] {
    font-size: 14px;
    color: var(--tg-theme-hint-color);
}

.summary-item.status-draft[b-tn7go6woj5] {
    background: rgba(158, 158, 158, 0.15);
}

.summary-item.status-draft .summary-label[b-tn7go6woj5] {
    color: var(--tg-theme-hint-color);
}

.summary-item.status-published[b-tn7go6woj5] {
    background: rgba(76, 175, 80, 0.15);
}

.summary-item.status-published .summary-label[b-tn7go6woj5] {
    color: #4caf50;
}

.summary-item.status-closed[b-tn7go6woj5] {
    background: rgba(244, 67, 54, 0.15);
}

.summary-item.status-closed .summary-label[b-tn7go6woj5] {
    color: #f44336;
}

.results-content[b-tn7go6woj5] {
    display: flex;
    flex-direction: column;
}

.no-responses[b-tn7go6woj5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    text-align: center;
    background: var(--tg-theme-section-bg-color);
    border-radius: 12px;
}

.no-responses svg[b-tn7go6woj5] {
    color: var(--tg-theme-hint-color);
    opacity: 0.5;
    margin-bottom: 16px;
}

.no-responses h3[b-tn7go6woj5] {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: var(--tg-theme-text-color);
}

.no-responses p[b-tn7go6woj5] {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: var(--tg-theme-hint-color);
}

.share-link[b-tn7go6woj5] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--tg-theme-bg-color);
    border-radius: 8px;
    max-width: 100%;
    overflow: hidden;
}

.share-link code[b-tn7go6woj5] {
    font-size: 13px;
    color: var(--tg-theme-link-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn[b-tn7go6woj5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: var(--tg-theme-button-color);
    color: var(--tg-theme-button-text-color);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.copy-btn:hover[b-tn7go6woj5] {
    opacity: 0.9;
}

@media (max-width: 480px) {
    .results-summary[b-tn7go6woj5] {
        flex-direction: column;
        gap: 8px;
    }

    .summary-item[b-tn7go6woj5] {
        justify-content: center;
    }
}
