/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-0w23yrym5y] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-0w23yrym5y] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xm168lol75],
.components-reconnect-repeated-attempt-visible[b-xm168lol75],
.components-reconnect-failed-visible[b-xm168lol75],
.components-pause-visible[b-xm168lol75],
.components-resume-failed-visible[b-xm168lol75],
.components-rejoining-animation[b-xm168lol75] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-xm168lol75],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-xm168lol75],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-xm168lol75],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-xm168lol75],
#components-reconnect-modal.components-reconnect-retrying[b-xm168lol75],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-xm168lol75],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-xm168lol75],
#components-reconnect-modal.components-reconnect-failed[b-xm168lol75],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-xm168lol75] {
    display: block;
}


#components-reconnect-modal[b-xm168lol75] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-xm168lol75 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-xm168lol75 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-xm168lol75 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-xm168lol75]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-xm168lol75 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-xm168lol75 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-xm168lol75 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-xm168lol75 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-xm168lol75] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-xm168lol75] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-xm168lol75] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-xm168lol75] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-xm168lol75] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-xm168lol75] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-xm168lol75] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-xm168lol75 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-xm168lol75] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-xm168lol75 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Общий макет в стиле премиальных дизайн-систем */
.app-layout[b-wvf5bhoyya] {
    background-color: #09090b;
    min-height: 100vh;
    padding: 60px 20px;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #a1a1aa;
    -webkit-font-smoothing: antialiased;
}

.app-container[b-wvf5bhoyya] {
    max-width: 1180px;
    margin: 0 auto;
}

/* Шапка и Переключатель Экранов */
.app-header[b-wvf5bhoyya] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 1px solid #18181b;
    padding-bottom: 30px;
}

.brand-badge[b-wvf5bhoyya] {
    background-color: rgba(34, 197, 94, 0.06);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand-title[b-wvf5bhoyya] {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 8px 0 2px 0;
}

.brand-subtitle[b-wvf5bhoyya] {
    color: #52525b;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

/* Минималистичный переключатель (Apple UI style) */
.switch-navigation[b-wvf5bhoyya] {
    background-color: #121214;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #1c1c1f;
    display: flex;
    gap: 4px;
}

.nav-toggle-btn[b-wvf5bhoyya] {
    background: none;
    border: none;
    color: #71717a;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

    .nav-toggle-btn:hover[b-wvf5bhoyya] {
        color: #e4e4e7;
    }

    .nav-toggle-btn.is-active[b-wvf5bhoyya] {
        background-color: #27272a;
        color: #fff;
        border: 1px solid #3f3f46;
        font-weight: 600;
    }

/* Сетка рабочих зон */
.workspace-layout[b-wvf5bhoyya] {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

.workspace-card[b-wvf5bhoyya] {
    background-color: #121214;
    border: 1px solid #1c1c1f;
    border-radius: 12px;
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.workspace-sidebar[b-wvf5bhoyya] {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Заголовки карточек */
.card-head[b-wvf5bhoyya] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.dot-indicator[b-wvf5bhoyya] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

    .dot-indicator.green[b-wvf5bhoyya] {
        background-color: #22c55e;
        box-shadow: 0 0 10px #22c55e;
    }

    .dot-indicator.blue[b-wvf5bhoyya] {
        background-color: #3b82f6;
        box-shadow: 0 0 10px #3b82f6;
    }

    .dot-indicator.orange[b-wvf5bhoyya] {
        background-color: #f97316;
        box-shadow: 0 0 10px #f97316;
    }

.card-headline[b-wvf5bhoyya] {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

.card-headline-sm[b-wvf5bhoyya] {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid #1c1c1f;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-description[b-wvf5bhoyya] {
    color: #52525b;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    font-weight: 400;
}

/* Поля ввода и утонченная типографика */
.input-field[b-wvf5bhoyya] {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-label[b-wvf5bhoyya] {
    font-size: 11px;
    font-weight: 600;
    color: #52525b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-select[b-wvf5bhoyya] {
    width: 100%;
    background-color: #09090b;
    border: 1px solid #232326;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://w3.org' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: border 0.15s;
}

    .input-select:focus[b-wvf5bhoyya] {
        border-color: #22c55e;
    }

.input-with-icon[b-wvf5bhoyya] {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.input-icon-tag[b-wvf5bhoyya] {
    position: absolute;
    left: 14px;
    color: #3f3f46;
    font-size: 14px;
    pointer-events: none;
}

.input-text[b-wvf5bhoyya] {
    width: 100%;
    background-color: #09090b;
    border: 1px solid #1c1c1f;
    color: #fff;
    padding: 14px 14px 14px 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    box-sizing: border-box;
    outline: none;
    transition: border 0.15s;
}

    .input-text:focus[b-wvf5bhoyya] {
        border-color: #22c55e;
    }

.clean-input[b-wvf5bhoyya] {
    padding-left: 14px !important;
}

.input-row[b-wvf5bhoyya] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.horizontal-line[b-wvf5bhoyya] {
    height: 1px;
    background-color: #1c1c1f;
    margin: 5px 0 25px 0;
}

/* Главная витрина розничной стоимости (Журнальный стиль) */
.premium-price-display[b-wvf5bhoyya] {
    background-color: #121214;
    border: 1px solid #1c1c1f;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

    .premium-price-display[b-wvf5bhoyya]::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: #22c55e;
    }

.price-annotation[b-wvf5bhoyya] {
    font-size: 11px;
    color: #52525b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.price-value-glow[b-wvf5bhoyya] {
    font-size: 56px;
    color: #fff;
    font-weight: 300;
    letter-spacing: -0.04em;
    margin: 15px 0;
}

.price-sub-grid[b-wvf5bhoyya] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #1c1c1f;
}

.sub-metric[b-wvf5bhoyya] {
    display: flex;
    flex-direction: column;
}

.metric-label[b-wvf5bhoyya] {
    font-size: 11px;
    color: #52525b;
    margin-bottom: 4px;
}

.metric-val[b-wvf5bhoyya] {
    font-size: 18px;
    font-weight: 400;
    color: #e4e4e7;
    letter-spacing: -0.01em;
}

.text-green-glow[b-wvf5bhoyya] {
    color: #22c55e !important;
}

.metric-separator[b-wvf5bhoyya] {
    width: 1px;
    height: 30px;
    background-color: #1c1c1f;
}

/* Строки детализации расходов */
.cost-breakdown-row[b-wvf5bhoyya] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px dashed #1c1c1f;
    font-size: 14px;
}

    .cost-breakdown-row:last-child[b-wvf5bhoyya] {
        border-bottom: none;
        padding-bottom: 0;
    }

.cost-name[b-wvf5bhoyya] {
    color: #71717a;
}

.cost-value[b-wvf5bhoyya] {
    font-weight: 600;
    color: #fff;
}

/* НОВАЯ КРАСИВАЯ АДМИНКА (Разделение по двум карточкам) */
.admin-workspace-grid[b-wvf5bhoyya] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.accent-card-blue[b-wvf5bhoyya] {
    border-color: rgba(59, 130, 246, 0.15) !important;
    position: relative;
}

.accent-card-orange[b-wvf5bhoyya] {
    border-color: rgba(249, 115, 22, 0.15) !important;
    position: relative;
}

/* Кастомная кнопка выбора файла */
.file-uploader-box[b-wvf5bhoyya] {
    margin-top: 20px;
    width: 100%;
}

.custom-file-label[b-wvf5bhoyya] {
    display: block;
    width: 100%;
    background-color: #09090b;
    border: 1px dashed #27272a;
    color: #a1a1aa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

    .custom-file-label:hover[b-wvf5bhoyya] {
        border-color: #3b82f6;
        color: #fff;
        background-color: rgba(59, 130, 246, 0.02);
    }

.hidden-file-input[b-wvf5bhoyya] {
    display: none;
}

/* Кнопка ручного сохранения */
.action-premium-btn[b-wvf5bhoyya] {
    width: 100%;
    background-color: #fff;
    border: none;
    color: #09090b;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s;
}

    .action-premium-btn:hover[b-wvf5bhoyya] {
        background-color: #e4e4e7;
    }

/* Плашка статуса снизу */
.luxury-status-toast[b-wvf5bhoyya] {
    margin-top: 35px;
    background-color: #121214;
    border: 1px solid #1c1c1f;
    padding: 15px 25px;
    border-radius: 8px;
    color: #22c55e;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.toast-indicator[b-wvf5bhoyya] {
    color: #22c55e;
}

/* Сервисные хелперы */
.text-left[b-wvf5bhoyya] {
    text-align: left !important;
}

.mb-4[b-wvf5bhoyya] {
    margin-bottom: 24px !important;
}

.mt-auto[b-wvf5bhoyya] {
    margin-top: auto !important;
}

input[type=number][b-wvf5bhoyya]::-webkit-inner-spin-button {
    display: none;
}
.save-template-zone[b-wvf5bhoyya] {
    background-color: rgba(255, 255, 255, 0.01);
    padding: 20px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.05);
}

.status-message-text[b-wvf5bhoyya] {
    color: #4ade80;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.admin-workspace-single[b-wvf5bhoyya] {
    max-width: 650px;
    margin: 0 auto;
}
