@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';
@import '_content/PSC.Blazor.Components.MarkdownEditor/PSC.Blazor.Components.MarkdownEditor.mlg14ggzcc.bundle.scp.css';

/* /Components/ApiHealthStatusComponent.razor.rz.scp.css */
.health-status-component[b-hnepkwjzwn] {
    margin-bottom: 16px;
    width: 100%;
}

[b-hnepkwjzwn] .health-status-card {
    border-left: 4px solid;
    padding: 16px;
    width: 100%;
}

    [b-hnepkwjzwn] .health-status-card.loading {
        border-left-color: var(--accent-fill-rest);
    }

    [b-hnepkwjzwn] .health-status-card.healthy {
        border-left-color: var(--success-fill-rest);
        background-color: var(--success-fill-subtle);
    }

    [b-hnepkwjzwn] .health-status-card.unhealthy {
        border-left-color: var(--error-fill-rest);
        background-color: var(--error-fill-subtle);
    }

[b-hnepkwjzwn] .font-semibold {
    font-weight: 600;
}

[b-hnepkwjzwn] .font-bold {
    font-weight: 700;
}

[b-hnepkwjzwn] .duration-text {
    color: var(--neutral-foreground-rest);
    opacity: 0.8;
    font-size: 0.85em;
}

[b-hnepkwjzwn] .error-message {
    color: var(--error-foreground-rest);
}

[b-hnepkwjzwn] .technical-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[b-hnepkwjzwn] .error-details {
    background-color: var(--neutral-fill-subtle);
    padding: 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-all;
}

[b-hnepkwjzwn] .health-results {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

[b-hnepkwjzwn] .health-result-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background-color: var(--neutral-fill-subtle);
    border-radius: 4px;
    font-size: 12px;
}

[b-hnepkwjzwn] .result-name {
    font-weight: 600;
    min-width: 120px;
}

[b-hnepkwjzwn] .result-status {
    min-width: 80px;
}

[b-hnepkwjzwn] .result-duration {
    margin-left: auto;
    color: var(--neutral-foreground-rest);
    opacity: 0.8;
}
/* /Components/ApplicationInitializer.razor.rz.scp.css */
.logo-container[b-e65megrggd] {
    margin-bottom: 20px;
}

.retry-info[b-e65megrggd] {
    color: var(--warning-foreground-rest);
    font-style: italic;
    font-size: 0.9em;
}

[b-e65megrggd] .initialization-card {
    min-height: 450px;
    max-height: 550px;
}
/* /Components/ColorPaletteSwatches.razor.rz.scp.css */
[b-bhz41q3o2n] .swatch-group-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--neutral-foreground-hint);
}

.swatch-chip-list[b-bhz41q3o2n] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Intentionally mirrors .meta-chip/.service-label-badge in
   ThirdPartyServicesPage.razor.css (same border-radius/border/background
   tokens) for visual consistency with the app's other pill-shaped chips.
   If that pattern's shape changes, update this one to match. */
.swatch-chip[b-bhz41q3o2n] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 7px 2px 5px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 10px;
    background: var(--neutral-fill-subtle-rest);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.swatch-dot[b-bhz41q3o2n] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.swatch-name[b-bhz41q3o2n] {
    font-size: 10px;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    white-space: nowrap;
}

.swatch-hex[b-bhz41q3o2n] {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 10px;
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
}

.swatch-chip-match[b-bhz41q3o2n] {
    border-color: var(--accent-fill-rest);
    box-shadow: 0 0 0 2px var(--accent-fill-subtle);
    background: var(--accent-fill-subtle);
}
/* /Components/ColorSettingsCard.razor.rz.scp.css */
[b-fse7ye2vcb] .color-settings-item-card {
    padding: 12px 14px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    /* No explicit height here: leaving it auto lets the parent grid's
       align-items: stretch (declared explicitly on .palette-grid and
       .items-grid) equalize card heights within a row. Setting height: 100%
       here would resolve against the row's auto-sized track (indefinite),
       which CSS treats as auto and defeats the stretch. */
}

[b-fse7ye2vcb] .color-settings-item-card:hover {
    border-color: var(--accent-stroke-control-rest);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[b-fse7ye2vcb] .color-settings-item-card.highlighted {
    border-color: var(--accent-fill-rest);
    background-color: var(--accent-fill-subtle);
}

/* The height: 100% needed here to fill the grid-stretched card (so the actions
   row can be pinned to the bottom via margin-top: auto) is set inline on the
   <FluentStack> in ColorSettingsCard.razor instead of here: inline style
   specificity always wins over this class selector, so asserting it in both
   places would just be a second, easy-to-miss source of truth. */
[b-fse7ye2vcb] .color-settings-item-card > fluent-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.card-header-row[b-fse7ye2vcb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

[b-fse7ye2vcb] .item-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-row[b-fse7ye2vcb] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-actions-row[b-fse7ye2vcb] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    border-top: 1px solid var(--neutral-stroke-subtle);
    padding-top: 8px;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.primary-action-slot[b-fse7ye2vcb] {
    display: flex;
    align-items: center;
    gap: 6px;
}
/* /Components/ColorSettingsSearchBar.razor.rz.scp.css */
[b-zctvl63f4d] .search-bar-card {
    padding: 12px 16px;
    border-radius: 10px;
}

[b-zctvl63f4d] .search-bar-input {
    flex: 1 1 280px;
    min-width: 220px;
}

[b-zctvl63f4d] .search-bar-count {
    font-size: 13px;
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
}
/* /Components/CountryStateCityPicker.razor.rz.scp.css */
.csc-label[b-6k7oq6yu8y] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-foreground-rest, currentColor);
}

.csc-field-row[b-6k7oq6yu8y] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.csc-select[b-6k7oq6yu8y] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.csc-inline-spinner[b-6k7oq6yu8y] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}
/* /Components/EasyMdeEditor.razor.rz.scp.css */
/* Constrain images inside the EasyMDE preview and side-by-side panes
   to the viewport / editor width so they never overflow. */
[b-5ht6ktz3ig] .editor-preview img,
[b-5ht6ktz3ig] .editor-preview-side img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* /Components/ErrorCard.razor.rz.scp.css */
.error-card[b-fi3qf12l11] {
    background-color: #fff4f4;
    border-left: 5px solid #d13438;
    box-shadow: 0 2px 8px rgba(209,52,56,0.08);
    max-width: 500px;
    max-height: 250px;
    margin-top: 32px;
}

.error-card-stack[b-fi3qf12l11] {
    padding: 24px;
}

.error-icon[b-fi3qf12l11] {
    color: #d13438;
    font-size: 32px;
}

.error-title[b-fi3qf12l11] {
    color: #d13438;
}

.error-message[b-fi3qf12l11] {
    color: #333;
}
/* /Components/ImageUrlSelector.razor.rz.scp.css */
/* Main container */
.image-url-selector[b-pukg32do6z] {
    display: inline-block;
    vertical-align: top;
}

.image-url-selector.disabled[b-pukg32do6z] {
    opacity: 0.6;
    pointer-events: none;
}

/* Size-specific styling */
.image-url-selector.size-small .preview-container[b-pukg32do6z],
.image-url-selector.size-icon .preview-container[b-pukg32do6z],
.image-url-selector.size-favicon .preview-container[b-pukg32do6z] {
    min-width: 60px;
    min-height: 60px;
}

.image-url-selector.size-favicon .preview-container[b-pukg32do6z] {
    min-width: 32px;
    min-height: 32px;
}

/* Preview container - CENTERED */
.preview-container[b-pukg32do6z] {
    position: relative;
    border: 2px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    overflow: hidden;
    transition: all 0.2s ease;
    box-sizing: border-box;
    /* CENTER THE CONTAINER */
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-container.rounded[b-pukg32do6z] {
    border-radius: 50%;
}

.preview-container.clickable[b-pukg32do6z] {
    cursor: pointer;
}

.preview-container:hover[b-pukg32do6z] {
    border-color: var(--accent-fill-rest);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preview-container.clickable:hover[b-pukg32do6z] {
    border-color: var(--accent-fill-rest);
    background: var(--accent-fill-subtle);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.preview-container.clickable:active[b-pukg32do6z] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* States - CENTERED */
.loading-state[b-pukg32do6z],
.error-state[b-pukg32do6z],
.empty-state[b-pukg32do6z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px;
    text-align: center;
    box-sizing: border-box;
}

.error-state[b-pukg32do6z] {
    background: var(--error-fill-subtle);
}

.error-state.clickable[b-pukg32do6z] {
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-state.clickable:hover[b-pukg32do6z] {
    background: var(--error-fill-secondary);
}

.empty-state[b-pukg32do6z] {
    background: var(--neutral-layer-2);
    border: 2px dashed var(--neutral-stroke-rest);
    transition: all 0.2s ease;
    position: relative;
}

.empty-state.clickable[b-pukg32do6z] {
    cursor: pointer;
}

.empty-state.clickable:hover[b-pukg32do6z] {
    border-color: var(--accent-stroke-rest);
    background: var(--accent-fill-subtle);
}

.empty-state.clickable:hover .click-indicator[b-pukg32do6z] {
    opacity: 1;
    transform: scale(1.1);
}

/* Empty state label styling */
.empty-state-label[b-pukg32do6z] {
    margin-top: 8px;
    color: var(--neutral-foreground-rest);
    text-align: center;
    line-height: 1.2;
}

.empty-state-label.small-text[b-pukg32do6z] {
    font-size: 11px;
}

.empty-state-label.normal-text[b-pukg32do6z] {
    font-size: 14px;
}

/* Click indicator */
.click-indicator[b-pukg32do6z] {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent-fill-rest);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.2s ease;
    transform: scale(0.9);
}

/* Size-specific click indicator positioning */
.size-small .click-indicator[b-pukg32do6z],
.size-icon .click-indicator[b-pukg32do6z],
.size-favicon .click-indicator[b-pukg32do6z] {
    width: 16px;
    height: 16px;
    top: 4px;
    right: 4px;
}

.size-favicon .click-indicator[b-pukg32do6z] {
    width: 12px;
    height: 12px;
}

/* Image preview - CENTERED AND NO OVERLAYS */
.image-preview[b-pukg32do6z] {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview img[b-pukg32do6z] {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.2s ease;
    background: var(--neutral-layer-2);
    /* CENTERED IMAGE */
    display: block;
}

.image-preview:hover img[b-pukg32do6z] {
    transform: scale(1.03);
}

/* EXTERNAL ACTIONS ONLY - All action buttons moved outside */
.external-actions[b-pukg32do6z] {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.small-external-actions[b-pukg32do6z] {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.regular-external-actions[b-pukg32do6z] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* BORDERLESS SEAMLESS BUTTONS */
.external-actions fluent-button[b-pukg32do6z] {
    /* Remove borders and backgrounds for seamless look */
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 32px;
    min-height: 32px;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: var(--neutral-foreground-rest);
}

.external-actions fluent-button:hover[b-pukg32do6z] {
    background: var(--neutral-fill-subtle) !important;
    color: var(--accent-foreground-rest) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.external-actions fluent-button:active[b-pukg32do6z] {
    transform: translateY(0);
    box-shadow: none !important;
}

.small-external-actions fluent-button[b-pukg32do6z] {
    min-width: 28px;
    min-height: 28px;
    padding: 4px;
}

/* Size-specific external actions */
.external-actions.size-favicon[b-pukg32do6z],
.external-actions.size-icon[b-pukg32do6z] {
    margin-top: 8px;
}

.external-actions.size-favicon .small-external-actions fluent-button[b-pukg32do6z],
.external-actions.size-icon .small-external-actions fluent-button[b-pukg32do6z] {
    min-width: 24px;
    min-height: 24px;
    padding: 2px;
}

/* Special styling for remove/delete buttons */
.external-actions fluent-button.remove-action[b-pukg32do6z] {
    color: var(--error-rest) !important;
}

.external-actions fluent-button.remove-action:hover[b-pukg32do6z] {
    background: var(--error-fill-subtle) !important;
    color: var(--error-rest) !important;
}

/* OVERLAY ACTIONS FOR LOADED IMAGES (when not empty) */
.image-loaded-actions[b-pukg32do6z] {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.image-preview:hover .image-loaded-actions[b-pukg32do6z] {
    opacity: 1;
}

.image-loaded-actions fluent-button[b-pukg32do6z] {
    border: none !important;
    background: transparent !important;
    color: white !important;
    min-width: 24px;
    min-height: 24px;
    padding: 4px;
    border-radius: 4px;
}

.image-loaded-actions fluent-button:hover[b-pukg32do6z] {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Size-specific loaded actions */
.size-small .image-loaded-actions[b-pukg32do6z],
.size-icon .image-loaded-actions[b-pukg32do6z],
.size-favicon .image-loaded-actions[b-pukg32do6z] {
    bottom: 4px;
    padding: 2px 6px;
    gap: 4px;
}

.size-favicon .image-loaded-actions[b-pukg32do6z] {
    display: none; /* Too small for overlay actions */
}

/* Image information */
.image-info[b-pukg32do6z] {
    margin-top: 6px;
    text-align: center;
}

.image-info > *[b-pukg32do6z] {
    display: block;
    margin: 2px 0;
    word-break: break-all;
}

/* Size-specific image info */
.size-small .image-info[b-pukg32do6z],
.size-icon .image-info[b-pukg32do6z],
.size-favicon .image-info[b-pukg32do6z] {
    font-size: 10px;
}

/* Action buttons for warnings/errors */
.action-buttons[b-pukg32do6z] {
    margin-top: 8px;
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Validation message */
.validation-message[b-pukg32do6z] {
    margin-top: 4px;
    text-align: center;
}

/* Loading animation */
@keyframes pulse-b-pukg32do6z {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-state[b-pukg32do6z] {
    animation: pulse-b-pukg32do6z 2s infinite;
}

/* Improved interaction feedback */
@keyframes clickFeedback-b-pukg32do6z {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.preview-container.clickable:active[b-pukg32do6z] {
    animation: clickFeedback-b-pukg32do6z 0.1s ease-in-out;
}

/* Focus states for accessibility */
.preview-container:focus-within[b-pukg32do6z],
.preview-container.clickable:focus[b-pukg32do6z] {
    outline: 2px solid var(--accent-fill-rest);
    outline-offset: 2px;
}

.external-actions fluent-button:focus[b-pukg32do6z] {
    outline: 2px solid var(--accent-fill-rest);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-loaded-actions[b-pukg32do6z] {
        opacity: 1; /* Always visible on mobile */
    }
    
    .regular-external-actions[b-pukg32do6z] {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .external-actions fluent-button[b-pukg32do6z] {
        min-height: 36px; /* Larger touch targets */
    }

    /* Mobile-friendly click indicator */
    .click-indicator[b-pukg32do6z] {
        opacity: 1;
        transform: scale(1);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .preview-container[b-pukg32do6z] {
        border-width: 3px;
    }
    
    .empty-state[b-pukg32do6z] {
        border-width: 3px;
    }

    .external-actions fluent-button[b-pukg32do6z] {
        border: 2px solid var(--neutral-stroke-rest) !important;
    }

    .external-actions fluent-button:hover[b-pukg32do6z] {
        border-color: var(--accent-fill-rest) !important;
    }

    .click-indicator[b-pukg32do6z] {
        border: 2px solid var(--neutral-stroke-rest);
    }

    .image-loaded-actions[b-pukg32do6z] {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .preview-container[b-pukg32do6z],
    .image-preview img[b-pukg32do6z],
    .external-actions fluent-button[b-pukg32do6z],
    .image-loaded-actions[b-pukg32do6z],
    .click-indicator[b-pukg32do6z] {
        transition: none;
    }
}
/* /Components/LocationTreePicker.razor.rz.scp.css */
[b-9xmrkfziw7] .location-tree-picker {
    padding: 12px 16px;
    border-radius: 10px;
}

[b-9xmrkfziw7] .location-tree-search {
    max-width: 320px;
    margin-bottom: 4px;
}

[b-9xmrkfziw7] .location-tree-node {
    padding: 4px 6px;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

[b-9xmrkfziw7] .location-tree-node:hover {
    background-color: var(--neutral-layer-2);
}

[b-9xmrkfziw7] .location-tree-node-search {
    max-width: 280px;
    width: 100%;
}
/* /Components/SiteMessageDefinitionEditor.razor.rz.scp.css */
/* SiteMessageDefinitionEditor Component Styles */

.site-message-editor[b-dhfd3bx39d] {
    background: var(--neutral-layer-floating);
    border-radius: 12px;
    border: 1px solid var(--neutral-stroke-card-default);
    box-shadow: var(--elevation-shadow-card-rest);
    margin-bottom: 20px;
    /* overflow: hidden removed — would clip FluentSelect dropdowns */
}

.editor-container[b-dhfd3bx39d] {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* =============================================================================
   Header Section
   ============================================================================= */

.editor-header[b-dhfd3bx39d] {
    margin-bottom: 8px;
}

.header-content[b-dhfd3bx39d] {
    width: 100%;
    align-items: flex-start;
    gap: 16px;
}

.key-input-section[b-dhfd3bx39d] {
    flex: 1;
    min-width: 200px;
}

.header-actions[b-dhfd3bx39d] {
    flex-shrink: 0;
}

.action-button[b-dhfd3bx39d] {
    min-width: 90px;
    transition: all 0.2s ease;
}

.action-button:hover[b-dhfd3bx39d] {
    transform: translateY(-1px);
    box-shadow: var(--elevation-shadow-card-hover);
}

.delete-button:hover[b-dhfd3bx39d] {
    background: var(--error-fill-hover) !important;
    color: white !important;
}

/* =============================================================================
   Messages Section
   ============================================================================= */

.messages-section[b-dhfd3bx39d] {
    width: 100%;
}

.messages-list[b-dhfd3bx39d] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.message-item[b-dhfd3bx39d] {
    border: 1px solid var(--neutral-stroke-card-default);
    border-radius: 8px;
    background: var(--neutral-layer-card-default);
    transition: all 0.2s ease;
    /* overflow: hidden removed — would clip FluentSelect dropdowns */
    width: 100%;
    box-sizing: border-box;
}

.message-item:hover[b-dhfd3bx39d] {
    border-color: var(--accent-stroke-control-default);
    box-shadow: var(--elevation-shadow-card-hover);
    transform: translateY(-1px);
}

.message-item-content[b-dhfd3bx39d] {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

.message-item-header[b-dhfd3bx39d] {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--neutral-stroke-divider);
}

.remove-button[b-dhfd3bx39d] {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.message-item:hover .remove-button[b-dhfd3bx39d] {
    opacity: 1;
}

/* =============================================================================
   Form Fields Grid
   ============================================================================= */

.message-fields-grid[b-dhfd3bx39d] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    width: 100%;
    align-items: start;
}

.field-group[b-dhfd3bx39d] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0; /* Allows flex items to shrink below content size */
}

.field-full-width[b-dhfd3bx39d] {
    grid-column: 1 / -1; /* Span all columns */
}

/* Specific field styling */
.language-select[b-dhfd3bx39d],
.level-select[b-dhfd3bx39d] {
    min-width: 150px;
}

.title-field[b-dhfd3bx39d],
.body-field[b-dhfd3bx39d],
.link-field[b-dhfd3bx39d],
.expires-field[b-dhfd3bx39d] {
    width: 100%;
}

.root[b-dhfd3bx39d] {
    position: unset !important;
}

.body-field[b-dhfd3bx39d] {
    min-height: 80px;
}

/* =============================================================================
   Empty State
   ============================================================================= */

.empty-state[b-dhfd3bx39d] {
    border: 2px dashed var(--neutral-stroke-divider);
    background: var(--neutral-layer-card-default);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.empty-state:hover[b-dhfd3bx39d] {
    border-color: var(--accent-stroke-control-default);
    background: var(--neutral-layer-card-hover);
}

/* =============================================================================
   Responsive Design
   ============================================================================= */

@media (max-width: 768px) {
    .editor-container[b-dhfd3bx39d] {
        padding: 16px;
    }

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

    .key-input-section[b-dhfd3bx39d] {
        width: 100%;
    }

    .header-actions[b-dhfd3bx39d] {
        width: 100%;
    }

    .header-actions fluent-stack[b-dhfd3bx39d] {
        justify-content: center;
    }

    .action-button[b-dhfd3bx39d] {
        flex: 1;
        min-width: 80px;
    }

    .message-fields-grid[b-dhfd3bx39d] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .field-full-width[b-dhfd3bx39d] {
        grid-column: 1;
    }

    .message-item-header fluent-stack[orientation="Horizontal"][b-dhfd3bx39d] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .remove-button[b-dhfd3bx39d] {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .editor-container[b-dhfd3bx39d] {
        padding: 12px;
    }

    .message-item-content[b-dhfd3bx39d] {
        padding: 12px;
    }

    .messages-list[b-dhfd3bx39d] {
        gap: 12px;
    }

    .action-button[b-dhfd3bx39d] {
        font-size: 0.875rem;
        padding: 8px 12px;
    }

    .header-actions fluent-stack[b-dhfd3bx39d] {
        flex-direction: column;
        gap: 6px;
    }

    .action-button[b-dhfd3bx39d] {
        width: 100%;
    }
}

/* =============================================================================
   FluentUI Component Overrides
   ============================================================================= */

.site-message-editor fluent-text-field[b-dhfd3bx39d],
.site-message-editor fluent-text-area[b-dhfd3bx39d],
.site-message-editor fluent-select[b-dhfd3bx39d],
.site-message-editor fluent-date-picker[b-dhfd3bx39d] {
    width: 100%;
    transition: all 0.2s ease;
}

.site-message-editor fluent-text-field:hover[b-dhfd3bx39d],
.site-message-editor fluent-text-area:hover[b-dhfd3bx39d],
.site-message-editor fluent-select:hover[b-dhfd3bx39d],
.site-message-editor fluent-date-picker:hover[b-dhfd3bx39d] {
    transform: translateY(-1px);
}

/* Badge styling improvements */
.site-message-editor fluent-badge[b-dhfd3bx39d] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Focus management */
.site-message-editor:focus-within[b-dhfd3bx39d] {
    outline: 2px solid var(--accent-stroke-control-default);
    outline-offset: 2px;
}

/* Animation for adding/removing items */
@keyframes slideInDown-b-dhfd3bx39d {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-item[b-dhfd3bx39d] {
    animation: slideInDown-b-dhfd3bx39d 0.3s ease-out;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-message-editor[b-dhfd3bx39d] {
        border-width: 2px;
    }

    .message-item[b-dhfd3bx39d] {
        border-width: 2px;
    }

    .message-item-header[b-dhfd3bx39d] {
        border-bottom-width: 2px;
    }
}

/* Print styles */
@media print {
    .header-actions[b-dhfd3bx39d] {
        display: none;
    }

    .remove-button[b-dhfd3bx39d] {
        display: none;
    }

    .site-message-editor[b-dhfd3bx39d] {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
/* /Components/SourceMultiSelect.razor.rz.scp.css */
[b-9a9qq2on3s] .source-multi-select-search {
    max-width: 320px;
    flex: 1;
}

[b-9a9qq2on3s] .source-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    width: 100%;
}

[b-9a9qq2on3s] .source-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--neutral-stroke-divider);
    border-radius: 8px;
    background: var(--neutral-layer-2);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

[b-9a9qq2on3s] .source-option-card:hover {
    background: var(--neutral-layer-3);
    border-color: var(--accent-stroke-rest);
}

[b-9a9qq2on3s] .source-option-card.selected {
    background: var(--accent-fill-subtle);
    border-color: var(--accent-fill-rest);
}

[b-9a9qq2on3s] .source-option-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

[b-9a9qq2on3s] .source-option-label {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-9a9qq2on3s] .source-option-id {
    font-size: 0.75rem;
    color: var(--neutral-foreground-hint);
}

[b-9a9qq2on3s] .source-option-check {
    flex-shrink: 0;
    opacity: 0;
}

[b-9a9qq2on3s] .source-option-card.selected .source-option-check {
    opacity: 1;
}
/* /Components/StatusBadge.razor.rz.scp.css */
.status-badge[b-93j3i8azc7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

.status-badge-success[b-93j3i8azc7] {
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.35);
}

.status-badge-info[b-93j3i8azc7] {
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.35);
}

.status-badge-neutral[b-93j3i8azc7] {
    border: 1px solid var(--neutral-stroke-rest);
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
}

.status-badge-icon[b-93j3i8azc7] {
    font-size: 12px;
}
/* /Dialog/AppColorSettingsDialog.razor.rz.scp.css */
/* ── Metadata bar (key input) ─────────────────────────────────── */
.appcolor-meta-bar[b-an4ohym025] {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-subtle-rest);
    margin-bottom: 14px;
}

.appcolor-key-input[b-an4ohym025] {
    min-width: 260px;
    flex: 1;
    max-width: 420px;
}

/* ── Two-column palette grid ──────────────────────────────────── */
.appcolor-palettes-grid[b-an4ohym025] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    max-height: 62vh;
    overflow-y: auto;
    padding-right: 4px;
}

@media (max-width: 640px) {
    .appcolor-palettes-grid[b-an4ohym025] {
        grid-template-columns: 1fr;
    }
}

/* ── Palette column ───────────────────────────────────────────── */
.appcolor-palette-col[b-an4ohym025] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.appcolor-palette-col-body[b-an4ohym025] {
    flex: 1;
    min-width: 0;
    transition: opacity 0.2s ease;
}

.appcolor-palette-col-body--dimmed[b-an4ohym025] {
    opacity: 0.35;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

/* ── Column headers ───────────────────────────────────────────── */
.appcolor-palette-col-header[b-an4ohym025] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px 6px 0 0;
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 2px solid transparent;
}

.appcolor-palette-col-header--light[b-an4ohym025] {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom-color: #d97706;
}

.appcolor-palette-col-header--dark[b-an4ohym025] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-bottom-color: #6366f1;
}

.appcolor-palette-col-title[b-an4ohym025] {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    flex: 1;
}

.appcolor-palette-col-header--light .appcolor-palette-col-title[b-an4ohym025] {
    color: #92400e;
}

.appcolor-palette-col-header--dark .appcolor-palette-col-title[b-an4ohym025] {
    color: #3730a3;
}

/* Push the toggle to the far right of the dark header */
.appcolor-dark-toggle[b-an4ohym025] {
    margin-left: auto;
}

/* ── Dark-disabled placeholder ────────────────────────────────── */
.appcolor-dark-disabled[b-an4ohym025] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--neutral-foreground-hint);
    font-style: italic;
    text-align: center;
    padding: 40px 16px;
    opacity: 0.6;
}
/* /Dialog/AssetBrowserDialog.razor.rz.scp.css */
/* Asset Browser Dialog Styles */

.asset-browser-grid[b-9l1fkqi2s4] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 8px;
}

.asset-browser-item[b-9l1fkqi2s4] {
    border: 2px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--neutral-layer-1);
}

.asset-browser-item:hover[b-9l1fkqi2s4] {
    border-color: var(--accent-fill-rest);
    background: var(--accent-fill-subtle);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.asset-browser-preview[b-9l1fkqi2s4] {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-layer-2);
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}

.asset-browser-preview img[b-9l1fkqi2s4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.asset-browser-info[b-9l1fkqi2s4] {
    text-align: center;
}

.asset-browser-info > *[b-9l1fkqi2s4] {
    display: block;
    margin: 2px 0;
    word-break: break-all;
}

.no-assets-found[b-9l1fkqi2s4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .asset-browser-grid[b-9l1fkqi2s4] {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }

    .asset-browser-preview[b-9l1fkqi2s4] {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .asset-browser-grid[b-9l1fkqi2s4] {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 6px;
    }

    .asset-browser-preview[b-9l1fkqi2s4] {
        height: 50px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .asset-browser-item[b-9l1fkqi2s4] {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .asset-browser-item[b-9l1fkqi2s4] {
        transition: none;
    }
}

/* Focus styles for accessibility */
.asset-browser-item:focus-within[b-9l1fkqi2s4] {
    outline: 2px solid var(--accent-fill-rest);
    outline-offset: 2px;
}
/* /Dialog/ColorPicker.razor.rz.scp.css */
.color-picker-row[b-h3wrsoedgw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.color-picker-input[b-h3wrsoedgw] {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
    position: relative;
    overflow: hidden;
}

    .color-picker-input:hover[b-h3wrsoedgw] {
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        transform: translateY(-1px);
    }

    .color-picker-input:focus[b-h3wrsoedgw] {
        box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 0 3px rgba(0, 120, 212, 0.3);
        transform: translateY(-1px);
    }

    .color-picker-input[b-h3wrsoedgw]::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
        pointer-events: none;
        border-radius: 50%;
    }

.color-picker-hex-input[b-h3wrsoedgw] {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    width: 72px;
    padding: 2px 4px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 4px;
    background: var(--neutral-layer-1);
    color: var(--neutral-foreground-rest);
    outline: none;
    transition: border-color 0.15s ease;
}

    .color-picker-hex-input:focus[b-h3wrsoedgw] {
        border-color: var(--accent-fill-rest);
    }

.color-picker-hex-error[b-h3wrsoedgw] {
    border-color: #d13438 !important;
}

.color-picker-error[b-h3wrsoedgw] {
    color: #d13438;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.color-picker-container[b-h3wrsoedgw] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
/* /Dialog/EditDomainDialog.razor.rz.scp.css */
.domain-key-field-row[b-mnx5g19ttm] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
}

    .domain-key-field-row fluent-text-field[b-mnx5g19ttm] {
        flex: 1;
        min-width: 0;
    }
/* /Dialog/HttpClientDialog.razor.rz.scp.css */
/* HttpClientDialog specific styles */
.http-client-dialog-content[b-eah6fi02j5] {
    width: 100%;
    max-width: 100%;
}

.http-client-form[b-eah6fi02j5] {
    width: 100%;
}

.http-client-form fluent-text-field[b-eah6fi02j5],
.http-client-form fluent-number-field[b-eah6fi02j5] {
    width: 100%;
}

.headers-section[b-eah6fi02j5] {
    width: 100%;
}

.header-row[b-eah6fi02j5] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-row fluent-text-field[b-eah6fi02j5] {
    min-width: 0;
}

.header-key-field[b-eah6fi02j5] {
    flex: 1;
    min-width: 120px;
}

.header-value-field[b-eah6fi02j5] {
    flex: 2;
    min-width: 160px;
}

.header-remove-button[b-eah6fi02j5] {
    flex-shrink: 0;
    width: auto;
}

.headers-empty-state[b-eah6fi02j5] {
    text-align: center;
    padding: 20px;
    color: var(--neutral-foreground-hint);
    font-style: italic;
}

/* Dialog footer button styling */
fluent-dialog-footer fluent-button[b-eah6fi02j5] {
    min-width: 100px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .header-row[b-eah6fi02j5] {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .header-key-field[b-eah6fi02j5],
    .header-value-field[b-eah6fi02j5] {
        flex: 1;
        min-width: auto;
        width: 100%;
    }
    
    .header-remove-button[b-eah6fi02j5] {
        align-self: flex-end;
        width: auto;
    }
}

/* Loading state styling */
.dialog-loading fluent-progress-ring[b-eah6fi02j5] {
    margin-right: 8px;
}

/* Error message styling */
fluent-message-bar[b-eah6fi02j5] {
    margin-bottom: 16px;
}

/* Form validation styling */
fluent-validation-summary[b-eah6fi02j5] {
    margin-bottom: 16px;
}
/* /Dialog/ImportDomainsDialog.razor.rz.scp.css */
/* Import Domains Dialog Styles */
.import-domains-btn[b-08is86ur2a] {
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.import-domains-btn:hover[b-08is86ur2a] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Domain preview cards in dialog */
.domain-preview-card[b-08is86ur2a] {
    border: 1px solid var(--neutral-stroke-rest);
    background-color: var(--neutral-layer-2);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease-in-out;
}

.domain-preview-card:hover[b-08is86ur2a] {
    background-color: var(--neutral-layer-3);
    border-color: var(--accent-fill-rest);
}

.domain-preview-card.selected[b-08is86ur2a] {
    border-color: var(--accent-fill-rest);
    background-color: var(--accent-fill-subtle);
}

/* Error card styling */
.error-card[b-08is86ur2a] {
    border-left: 4px solid var(--error);
    background-color: var(--error-background, var(--neutral-layer-1));
    border-radius: 8px;
    padding: 16px;
}

/* File upload area styling */
fluent-input-file label[b-08is86ur2a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    border: 2px dashed var(--neutral-stroke-rest);
    border-radius: 8px;
    background-color: var(--neutral-layer-1);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    min-height: 120px;
}

fluent-input-file label:hover[b-08is86ur2a] {
    border-color: var(--accent-fill-rest);
    background-color: var(--accent-fill-subtle);
}

fluent-input-file label fluent-icon[b-08is86ur2a] {
    margin-bottom: 12px;
    color: var(--accent-fill-rest);
}

/* JSON text area styling */
fluent-text-area textarea[b-08is86ur2a] {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    background-color: var(--neutral-layer-1) !important;
    border: 1px solid var(--neutral-stroke-rest) !important;
    border-radius: 6px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .import-domains-btn[b-08is86ur2a] {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .domain-preview-card[b-08is86ur2a] {
        padding: 12px;
    }
    
    fluent-input-file label[b-08is86ur2a] {
        padding: 20px 12px;
        min-height: 100px;
    }
}
/* /Dialog/LoadingDialog.razor.rz.scp.css */
.loading-dialog[b-i634hhzkru] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 120px;
    text-align: center;
    row-gap: 10px;
}

.loading-dialog fluent-progress-ring[b-i634hhzkru] {
    --progress-thickness: 4px;
}

.loading-dialog fluent-label[b-i634hhzkru] {
    margin-top: 1rem;
    max-width: 320px;
    word-wrap: break-word;
}

.loading-dialog .sub-message[b-i634hhzkru] {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.875rem;
}
/* /Dialog/PaletteEditor.razor.rz.scp.css */
.palette-group[b-apcwi6m9dq] {
    margin-bottom: 16px;
}

.palette-group-header[b-apcwi6m9dq] {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--neutral-foreground-hint);
    padding: 4px 0 6px;
    border-bottom: 1px solid var(--neutral-stroke-subtle-rest);
    margin-bottom: 8px;
}

.palette-editor-grid[b-apcwi6m9dq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.palette-editor-tile[b-apcwi6m9dq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 6px;
    background: var(--neutral-layer-2);
    min-width: 0;
}

.palette-editor-label[b-apcwi6m9dq] {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--neutral-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Dialog/SelectColorSettingsDialog.razor.rz.scp.css */
.color-settings-grid[b-qgfxgy0rit] {
    max-height: 350px;
    overflow-y: auto;
}

.color-sample[b-qgfxgy0rit] {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #ccc;
    display: inline-block;
}

.color-sample-large[b-qgfxgy0rit] {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #ccc;
    display: inline-block;
}

.color-preview-column[b-qgfxgy0rit] {
    width: 80px;
}

.actions-column[b-qgfxgy0rit] {
    width: 200px;
}

.selected-color-card[b-qgfxgy0rit] {
    background: var(--neutral-fill-input-rest);
    border: 2px solid var(--accent-fill-rest);
    border-radius: 8px;
    padding: 16px;
}

.current-row[b-qgfxgy0rit] {
    background-color: var(--accent-fill-subtle);
    border-radius: 4px;
    padding: 4px;
    font-weight: 600;
}
/* /Dialog/SourceDialog.razor.rz.scp.css */
[b-8mzf287ocx] .source-dialog-stack {
    width: 100%;
}

[b-8mzf287ocx] .source-external-id-field {
    max-width: 220px;
}

[b-8mzf287ocx] .source-hint {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    color: var(--neutral-foreground-hint);
}

[b-8mzf287ocx] .source-count-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 0;
}

[b-8mzf287ocx] .source-localization-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
    box-sizing: border-box;
}

[b-8mzf287ocx] .source-localization-card {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid var(--neutral-stroke-card-default);
    border-radius: 10px;
    background: var(--neutral-layer-card-default);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    animation: source-card-in-b-8mzf287ocx 0.2s ease-out;
}

[b-8mzf287ocx] .source-localization-card:hover {
    border-color: var(--accent-stroke-control-default);
    box-shadow: var(--elevation-shadow-card-hover);
    transform: translateY(-1px);
}

[b-8mzf287ocx] .source-localization-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--neutral-stroke-divider);
}

[b-8mzf287ocx] .source-lang-field {
    width: 140px;
    flex-shrink: 0;
}

[b-8mzf287ocx] .source-remove-button {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

[b-8mzf287ocx] .source-localization-card:hover .source-remove-button {
    opacity: 1;
}

[b-8mzf287ocx] .source-label-field {
    width: 100%;
    margin-bottom: 10px;
}

[b-8mzf287ocx] .source-description-field {
    width: 100%;
}

[b-8mzf287ocx] .source-empty-state {
    width: 100%;
    box-sizing: border-box;
    padding: 24px;
    text-align: center;
    border: 2px dashed var(--neutral-stroke-divider);
    background: var(--neutral-layer-card-default);
    border-radius: 12px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

[b-8mzf287ocx] .source-empty-state:hover {
    border-color: var(--accent-stroke-control-default);
    background: var(--neutral-layer-card-hover);
}

@keyframes source-card-in-b-8mzf287ocx {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    [b-8mzf287ocx] .source-localization-header {
        align-items: center;
    }

    [b-8mzf287ocx] .source-lang-field {
        width: 100px;
    }
}
/* /Dialog/TemplateVariableHelpDialog.razor.rz.scp.css */
/* ── Inline token code ────────────────────────────────── */
.inline-token[b-2nebwrglj0] {
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.8rem;
    color: var(--accent-foreground-rest);
    background-color: var(--neutral-layer-4, rgba(255,255,255,0.05));
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 3px;
    padding: 0 4px;
}

/* ── Group ────────────────────────────────────────────── */
.var-group[b-2nebwrglj0] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.var-group-header[b-2nebwrglj0] {
    border-bottom: 1px solid var(--neutral-stroke-rest);
    padding-bottom: 3px;
    margin-bottom: 1px;
}

.var-group-label[b-2nebwrglj0] {
    font-weight: 700;
    font-size: 0.67rem;
    color: var(--accent-foreground-rest);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ── Variable table ───────────────────────────────────── */
.var-table[b-2nebwrglj0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Fixed columns: token | description | value-badge | copy-btn
   All rows share identical column widths → perfectly consistent layout. */
.var-row[b-2nebwrglj0] {
    display: grid;
    grid-template-columns: 158px 1fr 124px 26px;
    gap: 10px;
    align-items: center;
    padding: 4px 6px;
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    background-color: var(--neutral-fill-input-rest);
    cursor: default;
    transition: background-color 0.1s ease;
}

    .var-row:hover[b-2nebwrglj0] {
        background-color: var(--neutral-fill-input-hover);
    }

.var-token[b-2nebwrglj0] {
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.75rem;
    color: var(--accent-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.var-description[b-2nebwrglj0] {
    font-size: 0.75rem;
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

/* ── Value badge — fixed width so every row is identical ─ */
.var-value[b-2nebwrglj0] {
    font-size: 0.72rem;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    color: var(--neutral-foreground-rest);
    background-color: var(--neutral-layer-4, rgba(255,255,255,0.06));
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 3px;
    padding: 1px 6px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.var-value--empty[b-2nebwrglj0] {
    color: var(--neutral-foreground-hint);
    font-style: italic;
    font-family: var(--body-font, inherit);
    border-style: dashed;
    opacity: 0.6;
}

/* ── Copy button ──────────────────────────────────────── */
.copy-btn[b-2nebwrglj0] {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid transparent;
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    cursor: pointer;
    color: var(--neutral-foreground-hint);
    font-size: 0.82rem;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.12s ease, color 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.var-row:hover .copy-btn[b-2nebwrglj0] {
    opacity: 1;
}

.copy-btn:hover[b-2nebwrglj0] {
    background-color: var(--neutral-fill-stealth-hover);
    border-color: var(--neutral-stroke-rest);
    color: var(--neutral-foreground-rest);
}

.copy-btn--done[b-2nebwrglj0] {
    opacity: 1 !important;
    color: var(--success, #4caf50);
    border-color: var(--success, #4caf50);
}


/* /Dialog/ThirdPartyServiceDialog.razor.rz.scp.css */
/* ── Dialog sizing and layout ─────────────────────────── */
.third-party-service-dialog[b-isuf088nnw] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 2px;
}

[b-isuf088nnw] .render-position-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

    .render-position-group[b-isuf088nnw]  fluent-radio,
    .render-position-group[b-isuf088nnw]  .fui-radio-control {
        flex: 1 1 240px;
    }

    .render-position-group[b-isuf088nnw]  fluent-radio {
        min-height: 72px;
        padding: 12px 14px;
        border: 1px solid var(--neutral-stroke-rest);
        border-radius: calc(var(--control-corner-radius, 4) * 1px);
        background: var(--neutral-fill-input-rest);
        align-items: flex-start;
    }

        .render-position-group[b-isuf088nnw]  fluent-radio:hover {
            background-color: var(--neutral-fill-input-hover);
            border-color: var(--neutral-stroke-hover);
        }

        .render-position-group[b-isuf088nnw]  fluent-radio[data-checked="true"] {
            border-color: var(--accent-fill-rest);
            background: color-mix(in srgb, var(--accent-fill-rest) 12%, var(--neutral-fill-input-rest));
            box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-fill-rest) 45%, transparent);
        }

    .render-position-group[b-isuf088nnw]  .fui-radio__control {
        margin-top: 2px;
    }

    .render-position-group[b-isuf088nnw]  .fui-radio__label {
        width: 100%;
    }

/* ── Service key mode toggle ──────────────────────────── */
.key-mode-toggle[b-isuf088nnw] {
    display: flex;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    overflow: hidden;
    width: 100%;
}

.mode-btn[b-isuf088nnw] {
    flex: 1;
    padding: 0 12px;
    height: 32px;
    font-family: var(--body-font, inherit);
    font-size: var(--type-ramp-base-font-size, 14px);
    background-color: var(--neutral-fill-input-rest);
    color: var(--neutral-foreground-hint);
    border: none;
    border-right: 1px solid var(--neutral-stroke-rest);
    cursor: pointer;
    transition: background-color 0.1s ease, color 0.1s ease;
    outline: none;
}

    .mode-btn:last-child[b-isuf088nnw] {
        border-right: none;
    }

    .mode-btn:hover:not(:disabled)[b-isuf088nnw] {
        background-color: var(--neutral-fill-input-hover);
        color: var(--neutral-foreground-rest);
    }

    .mode-btn:disabled[b-isuf088nnw] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.mode-btn--active[b-isuf088nnw] {
    background-color: var(--accent-fill-rest);
    color: var(--foreground-on-accent-rest);
    font-weight: 600;
}

    .mode-btn--active:hover:not(:disabled)[b-isuf088nnw] {
        background-color: var(--accent-fill-hover);
        color: var(--foreground-on-accent-rest);
    }

/* ── Parameters header ────────────────────────────────── */
.parameters-header[b-isuf088nnw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.parameters-title[b-isuf088nnw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inline-token[b-isuf088nnw] {
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.78rem;
    color: var(--accent-foreground-rest);
    background-color: var(--neutral-layer-4, rgba(255,255,255,0.05));
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 3px;
    padding: 0 3px;
}

.parameters-actions[b-isuf088nnw] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Parameter rows ───────────────────────────────────── */

/* Outer column wrapper: inputs row on top, preview below */
.param-row[b-isuf088nnw] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Key input + value input + delete button — always one line */
.param-inputs[b-isuf088nnw] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

/* ── Resolved-value preview ───────────────────────────── */

/* Spans the full width of the row (below both inputs) */
.param-preview[b-isuf088nnw] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    background-color: var(--neutral-layer-4, rgba(255,255,255,0.04));
    border: 1px solid var(--neutral-stroke-rest);
    border-left: 3px solid var(--accent-fill-rest);
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    animation: param-preview-in-b-isuf088nnw 0.14s ease;
}

@keyframes param-preview-in-b-isuf088nnw {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parameter key name — identifies which parameter is being previewed */
.param-preview-key[b-isuf088nnw] {
    font-size: 0.72rem;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
    max-width: 35%;
}

.param-preview-label[b-isuf088nnw] {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-foreground-rest);
    opacity: 0.7;
    flex-shrink: 0;
    white-space: nowrap;
}

.param-preview-sep[b-isuf088nnw] {
    font-size: 0.72rem;
    color: var(--neutral-foreground-hint);
    opacity: 0.45;
    flex-shrink: 0;
}

.param-preview-text[b-isuf088nnw] {
    font-size: 0.78rem;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    color: var(--accent-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* Native select styled to match FluentUI text inputs */
.service-key-select[b-isuf088nnw] {
    width: 100%;
    height: 32px;
    padding: 0 28px 0 10px;
    background-color: var(--neutral-fill-input-rest);
    color: var(--neutral-foreground-rest);
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    font-family: var(--body-font, inherit);
    font-size: var(--type-ramp-base-font-size, 14px);
    line-height: 30px;
    cursor: pointer;
    box-sizing: border-box;
    appearance: auto;
    outline: none;
    transition: border-color 0.1s ease;
}

    .service-key-select:hover[b-isuf088nnw] {
        background-color: var(--neutral-fill-input-hover);
        border-color: var(--neutral-stroke-hover);
    }

    .service-key-select:focus[b-isuf088nnw] {
        border-color: var(--accent-fill-rest);
        outline: none;
    }

    .service-key-select:disabled[b-isuf088nnw] {
        opacity: 0.4;
        cursor: not-allowed;
    }

    /* Option rows inherit the page theme where supported */
    .service-key-select option[b-isuf088nnw] {
        background-color: var(--neutral-layer-2, #2b2b2b);
        color: var(--neutral-foreground-rest, #fff);
    }

[b-isuf088nnw] .fluent-dialog-body form {
    width: 100% !important;
}

form[b-isuf088nnw] {
    width: 100%;
}
/* /Dialog/ZipCodeRequestReviewDialog.razor.rz.scp.css */
.zcv-header[b-wbg6yoon0l] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--neutral-stroke-divider);
}

.zcv-section[b-wbg6yoon0l] {
    width: 100%;
    box-sizing: border-box;
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-card-default);
    border-radius: 10px;
    padding: 16px;
}

.zcv-section-title[b-wbg6yoon0l] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neutral-foreground-hint);
}

.zcv-inline-status[b-wbg6yoon0l] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--neutral-foreground-hint);
}

.zcv-message-bar[b-wbg6yoon0l] {
    margin-top: 12px;
}
/* /Dialog/ZipCodeValidationDialog.razor.rz.scp.css */
.zcv-header[b-23kk5rvbo3] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--neutral-stroke-divider);
}

.zcv-section[b-23kk5rvbo3] {
    width: 100%;
    box-sizing: border-box;
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-card-default);
    border-radius: 10px;
    padding: 16px;
}

.zcv-section-title[b-23kk5rvbo3] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neutral-foreground-hint);
}

.zcv-optional-tag[b-23kk5rvbo3] {
    margin-left: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    font-style: italic;
    color: var(--neutral-foreground-hint);
    opacity: 0.8;
}

.zcv-zip-row[b-23kk5rvbo3] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.zcv-zip-field[b-23kk5rvbo3] {
    flex: 1 1 220px;
}

.zcv-resolve-button[b-23kk5rvbo3] {
    flex: 0 0 auto;
}

.zcv-inline-status[b-23kk5rvbo3] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--neutral-foreground-hint);
}

.zcv-message-bar[b-23kk5rvbo3] {
    margin-top: 12px;
}
/* /Dialogs/AssetUploadDialog.razor.rz.scp.css */
.upload-zone[b-a8t0dxsmgh] {
    transition: all 0.2s ease-in-out;
}

.upload-zone:hover[b-a8t0dxsmgh] {
    border-color: var(--accent-fill-rest) !important;
    background: var(--neutral-layer-2) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.upload-zone.drag-over[b-a8t0dxsmgh] {
    border-color: var(--accent-fill-rest) !important;
    background: var(--accent-fill-rest) !important;
    opacity: 0.1;
    transform: scale(1.02);
}

.file-item:hover[b-a8t0dxsmgh] {
    border-color: var(--accent-stroke-rest) !important;
    background: var(--neutral-layer-3) !important;
    transform: translateX(4px);
}

.file-item.invalid[b-a8t0dxsmgh] {
    border-color: var(--error-rest) !important;
    background: rgba(255, 0, 0, 0.05) !important;
}

.spinning-icon[b-a8t0dxsmgh] {
    animation: spin-b-a8t0dxsmgh 1s linear infinite;
}

.hover-opacity:hover[b-a8t0dxsmgh] {
    opacity: 1 !important;
}

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

/* Additional enhancements for better visual appeal */
.upload-zone-content[b-a8t0dxsmgh] {
    pointer-events: none;
}

.file-preview-placeholder[b-a8t0dxsmgh] {
    background: linear-gradient(135deg, var(--neutral-layer-2) 0%, var(--neutral-layer-3) 100%);
}

.file-status-badge[b-a8t0dxsmgh] {
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.progress-container[b-a8t0dxsmgh] {
    background: var(--neutral-layer-1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.validation-error-item[b-a8t0dxsmgh] {
    background: rgba(255, 0, 0, 0.05);
    border-left: 3px solid var(--error-rest);
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    margin: 4px 0;
}

.upload-zone[b-a8t0dxsmgh] {
    transition: all 0.2s ease-in-out;
}

    .upload-zone:hover[b-a8t0dxsmgh] {
        border-color: var(--accent-fill-rest) !important;
        background: var(--neutral-layer-2) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .upload-zone.drag-over[b-a8t0dxsmgh] {
        border-color: var(--accent-fill-rest) !important;
        background: var(--accent-fill-rest) !important;
        opacity: 0.1;
        transform: scale(1.02);
    }

.file-item:hover[b-a8t0dxsmgh] {
    border-color: var(--accent-stroke-rest) !important;
    background: var(--neutral-layer-3) !important;
    transform: translateX(4px);
}

.file-item.invalid[b-a8t0dxsmgh] {
    border-color: var(--error-rest) !important;
    background: rgba(255, 0, 0, 0.05) !important;
}

.spinning-icon[b-a8t0dxsmgh] {
    animation: spin-b-a8t0dxsmgh 1s linear infinite;
}

.hover-opacity:hover[b-a8t0dxsmgh] {
    opacity: 1 !important;
}

[b-a8t0dxsmgh] .spinning-icon {
    animation: spin-b-a8t0dxsmgh 1s linear infinite;
}
/* /Pages/AdvancedSettingsPage.razor.rz.scp.css */
/* Advanced Settings Page Styles */

.page-container[b-b4lyijtdau] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.page-header[b-b4lyijtdau] {
    margin-bottom: 24px;
}

.header-navigation[b-b4lyijtdau] {
    width: 100%;
}

.back-button[b-b4lyijtdau] {
    --button-min-width: auto;
}

.header-divider[b-b4lyijtdau] {
    height: 32px;
    width: 1px;
    background-color: var(--neutral-stroke-divider-rest);
}

.breadcrumb-nav[b-b4lyijtdau] {
    margin-top: 8px;
}

.content-wrapper[b-b4lyijtdau] {
    width: 100%;
}

.full-width-stack[b-b4lyijtdau] {
    width: 100%;
}

/* Section Cards */
.section-card[b-b4lyijtdau] {
    width: 100%;
    margin-bottom: 0;
}

.section-content[b-b4lyijtdau] {
    width: 100%;
}

.section-header[b-b4lyijtdau] {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest);
}

/* Warning Card */
.warning-card[b-b4lyijtdau] {
    background-color: var(--fill-color-warning-background);
    border-left: 4px solid var(--fill-color-warning-foreground);
}

/* Error Section */
.error-section[b-b4lyijtdau] {
    width: 100%;
    margin: 24px 0;
}

.error-card[b-b4lyijtdau] {
    background-color: var(--fill-color-error-background);
    border-left: 4px solid var(--fill-color-error-foreground);
}

/* Code Editor Styling */
.code-editor[b-b4lyijtdau] {
    background-color: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 4px;
    padding: 12px;
}

.code-editor:focus-within[b-b4lyijtdau] {
    border-color: var(--accent-fill-rest);
    box-shadow: 0 0 0 2px var(--accent-fill-rest-focus);
}

/* Action Card — sticky save bar.
   z-index kept below the global listbox layer (9000). */
.action-card[b-b4lyijtdau] {
    position: sticky;
    bottom: 0;
    background-color: var(--neutral-layer-1);
    border-top: 2px solid var(--accent-fill-rest);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.form-actions[b-b4lyijtdau] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 4px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-container[b-b4lyijtdau] {
        padding: 16px;
    }

    .header-navigation[b-b4lyijtdau] {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .header-divider[b-b4lyijtdau] {
        display: none;
    }

    .form-actions[b-b4lyijtdau] {
        flex-direction: column-reverse;
        width: 100%;
    }

    .form-actions > *[b-b4lyijtdau] {
        width: 100%;
    }

    .code-editor[b-b4lyijtdau] {
        font-size: 12px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .code-editor[b-b4lyijtdau] {
        background-color: var(--neutral-layer-3);
    }

    .warning-card[b-b4lyijtdau] {
        background-color: rgba(255, 193, 7, 0.1);
    }

    .error-card[b-b4lyijtdau] {
        background-color: rgba(220, 53, 69, 0.1);
    }
}

/* Loading State */
fluent-progress-ring[b-b4lyijtdau] {
    --progress-size: 48px;
}

/* Custom Scrollbar for Code Editor */
.code-editor textarea[b-b4lyijtdau] {
    scrollbar-width: thin;
    scrollbar-color: var(--neutral-fill-rest) var(--neutral-layer-2);
}

.code-editor textarea[b-b4lyijtdau]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-editor textarea[b-b4lyijtdau]::-webkit-scrollbar-track {
    background: var(--neutral-layer-2);
}

.code-editor textarea[b-b4lyijtdau]::-webkit-scrollbar-thumb {
    background-color: var(--neutral-fill-rest);
    border-radius: 4px;
}

.code-editor textarea[b-b4lyijtdau]::-webkit-scrollbar-thumb:hover {
    background-color: var(--neutral-fill-hover);
}

/* Animation for section appearance */
.section-card[b-b4lyijtdau] {
    animation: slideIn-b-b4lyijtdau 0.3s ease-out;
}

@keyframes slideIn-b-b4lyijtdau {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/AdvertisementsPage.razor.rz.scp.css */
/* Application-consistent container and layout */
.page-container[b-hp282k8r3g] {
    padding: 24px;
    max-width: none;
    width: 100%;
}

.loading-container[b-hp282k8r3g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    min-height: 300px;
    width: 100%;
}

/* Header styling consistent with other pages */
.back-button[b-hp282k8r3g] {
    color: var(--neutral-foreground-rest);
    padding: 8px 12px;
}

    .back-button:hover[b-hp282k8r3g] {
        background-color: var(--neutral-fill-stealth-hover);
    }

.header-divider[b-hp282k8r3g] {
    width: 1px;
    height: 32px;
    background-color: var(--neutral-stroke-rest);
}

.breadcrumb-nav[b-hp282k8r3g] {
    margin-top: 8px;
}

.action-button[b-hp282k8r3g] {
    min-width: 140px;
}

/* Content wrapper for consistent layout */
.content-wrapper[b-hp282k8r3g] {
    width: 100%;
}

.full-width-stack[b-hp282k8r3g] {
    width: 100%;
}

/* Section cards */
.section-card[b-hp282k8r3g] {
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    padding: 0;
}

.section-content[b-hp282k8r3g] {
    padding: 24px;
    width: 100%;
}

.section-header[b-hp282k8r3g] {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-stroke-rest);
    margin-bottom: 8px;
}

/* Items grid container */
.items-grid-container[b-hp282k8r3g] {
    width: 100%;
}

.advertisements-grid[b-hp282k8r3g] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Advertisement cards */
[b-hp282k8r3g] .item-card {
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    transition: all 0.2s ease;
    height: fit-content;
    padding: 0;
}

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

.card-header[b-hp282k8r3g] {
    padding: 16px;
    border-bottom: 1px solid var(--neutral-stroke-rest);
}

.card-title[b-hp282k8r3g] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    line-height: 1.3;
}

.card-meta[b-hp282k8r3g] {
    margin-top: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

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

.card-description[b-hp282k8r3g] {
    margin: 0 0 12px 0;
    color: var(--neutral-foreground-rest);
    font-size: 14px;
    line-height: 1.4;
}

.image-preview[b-hp282k8r3g] {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--neutral-stroke-rest);
    background: var(--neutral-layer-2);
}

.preview-image[b-hp282k8r3g] {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.card-details[b-hp282k8r3g] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item[b-hp282k8r3g] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    min-height: 20px;
}

.detail-label[b-hp282k8r3g] {
    font-weight: 500;
    color: var(--neutral-foreground-rest);
    min-width: 70px;
    flex-shrink: 0;
}

.detail-value[b-hp282k8r3g] {
    color: var(--neutral-foreground-hint);
    flex: 1;
    word-break: break-word;
}

.card-actions[b-hp282k8r3g] {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--neutral-stroke-rest);
    background: var(--neutral-layer-2);
}

/* Status styling */
.text-success[b-hp282k8r3g] {
    color: var(--accent-foreground-rest);
    font-weight: 500;
}

.text-warning[b-hp282k8r3g] {
    color: var(--attention-foreground-rest);
    font-weight: 500;
}

.text-muted[b-hp282k8r3g] {
    color: var(--neutral-foreground-hint);
}

.text-truncate[b-hp282k8r3g] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty state */
.empty-state-card[b-hp282k8r3g] {
    text-align: center;
    padding: 48px 24px;
    border: 2px dashed var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    margin: 24px 0;
}

/* Error state */
.error-section[b-hp282k8r3g] {
    margin: 24px 0;
}

.error-card[b-hp282k8r3g] {
    padding: 24px;
    border: 1px solid var(--error-stroke-rest);
    border-radius: 8px;
    background: var(--error-layer-1);
}

.error-icon[b-hp282k8r3g] {
    font-size: 24px;
    line-height: 1;
    min-width: 24px;
}

/* Edit form */
.edit-form-card[b-hp282k8r3g] {
    margin-bottom: 32px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
}

    .edit-form-card .card-header[b-hp282k8r3g] {
        padding: 20px 24px 16px 24px;
        border-bottom: 1px solid var(--neutral-stroke-rest);
        background: var(--neutral-layer-2);
    }

    .edit-form-card .card-content[b-hp282k8r3g] {
        padding: 24px;
    }

.form-grid[b-hp282k8r3g] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-section[b-hp282k8r3g] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .form-section h4[b-hp282k8r3g] {
        margin: 0 0 8px 0;
        font-size: 16px;
        font-weight: 600;
        color: var(--neutral-foreground-rest);
        border-bottom: 2px solid var(--accent-fill-rest);
        padding-bottom: 8px;
    }

.section-description[b-hp282k8r3g] {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--neutral-foreground-hint);
    line-height: 1.4;
}

/* Enhanced image section for ImageUrlSelector */
.image-section[b-hp282k8r3g] {
    background: var(--accent-layer-1);
    padding: 24px;
    border-radius: 8px;
    border: 2px solid var(--accent-stroke-control-default);
    position: relative;
}

    .image-section h4[b-hp282k8r3g] {
        color: var(--accent-foreground-rest);
        border-bottom-color: var(--accent-fill-rest);
        margin-bottom: 12px;
    }

    .image-section .section-description[b-hp282k8r3g] {
        color: var(--accent-foreground-hint);
        background: rgba(255, 255, 255, 0.05);
        padding: 12px 16px;
        border-radius: 6px;
        border-left: 3px solid var(--accent-fill-rest);
    }

    /* Ensure ImageUrlSelector integrates well in the image section */
    .image-section .image-url-selector[b-hp282k8r3g] {
        background: var(--neutral-layer-1);
        padding: 16px;
        border-radius: 8px;
        border: 1px solid var(--neutral-stroke-rest);
        margin-top: 8px;
    }

        .image-section .image-url-selector .preview-container[b-hp282k8r3g] {
            background: var(--neutral-layer-1);
            border-color: var(--neutral-stroke-rest);
        }

            .image-section .image-url-selector .preview-container:hover[b-hp282k8r3g] {
                border-color: var(--accent-stroke-control-default);
            }

    /* Legacy image preview styling (for compatibility) */
    .image-section .image-preview[b-hp282k8r3g] {
        margin-top: 16px;
        padding: 16px;
        border: 1px solid var(--neutral-stroke-rest);
        border-radius: 8px;
        background-color: var(--neutral-layer-1);
    }

    .image-section .preview-image[b-hp282k8r3g] {
        width: 100%;
        max-width: 400px;
        height: 200px;
        object-fit: cover;
        border-radius: 4px;
        border: 1px solid var(--neutral-stroke-rest);
        margin-top: 8px;
    }

.form-actions[b-hp282k8r3g] {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid var(--neutral-stroke-rest);
}

/* DateTime inputs styling */
.datetime-inputs[b-hp282k8r3g] {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
    background: var(--neutral-layer-2);
}

/* Permanent advertisement styling */
.permanent-indicator[b-hp282k8r3g] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: var(--accent-layer-1);
    color: var(--accent-foreground-rest);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

/* Enhanced styles for ImageUrlSelector integration */
.image-section .external-actions[b-hp282k8r3g] {
    background: var(--neutral-layer-1);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--neutral-stroke-subtle);
}

    .image-section .external-actions fluent-button[b-hp282k8r3g] {
        color: var(--accent-foreground-rest) !important;
    }

        .image-section .external-actions fluent-button:hover[b-hp282k8r3g] {
            background: var(--accent-fill-subtle) !important;
            color: var(--accent-foreground-rest) !important;
        }

/* Responsive design */
@media (max-width: 1200px) {
    .page-container[b-hp282k8r3g] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-container[b-hp282k8r3g] {
        padding: 16px;
    }

    .advertisements-grid[b-hp282k8r3g] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-grid[b-hp282k8r3g] {
        gap: 20px;
    }

    .form-actions[b-hp282k8r3g] {
        flex-direction: column;
    }

    .image-section[b-hp282k8r3g] {
        padding: 16px;
    }

        .image-section .preview-image[b-hp282k8r3g] {
            max-width: 100%;
            height: 150px;
        }

        .image-section .image-url-selector[b-hp282k8r3g] {
            padding: 12px;
        }

    .card-meta[b-hp282k8r3g] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .detail-item[b-hp282k8r3g] {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .detail-label[b-hp282k8r3g] {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .section-content[b-hp282k8r3g] {
        padding: 16px;
    }

    .edit-form-card .card-header[b-hp282k8r3g] {
        padding: 16px;
    }

    .edit-form-card .card-content[b-hp282k8r3g] {
        padding: 16px;
    }

    .image-section[b-hp282k8r3g] {
        padding: 12px;
    }

        .image-section .section-description[b-hp282k8r3g] {
            padding: 8px 12px;
            font-size: 13px;
        }
}
/* /Pages/AssetManagementPage.razor.rz.scp.css */
.asset-card[b-928ikfvcuj] {
    transition: all 0.2s ease;
}

.asset-card:hover[b-928ikfvcuj] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.selected-asset[b-928ikfvcuj] {
    border-color: var(--accent-fill-rest) !important;
    background-color: var(--accent-fill-subtle) !important;
}

.selected-asset:hover[b-928ikfvcuj] {
    background-color: var(--accent-fill-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-shadow);
}

.asset-preview img[b-928ikfvcuj] {
    transition: transform 0.2s ease;
}

.asset-card:hover .asset-preview img[b-928ikfvcuj] {
    transform: scale(1.02);
}

.asset-grid[b-928ikfvcuj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 5px;
    width: 100%;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .asset-grid[b-928ikfvcuj] {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .asset-grid[b-928ikfvcuj] {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .asset-preview[b-928ikfvcuj] {
        height: 140px !important;
    }
}

/* FluentSelect dropdown layering is handled by the global rule in design-system.css */
/* /Pages/ColorPalettes.razor.rz.scp.css */
[b-446p8e60rz] .state-container {
    padding: 48px 0;
}

.palette-grid[b-446p8e60rz] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
    width: 100%;
    /* Explicit, not just relying on the implicit default: ColorSettingsCard
       equalizes row height and pins its footer via this grid's item-stretch
       behavior (see ColorSettingsCard.razor.css). Changing this value
       breaks that silently. */
    align-items: stretch;
}

@media (max-width: 600px) {
    .palette-grid[b-446p8e60rz] {
        grid-template-columns: 1fr;
    }
}

/* Must live here, not in ColorSettingsCard.razor.css: this FluentMenuItem is
   authored in this file and passed into ColorSettingsCard's OverflowActions
   slot, so it carries THIS file's Blazor CSS-isolation scope, not the card's. */
[b-446p8e60rz] .menu-item-destructive {
    color: var(--error-rest);
}
/* /Pages/CreateDeployment.razor.rz.scp.css */
/* ── CreateDeployment page scoped styles ───────────────────────────────── */

/* Page shell */
.page-container[b-shdjvungfi] {
    padding: 16px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.page-header[b-shdjvungfi] {
    background: var(--neutral-layer-floating);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 8px;
    box-shadow: var(--elevation-shadow-card-rest);
    width: 100%;
}

.header-navigation[b-shdjvungfi] {
    margin-bottom: 8px;
    width: 100%;
}

.header-divider[b-shdjvungfi] {
    width: 1px;
    height: 32px;
    background: var(--neutral-stroke-divider);
    opacity: 0.5;
    flex-shrink: 0;
}

.breadcrumb-nav[b-shdjvungfi] {
    opacity: 0.8;
}

/* Custom back button */
.custom-back-button[b-shdjvungfi] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: transparent;
    color: var(--neutral-foreground-rest);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.custom-back-button:hover[b-shdjvungfi] {
    background: var(--neutral-layer-2);
    color: var(--accent-fill-rest);
    transform: translateX(-2px);
}

.back-icon[b-shdjvungfi] {
    width: 18px;
    height: 18px;
}

/* Loading / error */
.loading-container[b-shdjvungfi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 20px;
    min-height: 200px;
}

.error-section[b-shdjvungfi] {
    margin-bottom: 24px;
}

/* Content */
.content-wrapper[b-shdjvungfi] {
    width: 100%;
}

.full-width-stack[b-shdjvungfi] {
    width: 100%;
}

/* Form cards */
.form-card[b-shdjvungfi] {
    padding: 24px;
    border-radius: 12px;
    width: 100%;
}

/* Form actions row */
.form-actions[b-shdjvungfi] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Responsive breakpoints ────────────────────────────────────────────── */

/* Tablet (≤ 768 px) */
@media (max-width: 768px) {
    .page-container[b-shdjvungfi] {
        padding: 12px;
    }

    .page-header[b-shdjvungfi] {
        padding: 16px;
    }

    .form-card[b-shdjvungfi] {
        padding: 16px;
    }

    .form-actions[b-shdjvungfi] {
        flex-direction: column-reverse;
    }

    .form-actions fluent-button[b-shdjvungfi],
    .form-actions[b-shdjvungfi]  fluent-button {
        width: 100%;
    }
}

/* Mobile (≤ 480 px) */
@media (max-width: 480px) {
    .page-container[b-shdjvungfi] {
        padding: 8px;
    }

    .page-header[b-shdjvungfi] {
        padding: 12px;
        border-radius: 8px;
    }

    .form-card[b-shdjvungfi] {
        padding: 12px;
        border-radius: 8px;
    }

    .header-divider[b-shdjvungfi] {
        display: none;
    }
}
/* /Pages/DocumentContentPage.razor.rz.scp.css */
/* ── DocumentContentPage full-height layout ────────────────────────── */

.doc-page[b-45kzmc94r4] {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 104px);
    overflow: hidden;
    padding: 12px 16px 0;
    gap: 10px;
    box-sizing: border-box;
}

/* ── Toolbar row ── */

.doc-toolbar[b-45kzmc94r4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.doc-toolbar-title[b-45kzmc94r4] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-toolbar-actions[b-45kzmc94r4] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Filter row ── */

.doc-filters[b-45kzmc94r4] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── Body: list + detail side by side ── */

.doc-body[b-45kzmc94r4] {
    display: flex;
    flex: 1;
    gap: 12px;
    overflow: hidden;
    min-height: 0;
    padding-bottom: 12px;
}

/* ── Left panel: document list ── */

.doc-list-panel[b-45kzmc94r4] {
    display: flex;
    flex-direction: column;
    width: 280px;
    min-width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.doc-list-card[b-45kzmc94r4] {
    flex: 1;
    overflow-y: auto;
    padding: 6px;
}

/* ── Right panel: document detail ── */

.doc-detail-panel[b-45kzmc94r4] {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.doc-detail-card[b-45kzmc94r4] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow: hidden;
    position: relative;
}

/* ── Empty / loading states ── */

.doc-empty-state[b-45kzmc94r4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    padding: 32px;
    text-align: center;
}

/* ── Document list items ── */

.doc-list-item[b-45kzmc94r4] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s ease;
}

.doc-list-item:hover[b-45kzmc94r4] {
    background: var(--neutral-fill-stealth-hover);
}

.doc-list-item.selected[b-45kzmc94r4] {
    background: var(--accent-fill-rest);
    color: var(--foreground-on-accent-rest);
}

.doc-list-item-text[b-45kzmc94r4] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.doc-list-item-key[b-45kzmc94r4] {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
}

.doc-list-item-title[b-45kzmc94r4] {
    font-size: 0.75rem;
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-list-item-deployment[b-45kzmc94r4] {
    font-size: 0.7rem;
    color: var(--accent-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    display: flex;
    align-items: center;
}

.doc-list-item.selected .doc-list-item-deployment[b-45kzmc94r4] {
    color: var(--foreground-on-accent-rest);
    opacity: 0.85;
}

.doc-list-item.selected .doc-list-item-title[b-45kzmc94r4] {
    color: var(--foreground-on-accent-rest);
    opacity: 0.8;
}

/* ── Tabs fill available height ── */

.doc-detail-card[b-45kzmc94r4]  fluent-tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.doc-detail-card[b-45kzmc94r4]  fluent-tab-panel {
    flex: 1;
    overflow-y: auto;
}

/* ── Data grid rows: taller so action buttons are not clipped ── */

.doc-detail-card[b-45kzmc94r4]  fluent-data-grid-row {
    min-height: 60px;
    overflow: visible;
}

.doc-detail-card[b-45kzmc94r4]  fluent-data-grid-cell {
    align-items: center;
    display: flex;
    padding-top: 8px;
    padding-bottom: 8px;
    overflow: visible;
}

/* ── Deployment scope info banner ── */

.doc-scope-banner[b-45kzmc94r4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.doc-scope-banner-header[b-45kzmc94r4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.doc-scope-banner-meta[b-45kzmc94r4] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 2px;
    border-top: 1px solid var(--neutral-stroke-subtle-rest, var(--neutral-stroke-rest));
}

.doc-scope-banner-domains[b-45kzmc94r4] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.doc-scope-domain-link[b-45kzmc94r4] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-family: monospace;
    padding: 2px 8px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--neutral-stroke-rest);
    color: var(--accent-foreground-rest);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.doc-scope-domain-link:hover[b-45kzmc94r4] {
    background: var(--neutral-fill-stealth-hover);
    border-color: var(--accent-stroke-control-rest);
    text-decoration: underline;
}

.doc-scope-domain-link.default[b-45kzmc94r4] {
    border-color: var(--accent-stroke-control-rest);
    font-weight: 600;
}

.doc-scope-domain-default-tag[b-45kzmc94r4] {
    font-size: 0.7rem;
    font-family: sans-serif;
    font-weight: normal;
    opacity: 0.65;
    margin-left: 2px;
}

/* /Pages/DomainSettingsPage.razor.rz.scp.css */
body[b-c1ia8w5zym] {
}

/* DomainSettingsPage specific overrides */

/* =============================================================================
   Responsive Header Improvements
   ============================================================================= */

/* Enhanced header responsive behavior */
.responsive-header[b-c1ia8w5zym] {
    width: 100%;
    flex-wrap: nowrap;
    min-height: 60px;
}

.header-left-section[b-c1ia8w5zym] {
    flex: 1;
    min-width: 0; /* Allows text to truncate */
    overflow: hidden;
}

.header-title-section[b-c1ia8w5zym] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.header-actions-section[b-c1ia8w5zym] {
    flex-shrink: 0;
    margin-left: 16px;
}

.page-title[b-c1ia8w5zym] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.page-subtitle[b-c1ia8w5zym] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.8;
}

/* Back button responsive behavior */
.back-button[b-c1ia8w5zym] {
    flex-shrink: 0;
    min-width: auto;
    white-space: nowrap;
}

.back-button-text[b-c1ia8w5zym] {
    display: inline;
}

.refresh-button[b-c1ia8w5zym] {
    flex-shrink: 0;
    min-width: auto;
    white-space: nowrap;
}

.refresh-button-text[b-c1ia8w5zym] {
    display: inline;
}

/* Breadcrumb responsive improvements */
.responsive-breadcrumb[b-c1ia8w5zym] {
    width: 100%;
    overflow: hidden;
}

.breadcrumb-item[b-c1ia8w5zym] {
    flex-shrink: 1;
    min-width: 0;
}

.breadcrumb-text[b-c1ia8w5zym] {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb-current[b-c1ia8w5zym] {
    font-weight: 600;
    color: var(--accent-fill-rest);
}

/* Header divider responsive behavior */
.header-divider[b-c1ia8w5zym] {
    flex-shrink: 0;
    display: block;
}

/* =============================================================================
   Existing Styles (Deployment Details & Cards)
   ============================================================================= */

/* Ensure deployment details have proper spacing */
.deployment-details[b-c1ia8w5zym] {
    margin-top: 16px;
    width: 100%;
}

.deployment-details .detail-item[b-c1ia8w5zym] {
    font-size: 0.9em;
    margin-right: 12px;
    margin-bottom: 8px;
    padding: 6px 10px;
}

/* Ensure settings items are properly spaced in the grid */
.items-grid .item-card[b-c1ia8w5zym] {
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.items-grid .item-card .item-card-header[b-c1ia8w5zym] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.items-grid .item-card .item-title-section[b-c1ia8w5zym] {
    flex: 1;
    min-width: 0;
    margin-right: 16px;
}

.items-grid .item-card .item-actions-section[b-c1ia8w5zym] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.items-grid .item-card .item-card-body[b-c1ia8w5zym] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 8px;
}

/* Ensure proper alignment of title and buttons */
.items-grid .item-card .item-card-header fluent-stack[horizontalalignment="SpaceBetween"][b-c1ia8w5zym] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Clickable card enhancements */
.clickable-card[b-c1ia8w5zym] {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.clickable-card:hover[b-c1ia8w5zym] {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--elevation-shadow-card-hover);
}

.clickable-card:active[b-c1ia8w5zym] {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.clickable-card:focus[b-c1ia8w5zym] {
    outline: 2px solid var(--accent-stroke-control-default);
    outline-offset: 2px;
    transform: translateY(-1px);
}

.clickable-card:hover .item-actions-section fluent-icon[b-c1ia8w5zym] {
    opacity: 1 !important;
    transform: translateX(2px);
}

.clickable-card[b-c1ia8w5zym]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: inherit;
    transition: background 0.2s ease;
}

.clickable-card:hover[b-c1ia8w5zym]::after {
    background: rgba(0, 120, 212, 0.05);
}

.clickable-card:active[b-c1ia8w5zym]::after {
    background: rgba(0, 120, 212, 0.1);
}

/* =============================================================================
   Responsive Design Breakpoints
   ============================================================================= */

/* Large tablets and small desktops (1024px and down) */
@media (max-width: 1024px) {
    .page-title[b-c1ia8w5zym] {
        font-size: 1.5rem;
    }
    
    .header-actions-section[b-c1ia8w5zym] {
        margin-left: 12px;
    }
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
    .responsive-header[b-c1ia8w5zym] {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        min-height: auto;
    }
    
    .header-left-section[b-c1ia8w5zym] {
        width: 100%;
        justify-content: flex-start;
    }
    
    .header-actions-section[b-c1ia8w5zym] {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 8px;
    }
    
    .page-title[b-c1ia8w5zym] {
        font-size: 1.4rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.3;
    }
    
    .page-subtitle[b-c1ia8w5zym] {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.4;
        font-size: 0.9rem;
    }
    
    .header-divider[b-c1ia8w5zym] {
        display: none;
    }
    
    .back-button[b-c1ia8w5zym] {
        margin-right: 0;
    }
    
    .refresh-button[b-c1ia8w5zym] {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    /* Breadcrumb improvements for tablets */
    .responsive-breadcrumb[b-c1ia8w5zym] {
        margin-top: 8px;
        padding: 8px 0;
    }
    
    .breadcrumb-item[b-c1ia8w5zym] {
        font-size: 0.85rem;
    }
    
    .items-grid[b-c1ia8w5zym] {
        grid-template-columns: 1fr;
    }
    
    .deployment-details[b-c1ia8w5zym] {
        margin-top: 12px;
    }
    
    .deployment-details .detail-item[b-c1ia8w5zym] {
        margin-right: 8px;
        margin-bottom: 6px;
        font-size: 0.8em;
        padding: 4px 8px;
    }

    .items-grid .item-card .item-title-section[b-c1ia8w5zym] {
        margin-right: 12px;
    }

    .clickable-card:hover[b-c1ia8w5zym] {
        transform: translateY(-1px) scale(1.01);
    }

    .clickable-card:active[b-c1ia8w5zym] {
        transform: translateY(0) scale(1);
    }
}

/* Mobile phones (480px and down) */
@media (max-width: 480px) {
    .responsive-header[b-c1ia8w5zym] {
        gap: 12px;
        padding: 0;
    }
    
    .header-left-section[b-c1ia8w5zym] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .header-title-section[b-c1ia8w5zym] {
        width: 100%;
        margin-left: 0;
    }
    
    .page-title[b-c1ia8w5zym] {
        font-size: 1.25rem;
        margin-bottom: 4px;
    }
    
    .page-subtitle[b-c1ia8w5zym] {
        font-size: 0.85rem;
        margin-top: 2px;
    }
    
    .back-button[b-c1ia8w5zym] {
        align-self: flex-start;
        margin-bottom: 4px;
    }
    
    .back-button-text[b-c1ia8w5zym] {
        font-size: 0.9rem;
    }
    
    .refresh-button[b-c1ia8w5zym] {
        font-size: 0.9rem;
        padding: 8px 16px;
        min-height: 40px;
    }
    
    .refresh-button-text[b-c1ia8w5zym] {
        font-size: 0.85rem;
    }
    
    /* Compact breadcrumb for mobile */
    .responsive-breadcrumb[b-c1ia8w5zym] {
        margin-top: 4px;
        padding: 4px 0;
    }
    
    .breadcrumb-item[b-c1ia8w5zym] {
        font-size: 0.8rem;
    }
    
    .breadcrumb-text[b-c1ia8w5zym] {
        max-width: 80px;
    }
    
    /* Hide non-essential breadcrumb items on very small screens */
    .breadcrumb-item:nth-child(2)[b-c1ia8w5zym] {
        display: none;
    }
    
    .items-grid .item-card[b-c1ia8w5zym] {
        min-height: 100px;
    }

    .items-grid .item-card .item-card-header fluent-stack[horizontalalignment="SpaceBetween"][b-c1ia8w5zym] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .items-grid .item-card .item-title-section[b-c1ia8w5zym] {
        margin-right: 8px;
    }

    .items-grid .item-card .item-actions-section[b-c1ia8w5zym] {
        justify-content: flex-end;
        margin-top: 6px;
    }

    .clickable-card:hover[b-c1ia8w5zym] {
        transform: none;
    }

    .clickable-card:active[b-c1ia8w5zym] {
        transform: scale(0.98);
    }
}

/* Very small screens (360px and down) */
@media (max-width: 360px) {
    .page-title[b-c1ia8w5zym] {
        font-size: 1.1rem;
    }
    
    .page-subtitle[b-c1ia8w5zym] {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .back-button-text[b-c1ia8w5zym] {
        display: none;
    }
    
    .refresh-button-text span[b-c1ia8w5zym] {
        font-size: 0.8rem;
    }
    
    .breadcrumb-text[b-c1ia8w5zym] {
        max-width: 60px;
    }
    
    /* Show only home and current breadcrumb items */
    .breadcrumb-item:nth-child(3)[b-c1ia8w5zym] {
        display: none;
    }
}

/* =============================================================================
   High Contrast and Accessibility
   ============================================================================= */

@media (prefers-contrast: high) {
    .header-divider[b-c1ia8w5zym] {
        background: var(--neutral-stroke-strong);
        opacity: 1;
    }
    
    .page-title[b-c1ia8w5zym] {
        font-weight: 700;
    }
    
    .breadcrumb-current[b-c1ia8w5zym] {
        border-bottom: 2px solid var(--accent-fill-rest);
    }
}

/* =============================================================================
   Print Styles
   ============================================================================= */

@media print {
    .header-actions-section[b-c1ia8w5zym] {
        display: none;
    }
    
    .responsive-breadcrumb[b-c1ia8w5zym] {
        display: none;
    }
    
    .page-title[b-c1ia8w5zym] {
        color: black !important;
        font-size: 18pt;
    }
    
    .page-subtitle[b-c1ia8w5zym] {
        color: #666 !important;
        font-size: 12pt;
    }
}

/* =============================================================================
   Animation and Motion Preferences
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
    .clickable-card[b-c1ia8w5zym] {
        transition: none;
    }
    
    .clickable-card:hover[b-c1ia8w5zym] {
        transform: none;
    }
    
    .clickable-card:active[b-c1ia8w5zym] {
        transform: none;
    }
    
    .header-divider[b-c1ia8w5zym],
    .refresh-button[b-c1ia8w5zym],
    .back-button[b-c1ia8w5zym] {
        transition: none;
    }
}
/* /Pages/DomainsPage.razor.rz.scp.css */
/* Modern Domains Page Styling */

.domains-page[b-izc9h1hgfb] {
    padding: 16px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--neutral-layer-1);
    min-height: 100vh;
    width: 100%;
}

/* Loading State */
.loading-container[b-izc9h1hgfb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 20px;
    min-height: 300px;
}

/* Header Section */
.page-header[b-izc9h1hgfb] {
    background: var(--neutral-layer-floating);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--elevation-shadow-card-rest);
    width: 100%;
}

.header-navigation[b-izc9h1hgfb] {
    margin-bottom: 8px;
    width: 100%;
}

.back-button[b-izc9h1hgfb] {
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    min-width: auto;
}

.back-button:hover[b-izc9h1hgfb] {
    background: var(--neutral-layer-2);
    transform: translateX(-2px);
}

.header-divider[b-izc9h1hgfb] {
    width: 1px;
    height: 32px;
    background: var(--neutral-stroke-divider);
    opacity: 0.5;
}

.breadcrumb-nav[b-izc9h1hgfb] {
    opacity: 0.8;
}

.refresh-button[b-izc9h1hgfb] {
    min-width: 110px;
    transition: all 0.2s ease;
}

.refresh-button:hover[b-izc9h1hgfb] {
    transform: translateY(-1px);
}

/* Content Section - Full Width */
.content-wrapper[b-izc9h1hgfb] {
    width: 100%;
}

.full-width-stack[b-izc9h1hgfb] {
    width: 100%;
}

/* Deployment Info Card */
.deployment-info-card[b-izc9h1hgfb] {
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--neutral-layer-floating) 0%, var(--neutral-layer-card-hover) 100%);
    border: 1px solid var(--neutral-stroke-card-default);
    box-shadow: var(--elevation-shadow-card-rest);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.deployment-info-card[b-izc9h1hgfb]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-fill-rest), var(--accent-fill-hover));
}

.deployment-details[b-izc9h1hgfb] {
    margin-top: 8px;
    width: 100%;
}

.detail-item[b-izc9h1hgfb] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--neutral-layer-2);
    border-radius: 6px;
    white-space: nowrap;
    margin-right: 8px;
    margin-bottom: 8px;
}

.edit-deployment-btn[b-izc9h1hgfb] {
    min-width: 100px;
    border-radius: 8px;
}

/* Domains Section - Full Width */
.domains-section-card[b-izc9h1hgfb] {
    background: var(--neutral-layer-floating);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--elevation-shadow-card-rest);
    width: 100%;
    border: 1px solid var(--neutral-stroke-card-default);
}

.domains-section-content[b-izc9h1hgfb] {
    width: 100%;
}

.domains-header[b-izc9h1hgfb] {
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-stroke-divider);
    width: 100%;
}

.add-domain-btn[b-izc9h1hgfb] {
    min-width: 140px;
    border-radius: 8px;
    font-weight: 600;
}

/* Domains Grid - Full Width */
.domains-grid-container[b-izc9h1hgfb] {
    width: 100%;
    margin-top: 20px;
}

.domains-grid[b-izc9h1hgfb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Domain Card - Enhanced Layout with Condensed Padding */
[b-izc9h1hgfb] fluent-card.domain-card {
    border-radius: 12px;
    border: 2px solid var(--neutral-stroke-card-default);
    background: var(--neutral-layer-card-default);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 0 !important; /* Remove default padding since we'll handle it in header/body */
}

.domain-card[b-izc9h1hgfb]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-fill-rest);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.domain-card:hover[b-izc9h1hgfb] {
    transform: translateY(-4px);
    border-color: var(--accent-stroke-control-default);
    box-shadow: var(--elevation-shadow-card-hover);
    background: var(--neutral-layer-card-hover);
}

.domain-card:hover[b-izc9h1hgfb]::before {
    transform: scaleX(1);
}

.domain-card:active[b-izc9h1hgfb] {
    transform: translateY(-2px);
}

/* Domain Card Header - Reduced Padding */
.domain-card-header[b-izc9h1hgfb] {
    padding: 12px 16px 10px 16px; /* Reduced from 20px 24px 16px 24px */
    border-bottom: 1px solid var(--neutral-stroke-divider);
    background: var(--neutral-layer-floating);
    position: relative;
    width: 100%;
}

.domain-card-header[b-izc9h1hgfb]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px; /* Adjusted to match new padding */
    right: 16px; /* Adjusted to match new padding */
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neutral-stroke-divider), transparent);
}

.domain-title-section[b-izc9h1hgfb] {
    flex: 1;
    min-width: 0; /* Allow text to truncate if needed */
    margin-right: 16px; /* Add space between title and buttons */
}

.domain-actions-section[b-izc9h1hgfb] {
    flex-shrink: 0;
    display: flex;
    gap: 6px; /* Slightly reduced gap between buttons */
    opacity: 0.7;
    transition: opacity 0.2s ease;
    margin-left: auto; /* Push buttons to the right */
}

.domain-name[b-izc9h1hgfb] {
    font-size: 1.1em;
    letter-spacing: -0.02em;
    margin-right: 8px; /* Reduced margin after domain name */
}

/* Domain Card Body - Reduced Padding */
.domain-card-body[b-izc9h1hgfb] {
    padding: 10px 16px 12px 16px; /* Reduced from 16px 24px 20px 24px */
    background: var(--neutral-layer-card-default);
}

/* DomainKey row inside the card body */
.domain-key-row[b-izc9h1hgfb] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.domain-key-label[b-izc9h1hgfb] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--neutral-foreground-hint);
    flex-shrink: 0;
}

.domain-key-value[b-izc9h1hgfb] {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    color: var(--neutral-foreground-rest);
    background: var(--neutral-fill-input-rest);
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 4px;
    padding: 1px 7px;
    word-break: break-all;
}

.domain-notes[b-izc9h1hgfb] {
    line-height: 1.4; /* Slightly reduced line height */
    max-height: 2.8em; /* Adjusted for new line height */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px; /* Reduced margin */
    font-size: 0.9em;
}

.domain-type[b-izc9h1hgfb] {
    color: var(--accent-foreground-rest);
    text-transform: uppercase;
    font-size: 0.75em;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Domain Actions - Enhanced Styling with Smaller Buttons */
.domain-actions-section fluent-button[b-izc9h1hgfb] {
    min-width: 32px; /* Reduced from 36px */
    height: 32px; /* Reduced from 36px */
    border-radius: 6px; /* Reduced border radius */
    transition: all 0.2s ease;
}

.domain-actions-section fluent-button:hover[b-izc9h1hgfb] {
    background: var(--neutral-layer-2);
    transform: scale(1.05);
    box-shadow: var(--elevation-shadow-tooltip);
}

.domain-actions-section fluent-button:active[b-izc9h1hgfb] {
    transform: scale(0.98);
}

/* Badge Styling */
fluent-badge[b-izc9h1hgfb] {
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Empty States */
.empty-state[b-izc9h1hgfb],
.empty-domains-card[b-izc9h1hgfb] {
    text-align: center;
    width: 100%;
}

.empty-state-card[b-izc9h1hgfb],
.empty-domains-card[b-izc9h1hgfb] {
    padding: 60px 40px;
    border-radius: 16px;
    border: 2px dashed var(--neutral-stroke-divider);
    background: var(--neutral-layer-card-default);
    width: 100%;
    box-sizing: border-box;
}

.empty-domains-card[b-izc9h1hgfb] {
    margin-top: 20px;
}

/* Error Section */
.error-section[b-izc9h1hgfb] {
    margin: 24px 0;
    width: 100%;
}

.error-card[b-izc9h1hgfb] {
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--error);
    background: var(--neutral-layer-floating);
    box-shadow: var(--elevation-shadow-card-rest);
    width: 100%;
    box-sizing: border-box;
}

.technical-details-card[b-izc9h1hgfb] {
    margin-top: 16px;
    padding: 16px;
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
}

.technical-error-text[b-izc9h1hgfb] {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--neutral-foreground-rest);
    word-break: break-word;
}

/* Ensure FluentStack components take full width */
fluent-stack[b-izc9h1hgfb] {
    width: 100%;
}

fluent-stack[class*="full-width"][b-izc9h1hgfb] {
    width: 100% !important;
}

fluent-stack[class*="domains-section"][b-izc9h1hgfb] {
    width: 100% !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .domains-page[b-izc9h1hgfb] {
        padding: 16px;
    }

    .page-header[b-izc9h1hgfb] {
        padding: 20px;
    }

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

    .header-navigation fluent-stack:first-child[b-izc9h1hgfb] {
        justify-content: flex-start;
    }

    .back-button[b-izc9h1hgfb] {
        align-self: flex-start;
    }

    .deployment-info-card[b-izc9h1hgfb] {
        padding: 24px;
    }

    .domains-section-card[b-izc9h1hgfb] {
        padding: 24px;
    }

    .domains-grid[b-izc9h1hgfb] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .domains-header[b-izc9h1hgfb] {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .domain-card-header[b-izc9h1hgfb] {
        padding: 10px 14px 8px 14px; /* Further reduced for mobile */
    }

    .domain-card-header[b-izc9h1hgfb]::after {
        left: 14px; /* Adjusted to match new padding */
        right: 14px; /* Adjusted to match new padding */
    }

    .domain-card-body[b-izc9h1hgfb] {
        padding: 8px 14px 10px 14px; /* Further reduced for mobile */
    }

    .domain-actions-section[b-izc9h1hgfb] {
        flex-wrap: wrap;
        gap: 4px; /* Reduced gap on mobile */
    }

    .detail-item[b-izc9h1hgfb] {
        font-size: 0.875rem;
        margin-right: 4px;
        margin-bottom: 4px;
    }

    .deployment-details fluent-stack[b-izc9h1hgfb] {
        flex-direction: column;
        align-items: stretch;
    }

    .domain-title-section[b-izc9h1hgfb] {
        margin-right: 12px; /* Reduced margin on mobile */
    }
}

@media (max-width: 480px) {
    .domains-page[b-izc9h1hgfb] {
        padding: 12px;
    }

    .header-divider[b-izc9h1hgfb] {
        display: none;
    }

    .back-button[b-izc9h1hgfb] {
        font-size: 0.8rem;
    }

    .deployment-details fluent-stack[b-izc9h1hgfb] {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-item[b-izc9h1hgfb] {
        justify-content: flex-start;
        margin-right: 0;
    }

    .empty-state-card[b-izc9h1hgfb],
    .empty-domains-card[b-izc9h1hgfb] {
        padding: 40px 20px;
    }

    .domains-grid[b-izc9h1hgfb] {
        grid-template-columns: 1fr;
    }

    .domain-card-header fluent-stack[horizontalalignment="SpaceBetween"][b-izc9h1hgfb] {
        flex-direction: column;
        gap: 8px; /* Reduced gap */
        align-items: stretch;
    }

    .domain-actions-section[b-izc9h1hgfb] {
        justify-content: flex-end;
        margin-top: 6px; /* Reduced margin */
    }

    .domain-card-header[b-izc9h1hgfb] {
        padding: 12px; /* Simplified padding for very small screens */
    }

    .domain-card-body[b-izc9h1hgfb] {
        padding: 8px 12px; /* Simplified padding for very small screens */
    }

    .domain-title-section[b-izc9h1hgfb] {
        margin-right: 8px; /* Further reduced margin on very small screens */
    }
}

/* Animation Classes */
@keyframes fadeIn-b-izc9h1hgfb {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.domains-grid .domain-card[b-izc9h1hgfb] {
    animation: fadeIn-b-izc9h1hgfb 0.6s ease-out;
}

.domains-grid .domain-card:nth-child(odd)[b-izc9h1hgfb] {
    animation-delay: 0.1s;
}

.domains-grid .domain-card:nth-child(even)[b-izc9h1hgfb] {
    animation-delay: 0.2s;
}

/* Focus and Accessibility */
.domain-card:focus-within[b-izc9h1hgfb] {
    outline: 2px solid var(--accent-stroke-control-default);
    outline-offset: 2px;
}

.back-button:focus[b-izc9h1hgfb],
.refresh-button:focus[b-izc9h1hgfb],
.add-domain-btn:focus[b-izc9h1hgfb] {
    outline: 2px solid var(--accent-stroke-control-default);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .domain-card[b-izc9h1hgfb] {
        border-width: 3px;
    }

    .deployment-info-card[b-izc9h1hgfb]::before {
        height: 4px;
    }

    .detail-item[b-izc9h1hgfb] {
        border: 1px solid var(--neutral-stroke-strong);
    }

    .domain-card-header[b-izc9h1hgfb] {
        border-bottom: 2px solid var(--neutral-stroke-strong);
    }
}

/* Special hover effects for domain cards */
.domain-card:hover .domain-card-header[b-izc9h1hgfb] {
    background: var(--neutral-layer-card-hover);
}

.domain-card:hover .domain-card-body[b-izc9h1hgfb] {
    background: var(--neutral-layer-card-hover);
}

/* Enhanced visual separation */
.domain-card-header[b-izc9h1hgfb] {
    position: relative;
    z-index: 1;
}

.domain-card-body[b-izc9h1hgfb] {
    position: relative;
    z-index: 0;
}
/* /Pages/EditDocumentVersionPage.razor.rz.scp.css */
/* ── Editor page layout ────────────────────────────────────────────────── */

.editor-page[b-337ppichke] {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 86px); /* subtract header */
    overflow: hidden;
}

/* ── Top bar ── */

.editor-topbar[b-337ppichke] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    background: var(--neutral-layer-2);
    border-bottom: 1px solid var(--neutral-stroke-layer-rest);
    flex-shrink: 0;
    min-height: 48px;
    flex-wrap: wrap;
}

.editor-topbar-left[b-337ppichke] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.editor-topbar-right[b-337ppichke] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.editor-breadcrumb-sep[b-337ppichke] {
    color: var(--neutral-foreground-hint);
    font-size: 0.9rem;
    user-select: none;
}

.editor-breadcrumb-title[b-337ppichke] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neutral-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.editor-breadcrumb-version[b-337ppichke] {
    font-size: 0.8rem;
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
}

/* ── Error banner ── */

.editor-banner[b-337ppichke] {
    padding: 6px 12px 0;
    flex-shrink: 0;
}

/* ── Body / editor area ── */

.editor-body[b-337ppichke] {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.editor-loading[b-337ppichke] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
}

/* Force the EasyMDE container to fill all available height */
.editor-body[b-337ppichke]  .mde-host-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.editor-body[b-337ppichke]  .EasyMDEContainer {
    position: relative; /* anchor .editor-preview-side absolute positioning */
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.editor-body[b-337ppichke]  .EasyMDEContainer .editor-toolbar {
    flex-shrink: 0;
}

.editor-body[b-337ppichke]  .EasyMDEContainer .CodeMirror {
    flex: 1;
    min-height: 0;
    height: auto !important;
    overflow: hidden; /* CodeMirror scrolls via .CodeMirror-scroll, not this element */
}

/* Side-by-side mode: constrain CodeMirror to the left half, fill available height */
.editor-body[b-337ppichke]  .EasyMDEContainer .CodeMirror-sided {
    flex: 1 !important;
    width: 50% !important;
    min-height: 0;
    overflow: hidden; /* scrolling delegated to .CodeMirror-scroll */
}

.editor-body[b-337ppichke]  .EasyMDEContainer .CodeMirror-scroll {
    flex: 1;
    height: 100%;
    min-height: 0;
    overflow-y: auto !important; /* sole scroll surface inside the editor */
    overflow-x: auto;
    box-sizing: border-box;
}

.editor-body[b-337ppichke]  .EasyMDEContainer .editor-statusbar {
    flex-shrink: 0;
}

.editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    overflow-y: auto;
    box-sizing: border-box;
}

.editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview {
    height: 100%;
    overflow-y: auto;
}

/* ── Dark mode: EasyMDE preview panels ── */
@media (prefers-color-scheme: dark) {
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview {
        background: var(--neutral-layer-1);
        color: var(--neutral-foreground-rest);
        border-left-color: var(--neutral-stroke-layer-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side a,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview a {
        color: var(--accent-foreground-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side h1,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side h2,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side h3,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side h4,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side h5,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side h6,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview h1,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview h2,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview h3,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview h4,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview h5,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview h6 {
        color: var(--neutral-foreground-rest);
        border-bottom-color: var(--neutral-stroke-layer-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side pre,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side code,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview pre,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview code {
        background: var(--neutral-layer-2);
        color: var(--neutral-foreground-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side blockquote,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview blockquote {
        color: var(--neutral-foreground-hint);
        border-left-color: var(--neutral-stroke-strong-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side table th,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side table td,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview table th,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview table td {
        border-color: var(--neutral-stroke-layer-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview-side table tr:nth-child(even),
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-preview table tr:nth-child(even) {
        background: var(--neutral-layer-2);
    }

    /* Toolbar dark mode */
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-toolbar {
        background: var(--neutral-layer-2);
        border-bottom-color: var(--neutral-stroke-layer-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-toolbar button {
        color: var(--neutral-foreground-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-toolbar button:hover,
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-toolbar button.active {
        background: var(--neutral-layer-3);
        border-color: var(--neutral-stroke-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-toolbar i.separator {
        border-right-color: var(--neutral-stroke-layer-rest);
    }

    /* CodeMirror editor area dark mode */
    .editor-body[b-337ppichke]  .EasyMDEContainer .CodeMirror {
        background: var(--neutral-layer-1);
        color: var(--neutral-foreground-rest);
        border-color: var(--neutral-stroke-layer-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .CodeMirror-cursor {
        border-left-color: var(--neutral-foreground-rest);
    }

    .editor-body[b-337ppichke]  .EasyMDEContainer .CodeMirror-selected {
        background: var(--accent-fill-selected);
    }

    /* Status bar */
    .editor-body[b-337ppichke]  .EasyMDEContainer .editor-statusbar {
        background: var(--neutral-layer-2);
        color: var(--neutral-foreground-hint);
        border-top-color: var(--neutral-stroke-layer-rest);
    }
}

/* Images-loading inline notice */
.editor-images-loading[b-337ppichke] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--neutral-layer-2);
    border-bottom: 1px solid var(--neutral-stroke-layer-rest);
    flex-shrink: 0;
}
/* /Pages/HttpClientSettingsPage.razor.rz.scp.css */
.http-clients-grid[b-1t6jyeixiz] {
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
}

.info-badge[b-1t6jyeixiz] {
    font-weight: 600;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    border: 1px solid #059669;
}

.header-count-badge[b-1t6jyeixiz] {
    font-weight: 500;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.header-card[b-1t6jyeixiz] {
    background: var(--neutral-fill-input-rest);
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
    padding: 12px;
}

.header-card:hover[b-1t6jyeixiz] {
    border-color: var(--accent-fill-rest);
    transition: border-color 0.2s ease-in-out;
}

/* Enhanced button styles */
fluent-button[size="small"][b-1t6jyeixiz] {
    font-size: 12px;
    padding: 4px 8px;
}

/* Loading and error states */
.loading-container[b-1t6jyeixiz] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.empty-state-container[b-1t6jyeixiz] {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-container fluent-icon[b-1t6jyeixiz] {
    margin-bottom: 16px;
}

/* Dialog improvements */
fluent-dialog fluent-dialog-body[b-1t6jyeixiz] {
    max-height: 70vh;
    overflow-y: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .http-clients-grid[b-1t6jyeixiz] {
        font-size: 14px;
    }
    
    .info-badge[b-1t6jyeixiz], .header-count-badge[b-1t6jyeixiz] {
        font-size: 10px;
        padding: 2px 4px;
    }
    
    .header-card[b-1t6jyeixiz] {
        padding: 8px;
    }
    
    fluent-button[size="small"][b-1t6jyeixiz] {
        font-size: 11px;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    /* Stack action buttons vertically on very small screens */
    .http-clients-grid .actions-column fluent-stack[b-1t6jyeixiz] {
        flex-direction: column;
        gap: 4px;
    }
    
    .http-clients-grid .actions-column fluent-button[b-1t6jyeixiz] {
        width: 100%;
        font-size: 10px;
    }
}

/* Animation for smooth transitions */
.http-clients-grid fluent-data-grid-row[b-1t6jyeixiz] {
    transition: background-color 0.2s ease-in-out;
}

.http-clients-grid fluent-data-grid-row:hover[b-1t6jyeixiz] {
    background-color: var(--neutral-fill-subtle-hover);
}

/* Badge hover effects */
.info-badge:hover[b-1t6jyeixiz] {
    background-color: #059669 !important;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}

.header-count-badge:hover[b-1t6jyeixiz] {
    background-color: #4b5563 !important;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}
/* /Pages/LayoutSettingsPage.razor.rz.scp.css */
/* Layout Settings Page - Image Selector Integration Styles */

/* Asset sections styling */
.section-content .image-url-selector[b-azw9pt1ih6] {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 8px;
}

/* Responsive layout for image selectors */
@media (max-width: 1200px) {
    .section-content FluentStack[style*="gap: 24px"][b-azw9pt1ih6] {
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .section-content FluentStack[style*="gap: 24px"][b-azw9pt1ih6] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }
    
    .section-content .image-url-selector[b-azw9pt1ih6] {
        width: 100% !important;
    }
}

/* Improve form layout with image selectors */
.form-grid[b-azw9pt1ih6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .form-grid[b-azw9pt1ih6] {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Section headers with better spacing */
.section-content FluentLabel[Typo="Typography.Subject"][b-azw9pt1ih6] {
    margin-bottom: 8px;
    color: var(--neutral-foreground-rest);
}

/* Navigation item card improvements */
.item-card .image-url-selector[b-azw9pt1ih6] {
    margin-top: 8px;
}

/* Compact preview for navigation icons */
.item-card .image-url-selector .preview-container[b-azw9pt1ih6] {
    border: 1px solid var(--neutral-stroke-rest);
    background: var(--neutral-layer-2);
}

/* Loading and saving states */
.loading-container[b-azw9pt1ih6],
.content-wrapper[b-azw9pt1ih6] {
    min-height: 400px;
}

/* Better spacing for asset sections */
.section-content > FluentStack > FluentStack[style*="gap: 24px"][b-azw9pt1ih6] {
    padding: 16px 0;
    border-top: 1px solid var(--neutral-stroke-divider);
    margin-top: 8px;
}

/* Enhanced Layout Settings Page Styles */

/* Main page container */
.page-container[b-azw9pt1ih6] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* Header styling */
.page-header[b-azw9pt1ih6] {
    margin-bottom: 32px;
}

.header-navigation[b-azw9pt1ih6] {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-stroke-divider);
}

.back-button[b-azw9pt1ih6] {
    color: var(--neutral-foreground-rest);
    transition: color 0.2s ease;
}

.back-button:hover[b-azw9pt1ih6] {
    color: var(--accent-fill-rest);
}

.header-divider[b-azw9pt1ih6] {
    width: 1px;
    height: 24px;
    background-color: var(--neutral-stroke-divider);
}

.breadcrumb-nav[b-azw9pt1ih6] {
    margin-top: 16px;
}

/* Content wrapper */
.content-wrapper[b-azw9pt1ih6] {
    max-width: 100%;
}

.full-width-stack[b-azw9pt1ih6] {
    width: 100%;
}

/* Section cards */
.section-card[b-azw9pt1ih6] {
    background: var(--neutral-layer-1);
    border: 1px solid var(--neutral-stroke-divider);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.section-card:hover[b-azw9pt1ih6] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.section-content[b-azw9pt1ih6] {
    width: 100%;
}

.section-header[b-azw9pt1ih6] {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-stroke-divider);
    margin-bottom: 0;
}

/* Subsection titles */
.subsection-title[b-azw9pt1ih6] {
    color: var(--neutral-foreground-rest);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--neutral-stroke-subtle);
}

/* Modern form styling */
.form-grid-modern[b-azw9pt1ih6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.form-field-modern[b-azw9pt1ih6] {
    width: 100%;
}

/* Basic Configuration Grid - NEW LAYOUT */
.basic-config-grid[b-azw9pt1ih6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center; /* Vertically center the entire field containers */
    width: 100%;
}

.config-field-container[b-azw9pt1ih6] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 80px; /* Ensure consistent minimum height */
    width: 100%;
}

/* Enhanced color picker field styling */
.color-picker-field[b-azw9pt1ih6] {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensure FluentTextField labels and inputs are vertically centered within their containers */
.config-field-container .form-field-modern[b-azw9pt1ih6] {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Color picker container adjustments */
.color-picker-container[b-azw9pt1ih6] {
    background: var(--neutral-layer-2);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--neutral-stroke-divider);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px; /* Match other field containers */
}

/* Assets grid layouts - GUARANTEED EQUAL COLUMN WIDTHS */
.assets-grid[b-azw9pt1ih6] {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Always equal columns */
    gap: 24px;
    align-items: stretch; /* Equal height columns */
    width: 100%;
}

.assets-grid-large[b-azw9pt1ih6] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Always 3 equal columns - no auto-sizing */
    gap: 24px;
    align-items: stretch; /* Equal height columns */
    width: 100%;
    grid-auto-flow: row;
    /* Prevent column width changes */
    grid-template-rows: auto;
    min-height: 0; /* Allow content to determine height */
}

/* Force asset items to have consistent sizing */
.asset-item[b-azw9pt1ih6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-divider);
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    /* Ensure consistent sizing regardless of content */
    min-width: 0; /* Allow shrinking */
    max-width: 100%; /* Prevent expansion */
    /* Equal height for all items in row */
    align-self: stretch;
}

.asset-item:hover[b-azw9pt1ih6] {
    background: var(--neutral-layer-3);
    transform: translateY(-1px);
}

/* Ensure ImageUrlSelector components don't cause deformation */
.asset-item .image-url-selector[b-azw9pt1ih6] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Prevent content from breaking grid */
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure preview containers maintain aspect ratios without breaking grid */
.asset-item .image-url-selector .preview-container[b-azw9pt1ih6] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Prevent overflow that could break grid alignment */
    overflow: hidden;
}

.asset-description[b-azw9pt1ih6] {
    color: var(--neutral-foreground-hint);
    text-align: center;
    font-style: italic;
    margin-top: 8px;
    /* Prevent text overflow from breaking grid */
    word-wrap: break-word;
    hyphens: auto;
}

/* Navigation item cards */
.nav-item-card[b-azw9pt1ih6] {
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-divider);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s ease;
}

.nav-item-card:hover[b-azw9pt1ih6] {
    background: var(--neutral-layer-3);
    border-color: var(--accent-stroke-rest);
}

.nav-icon-section[b-azw9pt1ih6] {
    min-width: 120px;
    max-width: 120px; /* Fixed width to prevent deformation */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: var(--neutral-layer-1);
    border-radius: 8px;
    border: 1px solid var(--neutral-stroke-divider);
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-form-section[b-azw9pt1ih6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0; /* Allow content to shrink if needed */
}

.form-grid-nav[b-azw9pt1ih6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

/* Currency item cards */
.currency-item-card[b-azw9pt1ih6] {
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-divider);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.currency-item-card:hover[b-azw9pt1ih6] {
    background: var(--neutral-layer-3);
    border-color: var(--accent-stroke-rest);
}

.currency-form-section[b-azw9pt1ih6] {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    align-items: end;
    flex: 1;
}

.currency-id-field[b-azw9pt1ih6] {
    width: 100%;
}

.currency-desc-field[b-azw9pt1ih6] {
    width: 100%;
}

/* Empty state cards */
.empty-state-card[b-azw9pt1ih6] {
    background: var(--neutral-layer-2);
    border: 2px dashed var(--neutral-stroke-divider);
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.2s ease;
}

.empty-state-card:hover[b-azw9pt1ih6] {
    border-color: var(--accent-stroke-rest);
    background: var(--accent-fill-subtle);
}

/* Action buttons */
.action-button[b-azw9pt1ih6] {
    white-space: nowrap;
}

.remove-button[b-azw9pt1ih6] {
    color: var(--error-rest);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.remove-button:hover[b-azw9pt1ih6] {
    opacity: 1;
    background: var(--error-fill-subtle);
}

/* Action card — sticky save bar.
   z-index kept below the global listbox layer (9000) so open dropdowns
   above this bar are never obscured by it. */
.action-card[b-azw9pt1ih6] {
    background: var(--neutral-layer-2);
    border: 1px solid var(--accent-stroke-divider);
    border-radius: 12px;
    padding: 24px 32px;
    margin-top: 16px;
    position: sticky;
    bottom: 24px;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Checkbox section */
.checkbox-section[b-azw9pt1ih6] {
    background: var(--neutral-layer-2);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--neutral-stroke-divider);
}

/* Loading and error states */
.loading-container[b-azw9pt1ih6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    text-align: center;
    gap: 16px;
}

.error-section[b-azw9pt1ih6] {
    margin: 32px 0;
}

.error-card[b-azw9pt1ih6] {
    background: var(--error-fill-subtle);
    border: 1px solid var(--error-stroke-rest);
    border-radius: 12px;
    padding: 24px;
}

/* Responsive design - MAINTAIN EQUAL WIDTHS AT ALL BREAKPOINTS */
@media (max-width: 1024px) {
    .page-container[b-azw9pt1ih6] {
        padding: 16px;
    }
    
    .section-card[b-azw9pt1ih6] {
        padding: 24px;
    }
    
    .assets-grid-large[b-azw9pt1ih6] {
        grid-template-columns: 1fr 1fr; /* 2 equal columns on medium screens */
        /* Third item will wrap to new row */
    }
    
    .assets-grid[b-azw9pt1ih6] {
        grid-template-columns: 1fr; /* Single column on medium screens */
    }
    
    .form-grid-modern[b-azw9pt1ih6] {
        grid-template-columns: 1fr;
    }
    
    /* Keep basic config grid in row on tablets */
    .basic-config-grid[b-azw9pt1ih6] {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-card[b-azw9pt1ih6] {
        padding: 16px;
    }
    
    .header-navigation[b-azw9pt1ih6] {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .assets-grid-large[b-azw9pt1ih6] {
        grid-template-columns: 1fr; /* Single equal-width column on mobile */
    }
    
    /* Stack basic config fields on mobile */
    .basic-config-grid[b-azw9pt1ih6] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .nav-icon-section[b-azw9pt1ih6] {
        min-width: 100px;
        max-width: 100px;
    }
    
    .nav-item-card .nav-form-section[b-azw9pt1ih6] {
        grid-template-columns: 1fr;
    }
    
    .form-grid-nav[b-azw9pt1ih6] {
        grid-template-columns: 1fr;
    }
    
    .currency-form-section[b-azw9pt1ih6] {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .action-card[b-azw9pt1ih6] {
        position: static;
        margin-top: 24px;
    }
    
    .action-card .fluent-stack[b-azw9pt1ih6] {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .page-container[b-azw9pt1ih6] {
        padding: 12px;
    }
    
    .section-card[b-azw9pt1ih6] {
        padding: 12px;
    }
    
    .asset-item[b-azw9pt1ih6] {
        padding: 16px;
    }
    
    .nav-item-card[b-azw9pt1ih6] {
        padding: 16px;
    }
    
    .nav-icon-section[b-azw9pt1ih6] {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }
    
    /* Stack navigation content vertically on small screens */
    .nav-item-card .fluent-stack[data-orientation="horizontal"][b-azw9pt1ih6] {
        flex-direction: column;
        gap: 16px;
    }
}

/* Enhanced focus states */
.section-card:focus-within[b-azw9pt1ih6] {
    border-color: var(--accent-stroke-rest);
    box-shadow: 0 0 0 2px var(--accent-fill-subtle);
}

.asset-item:focus-within[b-azw9pt1ih6],
.nav-item-card:focus-within[b-azw9pt1ih6],
.currency-item-card:focus-within[b-azw9pt1ih6] {
    border-color: var(--accent-stroke-rest);
    background: var(--accent-fill-subtle);
}

/* Animation improvements */
@keyframes slideIn-b-azw9pt1ih6 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card[b-azw9pt1ih6] {
    animation: slideIn-b-azw9pt1ih6 0.3s ease-out;
}

/* Enhanced Currency Definitions Styles */
.add-currency-card[b-azw9pt1ih6] {
    background: var(--accent-fill-subtle);
    border: 2px solid var(--accent-stroke-rest);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    animation: slideIn-b-azw9pt1ih6 0.3s ease-out;
}

.currency-select[b-azw9pt1ih6] {
    min-width: 300px;
}

.custom-currency-form[b-azw9pt1ih6] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: end;
    width: 100%;
}

.predefined-currency[b-azw9pt1ih6] {
    border-left: 4px solid var(--success-rest);
    background: var(--success-fill-subtle);
}

.custom-currency[b-azw9pt1ih6] {
    border-left: 4px solid var(--info-rest);
    background: var(--info-fill-subtle);
}

.currency-details[b-azw9pt1ih6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.currency-item-card .currency-details[b-azw9pt1ih6] {
    padding: 0;
    margin: 0;
}

.currency-item-card.predefined-currency:hover[b-azw9pt1ih6] {
    background: var(--success-fill-subtle);
    border-color: var(--success-stroke-rest);
}

.currency-item-card.custom-currency:hover[b-azw9pt1ih6] {
    background: var(--info-fill-subtle);
    border-color: var(--info-stroke-rest);
}

/* Currency selection animations */
@keyframes fadeInScale-b-azw9pt1ih6 {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.currency-item-card[b-azw9pt1ih6] {
    animation: fadeInScale-b-azw9pt1ih6 0.2s ease-out;
}

/* Custom currency form responsive design */
@media (max-width: 768px) {
    .custom-currency-form[b-azw9pt1ih6] {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .currency-select[b-azw9pt1ih6] {
        min-width: auto;
        width: 100%;
    }
    
    .add-currency-card[b-azw9pt1ih6] {
        padding: 16px;
    }
}

/* Enhanced empty state for currencies */
.empty-state-card .fluent-icon[b-azw9pt1ih6] {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.empty-state-card:hover .fluent-icon[b-azw9pt1ih6] {
    opacity: 1;
}

/* Divider styling in currency selection */
.add-currency-card fluent-divider[b-azw9pt1ih6] {
    margin: 16px 0;
}

/* Improved button spacing in currency forms */
.add-currency-card fluent-stack[orientation="horizontal"][b-azw9pt1ih6] {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.add-currency-card fluent-button[b-azw9pt1ih6] {
    white-space: nowrap;
}

/* Currency validation states */
.currency-form-section .fluent-text-field[aria-invalid="true"][b-azw9pt1ih6],
.custom-currency-form .fluent-number-field[aria-invalid="true"][b-azw9pt1ih6] {
    border-color: var(--error-rest);
    background: var(--error-fill-subtle);
}

/* Success feedback for currency operations */
.currency-item-card.just-added[b-azw9pt1ih6] {
    animation: fadeInScale-b-azw9pt1ih6 0.4s ease-out;
    border-color: var(--success-rest);
    background: var(--success-fill-subtle);
}

/* Print styles */
@media print {
    .action-card[b-azw9pt1ih6],
    .back-button[b-azw9pt1ih6],
    .remove-button[b-azw9pt1ih6],
    .add-currency-card[b-azw9pt1ih6] {
        display: none;
    }
    
    .section-card[b-azw9pt1ih6] {
        box-shadow: none;
        border: 1px solid #000;
        break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .predefined-currency[b-azw9pt1ih6],
    .custom-currency[b-azw9pt1ih6] {
        border-left-width: 2px;
    }
}

/* Currency select: fixed height listbox — global rule in design-system handles position/z-index */
fluent-select.currency-select[b-azw9pt1ih6]::part(listbox) {
    height: 150px;
    overflow-y: auto;
}
/* /Pages/LoginThemeSettingsPage.razor.rz.scp.css */
.login-preview[b-1u1nlkxl00] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    color: #333;
    padding: 25px;
}

.login-form[b-1u1nlkxl00] {
    box-shadow: 0 0.5rem 1rem 0 rgba(3,3,3,0.16),0 0 0.375rem 0 rgba(3,3,3,0.08);
    padding: 16px !important;
    max-width: 380px;
    border-radius: 4px;
    margin: 0 !important;
    min-width: 380px;
    background: #fff;
}

*[b-1u1nlkxl00] {
    font-family: 'ProximaNova', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-stretch: condensed;
}

.lang-button-wrapper[b-1u1nlkxl00] {
    text-align: right;
}

    .lang-button-wrapper button[b-1u1nlkxl00] {
        margin: 0;
        font-family: inherit;
        font-size: 100%;
        line-height: 1.5;
        color: #151515;
        background-color: #e8e4e5;
    }

.login-form-header h1[b-1u1nlkxl00] {
    margin-top: 10px;
    text-align: center;
    font-size: 24px;
    ;
    font-weight: normal;
}

.login-form-conent[b-1u1nlkxl00] {
    width: 100%;
}

.form-group[b-1u1nlkxl00] {
    border: 1px solid #ddd;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 12px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

    .form-group:nth-child(2)[b-1u1nlkxl00] {
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

.pf-c-form__label-text[b-1u1nlkxl00] {
    text-transform: uppercase;
    font-size: 10px;
    font-stretch: condensed;
    letter-spacing: 1px;
    padding: 0;
    margin: 0;
    background-color: transparent;
    display: inline-block;
    max-width: 100%;
}

input[type='text'][b-1u1nlkxl00],
input[type='password'][b-1u1nlkxl00] {
    font-size: 16px;
    padding: 0;
    border: none;
    height: auto;
    margin-top: 12px;
    padding-bottom: 0 !important;
    background-color: #fff;
}

.pf-c-form__label-text[b-1u1nlkxl00] {
    text-transform: uppercase;
    font-size: 10px;
    font-stretch: condensed;
    letter-spacing: 1px;
}

.login-button[b-1u1nlkxl00] {
    color: #002890;
    font-family: 'ProximaNova';
    background-color: #FFB800;
    padding: 12px 42px;
    border-radius: 4px;
    line-height: 24px;
    border: none;
    text-align: center;
    cursor: pointer;
    margin-top: 15px;
}

input[type="text"]:focus-visible[b-1u1nlkxl00], input[type="password"]:focus-visible[b-1u1nlkxl00] {
    outline: none;
}
/* /Pages/SignUpSettingsPage.razor.rz.scp.css */
/* Currency Definitions — moved verbatim from LayoutSettingsPage.razor.css (Q15) */

.add-currency-card[b-c3qq87plb7] {
    background: var(--accent-fill-subtle);
    border: 2px solid var(--accent-stroke-rest);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    animation: slideIn-b-c3qq87plb7 0.3s ease-out;
}

.currency-select[b-c3qq87plb7] {
    min-width: 300px;
}

.custom-currency-form[b-c3qq87plb7] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: end;
    width: 100%;
}

.currency-id-field[b-c3qq87plb7] {
    width: 100%;
}

.currency-desc-field[b-c3qq87plb7] {
    width: 100%;
}

.currency-item-card[b-c3qq87plb7] {
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-divider);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.currency-item-card:hover[b-c3qq87plb7] {
    background: var(--neutral-layer-3);
    border-color: var(--accent-stroke-rest);
}

.predefined-currency[b-c3qq87plb7] {
    border-left: 4px solid var(--success-rest);
    background: var(--success-fill-subtle);
}

.custom-currency[b-c3qq87plb7] {
    border-left: 4px solid var(--info-rest);
    background: var(--info-fill-subtle);
}

.currency-details[b-c3qq87plb7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.currency-item-card.predefined-currency:hover[b-c3qq87plb7] {
    background: var(--success-fill-subtle);
    border-color: var(--success-stroke-rest);
}

.currency-item-card.custom-currency:hover[b-c3qq87plb7] {
    background: var(--info-fill-subtle);
    border-color: var(--info-stroke-rest);
}

@keyframes slideIn-b-c3qq87plb7 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .custom-currency-form[b-c3qq87plb7] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .currency-select[b-c3qq87plb7] {
        min-width: auto;
        width: 100%;
    }

    .add-currency-card[b-c3qq87plb7] {
        padding: 16px;
    }
}

fluent-select.currency-select[b-c3qq87plb7]::part(listbox) {
    height: 150px;
    overflow-y: auto;
}

/* Requested Fields — one row per SignUpField */

.field-row-card[b-c3qq87plb7] {
    background: var(--neutral-layer-2);
    border: 1px solid var(--neutral-stroke-divider);
    border-radius: 8px;
    padding: 12px 16px;
}

.field-row-card:hover[b-c3qq87plb7] {
    background: var(--neutral-layer-3);
    border-color: var(--accent-stroke-rest);
}

@media (max-width: 640px) {
    .field-row-content[b-c3qq87plb7] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .field-row-actions[b-c3qq87plb7] {
        width: 100%;
        justify-content: space-between;
    }
}

/* Countries / States / Cities — summary chips shown on the page, full picker lives in
   Dialog/LocationsPickerDialog.razor */

.location-chip-wrap[b-c3qq87plb7] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.location-chip[b-c3qq87plb7] {
    margin: 0;
}

.location-chip-remove[b-c3qq87plb7] {
    margin-left: 4px;
}
/* /Pages/SignUpSourcesPage.razor.rz.scp.css */
.template-card[b-6yvugkycbq] {
    margin-bottom: 16px;
}
/* /Pages/SiteInfoSettingsPage.razor.rz.scp.css */
/* Social media type select — global rule in design-system handles position/z-index.
   The .custom-dropdown class is kept for any future per-instance overrides. */
.custom-dropdown[b-5ui6bj960j]::part(listbox) {
    min-width: 200px;
}
/* /Pages/ThirdPartyServiceEditPage.razor.rz.scp.css */
/* ── Page layout ──────────────────────────────────────────── */

.page-container[b-hdfv5n23ux] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.page-header[b-hdfv5n23ux] {
    margin-bottom: 24px;
}

.header-navigation[b-hdfv5n23ux] {
    width: 100%;
}

.content-wrapper[b-hdfv5n23ux] {
    width: 100%;
}

.edit-section-card[b-hdfv5n23ux] {
    width: 100%;
}

/* ── Loading / error states ───────────────────────────────── */

.loading-container[b-hdfv5n23ux] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 0;
}

.error-card[b-hdfv5n23ux] {
    background-color: var(--fill-color-error-background);
    border-left: 4px solid var(--fill-color-error-foreground);
}

/* ── Render position radio group ─────────────────────────── */

[b-hdfv5n23ux] .render-position-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.render-position-group[b-hdfv5n23ux]  fluent-radio,
.render-position-group[b-hdfv5n23ux]  .fui-radio-control {
    flex: 1 1 200px;
}

.render-position-group[b-hdfv5n23ux]  fluent-radio {
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    background: var(--neutral-fill-input-rest);
    align-items: flex-start;
}

    .render-position-group[b-hdfv5n23ux]  fluent-radio:hover {
        background-color: var(--neutral-fill-input-hover);
        border-color: var(--neutral-stroke-hover);
    }

    .render-position-group[b-hdfv5n23ux]  fluent-radio[data-checked="true"] {
        border-color: var(--accent-fill-rest);
        background: color-mix(in srgb, var(--accent-fill-rest) 12%, var(--neutral-fill-input-rest));
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-fill-rest) 45%, transparent);
    }

.render-position-group[b-hdfv5n23ux]  .fui-radio__control {
    margin-top: 2px;
}

.render-position-group[b-hdfv5n23ux]  .fui-radio__label {
    width: 100%;
}

/* ── Service key mode toggle ──────────────────────────────── */

.key-mode-toggle[b-hdfv5n23ux] {
    display: flex;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    overflow: hidden;
    width: 100%;
}

.mode-btn[b-hdfv5n23ux] {
    flex: 1;
    padding: 0 12px;
    height: 32px;
    font-family: var(--body-font, inherit);
    font-size: var(--type-ramp-base-font-size, 14px);
    background-color: var(--neutral-fill-input-rest);
    color: var(--neutral-foreground-hint);
    border: none;
    border-right: 1px solid var(--neutral-stroke-rest);
    cursor: pointer;
    transition: background-color 0.1s ease, color 0.1s ease;
    outline: none;
}

    .mode-btn:last-child[b-hdfv5n23ux] {
        border-right: none;
    }

    .mode-btn:hover:not(:disabled)[b-hdfv5n23ux] {
        background-color: var(--neutral-fill-input-hover);
        color: var(--neutral-foreground-rest);
    }

    .mode-btn:disabled[b-hdfv5n23ux] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.mode-btn--active[b-hdfv5n23ux] {
    background-color: var(--accent-fill-rest);
    color: var(--foreground-on-accent-rest);
    font-weight: 600;
}

    .mode-btn--active:hover:not(:disabled)[b-hdfv5n23ux] {
        background-color: var(--accent-fill-hover);
        color: var(--foreground-on-accent-rest);
    }

/* ── Service key native select ────────────────────────────── */

.service-key-select[b-hdfv5n23ux] {
    width: 100%;
    height: 32px;
    padding: 0 28px 0 10px;
    background-color: var(--neutral-fill-input-rest);
    color: var(--neutral-foreground-rest);
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    font-family: var(--body-font, inherit);
    font-size: var(--type-ramp-base-font-size, 14px);
    line-height: 30px;
    cursor: pointer;
    box-sizing: border-box;
    appearance: auto;
    outline: none;
    transition: border-color 0.1s ease;
}

    .service-key-select:hover[b-hdfv5n23ux] {
        background-color: var(--neutral-fill-input-hover);
        border-color: var(--neutral-stroke-hover);
    }

    .service-key-select:focus[b-hdfv5n23ux] {
        border-color: var(--accent-fill-rest);
        outline: none;
    }

    .service-key-select:disabled[b-hdfv5n23ux] {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .service-key-select option[b-hdfv5n23ux] {
        background-color: var(--neutral-layer-2, #2b2b2b);
        color: var(--neutral-foreground-rest, #fff);
    }

/* ── Parameters header ────────────────────────────────────── */

.parameters-header[b-hdfv5n23ux] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.parameters-title[b-hdfv5n23ux] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inline-token[b-hdfv5n23ux] {
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.78rem;
    color: var(--accent-foreground-rest);
    background-color: var(--neutral-layer-4, rgba(255,255,255,0.05));
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 3px;
    padding: 0 3px;
}

.parameters-actions[b-hdfv5n23ux] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Parameter rows ───────────────────────────────────────── */

.param-row[b-hdfv5n23ux] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.param-inputs[b-hdfv5n23ux] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

/* ── Resolved-value preview ───────────────────────────────── */

.param-preview[b-hdfv5n23ux] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    background-color: var(--neutral-layer-4, rgba(255,255,255,0.04));
    border: 1px solid var(--neutral-stroke-rest);
    border-left: 3px solid var(--accent-fill-rest);
    border-radius: calc(var(--control-corner-radius, 4) * 1px);
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    animation: param-preview-in-b-hdfv5n23ux 0.14s ease;
}

@keyframes param-preview-in-b-hdfv5n23ux {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.param-preview-key[b-hdfv5n23ux] {
    font-size: 0.72rem;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
    max-width: 35%;
}

.param-preview-label[b-hdfv5n23ux] {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-foreground-rest);
    opacity: 0.7;
    flex-shrink: 0;
    white-space: nowrap;
}

.param-preview-sep[b-hdfv5n23ux] {
    font-size: 0.72rem;
    color: var(--neutral-foreground-hint);
    opacity: 0.45;
    flex-shrink: 0;
}

.param-preview-text[b-hdfv5n23ux] {
    font-size: 0.78rem;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    color: var(--accent-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 768px) {
    .page-container[b-hdfv5n23ux] {
        padding: 16px;
    }
}
/* /Pages/ThirdPartyServicesPage.razor.rz.scp.css */
.page-container[b-hfr4t7rbga] {
    padding: 24px;
    max-width: none;
    width: 100%;
}

/* ── Header ───────────────────────────────────────────── */
.header-divider[b-hfr4t7rbga] {
    width: 1px;
    height: 32px;
    background-color: var(--neutral-stroke-rest);
    flex-shrink: 0;
}

.breadcrumb-nav[b-hfr4t7rbga] {
    margin-top: 8px;
}

.action-button[b-hfr4t7rbga] {
    min-width: 140px;
}

/* ── Content wrapper ──────────────────────────────────── */
.content-wrapper[b-hfr4t7rbga] {
    width: 100%;
}

/* ── Outer container card ─────────────────────────────── */
[b-hfr4t7rbga] .services-container-card {
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    padding: 24px;
    width: 100%;
}

/* ── Count badge next to section title ───────────────── */
.count-badge[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background-color: var(--accent-fill-rest);
    color: var(--foreground-on-accent-rest);
}

/* ── Grouped service sections ─────────────────────────── */
.services-sections[b-hfr4t7rbga] {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.position-section[b-hfr4t7rbga] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 10px;
    background: var(--neutral-layer-2);
}

.position-section-header[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--neutral-stroke-rest);
}

.service-section[b-hfr4t7rbga] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.service-section-header[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-2);
}

.service-section-header__content[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.service-section-badges[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.section-order-badge[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    background: var(--neutral-fill-subtle-rest);
    color: var(--neutral-foreground-rest);
    border: 1px solid var(--neutral-stroke-rest);
}

.service-section-actions[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

/* ── Responsive services grid ─────────────────────────── */
.services-grid[b-hfr4t7rbga] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* ── Individual service card ──────────────────────────── */
[b-hfr4t7rbga] .service-card {
    width: 100%;
    box-sizing: border-box;
    display: block;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    padding: 0;
    overflow: hidden;
}

    [b-hfr4t7rbga] .service-card:hover {
        border-color: var(--accent-stroke-control-rest);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

/* Force the direct FluentStack child (Vertical wrapper) to fill card width */
[b-hfr4t7rbga] .service-card > fluent-stack,
[b-hfr4t7rbga] .service-card > div > fluent-stack {
    width: 100%;
    display: block;
}

.service-card-header[b-hfr4t7rbga] {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: var(--neutral-layer-2);
    border-bottom: 1px solid var(--neutral-stroke-rest);
    box-sizing: border-box;
}

/* The SpaceBetween FluentStack inside the header */
.service-card-header fluent-stack[b-hfr4t7rbga],
.service-card-header > fluent-stack[b-hfr4t7rbga] {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.service-card-body[b-hfr4t7rbga] {
    padding: 16px;
}

/* ── Detail rows inside card body ─────────────────────── */
.service-detail-row[b-hfr4t7rbga] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 24px;
}

.detail-label[b-hfr4t7rbga] {
    flex-shrink: 0;
    width: 80px;
    font-size: 12px;
    font-weight: 600;
    color: var(--neutral-foreground-hint);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding-top: 3px;
}

/* Site key displayed as a monospace snippet */
.site-key-value[b-hfr4t7rbga] {
    flex: 1;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: var(--neutral-foreground-rest);
    background: var(--neutral-fill-input-rest);
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 4px;
    padding: 2px 8px;
    word-break: break-all;
    line-height: 1.5;
}

.detail-empty[b-hfr4t7rbga] {
    flex: 1;
    font-size: 13px;
    color: var(--neutral-foreground-hint);
    font-style: italic;
}

.detail-value[b-hfr4t7rbga] {
    flex: 1;
    font-size: 13px;
    color: var(--neutral-foreground-rest);
}

/* ── Service label badge (shown next to the key in the card header) ── */
.service-label-badge[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    background-color: var(--neutral-fill-subtle-rest);
    border: 1px solid var(--neutral-stroke-rest);
    color: var(--neutral-foreground-hint);
    letter-spacing: 0.1px;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Flag chips (Highlight / New tab) ────────────────── */
.flag-chip[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.flag-chip--highlight[b-hfr4t7rbga] {
    background-color: color-mix(in srgb, var(--warning-fill-rest, #f9c642) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--warning-fill-rest, #f9c642) 55%, transparent);
    color: var(--neutral-foreground-rest);
}

.flag-chip--newtab[b-hfr4t7rbga] {
    background-color: var(--neutral-fill-subtle-rest);
    border: 1px solid var(--neutral-stroke-rest);
    color: var(--neutral-foreground-hint);
}

.flag-chip--navigation[b-hfr4t7rbga] {
    background-color: color-mix(in srgb, var(--accent-fill-rest) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-fill-rest) 45%, transparent);
    color: var(--neutral-foreground-rest);
}

.flag-chip--renderposition[b-hfr4t7rbga] {
    background-color: color-mix(in srgb, var(--accent-fill-rest) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-fill-rest) 30%, transparent);
    color: var(--neutral-foreground-rest);
}

.flag-chip--disabled[b-hfr4t7rbga] {
    background-color: color-mix(in srgb, var(--error-fill-rest, #c50f1f) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--error-fill-rest, #c50f1f) 45%, transparent);
    color: var(--error-foreground-rest, #c50f1f);
}

/* ── Parameter key=value tags ─────────────────────────── */
.param-tag[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid var(--neutral-stroke-rest);
    background: var(--neutral-fill-subtle-rest);
    padding: 2px 8px;
    max-width: 220px;
    overflow: hidden;
}

.param-key[b-hfr4t7rbga] {
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.param-sep[b-hfr4t7rbga] {
    color: var(--neutral-foreground-hint);
    flex-shrink: 0;
}

.param-value[b-hfr4t7rbga] {
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

/* ── Tab header ──────────────────────────────────────── */
.tab-header[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

/* ── Groups list ──────────────────────────────────────── */
.groups-list[b-hfr4t7rbga] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* FluentCard handles border/shadow/hover — we only need the internal layout */
.group-item-layout[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.group-item-info[b-hfr4t7rbga] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.group-item-title-row[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.group-item-name[b-hfr4t7rbga] {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-item-meta-row[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.group-item-actions[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

/* ── Section meta chips ───────────────────────────────── */
.section-title-block[b-hfr4t7rbga] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-meta-chips[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.meta-chip[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    background-color: var(--neutral-fill-subtle-rest);
    border: 1px solid var(--neutral-stroke-rest);
    color: var(--neutral-foreground-hint);
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.meta-chip--layout[b-hfr4t7rbga] {
    background-color: color-mix(in srgb, var(--accent-fill-rest) 10%, transparent);
    border-color: color-mix(in srgb, var(--accent-fill-rest) 30%, transparent);
    color: var(--neutral-foreground-rest);
}

.meta-chip--lobby[b-hfr4t7rbga] {
    background-color: color-mix(in srgb, var(--warning-fill-rest, #f9c642) 18%, transparent);
    border-color: color-mix(in srgb, var(--warning-fill-rest, #f9c642) 55%, transparent);
    color: var(--neutral-foreground-rest);
}

.meta-chip--ungrouped[b-hfr4t7rbga] {
    background-color: var(--neutral-fill-subtle-rest);
    border: 1px dashed var(--neutral-stroke-rest);
    color: var(--neutral-foreground-hint);
}

/* ── Service card two-column body layout ─────────────── */
.service-card-body-layout[b-hfr4t7rbga] {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.service-card-image[b-hfr4t7rbga] {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--neutral-stroke-rest);
    background: var(--neutral-fill-subtle-rest);
}

    .service-card-image img[b-hfr4t7rbga] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ── Empty state ──────────────────────────────────────── */
[b-hfr4t7rbga] .empty-state-card {
    border: 1px dashed var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-fill-subtle-rest);
}

/* Two-panel action row inside empty state */
.empty-action-panel[b-hfr4t7rbga] {
    flex: 1;
    min-width: 180px;
    display: flex;
    justify-content: center;
    padding: 16px 24px;
}

/* "or" vertical/horizontal divider between the two panels */
.empty-action-divider[b-hfr4t7rbga] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    flex-shrink: 0;
}

.empty-action-divider-line[b-hfr4t7rbga] {
    width: 1px;
    flex: 1;
    min-height: 20px;
    background-color: var(--neutral-stroke-rest);
}

.empty-action-divider-label[b-hfr4t7rbga] {
    font-size: 11px;
    font-weight: 600;
    color: var(--neutral-foreground-hint);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* Default services preview */
.defaults-preview-label[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--neutral-foreground-hint);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.defaults-preview-chips[b-hfr4t7rbga] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.default-service-chip[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background-color: var(--accent-fill-rest);
    color: var(--foreground-on-accent-rest);
    letter-spacing: 0.1px;
}

/* Responsive: stack the two panels vertically on narrow screens */
@media (max-width: 480px) {
    .empty-action-divider[b-hfr4t7rbga] {
        flex-direction: row;
        width: 100%;
        padding: 0 8px;
    }

    .empty-action-divider-line[b-hfr4t7rbga] {
        width: auto;
        flex: 1;
        height: 1px;
        min-height: unset;
    }
}

/* ── Error card ───────────────────────────────────────── */
[b-hfr4t7rbga] .error-card {
    border: 1px solid var(--error);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    padding: 20px;
}

/* ── Unsaved order banner ─────────────────────────────── */
.order-pending-banner[b-hfr4t7rbga] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 6px;
    background-color: color-mix(in srgb, var(--warning-fill-rest, #f9c642) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--warning-fill-rest, #f9c642) 60%, transparent);
    font-size: 13px;
    color: var(--neutral-foreground-rest);
}

/* ── Order badge ──────────────────────────────────────── */
.order-badge[b-hfr4t7rbga] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    background-color: var(--neutral-fill-secondary-rest);
    color: var(--neutral-foreground-hint);
    border: 1px solid var(--neutral-stroke-rest);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* ── Reorder up/down buttons ──────────────────────────── */
.reorder-btn[b-hfr4t7rbga] {
    opacity: 1;
    transition: opacity 0.1s ease;
}

.reorder-btn--disabled[b-hfr4t7rbga] {
    opacity: 0.25;
    pointer-events: none;
}

/* Vertical separator between reorder and action buttons */
.reorder-divider[b-hfr4t7rbga] {
    width: 1px;
    height: 20px;
    background-color: var(--neutral-stroke-rest);
    align-self: center;
    margin: 0 2px;
    flex-shrink: 0;
}

/* ── Save order button ────────────────────────────────── */
.save-order-button[b-hfr4t7rbga] {
    border-color: var(--warning);
    color: var(--warning);
    animation: pulse-border-b-hfr4t7rbga 1.4s ease-in-out infinite;
}

@keyframes pulse-border-b-hfr4t7rbga {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50%       { box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning) 25%, transparent); }
}

/* ── Responsive breakpoints ───────────────────────────── */
@media (max-width: 640px) {
    .page-container[b-hfr4t7rbga] {
        padding: 16px;
    }

    [b-hfr4t7rbga] .services-container-card {
        padding: 16px;
    }
}
/* /Pages/TokenAuthorizationPage.razor.rz.scp.css */
.authorization-container[b-oeuzn62q75] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--neutral-layer-1);
    padding: 1.5rem;
}

.authorization-card[b-oeuzn62q75] {
    max-width: 380px;
    width: 100%;
    padding: 3rem 2.5rem;
}

.authorization-content[b-oeuzn62q75] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.authorization-logo[b-oeuzn62q75] {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.error-icon[b-oeuzn62q75] {
    font-size: 48px;
}

.error-description[b-oeuzn62q75] {
    color: var(--neutral-foreground-rest);
    opacity: 0.9;
}

.error-message-bar[b-oeuzn62q75] {
    width: 100%;
}

@media (max-width: 600px) {
    .authorization-container[b-oeuzn62q75] {
        padding: 1rem;
    }

    .authorization-card[b-oeuzn62q75] {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .authorization-card[b-oeuzn62q75] {
        max-width: 360px;
    }
}

