/* _content/ScoringFragebogen.Web/Components/Admin/AppendixEditor.razor.rz.scp.css */
.appendix-editor[b-9asr1j0g8b] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.editor-header[b-9asr1j0g8b] {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.editor-header h3[b-9asr1j0g8b] {
    margin: 0;
    color: #333;
}

.editor-form[b-9asr1j0g8b] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group[b-9asr1j0g8b] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-9asr1j0g8b] {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #555;
}

.form-control[b-9asr1j0g8b] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-control:focus[b-9asr1j0g8b] {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.editor-container[b-9asr1j0g8b] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.editor-pane[b-9asr1j0g8b],
.preview-pane[b-9asr1j0g8b] {
    display: flex;
    flex-direction: column;
}

.markdown-textarea[b-9asr1j0g8b] {
    font-family: 'Courier New', monospace;
    resize: vertical;
    min-height: 300px;
}

.markdown-help[b-9asr1j0g8b] {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.markdown-help small[b-9asr1j0g8b] {
    color: #666;
}

.markdown-preview[b-9asr1j0g8b] {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
    min-height: 300px;
    overflow-y: auto;
}

.markdown-preview h3[b-9asr1j0g8b] {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.markdown-preview h4[b-9asr1j0g8b] {
    font-size: 1.25rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.markdown-preview h5[b-9asr1j0g8b] {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.markdown-preview p[b-9asr1j0g8b] {
    margin-bottom: 0.5rem;
}

.markdown-preview ul[b-9asr1j0g8b] {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.editor-actions[b-9asr1j0g8b] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.btn[b-9asr1j0g8b] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:disabled[b-9asr1j0g8b] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary[b-9asr1j0g8b] {
    background: #007bff;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-9asr1j0g8b] {
    background: #0056b3;
}

.btn-secondary[b-9asr1j0g8b] {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover[b-9asr1j0g8b] {
    background: #545b62;
}

.spinner-border[b-9asr1j0g8b] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-9asr1j0g8b 0.75s linear infinite;
}

@keyframes spinner-border-b-9asr1j0g8b {
    to { transform: rotate(360deg); }
}

.alert[b-9asr1j0g8b] {
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.alert-danger[b-9asr1j0g8b] {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .editor-container[b-9asr1j0g8b] {
        grid-template-columns: 1fr;
    }
}
/* _content/ScoringFragebogen.Web/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-glte40rshz] {
    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-glte40rshz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/ScoringFragebogen.Web/Components/Pages/Admin/AppendicesList.razor.rz.scp.css */
.appendices-container[b-jhu1i8afr7] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header[b-jhu1i8afr7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.page-header h2[b-jhu1i8afr7] {
    margin: 0;
    color: #333;
}

.loading[b-jhu1i8afr7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    gap: 1rem;
}

.spinner-border[b-jhu1i8afr7] {
    width: 3rem;
    height: 3rem;
    border: 4px solid #007bff;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-jhu1i8afr7 0.75s linear infinite;
}

@keyframes spinner-border-b-jhu1i8afr7 {
    to { transform: rotate(360deg); }
}

.empty-state[b-jhu1i8afr7] {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.empty-state p[b-jhu1i8afr7] {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.appendices-grid[b-jhu1i8afr7] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.appendix-group[b-jhu1i8afr7] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.group-title[b-jhu1i8afr7] {
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
    color: #007bff;
    font-size: 1.1rem;
}

.appendix-card[b-jhu1i8afr7] {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.appendix-card:last-child[b-jhu1i8afr7] {
    margin-bottom: 0;
}

.appendix-card:hover[b-jhu1i8afr7] {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.appendix-card.inactive[b-jhu1i8afr7] {
    opacity: 0.6;
}

.card-header[b-jhu1i8afr7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.card-title[b-jhu1i8afr7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title h5[b-jhu1i8afr7] {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.badge[b-jhu1i8afr7] {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-inactive[b-jhu1i8afr7] {
    background: #ffc107;
    color: #000;
}

.card-actions[b-jhu1i8afr7] {
    display: flex;
    gap: 0.5rem;
}

.btn-icon[b-jhu1i8afr7] {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-icon:hover[b-jhu1i8afr7] {
    background: rgba(0, 0, 0, 0.05);
}

.card-body[b-jhu1i8afr7] {
    padding: 1rem;
}

.appendix-info[b-jhu1i8afr7] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-label[b-jhu1i8afr7] {
    font-weight: 600;
    color: #666;
}

.content-preview[b-jhu1i8afr7] {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.btn[b-jhu1i8afr7] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary[b-jhu1i8afr7] {
    background: #007bff;
    color: white;
}

.btn-primary:hover[b-jhu1i8afr7] {
    background: #0056b3;
}

.alert[b-jhu1i8afr7] {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success[b-jhu1i8afr7] {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger[b-jhu1i8afr7] {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .appendices-container[b-jhu1i8afr7] {
        padding: 1rem;
    }

    .page-header[b-jhu1i8afr7] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .card-header[b-jhu1i8afr7] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .card-actions[b-jhu1i8afr7] {
        align-self: flex-end;
    }
}
