﻿#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8f3ef;
    color: #171421;
}

:root {
    --sf-ink: #171421;
    --sf-muted: #667085;
    --sf-line: #e5d9cf;
    --sf-surface: #fffaf7;
    --sf-gold: #d29b43;
    --sf-wine: #8d2448;
    --sf-coral: #e85d45;
    --sf-blue: #2868c7;
    --sf-teal: #108b7f;
    --rz-primary: #8d2448;
    --rz-primary-light: #f9e5ec;
    --rz-primary-lighter: #fff2f6;
    --rz-primary-dark: #691735;
    --rz-secondary: #2868c7;
    --rz-border-radius: 4px;
}

* {
    box-sizing: border-box;
}

button,
input,
select {
    font: inherit;
}

.app-loader-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at 20% 20%, rgba(167, 123, 63, .10), transparent 28%), #f5f7fb;
}

.app-loader-card {
    width: min(360px, 100%);
    display: grid;
    gap: 18px;
    justify-items: center;
    border: 1px solid #d8dee8;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    padding: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .10);
}

.app-loader-card img {
    width: min(220px, 82%);
    height: auto;
    display: block;
}

.app-loader-card p {
    margin: 0;
    color: #64748b;
    font-weight: 750;
}

.app-loader-bar {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.app-loader-bar span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #111827, #a77b3f, #2563eb);
    animation: loader-slide 1.1s ease-in-out infinite;
}

@keyframes loader-slide {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(235%);
    }
}


.dropzone {
    position: relative;
    overflow: hidden;
    border: 2px dotted rgba(0,0,0,.2);
    background-color: rgba(0,0,0,.09);
    margin-bottom: 20px;
    border-radius: 5px;
}

    .dropzone.dropzone-active {
        background-color: #999;
    }

    .dropzone label {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

.fileProgress {
    vertical-align: middle !important;
}

.text-icon-light {
    color: #e9ecef;
}

.validation-message {
    color: red;
}

.premium-page {
    display: grid;
    gap: 22px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 88px;
    padding: 18px 20px;
    border: 1px solid rgba(141, 36, 72, .12);
    border-radius: 18px;
    background:
        linear-gradient(120deg, rgba(141, 36, 72, .10), rgba(232, 93, 69, .08) 48%, rgba(210, 155, 67, .13)),
        #fffaf7;
    box-shadow: 0 18px 45px rgba(65, 28, 45, .08);
}

.page-header p {
    margin: 0 0 4px;
    color: #8d2448;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.page-header h2,
.section-title h3 {
    margin: 0;
}

.page-header h2 {
    color: #171421;
    font-size: 1.9rem;
    line-height: 1.15;
}

.quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid #1d4ed8;
    border-radius: 10px;
    padding: 0 16px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(37, 99, 235, .18);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.quick-action:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 24px rgba(37, 99, 235, .24);
    transform: translateY(-1px);
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.notice {
    border: 1px solid rgba(40, 104, 199, .22);
    background: #eef6ff;
    color: #174a91;
    border-radius: 14px;
    padding: 11px 14px;
    font-weight: 650;
}

.quote-change-alert {
    display: grid;
    gap: 12px;
    border: 1px solid #ffe082;
    border-radius: 18px;
    padding: 16px;
    background:
        linear-gradient(135deg, #fff8e1, #ffffff),
        #fff;
    box-shadow: 0 14px 34px rgba(245, 124, 0, .1);
}

.quote-change-alert-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-change-alert-head .rz-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff3cd;
    color: #ef6c00;
    font-size: 1.45rem;
}

.quote-change-alert-head strong,
.quote-change-list strong {
    display: block;
    color: #172033;
}

.quote-change-alert-head span,
.quote-change-list span {
    display: block;
    color: #607d8b;
    font-size: .9rem;
}

.quote-change-list {
    display: grid;
    gap: 8px;
}

.quote-change-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #ffe8a3;
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, .82);
}

.loading-panel {
    display: grid;
    gap: 14px;
    border: 1px solid #d8dee8;
    border-radius: 12px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.loading-panel.compact {
    padding: 14px;
}

.loading-copy {
    display: grid;
    gap: 4px;
}

.loading-copy strong {
    color: #111827;
    font-size: .98rem;
}

.loading-copy span {
    color: #667085;
    font-size: .88rem;
}

.skeleton-panel {
    display: grid;
    gap: 18px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    padding: 20px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.skeleton-header,
.skeleton-card,
.skeleton-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.skeleton-header {
    justify-content: space-between;
}

.skeleton-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.skeleton-card {
    min-height: 82px;
    border: 1px solid #e5edf8;
    border-radius: 12px;
    background: #f8fbff;
    padding: 14px;
}

.skeleton-table {
    display: grid;
    gap: 10px;
}

.skeleton-row {
    justify-content: space-between;
    min-height: 46px;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    background: #fff;
    padding: 0 14px;
}

.panel {
    border: 1px solid rgba(121, 85, 72, .16);
    border-radius: 18px;
    background: rgba(255, 250, 247, .96);
    padding: 20px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(65, 28, 45, .075);
}

.panel:hover {
    border-color: rgba(141, 36, 72, .28);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.metric-card {
    position: relative;
    min-height: 118px;
    display: grid;
    align-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 250, 247, .74)),
        linear-gradient(135deg, rgba(141, 36, 72, .12), rgba(210, 155, 67, .16));
    padding: 18px;
    box-shadow: 0 18px 38px rgba(65, 28, 45, .09);
    overflow: hidden;
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #8d2448, #d29b43);
}

.metric-card::after {
    content: "";
    position: absolute;
    right: -26px;
    top: -30px;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: rgba(141, 36, 72, .08);
}

.metric-card span {
    color: #725466;
    font-size: .86rem;
    font-weight: 750;
}

.metric-card strong {
    color: #171421;
    font-size: 1.62rem;
}

.metric-card.success {
    background: linear-gradient(135deg, #f4fffb, #fffaf7);
}

.metric-card.warning {
    background: linear-gradient(135deg, #fff8e7, #fffaf7);
}

.metric-card.danger {
    background: linear-gradient(135deg, #fff0ef, #fffaf7);
}

.metric-card.info {
    background: linear-gradient(135deg, #edf6ff, #fffaf7);
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.quick-links button {
    position: relative;
    min-height: 104px;
    display: grid;
    align-content: center;
    gap: 6px;
    border: 1px solid rgba(141, 36, 72, .14);
    border-radius: 18px;
    padding: 18px 56px 18px 18px;
    background: #fffaf7;
    color: #171421;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(65, 28, 45, .07);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.quick-links button::after {
    content: "â€º";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #8d2448, #e85d45);
    color: #fff;
    font-size: 1.25rem;
    transform: translateY(-50%);
}

.quick-links button:hover {
    border-color: rgba(141, 36, 72, .38);
    background: #fff5ef;
    box-shadow: 0 22px 42px rgba(65, 28, 45, .13);
    transform: translateY(-2px);
}

.quick-links strong {
    font-size: 1rem;
}

.quick-links span {
    color: #725466;
    font-size: .88rem;
    line-height: 1.4;
}

.compact-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    align-items: end;
}

.compact-form .span-2 {
    grid-column: span 2;
}

.compact-form label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: .86rem;
    font-weight: 800;
}

.compact-form input,
.compact-form select,
.responsive-table select {
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0 12px;
    background: #fff;
    color: #172033;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.compact-form input:focus,
.compact-form select:focus,
.quote-line input:focus,
.quote-summary input:focus,
.responsive-table select:focus {
    border-color: #a77b3f;
    box-shadow: 0 0 0 4px rgba(167, 123, 63, .12);
}

.checkbox-line {
    min-height: 38px;
    display: flex !important;
    align-items: center;
    gap: 8px !important;
}

.checkbox-line input {
    min-height: auto;
    width: auto;
}

.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
    color: #334155;
    text-decoration: none;
    cursor: pointer;
    font-weight: 750;
}

.secondary-action:hover {
    background: #f8fafc;
    border-color: #aeb9c8;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(121, 85, 72, .12);
}

.section-title h3 {
    color: #172033;
    font-size: 1.04rem;
    line-height: 1.2;
}

.section-hint {
    color: #725466;
    font-size: .86rem;
}

.quote-lines {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.quote-lines-title {
    margin-bottom: 0;
}

.quote-lines-heading {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 110px 140px 130px 42px;
    gap: 10px;
    color: #667085;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.quote-line {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 110px 140px 130px 42px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.dialog-form {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.dialog-form label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: .86rem;
    font-weight: 800;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.dialog-section {
    display: grid;
    gap: 10px;
}

.inline-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.catalog-picker {
    padding: 16px;
    border: 1px solid rgba(141, 36, 72, .13);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(141, 36, 72, .045), rgba(210, 155, 67, .08)),
        #fffaf7;
}

.catalog-picker .section-title {
    align-items: flex-start;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 0 10px;
    background: #f1f5f9;
    color: #475569;
    font-size: .78rem;
    font-weight: 850;
}

.status-pill.success {
    background: #dcf7ee;
    color: #0f766e;
}

.status-pill.info {
    background: #e5efff;
    color: #2456b3;
}

.status-pill.warning {
    background: #fef3c7;
    color: #92400e;
}

.status-pill.danger {
    background: #fee2e2;
    color: #991b1b;
}

.radzen-checkline {
    display: inline-flex !important;
    align-items: center;
    gap: 10px !important;
}

.rz-dialog {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(31, 14, 31, .34) !important;
}

.rz-dialog-titlebar {
    background: linear-gradient(90deg, #171421, #8d2448) !important;
    color: #fff !important;
    min-height: 52px !important;
}

.rz-dialog-title {
    font-weight: 850 !important;
}

.rz-grid-table thead th {
    background: #fff5ef !important;
    color: #4d2a3a !important;
    font-weight: 850 !important;
}

.rz-data-grid {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(121, 85, 72, .14);
}

.rz-button {
    letter-spacing: 0 !important;
    font-weight: 800 !important;
}

.rz-button.rz-primary,
.rz-button.rz-button-md.rz-primary {
    background: linear-gradient(135deg, #8d2448, #e85d45) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(141, 36, 72, .22) !important;
}

.quote-line input {
    min-height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0 12px;
    background: #fff;
}

.quote-line strong {
    text-align: right;
}

.quote-line > .quote-line-delete {
    min-height: 40px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff1f2;
    color: #be123c;
    cursor: pointer;
    font-weight: 900;
}

.package-lines {
    display: grid;
    gap: 10px;
}

.package-lines-heading {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 115px 105px 125px 125px 125px 42px;
    gap: 10px;
    color: #667085;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.package-line {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 115px 105px 125px 125px 125px 42px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.package-line strong {
    text-align: right;
}

.package-editor {
    gap: 20px;
}

.package-dialog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .32fr);
    gap: 14px;
    align-items: stretch;
    border: 1px solid rgba(141, 36, 72, .16);
    border-radius: 18px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(141, 36, 72, .10), rgba(232, 93, 69, .08) 50%, rgba(210, 155, 67, .15)),
        #fffaf7;
}

.package-dialog-hero span,
.package-field span,
.package-line-total span {
    color: #7a5364;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.package-dialog-hero strong {
    display: block;
    margin-top: 4px;
    color: #171421;
    font-size: 1.45rem;
    line-height: 1.15;
}

.package-dialog-hero small {
    display: block;
    margin-top: 6px;
    color: #725466;
}

.hero-total {
    display: grid;
    align-content: center;
    justify-items: end;
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, .76);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62);
}

.hero-total strong {
    color: #8d2448;
    font-size: 1.55rem;
}

.package-cards {
    display: grid;
    gap: 12px;
}

.package-item-card {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(141, 36, 72, .14);
    border-radius: 16px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 14px 28px rgba(65, 28, 45, .06);
}

.package-item-top {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 10px;
    align-items: end;
}

.package-item-numbers {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(140px, .9fr);
    gap: 10px;
    align-items: end;
}

.package-field {
    display: grid;
    gap: 6px;
}

.package-line-total {
    min-height: 72px;
    display: grid;
    align-content: center;
    gap: 6px;
    border-radius: 14px;
    padding: 11px 12px;
    background: linear-gradient(135deg, #fff5ef, #fdf8f2);
    border: 1px solid rgba(210, 155, 67, .24);
}

.package-line-total strong {
    color: #171421;
    text-align: left;
    font-size: 1.05rem;
}

.package-editor .quote-summary {
    margin-top: 0;
    border-color: rgba(141, 36, 72, .14);
    background:
        linear-gradient(135deg, rgba(23, 20, 33, .03), rgba(210, 155, 67, .12)),
        #fffaf7;
}

.package-editor .quote-summary div:nth-child(3) {
    border-radius: 14px;
    padding: 10px 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(141, 36, 72, .10);
}

.package-editor .quote-summary div:nth-child(3) strong {
    color: #8d2448;
}

.package-choice-section {
    display: grid;
    gap: 14px;
}

.empty-choice-state {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 24px;
    border: 1px dashed #cfd8dc;
    border-radius: 16px;
    background: #f8fbff;
    color: #607d8b;
    text-align: center;
}

.empty-choice-state .rz-icon {
    color: #1976d2;
    font-size: 2.2rem;
}

.package-choice-groups {
    display: grid;
    gap: 14px;
}

.package-choice-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #d7e3f4;
    border-left: 4px solid #1976d2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.package-choice-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.package-choice-card-header span,
.choice-options-title span {
    display: block;
    color: #607d8b;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.package-choice-card-header strong {
    display: block;
    margin-top: 3px;
    color: #102a43;
    font-size: 1.02rem;
}

.choice-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.radzen-checkline.compact {
    margin: 0;
    gap: 6px;
    font-size: .84rem;
}

.package-choice-grid {
    grid-template-columns: minmax(220px, 1fr) 130px 130px 90px;
}

.choice-options-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
    border-top: 1px solid #e5edf7;
}

.choice-options-list {
    display: grid;
    gap: 8px;
}

.choice-option-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 140px 92px 42px;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid #e5edf7;
    border-radius: 12px;
    background: #f8fbff;
}

.choice-active {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #607d8b !important;
    font-size: .82rem !important;
    font-weight: 500 !important;
}

.empty-catalog {
    min-height: 180px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 28px;
    color: #725466;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(141, 36, 72, .06), rgba(210, 155, 67, .10)),
        #fffaf7;
}

.empty-catalog strong {
    color: #171421;
    font-size: 1.1rem;
}

.empty-catalog span {
    max-width: 420px;
}

.dashboard-page {
    --dash-wine: #8d2448;
    --dash-coral: #e85d45;
    --dash-gold: #d29b43;
    --dash-teal: #0f8f84;
    --dash-blue: #2868c7;
}

.dashboard-page .page-header {
    position: relative;
    overflow: hidden;
    min-height: 130px;
    border: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .18), transparent 24%),
        radial-gradient(circle at 92% 10%, rgba(210, 155, 67, .34), transparent 26%),
        linear-gradient(125deg, #211326 0%, #8d2448 42%, #e85d45 72%, #d29b43 100%);
    box-shadow: 0 24px 60px rgba(141, 36, 72, .26);
}

.dashboard-page .page-header::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -70px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    border: 34px solid rgba(255, 255, 255, .12);
}

.dashboard-page .page-header > * {
    position: relative;
    z-index: 1;
}

.dashboard-page .page-header p,
.dashboard-page .page-header h2 {
    color: #fff;
}

.dashboard-page .page-header p {
    opacity: .78;
}

.dashboard-page .page-header h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.dashboard-page .page-actions .rz-button {
    border-color: rgba(255, 255, 255, .22) !important;
    background: rgba(255, 255, 255, .15) !important;
    color: #fff !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 32px rgba(23, 20, 33, .18) !important;
}

.dashboard-page .page-actions .rz-button:first-child {
    background: #fff !important;
    color: #8d2448 !important;
}

.dashboard-page .metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.dashboard-page .metric-card {
    min-height: 132px;
    border: 0;
    color: #fff;
    box-shadow: 0 20px 44px rgba(65, 28, 45, .14);
}

.dashboard-page .metric-card span,
.dashboard-page .metric-card small,
.dashboard-page .metric-card strong {
    position: relative;
    z-index: 1;
    color: #fff;
}

.dashboard-page .metric-card span,
.dashboard-page .metric-card small {
    opacity: .82;
}

.dashboard-page .metric-card strong {
    font-size: 1.74rem;
}

.dashboard-page .metric-card::before {
    display: none;
}

.dashboard-page .metric-card::after {
    right: -34px;
    top: -34px;
    width: 116px;
    height: 116px;
    background: rgba(255, 255, 255, .16);
}

.dashboard-page .metric-card:nth-child(5n + 1) {
    background: linear-gradient(135deg, #8d2448, #e85d45);
}

.dashboard-page .metric-card:nth-child(5n + 2) {
    background: linear-gradient(135deg, #2868c7, #36a4d9);
}

.dashboard-page .metric-card:nth-child(5n + 3) {
    background: linear-gradient(135deg, #0f8f84, #43b98f);
}

.dashboard-page .metric-card:nth-child(5n + 4) {
    background: linear-gradient(135deg, #a6631b, #d29b43);
}

.dashboard-page .metric-card:nth-child(5n + 5) {
    background: linear-gradient(135deg, #4b2e83, #8d5cf6);
}

.dashboard-page .quick-links button {
    border: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 250, 247, .84)),
        linear-gradient(135deg, rgba(141, 36, 72, .16), rgba(210, 155, 67, .14));
    box-shadow: 0 20px 42px rgba(65, 28, 45, .10);
}

.dashboard-page .quick-links button:nth-child(2)::after {
    background: linear-gradient(135deg, #2868c7, #36a4d9);
}

.dashboard-page .quick-links button:nth-child(3)::after {
    background: linear-gradient(135deg, #0f8f84, #43b98f);
}

.dashboard-page .quick-links button:nth-child(4)::after {
    background: linear-gradient(135deg, #a6631b, #d29b43);
}

.dashboard-page .chart-grid .panel {
    border-top: 4px solid var(--dash-wine);
}

.dashboard-page .chart-grid .panel:nth-child(2) {
    border-top-color: var(--dash-blue);
}

.dashboard-page .chart-grid .panel:nth-child(3) {
    border-top-color: var(--dash-teal);
}

.dashboard-page .chart-grid .panel:nth-child(4) {
    border-top-color: var(--dash-gold);
}

.quote-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    align-items: end;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.quote-summary label,
.quote-summary div {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: .86rem;
}

.quote-summary input {
    min-height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
}

.quote-summary strong {
    color: #111827;
    font-size: 1.18rem;
}

.kanban-panel {
    min-height: 460px;
}

.responsive-table {
    width: 100%;
    overflow-x: auto;
}

.responsive-table table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 10px;
    text-align: left;
    vertical-align: middle;
}

.module-copy {
    max-width: 920px;
    color: #475569;
}

.module-state {
    display: grid;
    grid-template-columns: minmax(160px, .4fr) 1fr;
    gap: 8px 12px;
    max-width: 760px;
}

.module-state span {
    color: #64748b;
}

.module-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
    gap: 22px;
    align-items: start;
}

.module-hero h3 {
    margin: 14px 0 8px;
    color: #111827;
    font-size: 1.35rem;
}

.module-hero p {
    margin: 0;
    max-width: 760px;
    color: #475569;
    line-height: 1.65;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.module-card {
    min-height: 116px;
    display: grid;
    align-content: start;
    gap: 8px;
    border: 1px solid #d8dee8;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
}

.module-card strong {
    color: #111827;
}

.module-card span {
    color: #64748b;
    line-height: 1.45;
    font-size: .9rem;
}

.pipeline-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(230px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pipeline-column {
    min-height: 360px;
    display: grid;
    align-content: start;
    gap: 10px;
    border: 1px solid #d8dee8;
    border-radius: 14px;
    background: #f8fafc;
    padding: 12px;
}

.pipeline-column header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #172033;
}

.pipeline-column header span {
    min-width: 28px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e0e7ff;
    color: #1e3a8a;
    font-weight: 850;
}

.pipeline-card {
    display: grid;
    gap: 7px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .045);
}

.pipeline-card span,
.pipeline-card small {
    color: #64748b;
}

.pipeline-actions {
    display: flex;
    justify-content: flex-end;
}

.login-page-clean {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
    background:
        linear-gradient(105deg, rgba(12, 18, 32, .88) 0%, rgba(17, 24, 39, .70) 52%, rgba(247, 249, 252, .96) 52%, #f7f9fc 100%),
        url("../images/login-salon.jpg") center / cover no-repeat;
    color: #101828;
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.login-visual-panel {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - 56px);
    padding: clamp(28px, 5vw, 72px);
}

.login-visual-content {
    max-width: 620px;
    color: #fff;
    text-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.login-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(255, 255, 255, .12);
    color: #f8fafc;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.login-visual-content h1 {
    margin: 18px 0 10px;
    max-width: 580px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 5.4rem);
    line-height: .95;
    font-weight: 500;
}

.login-visual-content p {
    margin: 0;
    max-width: 480px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    line-height: 1.6;
}

.login-card-clean {
    position: relative;
    align-self: center;
    justify-self: center;
    width: min(440px, 100%);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .22);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.login-card-glow {
    position: absolute;
    inset: 0 0 auto 0;
    height: 8px;
    background: linear-gradient(90deg, #a77b3f, #dfc08c, #28537a);
}

.login-card-content {
    position: relative;
    display: grid;
    gap: 20px;
    padding: clamp(24px, 4vw, 36px);
}

.login-brand-clean {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
}

.login-logo-frame {
    width: 178px;
    max-width: 58%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.login-logo-frame img,
.login-brand-clean img {
    display: block;
    width: 178px;
    max-width: 100%;
    max-height: 72px;
    height: auto;
    object-fit: contain;
}

.login-brand-clean small {
    display: block;
    color: #6b7280;
    margin-top: 3px;
    font-size: .78rem;
}

.login-brand-clean strong {
    display: block;
    color: #111827;
    font-size: .92rem;
    text-align: right;
}

.login-copy {
    display: grid;
    gap: 6px;
}

.login-copy h2 {
    margin: 0;
    color: #111827;
    font-size: 1.9rem;
    line-height: 1.15;
}

.login-copy p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.login-metrics {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.login-metrics span {
    min-width: 112px;
    display: grid;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    padding: 11px 12px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
}

.login-metrics strong {
    color: #fff;
    font-size: .92rem;
}

.login-metrics small {
    color: rgba(255, 255, 255, .78);
}

.login-form-clean {
    display: grid;
    gap: 16px;
}

.login-form-clean label {
    display: grid;
    gap: 8px;
    color: #344054;
    font-size: .92rem;
    font-weight: 700;
}

.login-form-clean input,
.login-form-clean .rz-inputtext,
.login-form-clean .rz-password input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
    color: #101828;
    font-size: .98rem;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.login-form-clean input:focus,
.login-form-clean .rz-inputtext:focus,
.login-form-clean .rz-password input:focus {
    border-color: #a77b3f;
    box-shadow: 0 0 0 4px rgba(167, 123, 63, .16);
}

.login-form-clean button,
.login-form-clean .rz-button {
    min-height: 50px;
    border: 1px solid #111827;
    border-radius: 10px !important;
    background: #111827;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(17, 24, 39, .18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.login-form-clean button:hover,
.login-form-clean .rz-button:hover {
    background: #1f2937;
    box-shadow: 0 18px 38px rgba(17, 24, 39, .24);
    transform: translateY(-1px);
}

.login-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #f8fafc;
    padding: 10px 12px;
    color: #667085;
    font-size: .86rem;
}

.login-support strong {
    color: #111827;
    font-size: .88rem;
    overflow-wrap: anywhere;
}

.login-footer-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid #eaecf0;
    padding-top: 18px;
    color: #667085;
    font-size: .88rem;
}

.login-footer-clean a {
    color: #111827;
    font-weight: 800;
    text-decoration: none;
}

.login-footer-clean a:hover {
    color: #a77b3f;
}

@media (max-width: 900px) {
    .login-page-clean {
        grid-template-columns: 1fr;
        background:
            linear-gradient(180deg, rgba(11, 16, 27, .76), rgba(248, 250, 252, .96) 58%, #f8fafc 100%),
            url("../images/login-salon.jpg") center / cover no-repeat;
        padding: 18px;
    }

    .login-visual-panel {
        min-height: auto;
        padding: 34px 4px 10px;
    }

    .login-visual-content h1 {
        font-size: clamp(2.25rem, 12vw, 4rem);
    }

    .login-card-clean {
        align-self: start;
    }

    .login-brand-clean {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-logo-frame {
        width: min(230px, 100%);
        max-width: 100%;
        height: 90px;
    }

    .login-logo-frame img,
    .login-brand-clean img {
        width: min(230px, 100%);
        max-height: 90px;
    }

    .login-brand-clean strong {
        text-align: left;
    }

    .login-metrics {
        margin-top: 16px;
    }

    .login-metrics span {
        min-width: min(150px, 100%);
    }

    .login-support {
        align-items: flex-start;
        flex-direction: column;
    }

    .chart-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .compact-form .span-2 {
        grid-column: auto;
    }

    .quote-line {
        grid-template-columns: 1fr;
    }

    .package-line {
        grid-template-columns: 1fr;
    }

    .package-dialog-hero,
    .package-item-top,
    .package-item-numbers,
    .package-choice-grid,
    .choice-option-row {
        grid-template-columns: 1fr;
    }

    .package-choice-card-header,
    .choice-options-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-total {
        justify-items: start;
    }

    .quote-lines-heading,
    .package-lines-heading {
        display: none;
    }

    .quote-line strong,
    .package-line strong {
        text-align: left;
    }

    .quote-summary {
        grid-template-columns: 1fr;
    }

    .module-hero {
        grid-template-columns: 1fr;
    }

    .pipeline-board {
        grid-template-columns: repeat(8, minmax(230px, 1fr));
    }
}

/* Material Design light theme overrides */
:root {
    --sf-ink: #263238;
    --sf-muted: #607d8b;
    --sf-line: #d7e3f4;
    --sf-surface: #ffffff;
    --sf-blue: #2196f3;
    --sf-blue-soft: #e3f2fd;
    --sf-cyan: #00bcd4;
    --sf-cyan-soft: #e0f7fa;
    --sf-green: #4caf50;
    --sf-green-soft: #e8f5e9;
    --sf-amber: #ffc107;
    --sf-amber-soft: #fff8e1;
    --sf-pink: #ec407a;
    --sf-pink-soft: #fce4ec;
    --sf-purple: #7e57c2;
    --sf-purple-soft: #ede7f6;
    --rz-primary: #2196f3;
    --rz-primary-light: #e3f2fd;
    --rz-primary-lighter: #f5fbff;
    --rz-primary-dark: #1976d2;
    --rz-secondary: #00bcd4;
}

html,
body {
    background: #f5f9ff;
    color: var(--sf-ink);
}

.content-surface,
.premium-page {
    color: var(--sf-ink);
}

.page-header {
    border: 1px solid #bbdefb;
    background:
        linear-gradient(120deg, #e3f2fd 0%, #e0f7fa 48%, #fff8e1 100%),
        #fff;
    box-shadow: 0 18px 42px rgba(33, 150, 243, .14);
}

.page-header p {
    color: #1976d2;
}

.page-header h2,
.section-title h3 {
    color: #263238;
}

.panel,
.catalog-picker,
.quote-summary,
.package-item-card {
    border-color: #d7e3f4;
    background: #fff;
    box-shadow: 0 16px 36px rgba(33, 150, 243, .10);
}

.panel:hover {
    border-color: #90caf9;
}

.section-title {
    border-bottom-color: #e3f2fd;
}

.section-hint,
.quick-links span,
.package-dialog-hero small,
.package-dialog-hero span,
.package-field span,
.package-line-total span {
    color: #607d8b;
}

.notice {
    border-color: #90caf9;
    background: #e3f2fd;
    color: #1565c0;
}

.catalog-picker,
.package-dialog-hero {
    border-color: #b2ebf2;
    background:
        linear-gradient(135deg, #e3f2fd 0%, #e0f7fa 55%, #fffde7 100%),
        #fff;
}

.hero-total,
.package-line-total,
.package-editor .quote-summary div:nth-child(3) {
    background: #ffffff;
    border: 1px solid #bbdefb;
    box-shadow: 0 10px 24px rgba(33, 150, 243, .10);
}

.hero-total strong,
.package-editor .quote-summary div:nth-child(3) strong {
    color: #1976d2;
}

.metric-card {
    border: 1px solid #d7e3f4;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(33, 150, 243, .10);
}

.metric-card::before {
    background: linear-gradient(180deg, #2196f3, #00bcd4);
}

.metric-card::after {
    background: rgba(33, 150, 243, .10);
}

.metric-card span {
    color: #607d8b;
}

.metric-card strong {
    color: #263238;
}

.quick-links button {
    border-color: #d7e3f4;
    background: #ffffff;
    color: #263238;
    box-shadow: 0 14px 32px rgba(33, 150, 243, .10);
}

.quick-links button::after {
    content: ">";
    background: linear-gradient(135deg, #2196f3, #00bcd4);
}

.quick-links button:hover {
    border-color: #64b5f6;
    background: #f5fbff;
    box-shadow: 0 20px 40px rgba(33, 150, 243, .16);
}

.status-pill {
    background: #eceff1;
    color: #455a64;
}

.status-pill.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-pill.info {
    background: #e3f2fd;
    color: #1565c0;
}

.status-pill.warning {
    background: #fff8e1;
    color: #f57f17;
}

.status-pill.danger {
    background: #ffebee;
    color: #c62828;
}

.rz-dialog {
    box-shadow: 0 28px 72px rgba(33, 150, 243, .22) !important;
}

.rz-dialog-titlebar {
    background: linear-gradient(90deg, #2196f3, #00bcd4) !important;
    color: #fff !important;
}

.rz-grid-table thead th {
    background: #e3f2fd !important;
    color: #1565c0 !important;
}

.rz-data-grid {
    border-color: #d7e3f4;
}

.rz-button.rz-primary,
.rz-button.rz-button-md.rz-primary {
    background: linear-gradient(135deg, #2196f3, #00bcd4) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(33, 150, 243, .24) !important;
}

.empty-catalog {
    background:
        linear-gradient(135deg, #e3f2fd, #e0f7fa 55%, #fff8e1),
        #fff;
    color: #607d8b;
}

.empty-catalog strong {
    color: #263238;
}

.dashboard-page {
    --dash-wine: #2196f3;
    --dash-coral: #00bcd4;
    --dash-gold: #ffc107;
    --dash-teal: #4caf50;
    --dash-blue: #42a5f5;
}

.dashboard-page .page-header {
    min-height: 130px;
    border: 1px solid #bbdefb;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .88), transparent 22%),
        radial-gradient(circle at 92% 18%, rgba(255, 193, 7, .42), transparent 25%),
        linear-gradient(125deg, #e3f2fd 0%, #b3e5fc 38%, #b2ebf2 68%, #fff8e1 100%);
    box-shadow: 0 24px 54px rgba(33, 150, 243, .18);
}

.dashboard-page .page-header::after {
    border-color: rgba(33, 150, 243, .15);
}

.dashboard-page .page-header p {
    color: #1976d2;
    opacity: 1;
}

.dashboard-page .page-header h2 {
    color: #0d47a1;
}

.dashboard-page .page-actions .rz-button {
    border-color: #90caf9 !important;
    background: #ffffff !important;
    color: #1565c0 !important;
    box-shadow: 0 14px 28px rgba(33, 150, 243, .16) !important;
}

.dashboard-page .page-actions .rz-button:first-child {
    background: linear-gradient(135deg, #2196f3, #00bcd4) !important;
    color: #fff !important;
}

.dashboard-page .metric-card {
    border: 1px solid transparent;
    color: #263238;
    box-shadow: 0 18px 38px rgba(33, 150, 243, .14);
}

.dashboard-page .metric-card span,
.dashboard-page .metric-card small,
.dashboard-page .metric-card strong {
    color: #263238;
    opacity: 1;
}

.dashboard-page .metric-card:nth-child(5n + 1) {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.dashboard-page .metric-card:nth-child(5n + 2) {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
}

.dashboard-page .metric-card:nth-child(5n + 3) {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.dashboard-page .metric-card:nth-child(5n + 4) {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
}

.dashboard-page .metric-card:nth-child(5n + 5) {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}

.dashboard-page .metric-card:nth-child(5n + 1)::after {
    background: rgba(33, 150, 243, .18);
}

.dashboard-page .metric-card:nth-child(5n + 2)::after {
    background: rgba(0, 188, 212, .18);
}

.dashboard-page .metric-card:nth-child(5n + 3)::after {
    background: rgba(76, 175, 80, .18);
}

.dashboard-page .metric-card:nth-child(5n + 4)::after {
    background: rgba(255, 193, 7, .22);
}

.dashboard-page .metric-card:nth-child(5n + 5)::after {
    background: rgba(236, 64, 122, .18);
}

.dashboard-page .quick-links button {
    border: 1px solid #d7e3f4;
    background: #fff;
}

.dashboard-page .quick-links button:nth-child(1)::after {
    background: linear-gradient(135deg, #2196f3, #42a5f5);
}

.dashboard-page .quick-links button:nth-child(2)::after {
    background: linear-gradient(135deg, #00bcd4, #26c6da);
}

.dashboard-page .quick-links button:nth-child(3)::after {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.dashboard-page .quick-links button:nth-child(4)::after {
    background: linear-gradient(135deg, #ffc107, #ffca28);
}

.dashboard-page .chart-grid .panel {
    border-top-color: #2196f3;
}

.dashboard-page .chart-grid .panel:nth-child(2) {
    border-top-color: #00bcd4;
}

.dashboard-page .chart-grid .panel:nth-child(3) {
    border-top-color: #4caf50;
}

.dashboard-page .chart-grid .panel:nth-child(4) {
    border-top-color: #ffc107;
}

/* School-style Material layout requested */
:root {
    --sf-primary: #00a65a;
    --sf-primary-dark: #008d4c;
    --sf-primary-soft: #e8f5e9;
    --sf-accent: #2877d8;
    --sf-warning: #f9a825;
    --sf-danger: #ef5350;
    --sf-bg: #f3f4f6;
    --sf-card: #ffffff;
    --sf-text: #303238;
    --sf-subtle: #6f7177;
    --sf-border: #e0e0e0;
    --rz-primary: #00a65a;
    --rz-primary-light: #e8f5e9;
    --rz-primary-lighter: #f4fbf6;
    --rz-primary-dark: #008d4c;
}

html,
body {
    background: var(--sf-bg);
    color: var(--sf-text);
}

.premium-page {
    gap: 16px;
}

.page-header {
    min-height: 98px;
    border: 1px solid var(--sf-border);
    border-radius: 12px;
    background: var(--sf-card);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.page-header p {
    color: var(--sf-primary-dark);
}

.page-header h2,
.section-title h3 {
    color: var(--sf-text);
}

.panel,
.catalog-picker,
.quote-summary,
.package-item-card {
    border: 1px solid var(--sf-border);
    border-radius: 12px;
    background: var(--sf-card);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.panel:hover {
    border-color: #cfd8dc;
}

.section-title {
    border-bottom-color: #eeeeee;
}

.section-hint,
.quick-links span,
.package-dialog-hero small,
.package-dialog-hero span,
.package-field span,
.package-line-total span {
    color: var(--sf-subtle);
}

.rz-dialog-titlebar {
    background: var(--sf-primary) !important;
    color: #fff !important;
}

.rz-button.rz-primary,
.rz-button.rz-button-md.rz-primary {
    background: var(--sf-primary) !important;
    border-color: var(--sf-primary) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .24) !important;
}

.rz-button.rz-primary:hover,
.rz-button.rz-button-md.rz-primary:hover {
    background: var(--sf-primary-dark) !important;
}

.rz-grid-table thead th {
    background: #fafafa !important;
    color: #424242 !important;
}

.rz-data-grid {
    border-color: var(--sf-border);
}

.dashboard-page {
    max-width: 1200px;
}

.dashboard-page .dashboard-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: start;
}

.dashboard-page .role-pill {
    width: min(475px, 100%);
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 13px;
    background: #2877d8;
    color: #fff;
    font-size: .77rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-page .dashboard-intro h2 {
    margin: 12px 0 4px;
    color: #303238;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.06;
    font-weight: 900;
}

.dashboard-page .dashboard-intro p {
    margin: 0;
    color: var(--sf-subtle);
    font-size: 1.02rem;
}

.dashboard-page .cycle-card {
    min-height: 102px;
    display: grid;
    align-content: center;
    gap: 6px;
    border: 1px solid var(--sf-border);
    border-radius: 12px;
    background: var(--sf-card);
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.dashboard-page .cycle-card span {
    color: var(--sf-subtle);
    font-size: .8rem;
}

.dashboard-page .cycle-card strong {
    color: var(--sf-text);
    font-size: 1.12rem;
}

.dashboard-page .cycle-card small {
    color: var(--sf-subtle);
}

.dashboard-page .metric-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 14px;
}

.dashboard-page .metric-card {
    min-height: 114px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    column-gap: 14px;
    border: 1px solid var(--sf-border);
    border-radius: 12px;
    background: var(--sf-card) !important;
    padding: 18px 16px;
    color: var(--sf-text);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.dashboard-page .metric-card::before {
    content: "";
    position: static;
    display: block;
    width: 44px;
    height: 44px;
    grid-row: 1 / span 3;
    border-radius: 10px;
    background: #e3f2fd;
}

.dashboard-page .metric-card::after {
    display: none;
}

.dashboard-page .metric-card:nth-child(4n + 1)::before {
    background: #e3f2fd;
    box-shadow: inset 0 0 0 12px #e3f2fd, inset 0 0 0 15px #1976d2;
}

.dashboard-page .metric-card:nth-child(4n + 2)::before {
    background: #e8f5e9;
    box-shadow: inset 0 0 0 12px #e8f5e9, inset 0 0 0 15px #2e7d32;
}

.dashboard-page .metric-card:nth-child(4n + 3)::before {
    background: #ffebee;
    box-shadow: inset 0 0 0 12px #ffebee, inset 0 0 0 15px #e53935;
}

.dashboard-page .metric-card:nth-child(4n + 4)::before {
    background: #fff8e1;
    box-shadow: inset 0 0 0 12px #fff8e1, inset 0 0 0 15px #f9a825;
}

.dashboard-page .metric-card span,
.dashboard-page .metric-card small,
.dashboard-page .metric-card strong {
    color: var(--sf-text);
    opacity: 1;
}

.dashboard-page .metric-card span {
    color: var(--sf-subtle);
    font-size: .82rem;
    font-weight: 500;
}

.dashboard-page .metric-card strong {
    font-size: 1.55rem;
    line-height: 1.05;
}

.dashboard-page .metric-card small {
    color: var(--sf-subtle);
    font-size: .78rem;
}

.dashboard-page .quick-links {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.dashboard-page .quick-links button {
    min-height: 122px;
    border: 1px solid var(--sf-border);
    border-radius: 12px;
    background: var(--sf-card);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.dashboard-page .quick-links button::after {
    left: 16px;
    right: auto;
    top: 18px;
    width: 34px;
    height: 34px;
    transform: none;
    content: "";
    background: #e8eaf6;
    box-shadow: inset 0 0 0 11px #e8eaf6, inset 0 0 0 14px #3f51b5;
}

.dashboard-page .quick-links button strong,
.dashboard-page .quick-links button span {
    margin-left: 0;
}

.dashboard-page .quick-links button strong {
    padding-top: 40px;
}

.dashboard-page .chart-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
}

.dashboard-page .chart-grid .panel {
    border-top: 0;
}

@media (max-width: 1100px) {
    .dashboard-page .metric-grid,
    .dashboard-page .quick-links,
    .dashboard-page .chart-grid,
    .dashboard-page .dashboard-intro {
        grid-template-columns: 1fr;
    }
}

/* Radzen-only dashboard + calmer blue primary theme */
:root {
    --sf-primary: #1976d2;
    --sf-primary-dark: #0d47a1;
    --sf-primary-soft: #e3f2fd;
    --sf-accent: #42a5f5;
    --sf-bg: #f4f7fb;
    --sf-card: #ffffff;
    --sf-text: #263238;
    --sf-subtle: #6b7280;
    --sf-border: #dbe5f1;
    --rz-primary: #1976d2;
    --rz-primary-light: #e3f2fd;
    --rz-primary-lighter: #f4f9ff;
    --rz-primary-dark: #0d47a1;
    --rz-secondary: #5c6bc0;
}

.rz-button.rz-primary,
.rz-button.rz-button-md.rz-primary {
    background: #1976d2 !important;
    border-color: #1976d2 !important;
    box-shadow: 0 10px 22px rgba(25, 118, 210, .20) !important;
}

.rz-button.rz-primary:hover,
.rz-button.rz-button-md.rz-primary:hover {
    background: #1565c0 !important;
    border-color: #1565c0 !important;
}

.rz-dialog-titlebar {
    background: #1976d2 !important;
}

.dashboard-page .dashboard-intro,
.dashboard-page .metric-grid,
.dashboard-page .quick-links,
.dashboard-page .chart-grid {
    display: grid !important;
}

.dashboard-page .dashboard-intro {
    grid-template-columns: minmax(0, 1fr) 220px;
}

.dashboard-page .role-pill {
    background: #1976d2;
}

.dashboard-page .cycle-card,
.dashboard-page .metric-card,
.dashboard-page .quick-link-card,
.dashboard-page .panel {
    border: 1px solid var(--sf-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .14) !important;
}

.dashboard-page .metric-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 14px;
}

.dashboard-page .metric-card {
    min-height: 114px;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    column-gap: 14px;
    padding: 18px 16px !important;
}

.dashboard-page .metric-card::before,
.dashboard-page .metric-card::after,
.dashboard-page .quick-link-card::before,
.dashboard-page .quick-link-card::after {
    content: none !important;
    display: none !important;
}

.dashboard-page .metric-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / span 3;
    border-radius: 12px;
    background: #e3f2fd;
    color: #1976d2;
    font-size: 24px;
}

.dashboard-page .metric-card:nth-child(4n + 2) .metric-icon {
    background: #ede7f6;
    color: #5e35b1;
}

.dashboard-page .metric-card:nth-child(4n + 3) .metric-icon {
    background: #e0f7fa;
    color: #00838f;
}

.dashboard-page .metric-card:nth-child(4n + 4) .metric-icon {
    background: #fff8e1;
    color: #f57f17;
}

.dashboard-page .quick-links {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
}

.dashboard-page .quick-link-card {
    min-height: 118px;
    display: grid !important;
    justify-items: start !important;
    align-content: center !important;
    gap: 8px !important;
    padding: 18px !important;
    color: #263238 !important;
    text-align: left !important;
}

.dashboard-page .quick-link-card .rz-button-box {
    display: contents;
}

.dashboard-page .quick-link-card .rzi {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #e3f2fd;
    color: #1976d2;
    font-size: 22px;
}

.dashboard-page .quick-link-card strong {
    font-size: .98rem;
    font-weight: 850;
}

.dashboard-page .quick-link-card span {
    color: #6b7280;
    font-size: .88rem;
    line-height: 1.35;
}

.dashboard-page .chart-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
    gap: 16px;
}

@media (max-width: 1100px) {
    .dashboard-page .dashboard-intro,
    .dashboard-page .metric-grid,
    .dashboard-page .quick-links,
    .dashboard-page .chart-grid {
        grid-template-columns: 1fr;
    }
}

/* Softer typography for forms and grids */
input,
select,
textarea,
.rz-inputtext,
.rz-textarea,
.rz-dropdown,
.rz-dropdown-label,
.rz-numeric,
.rz-numeric input,
.rz-spinner,
.rz-spinner input,
.rz-password input,
.rz-datepicker input {
    font-weight: 400 !important;
}

input::placeholder,
textarea::placeholder,
.rz-placeholder {
    font-weight: 400 !important;
    color: #8a93a3 !important;
}

.dialog-form label,
.compact-form label,
.package-field span,
.package-dialog-hero span,
.quote-lines-heading,
.package-lines-heading,
.rz-column-title,
.rz-grid-table thead th,
.rz-cell-filter input,
.rz-cell-filter .rz-inputtext,
.rz-cell-filter .rz-dropdown-label {
    font-weight: 600 !important;
}

.radzen-checkline,
.checkbox-line,
.rz-chkbox-label,
.rz-radiobutton-label {
    font-weight: 500 !important;
}

.rz-dialog-title {
    font-weight: 700 !important;
}

.rz-button {
    font-weight: 650 !important;
}

.rz-grid-table td,
.rz-data-row td,
.rz-cell-data,
.rz-paginator,
.rz-paginator .rz-paginator-element,
.section-hint,
.empty-state {
    font-weight: 400 !important;
}

.status-pill {
    font-weight: 650 !important;
}

/* Dialog header polish */
.rz-dialog-titlebar {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 18px 0 24px !important;
    background: #1976d2 !important;
    color: #fff !important;
}

.rz-dialog-title {
    color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.rz-dialog-titlebar-close {
    color: #fff !important;
    opacity: .9 !important;
}

.rz-dialog-titlebar-close:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, .14) !important;
}

.rz-dialog-titlebar-close .rzi,
.rz-dialog-titlebar-close .rz-icon {
    color: #fff !important;
}

/* Radzen icon clarity */
.quote-editor .rzi,
.quote-editor .rz-icon,
.rz-button .rzi,
.rz-button .rz-icon,
.nav-material-icon {
    font-family: "Material Symbols" !important;
    font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-style: normal !important;
}

.rz-button .rzi,
.rz-button .rz-icon,
.rz-button .rz-button-icon-left,
.rz-button .rz-button-icon-right {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto;
    font-size: 1.18rem !important;
    opacity: 1 !important;
}

.quote-editor .rz-button.rz-primary .rzi,
.quote-editor .rz-button.rz-primary .rz-icon,
.quote-editor .rz-button.rz-primary .rz-button-icon-left {
    color: #fff !important;
}

/* Quote editor polish */
.quote-editor {
    gap: 20px;
    color: #263238;
}

.quote-editor-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #bbdefb;
    border-radius: 18px;
    background:
        linear-gradient(120deg, rgba(227, 242, 253, .92), rgba(224, 247, 250, .86)),
        #fff;
    box-shadow: 0 14px 34px rgba(33, 150, 243, .12);
}

.quote-editor-hero span,
.quote-editor-total span,
.quote-money-strip span {
    color: #607d8b;
    font-size: .78rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.quote-editor-hero strong {
    display: block;
    margin-top: 4px;
    color: #102a43;
    font-size: 1.28rem;
    font-weight: 700;
}

.quote-editor-hero small {
    display: block;
    margin-top: 4px;
    color: #546e7a;
    font-size: .9rem;
}

.quote-editor-total {
    min-width: 190px;
    padding: 14px 16px;
    border: 1px solid #90caf9;
    border-radius: 16px;
    background: #fff;
    text-align: right;
}

.quote-editor-total strong {
    color: #1565c0;
    font-size: 1.35rem;
}

.quote-change-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #ffe082;
    border-left: 5px solid #f9a825;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff8e1, #ffffff);
    box-shadow: 0 12px 30px rgba(245, 124, 0, .12);
}

.quote-change-banner.authorized {
    border-color: #a5d6a7;
    border-left-color: #2e7d32;
    background: linear-gradient(135deg, #f1f8e9, #ffffff);
    box-shadow: 0 12px 30px rgba(46, 125, 50, .10);
}

.quote-change-banner > .rz-icon {
    flex: 0 0 auto;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff3cd;
    color: #ef6c00;
    font-size: 1.75rem;
}

.quote-change-banner.authorized > .rz-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.quote-change-banner div {
    min-width: 0;
}

.quote-change-banner strong,
.quote-change-banner span {
    display: block;
}

.quote-change-banner strong {
    color: #102a43;
    font-size: 1.02rem;
    font-weight: 750;
}

.quote-change-banner span {
    margin-top: 2px;
    color: #607d8b;
    font-size: .9rem;
    line-height: 1.35;
}

.quote-change-banner .rz-button {
    margin-left: auto;
    white-space: nowrap;
}

.quote-editor .quote-meta-grid {
    padding: 16px;
    border: 1px solid #d7e3f4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.quote-editor .quote-meta-grid > label {
    color: #34495e;
    font-size: .78rem;
    font-weight: 650 !important;
}

.quote-editor .field-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 26px;
    color: #34495e;
    font-size: .78rem;
    font-weight: 650;
}

.quote-editor .field-label .rz-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e3f2fd;
    color: #1976d2;
    font-size: 1rem;
}

.quote-editor .package-picker-field {
    grid-column: span 2;
}

.quote-editor .package-apply-row {
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 10px;
}

.quote-editor .package-apply-row .rz-dropdown {
    min-width: 0;
}

.quote-editor .package-apply-row .rz-dropdown-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 44px !important;
}

.quote-editor .package-apply-button {
    min-width: 154px !important;
    min-height: 42px !important;
    border: 1px solid #bbdefb !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #e3f2fd, #ffffff) !important;
    color: #1565c0 !important;
    box-shadow: 0 8px 18px rgba(33, 150, 243, .12) !important;
}

.quote-editor .package-apply-button:not(.rz-state-disabled):hover {
    border-color: #90caf9 !important;
    background: #e3f2fd !important;
    color: #0d47a1 !important;
}

.quote-editor .package-selected-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin-top: 1px;
    padding: 6px 10px;
    border: 1px solid #c8e6c9;
    border-radius: 999px;
    background: #f1f8e9;
    color: #455a64;
    font-size: .75rem;
    line-height: 1.1;
}

.quote-editor .package-selected-hint strong {
    color: #2e7d32;
    font-weight: 700;
}

.quote-editor .rz-textbox,
.quote-editor .rz-inputtext,
.quote-editor .rz-dropdown,
.quote-editor .rz-numeric {
    border-color: #cfe0f4 !important;
    border-radius: 4px !important;
    background: #fff !important;
}

.quote-editor .rz-inputtext,
.quote-editor .rz-dropdown-label,
.quote-editor .rz-numeric input {
    min-height: 42px !important;
    color: #263238 !important;
    font-size: .95rem !important;
}

.quote-editor .rz-dropdown-trigger,
.quote-editor .rz-dropdown-clear-icon {
    color: #1976d2 !important;
    opacity: 1 !important;
}

.quote-editor .rz-dropdown-trigger .rzi,
.quote-editor .rz-dropdown-clear-icon,
.quote-editor .rz-dropdown-clear-icon .rzi {
    color: #607d8b !important;
    font-size: 1.25rem !important;
}

.quote-editor .rz-textbox:focus,
.quote-editor .rz-inputtext:focus,
.quote-editor .rz-dropdown:focus-within,
.quote-editor .rz-numeric:focus-within {
    border-color: #2196f3 !important;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, .12) !important;
}

.quote-editor .quote-date-picker {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 42px !important;
}

.quote-editor .quote-date-picker > .rz-inputtext {
    width: 100% !important;
    height: 42px !important;
    padding-right: 46px !important;
    box-sizing: border-box !important;
}

.quote-editor .quote-date-picker > .rz-datepicker-trigger {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: inline-flex !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 4px 4px 0 !important;
    background: transparent !important;
    color: #1976d2 !important;
    box-shadow: none !important;
    transform: none !important;
}

.quote-editor .quote-date-picker > .rz-datepicker-trigger:hover {
    background: #e3f2fd !important;
}

.quote-editor .quote-date-picker > .rz-datepicker-trigger .rzi {
    color: #1976d2 !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
}
.field-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 7px;
    padding: 6px 10px;
    border: 1px solid #ffcdd2;
    border-radius: 999px;
    background: #ffebee;
    color: #b71c1c;
    font-size: .76rem;
    font-weight: 600;
}

.date-blocked-day {
    background: #ffebee !important;
    color: #b71c1c !important;
    text-decoration: line-through;
    cursor: not-allowed !important;
}

.quote-money-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 12px;
}

.quote-money-strip div {
    padding: 13px 15px;
    border: 1px solid #d7e3f4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.quote-money-strip strong {
    display: block;
    margin-top: 5px;
    color: #102a43;
    font-size: 1.12rem;
    font-weight: 700;
}

.quote-money-strip .paid {
    border-color: #a5d6a7;
    background: #f1f8e9;
}

.quote-money-strip .paid strong {
    color: #2e7d32;
}

.quote-editor .catalog-picker {
    padding: 18px;
    border: 1px solid #bbdefb;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(227, 242, 253, .72), rgba(255, 248, 225, .62)),
        #fff;
    box-shadow: 0 12px 30px rgba(33, 150, 243, .1);
}

.quote-editor .section-title {
    margin-bottom: 12px;
    border-bottom-color: #d7e3f4;
}

.quote-editor .section-title h3 {
    color: #102a43;
    font-size: 1.08rem;
    font-weight: 700;
}

.quote-editor .section-hint {
    color: #607d8b;
    font-size: .86rem;
}

.quote-editor .catalog-toolbar .rz-textbox {
    min-width: min(280px, 100%);
}

.quote-editor .rz-data-grid {
    border-color: #d7e3f4;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
}

.quote-editor .rz-grid-table thead th {
    background: #f5f9ff !important;
    color: #34495e !important;
    font-weight: 650 !important;
}

.quote-editor .rz-grid-table td {
    color: #37474f;
    border-bottom-color: #e5edf7 !important;
}

.quote-editor .rz-paginator {
    border-top: 1px solid #e5edf7;
    background: #fff;
}

.quote-editor .quote-lines {
    gap: 12px;
    margin-top: 10px;
}

.quote-editor .quote-lines-heading {
    grid-template-columns: 38px minmax(240px, 1fr) 112px 140px 130px 42px;
    gap: 10px;
    padding: 0 12px;
    color: #607d8b;
    font-size: .74rem;
    font-weight: 650 !important;
}

.quote-editor .quote-line {
    grid-template-columns: 38px minmax(240px, 1fr) 112px 140px 130px 42px;
    gap: 10px;
    padding: 12px;
    border: 1px solid #d7e3f4;
    border-left: 4px solid #2196f3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.quote-line-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #e3f2fd;
    color: #1976d2;
    font-size: .82rem;
    font-weight: 700;
}

.quote-editor .quote-line strong {
    color: #102a43;
    font-size: .98rem;
    font-weight: 700;
}

.quote-editor .rz-numeric {
    overflow: hidden;
}

.quote-editor .quote-line .rz-numeric button,
.quote-editor .quote-line .rz-spinner button,
.quote-editor .quote-line .rz-spinner-button,
.quote-editor .quote-line .rz-numeric .rz-button {
    min-width: 22px !important;
    width: 22px !important;
    min-height: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    border: 0 !important;
    border-left: 1px solid #d7e3f4 !important;
    border-radius: 0 !important;
    background: #f8fbff !important;
    color: #607d8b !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}

.quote-editor .quote-line .rz-numeric button:hover,
.quote-editor .quote-line .rz-spinner button:hover,
.quote-editor .quote-line .rz-spinner-button:hover,
.quote-editor .quote-line .rz-numeric .rz-button:hover {
    background: #e3f2fd !important;
    color: #1976d2 !important;
}

.quote-editor .quote-line > .quote-line-delete {
    border-color: #ffcdd2 !important;
    background: #fff !important;
    color: #e53935 !important;
    box-shadow: none !important;
}

.quote-editor .quote-line > .quote-line-delete:hover {
    border-color: #ef9a9a !important;
    background: #ffebee !important;
    color: #c62828 !important;
}

.quote-editor .customer-choices-section {
    padding: 16px;
    border: 1px solid #bbdefb;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(227, 242, 253, .72), rgba(241, 248, 233, .58)),
        #fff;
    box-shadow: 0 12px 30px rgba(33, 150, 243, .1);
}

.quote-editor .customer-change-request {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #ffe082;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff8e1, #fffef8);
    box-shadow: 0 10px 24px rgba(245, 124, 0, .10);
}

.quote-editor .customer-change-request.authorized {
    border-color: #a5d6a7;
    background: linear-gradient(135deg, #f1f8e9, #ffffff);
    box-shadow: 0 10px 24px rgba(46, 125, 50, .08);
}

.quote-editor .customer-change-request > .rz-icon {
    flex: 0 0 auto;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff3cd;
    color: #ef6c00;
    font-size: 1.55rem;
}

.quote-editor .customer-change-request.authorized > .rz-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.quote-editor .customer-change-request div {
    min-width: 0;
}

.quote-editor .customer-change-request strong,
.quote-editor .customer-change-request span {
    display: block;
}

.quote-editor .customer-change-request strong {
    color: #102a43;
    font-size: .98rem;
    font-weight: 700;
}

.quote-editor .customer-change-request span {
    color: #607d8b;
    font-size: .88rem;
    line-height: 1.35;
}

.quote-editor .customer-change-request .rz-button {
    margin-left: auto;
    white-space: nowrap;
}

.quote-editor .customer-choice-groups {
    display: grid;
    gap: 12px;
}

.quote-editor .customer-choice-card {
    padding: 14px;
    border: 1px solid #cfe3ff;
    border-left: 4px solid #1976d2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.quote-editor .customer-choice-card.pending {
    border-color: #e2e8f0;
    border-left-color: #90a4ae;
    background: #f8fafc;
}

.quote-editor .customer-choice-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.quote-editor .customer-choice-card-head strong {
    display: block;
    color: #102a43;
    font-size: 1rem;
    font-weight: 700;
}

.quote-editor .customer-choice-card-head span,
.quote-editor .customer-choice-card-head small {
    color: #607d8b;
    font-size: .78rem;
    font-weight: 600;
}

.quote-editor .customer-choice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quote-editor .customer-choice-tags span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 999px;
    padding: 0 12px;
    background: #e3f2fd;
    color: #0d47a1;
    font-size: .84rem;
    font-weight: 650;
}

.quote-editor .choice-pending {
    margin: 0;
    color: #607d8b;
    font-size: .9rem;
    font-weight: 500;
}

.quote-editor .customer-choices-empty {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.quote-editor .customer-choices-empty .rz-icon {
    color: #1976d2;
    font-size: 2rem;
}

.quote-editor .customer-choices-empty strong,
.quote-editor .customer-choices-empty span {
    display: block;
}

.quote-editor .customer-choices-empty strong {
    color: #102a43;
}

.quote-editor .customer-choices-empty span {
    color: #607d8b;
    font-size: .9rem;
}

.quote-editor .quote-summary {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding: 16px;
    border: 1px solid #bbdefb;
    border-radius: 18px;
    background:
        linear-gradient(135deg, #f5f9ff, #ffffff),
        #fff;
    box-shadow: 0 12px 30px rgba(33, 150, 243, .1);
}

.quote-editor .quote-summary label,
.quote-editor .quote-summary div {
    min-height: 76px;
    padding: 12px;
    border: 1px solid #d7e3f4;
    border-radius: 14px;
    background: #fff;
}

.quote-editor .quote-summary div:last-child {
    border-color: #90caf9;
    background: #e3f2fd;
}

.quote-editor .quote-summary div:last-child strong {
    color: #1565c0;
}

.quote-editor .quote-summary div > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.quote-editor .quote-summary div > span .rz-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e3f2fd;
    color: #1976d2;
    font-size: 1rem;
}

.quote-editor .quote-summary div:nth-child(3) > span .rz-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.quote-editor .quote-summary div:last-child > span .rz-icon {
    background: #bbdefb;
    color: #0d47a1;
}

.quotation-list-panel {
    padding: 22px;
}

.quotation-list-panel .section-title {
    align-items: center;
    margin-bottom: 16px;
}

.quotation-count {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 0 11px;
    background: #e3f2fd;
    color: #1565c0;
    font-size: .8rem;
    font-weight: 650;
    white-space: nowrap;
}

.quotes-grid {
    border: 1px solid #d5e4f3 !important;
    border-radius: 10px !important;
    background: #fff;
    box-shadow: 0 10px 28px rgba(21, 101, 192, .07);
}

.quotes-grid .rz-grid-table thead th {
    height: 48px;
    border-color: #cfe1f2 !important;
    background: #eaf4ff !important;
    color: #174a7e !important;
    font-size: .78rem;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.quotes-grid .rz-grid-table tbody td {
    height: 72px;
    border-color: #e2ebf4 !important;
    padding: 11px 12px !important;
    background: #fff;
    vertical-align: middle;
}

.quotes-grid .rz-grid-table tbody tr:nth-child(even) td {
    background: #f8fbff;
}

.quotes-grid .rz-grid-table tbody tr:hover td {
    background: #eef7ff !important;
}

.quotes-grid .rz-grid-filter {
    padding: 8px 7px !important;
    background: #f7fbff !important;
}

.quotes-grid .rz-grid-filter .rz-textbox,
.quotes-grid .rz-grid-filter input {
    min-height: 36px;
    border-color: #c8d9eb;
    border-radius: 4px !important;
    background: #fff;
    font-weight: 400 !important;
}

.quotation-folio,
.quotation-date,
.quotation-guests {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.quotation-folio .rz-icon,
.quotation-date .rz-icon,
.quotation-guests .rz-icon {
    color: #1976d2;
    font-size: 1.05rem;
}

.quotation-folio strong {
    color: #0d47a1;
    font-size: .84rem;
    font-weight: 700;
}

.quotation-customer {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.quotation-avatar {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #1976d2;
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
}

.quotation-customer > div,
.quotation-event {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.quotation-customer strong,
.quotation-event strong,
.quotation-date strong {
    overflow: hidden;
    color: #243447;
    font-size: .88rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quotation-customer small,
.quotation-event small {
    overflow: hidden;
    color: #78909c;
    font-size: .74rem;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quotation-guests {
    min-height: 30px;
    border-radius: 6px;
    padding: 0 9px;
    background: #eef6ff;
    color: #37474f;
    font-weight: 600;
}

.quotation-money {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 650;
    white-space: nowrap;
}

.quotation-money.total {
    color: #263238;
}

.quotation-money.paid {
    color: #2e7d32;
}

.quotation-money.balance {
    color: #0d47a1;
    font-weight: 750;
}

.quote-portal-cell {
    display: grid;
    gap: 8px;
    justify-items: stretch;
}

.quote-password {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.quote-password span {
    color: #607d8b;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.quote-password strong {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border: 1px solid #bbdefb;
    border-radius: 5px;
    padding: 0 9px;
    background: #e3f2fd;
    color: #0d47a1;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.copy-portal-link {
    width: 100%;
    justify-content: center;
    border-color: #90caf9 !important;
    border-radius: 5px !important;
    color: #1565c0 !important;
}

.quotes-grid .row-actions .rz-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 6px !important;
}

.quote-client-access {
    display: grid;
    gap: 14px;
    border: 1px solid #90caf9;
    border-left: 5px solid #1976d2;
    border-radius: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #f7fbff, #eef8ff);
    box-shadow: 0 10px 26px rgba(25, 118, 210, .08);
}

.quote-client-access-heading {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.quote-client-access-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #1976d2;
    color: #fff;
}

.quote-client-access-heading > div {
    display: grid;
    gap: 3px;
}

.quote-client-access-heading strong {
    color: #153b63;
    font-size: 1rem;
    font-weight: 700;
}

.quote-client-access-heading small {
    color: #546e7a;
    font-size: .82rem;
    font-weight: 400;
    line-height: 1.4;
}

.quote-client-access-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px auto;
    gap: 10px;
    align-items: stretch;
}

.quote-access-field {
    display: grid;
    min-width: 0;
    gap: 5px;
    border: 1px solid #c8dff3;
    border-radius: 6px;
    padding: 9px 11px;
    background: #fff;
}

.quote-access-field > span {
    color: #607d8b;
    font-size: .68rem;
    font-weight: 650;
    text-transform: uppercase;
}

.quote-access-link a {
    overflow: hidden;
    color: #1565c0;
    font-size: .84rem;
    font-weight: 500;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-access-link a:hover {
    text-decoration: underline;
}

.quote-access-password strong {
    color: #0d47a1;
    font-size: .96rem;
    font-weight: 750;
    letter-spacing: .08em;
}

.quote-access-copy {
    min-width: 145px;
    border-radius: 6px !important;
}

@media (max-width: 760px) {
    .quotation-list-panel {
        padding: 14px;
    }

    .quotation-count {
        justify-self: start;
    }

    .quote-client-access-fields {
        grid-template-columns: 1fr;
    }

    .quote-access-copy {
        width: 100%;
    }
}
.quote-editor textarea.rz-textarea {
    min-height: 92px;
    border-radius: 4px !important;
}

.quote-editor .dialog-actions {
    position: sticky;
    bottom: -1px;
    z-index: 2;
    margin: 0 -2px;
    padding: 14px 2px 2px;
    border-top: 1px solid #e5edf7;
    background: linear-gradient(180deg, rgba(255, 255, 255, .74), #fff 34%);
}

@media (max-width: 900px) {
    .quote-editor-hero {
        grid-template-columns: 1fr;
    }

    .quote-editor-total {
        width: 100%;
        text-align: left;
    }

    .quote-money-strip {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .quote-editor .quote-lines-heading {
        display: none;
    }

    .quote-editor .quote-line {
        grid-template-columns: 38px 1fr;
    }

    .quote-editor .quote-line > *:not(.quote-line-index) {
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    .quote-editor .package-picker-field {
        grid-column: 1 / -1;
    }

    .quote-editor .package-apply-row {
        grid-template-columns: 1fr;
    }

    .quote-editor .package-apply-button {
        width: 100%;
    }

    .quote-change-banner {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .quote-change-banner .rz-button {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    .quote-money-strip {
        grid-template-columns: 1fr;
    }
}

/* Blocked dates calendar */
.blocked-dates-page {
    gap: 18px;
}

.calendar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.calendar-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
}

.calendar-stat {
    min-height: 98px;
    padding: 16px;
    border: 1px solid #d7e3f4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.calendar-stat span {
    color: #607d8b;
    font-size: .78rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.calendar-stat strong {
    display: block;
    margin-top: 10px;
    color: #102a43;
    font-size: 1.7rem;
    line-height: 1;
}

.calendar-stat.available {
    border-color: #a5d6a7;
    background: linear-gradient(135deg, #f1f8e9, #fff);
}

.calendar-stat.quoted {
    border-color: #90caf9;
    background: linear-gradient(135deg, #e3f2fd, #fff);
}

.calendar-stat.blocked {
    border-color: #ef9a9a;
    background: linear-gradient(135deg, #ffebee, #fff);
}

.calendar-stat.next {
    border-color: #ffe082;
    background: linear-gradient(135deg, #fff8e1, #fff);
}

.calendar-stat.next strong {
    font-size: 1.18rem;
}

.blocked-calendar-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
}

.calendar-panel,
.calendar-side-panel {
    border: 1px solid #d7e3f4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.calendar-panel {
    overflow: hidden;
}

.calendar-toolbar-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 18px;
    background:
        linear-gradient(120deg, rgba(227, 242, 253, .92), rgba(224, 247, 250, .7)),
        #fff;
    border-bottom: 1px solid #d7e3f4;
}

.calendar-toolbar-main div {
    text-align: center;
}

.calendar-toolbar-main span {
    color: #607d8b;
    font-size: .78rem;
    font-weight: 650;
    text-transform: uppercase;
}

.calendar-toolbar-main strong {
    display: block;
    color: #102a43;
    font-size: 1.35rem;
    text-transform: capitalize;
}

.calendar-legend {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 18px;
    border-bottom: 1px solid #e5edf7;
    color: #546e7a;
    font-size: .85rem;
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cfd8dc;
}

.legend-dot.free {
    background: #4caf50;
}

.legend-dot.quoted {
    background: #2196f3;
}

.legend-dot.blocked {
    background: #e53935;
}

.legend-dot.today {
    background: #ffc107;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
    padding: 12px 14px 8px;
    color: #607d8b;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.calendar-grid {
    gap: 8px;
    padding: 0 14px 16px;
}

.calendar-day {
    position: relative;
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 118px;
    padding: 10px;
    border: 1px solid #d7e3f4;
    border-radius: 16px;
    background: #fff;
    color: #263238;
    text-align: left;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.calendar-day:hover {
    transform: translateY(-2px);
    border-color: #90caf9;
    box-shadow: 0 14px 26px rgba(33, 150, 243, .13);
}

.calendar-day.muted {
    opacity: .48;
}

.calendar-day.selected {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, .16), 0 14px 26px rgba(33, 150, 243, .12);
}

.calendar-day.free {
    background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.calendar-day.quoted {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

.calendar-day.blocked {
    border-color: #ffcdd2;
    background: linear-gradient(135deg, #ffebee, #ffffff);
}

.calendar-day.today::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ffc107;
}

.day-number {
    color: #102a43;
    font-size: 1.05rem;
    font-weight: 750;
}

.day-status {
    width: fit-content;
    border-radius: 999px;
    padding: 3px 8px;
    background: #eef5ff;
    color: #1976d2;
    font-size: .72rem;
    font-weight: 650;
}

.calendar-day.blocked .day-status {
    background: #ffcdd2;
    color: #b71c1c;
}

.calendar-day.free .day-status {
    background: #e8f5e9;
    color: #2e7d32;
}

.day-chip,
.day-more {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    padding: 4px 7px;
    color: #37474f;
    font-size: .74rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.day-chip.quoted {
    background: #bbdefb;
    color: #0d47a1;
}

.day-chip.blocked {
    background: #ffcdd2;
    color: #b71c1c;
}

.day-chip.neutral,
.day-more {
    background: #eceff1;
    color: #455a64;
}

.calendar-side-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
    position: sticky;
    top: 88px;
}

.selected-date-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #a5d6a7;
    background: linear-gradient(135deg, #f1f8e9, #fff);
}

.selected-date-card.blocked {
    border-color: #ef9a9a;
    background: linear-gradient(135deg, #ffebee, #fff);
}

.selected-date-card span {
    color: #607d8b;
    font-size: .78rem;
    font-weight: 650;
    text-transform: uppercase;
}

.selected-date-card strong {
    display: block;
    margin-top: 7px;
    color: #102a43;
    font-size: 1.15rem;
    text-transform: capitalize;
}

.selected-date-card small {
    display: block;
    margin-top: 7px;
    color: #546e7a;
}

.blocked-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    background: #ffebee;
    color: #b71c1c;
    font-weight: 650;
}

.day-detail-list {
    display: grid;
    gap: 10px;
}

.section-title.compact {
    margin-bottom: 0;
    padding-bottom: 8px;
}

.empty-day {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 24px 14px;
    border: 1px dashed #cfd8dc;
    border-radius: 16px;
    color: #607d8b;
    text-align: center;
}

.empty-day .rz-icon {
    color: #4caf50;
    font-size: 2rem;
}

.day-detail-card {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d7e3f4;
    border-radius: 16px;
    background: #fff;
}

.day-detail-card.blocked {
    border-color: #ffcdd2;
    background: #fff7f7;
}

.day-detail-card.quoted {
    border-color: #bbdefb;
    background: #f7fbff;
}

.day-detail-card strong {
    color: #102a43;
}

.day-detail-card span,
.day-detail-card small {
    color: #607d8b;
}

@media (max-width: 1100px) {
    .blocked-calendar-shell {
        grid-template-columns: 1fr;
    }

    .calendar-side-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .calendar-summary-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .calendar-weekdays {
        display: none;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .calendar-day {
        min-height: 96px;
    }
}

@media (max-width: 520px) {
    .calendar-summary-grid {
        grid-template-columns: 1fr;
    }
}





/* Login 2026: acceso limpio, con foco en el formulario. */
.login-page-clean {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 56%) minmax(420px, 44%);
    padding: 0;
    background: #f8fafc;
    color: #172033;
    overflow: auto;
}

.login-visual-panel {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: clamp(44px, 6vw, 88px);
    background: url("../images/login-salon.jpg") center / cover no-repeat;
    overflow: hidden;
}

.login-visual-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(20, 58, 98, .16) 0%, rgba(17, 57, 96, .82) 100%);
}

.login-visual-content {
    max-width: 610px;
    color: #fff;
    text-shadow: none;
}

.login-eyebrow {
    min-height: 28px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 4px;
    padding: 0 11px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 0;
    backdrop-filter: blur(8px);
}

.login-visual-content h1 {
    margin: 18px 0 12px;
    max-width: 600px;
    font-family: inherit;
    font-size: clamp(2.15rem, 3.5vw, 3.65rem);
    line-height: 1.02;
    font-weight: 750;
    letter-spacing: 0;
}

.login-visual-content p {
    max-width: 520px;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(.98rem, 1.35vw, 1.14rem);
    line-height: 1.55;
}

.login-card-clean {
    position: relative;
    align-self: stretch;
    justify-self: stretch;
    width: auto;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: -16px 0 36px rgba(31, 55, 79, .08);
    overflow: visible;
    backdrop-filter: none;
}

.login-card-glow {
    display: none;
}

.login-card-content {
    width: min(420px, calc(100% - 64px));
    display: grid;
    gap: 22px;
    padding: 48px 0 38px;
}

.login-brand-clean {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 104px;
    gap: 0;
}

.login-brand-clean img {
    display: block;
    width: 205px;
    max-width: 58vw;
    max-height: 112px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.login-copy {
    gap: 5px;
}

.login-copy > span {
    color: #1976d2;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.login-copy h2 {
    color: #172033;
    font-size: clamp(1.45rem, 1.8vw, 1.72rem);
    font-weight: 700;
    letter-spacing: 0;
}

.login-copy p {
    color: #687386;
    font-size: .95rem;
    line-height: 1.5;
}

.login-card-content .rz-alert {
    margin: -4px 0 0;
    border-radius: 4px;
}

.login-form-clean {
    gap: 17px;
}

.login-form-clean label {
    gap: 7px;
    color: #34445a;
    font-size: .84rem;
    font-weight: 600;
}

.login-form-clean input,
.login-form-clean .rz-inputtext,
.login-form-clean .rz-password input {
    min-height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 5px !important;
    padding: 0 13px;
    background: #fff;
    color: #172033;
    font-size: .95rem;
    font-weight: 400 !important;
    box-shadow: none;
}

.login-form-clean input::placeholder,
.login-form-clean .rz-inputtext::placeholder,
.login-form-clean .rz-password input::placeholder {
    color: #98a2b3;
    font-weight: 400;
}

.login-form-clean input:focus,
.login-form-clean .rz-inputtext:focus,
.login-form-clean .rz-password input:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, .13);
}

.login-form-clean button,
.login-form-clean .rz-button {
    min-height: 47px;
    margin-top: 2px;
    border: 1px solid #1976d2;
    border-radius: 5px !important;
    background: #1976d2;
    color: #fff;
    font-size: .91rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(25, 118, 210, .2);
}

.login-form-clean button:hover,
.login-form-clean .rz-button:hover {
    border-color: #1565c0;
    background: #1565c0;
    box-shadow: 0 10px 22px rgba(25, 118, 210, .24);
    transform: none;
}

.login-support {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: #7b8494;
    font-size: .79rem;
}

.login-support strong {
    color: #526174;
    font-size: .79rem;
    font-weight: 600;
}

.login-footer-clean {
    justify-content: flex-start;
    border-top: 1px solid #edf0f4;
    padding-top: 18px;
    color: #8a94a3;
    font-size: .8rem;
}

.login-footer-clean a {
    color: #34445a;
    font-weight: 700;
}

.login-footer-clean a:hover {
    color: #1976d2;
}

@media (max-width: 900px) {
    .login-page-clean {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(190px, 28vh) auto;
        background: #fff;
        padding: 0;
    }

    .login-visual-panel {
        min-height: 190px;
        padding: 28px clamp(24px, 8vw, 56px);
        background-position: center 42%;
    }

    .login-visual-content h1 {
        margin: 12px 0 0;
        max-width: 460px;
        font-size: clamp(1.8rem, 6vw, 2.65rem);
    }

    .login-visual-content p {
        display: none;
    }

    .login-card-clean {
        min-height: auto;
        align-items: flex-start;
        box-shadow: none;
    }

    .login-card-content {
        width: min(440px, calc(100% - 48px));
        padding: 30px 0 26px;
    }

    .login-brand-clean {
        min-height: 80px;
    }

    .login-brand-clean img {
        width: 180px;
        max-height: 88px;
    }

    .login-support {
        flex-direction: row;
        align-items: baseline;
    }
}

@media (max-width: 520px) {
    .login-page-clean {
        grid-template-rows: 150px auto;
    }

    .login-visual-panel {
        min-height: 150px;
        padding: 22px 24px;
    }

    .login-eyebrow {
        display: none;
    }

    .login-visual-content h1 {
        margin: 0;
        font-size: 1.7rem;
    }

    .login-card-content {
        width: calc(100% - 36px);
        gap: 19px;
        padding: 24px 0;
    }

    .login-brand-clean {
        min-height: 66px;
    }

    .login-brand-clean img {
        width: 154px;
        max-height: 72px;
    }

    .login-copy h2 {
        font-size: 1.4rem;
    }

    .login-support {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
}

