@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* _content/Farma.Blazor.UI/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-q02r3vy40f] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-q02r3vy40f] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-q02r3vy40f] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Farma.Blazor.UI/Components/Pages/AdminConversationStates.razor.rz.scp.css */

.conversation-states-page .conversation-states-header[b-y67bxg71hg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.conversation-states-page .conversation-states-layout[b-y67bxg71hg] {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 20px;
}

.conversation-states-page .state-list-panel[b-y67bxg71hg],
.conversation-states-page .state-editor-panel[b-y67bxg71hg] {
    min-height: 400px;
}

.conversation-states-page .state-list-panel ul[b-y67bxg71hg],
.conversation-states-page .aliases-panel ul[b-y67bxg71hg] {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.conversation-states-page .state-item-button[b-y67bxg71hg] {
    width: 100%;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #1f2937;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
    margin-bottom: 6px;
}

.conversation-states-page .state-item-button.selected[b-y67bxg71hg] {
    border-color: #2563eb;
    background: #dbeafe;
}

.conversation-states-page .state-add-form[b-y67bxg71hg],
.conversation-states-page .alias-add-form[b-y67bxg71hg] {
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
}

.conversation-states-page .state-add-form label[b-y67bxg71hg],
.conversation-states-page .alias-add-form label[b-y67bxg71hg] {
    display: block;
    margin-bottom: 8px;
}

.conversation-states-page .state-add-form .text-area.small[b-y67bxg71hg],
.conversation-states-page .state-editor-panel .prompt-editor-textarea[b-y67bxg71hg] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    width: 100%;
    margin-bottom: 8px;
}

.conversation-states-page .aliases-panel li[b-y67bxg71hg] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.conversation-states-page .aliases-panel .small[b-y67bxg71hg] {
    padding: 4px 8px;
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .conversation-states-page .conversation-states-layout[b-y67bxg71hg] {
        grid-template-columns: 1fr;
    }
}
/* _content/Farma.Blazor.UI/Components/Pages/AdminKeyMessages.razor.rz.scp.css */
.key-messages-page .conversation-states-header[b-47gnhfoxhw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.key-messages-page .conversation-states-layout[b-47gnhfoxhw] {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 20px;
}

.key-messages-page[b-47gnhfoxhw]  .state-list-panel,
.key-messages-page[b-47gnhfoxhw]  .state-editor-panel {
    min-height: 400px;
}

.key-messages-page[b-47gnhfoxhw]  .key-messages-list-panel {
    display: flex;
    flex-direction: column;
}

.key-messages-page[b-47gnhfoxhw]  .key-messages-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    flex: 1;
}

.key-messages-page[b-47gnhfoxhw]  .key-messages-list-item {
    margin: 0 0 6px;
}

.key-messages-page[b-47gnhfoxhw]  .state-item-button {
    width: 100%;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #1f2937;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
}

.key-messages-page[b-47gnhfoxhw]  .state-item-button.selected {
    border-color: #2563eb;
    background: #dbeafe;
}

.key-messages-page[b-47gnhfoxhw]  .key-messages-add-button {
    width: 100%;
    margin-top: auto;
}

.key-messages-page[b-47gnhfoxhw]  .key-messages-editor-panel label {
    display: block;
    margin-bottom: 8px;
}

.key-messages-page[b-47gnhfoxhw]  .key-messages-editor-panel .prompt-editor-textarea {
    width: 100%;
}

@media (max-width: 900px) {
    .key-messages-page .conversation-states-layout[b-47gnhfoxhw] {
        grid-template-columns: 1fr;
    }
}
/* _content/Farma.Blazor.UI/Components/Pages/AdminPersonalitySettings.razor.rz.scp.css */
.prompt-catalog-page .prompt-catalog-layout[b-ycsn2o007x] {
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 20px;
}

.prompt-catalog-page .prompt-list-panel[b-ycsn2o007x],
.prompt-catalog-page .prompt-editor-panel[b-ycsn2o007x] {
    min-height: 520px;
}

.prompt-catalog-page .prompt-category-block h4[b-ycsn2o007x] {
    margin-bottom: 8px;
}

.prompt-catalog-page .prompt-category-block ul[b-ycsn2o007x] {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.prompt-catalog-page .prompt-item-button[b-ycsn2o007x] {
    width: 100%;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #1f2937;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
    margin-bottom: 6px;
}

    .prompt-catalog-page .prompt-item-button.selected[b-ycsn2o007x] {
        border-color: #2563eb;
        background: #dbeafe;
    }

.prompt-catalog-page .prompt-add-form[b-ycsn2o007x] {
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
}

.prompt-catalog-page .prompt-add-form .form-actions[b-ycsn2o007x] {
    margin-top: 10px;
}

.prompt-catalog-page .prompt-editor-textarea[b-ycsn2o007x] {
    min-height: 420px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    margin-bottom: 12px;
}

.prompt-catalog-page .session-timeouts-panel[b-ycsn2o007x] {
    margin-top: 24px;
}

.prompt-catalog-page .session-timeouts-description[b-ycsn2o007x] {
    color: #6b7280;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.prompt-catalog-page .session-timeouts-table[b-ycsn2o007x] {
    width: 100%;
    border-collapse: collapse;
}

.prompt-catalog-page .session-timeouts-table th[b-ycsn2o007x],
.prompt-catalog-page .session-timeouts-table td[b-ycsn2o007x] {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.prompt-catalog-page .session-timeout-input[b-ycsn2o007x] {
    width: 80px;
}

.prompt-catalog-page .error-inline[b-ycsn2o007x] {
    color: #dc2626;
    font-size: 0.875rem;
    margin-left: 8px;
}

@media (max-width: 900px) {
    .prompt-catalog-page .prompt-catalog-layout[b-ycsn2o007x] {
        grid-template-columns: 1fr;
    }
}
/* _content/Farma.Blazor.UI/Components/Pages/AdminPersonalityVoicesPanel.razor.rz.scp.css */
.personality-voice-page .voice-table[b-1aagnsdumt] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.personality-voice-page .voice-table th[b-1aagnsdumt],
.personality-voice-page .voice-table td[b-1aagnsdumt] {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}

.personality-voice-page .voice-table code[b-1aagnsdumt] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
}

.personality-voice-page .voice-table select[b-1aagnsdumt] {
    min-width: 180px;
}

.personality-voice-page .gender-tag[b-1aagnsdumt] {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 600;
}

.personality-voice-page .personality-name[b-1aagnsdumt] {
    line-height: 1.25;
}
/* _content/Farma.Blazor.UI/Components/Pages/AdminReportQuestions.razor.rz.scp.css */
.report-questions-page .conversation-states-header[b-ht7eubioyu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.report-questions-page .conversation-states-layout[b-ht7eubioyu] {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 20px;
}

.report-questions-page[b-ht7eubioyu]  .state-list-panel,
.report-questions-page[b-ht7eubioyu]  .state-editor-panel {
    min-height: 400px;
}

.report-questions-page[b-ht7eubioyu]  .report-questions-list-panel {
    display: flex;
    flex-direction: column;
}

.report-questions-page[b-ht7eubioyu]  .report-questions-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    flex: 1;
}

.report-questions-page[b-ht7eubioyu]  .report-questions-list-item {
    margin: 0 0 6px;
}

.report-questions-page[b-ht7eubioyu]  .state-item-button {
    width: 100%;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #1f2937;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
}

.report-questions-page[b-ht7eubioyu]  .state-item-button.selected {
    border-color: #2563eb;
    background: #dbeafe;
}

.report-questions-page[b-ht7eubioyu]  .report-questions-add-button {
    width: 100%;
    margin-top: auto;
}

.report-questions-page[b-ht7eubioyu]  .report-questions-editor-panel label {
    display: block;
    margin-bottom: 8px;
}

.report-questions-page[b-ht7eubioyu]  .report-questions-editor-panel .prompt-editor-textarea {
    width: 100%;
}

@media (max-width: 900px) {
    .report-questions-page .conversation-states-layout[b-ht7eubioyu] {
        grid-template-columns: 1fr;
    }
}
