/* Order Status Shared */

.order-status-body,
.order-status-body * {
    box-sizing: border-box;
}

.order-status-body {
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(118deg, #e8faff 0%, #fbfdff 42%, #eef6ff 100%);
}

.order-status-body main {
    min-height: calc(100svh - 156px);
    overflow: visible;
    background: linear-gradient(180deg, #f6fbff 0%, #ffffff 54%, #eef8ff 100%);
}

/* Order Status Check Page */

.order-status-check-page {
    display: grid;
    width: min(760px, calc(100% - 32px));
    min-height: calc(100svh - 180px) !important;
    height: auto !important;
    max-height: none !important;
    place-items: center;
    margin: 0 auto;
    padding: clamp(30px, 6vw, 72px) 0 !important;
    overflow: visible !important;
}

.order-status-check-card {
    width: 100%;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 28px;
    padding: clamp(22px, 4vw, 38px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.order-status-check-eyebrow {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 999px;
    padding: 0 13px;
    color: #0284c7;
    background: rgba(224, 247, 255, 0.82);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-status-check-card h1 {
    margin: 14px 0 10px;
    color: #0f172a;
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1;
    letter-spacing: 0;
}

.order-status-check-card p {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.55;
}

.order-status-check-form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.order-status-check-form label {
    display: grid;
    gap: 8px;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 900;
}

.order-status-check-form input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 16px;
    padding: 0 16px;
    color: #0f172a;
    background: #ffffff;
    font: inherit;
    font-weight: 750;
    outline: 0;
}

.order-status-check-form input:focus {
    border-color: rgba(14, 165, 233, 0.65);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.order-status-check-error {
    border-radius: 14px;
    padding: 12px 14px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.45;
}

.order-status-check-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.order-status-check-actions button,
.order-status-check-actions a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 0 18px;
    font-weight: 900;
    text-decoration: none;
}

.order-status-check-actions button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #13a8e7, #0f74d9);
    box-shadow: 0 14px 28px rgba(14, 116, 217, 0.18);
    cursor: pointer;
}

.order-status-check-actions a {
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: #075985;
    background: #f0f9ff;
}

@media (max-width: 480px) {
    .order-status-check-page {
        width: min(100% - 20px, 760px);
        padding: 22px 0;
    }

    .order-status-check-card {
        border-radius: 22px;
        padding: 20px;
    }

    .order-status-check-actions button,
    .order-status-check-actions a {
        width: 100%;
    }
}

/* Order Status Detail Page */

.order-status-page {
    width: min(1040px, calc(100% - 32px));
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto;
    padding: clamp(30px, 6vw, 72px) 0 !important;
    overflow: visible !important;
}

.order-status-card {
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.order-status-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 22px;
    padding: clamp(24px, 4vw, 42px);
    background: linear-gradient(
        135deg,
        rgba(14, 165, 233, 0.12),
        rgba(37, 99, 235, 0.06)
    );
}

.order-status-eyebrow,
.order-status-badge {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    align-items: center;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-status-eyebrow {
    padding: 0 13px;
    color: #0284c7;
    background: rgba(224, 247, 255, 0.82);
    border: 1px solid rgba(14, 165, 233, 0.25);
}

.order-status-hero h1 {
    margin: 14px 0 10px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1;
    letter-spacing: 0;
}

.order-status-hero p {
    max-width: 650px;
    margin: 0;
    color: #475569;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.55;
}

.order-status-panel {
    align-self: stretch;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.86);
}

.order-status-badge {
    padding: 0 14px;
    color: #075985;
    background: #e0f2fe;
}

.order-status-panel strong {
    display: block;
    margin-top: 16px;
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1.25;
}

.order-status-panel small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-weight: 800;
    line-height: 1.45;
}

.order-status-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(18px, 3vw, 26px);
    padding: clamp(22px, 3.5vw, 34px);
}

.order-status-box {
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 20px;
    padding: clamp(18px, 3vw, 28px);
    background: #ffffff;
}

.order-status-box-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 18px;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 16px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
}

.order-status-box-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.2;
}

.order-status-box-heading span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 999px;
    padding: 0 11px;
    color: #0369a1;
    background: #e0f2fe;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.order-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.order-status-item {
    min-width: 0;
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 15px;
    padding: 13px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 54%, #f0f9ff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.order-status-item:hover {
    border-color: rgba(14, 165, 233, 0.26);
    box-shadow: 0 14px 30px rgba(14, 116, 217, 0.08);
    transform: translateY(-1px);
}

.order-status-item span {
    display: block;
    color: #0369a1;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.order-status-item strong {
    display: block;
    margin-top: 7px;
    color: #0f172a;
    overflow-wrap: anywhere;
    font-size: 0.93rem;
    font-weight: 900;
    line-height: 1.32;
}

.order-status-note {
    margin-top: 16px;
    border-radius: 16px;
    padding: 14px;
    color: #334155;
    background: #f8fafc;
    font-weight: 750;
    line-height: 1.5;
}

.order-status-online-card {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    border: 1px solid rgba(14, 165, 233, 0.28);
    border-radius: 22px;
    padding: clamp(18px, 2.4vw, 24px);
    background:
        radial-gradient(
            circle at top right,
            rgba(34, 197, 94, 0.16),
            transparent 34%
        ),
        linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
    box-shadow: 0 18px 44px rgba(22, 163, 74, 0.12);
}

.order-status-online-card span {
    width: max-content;
    border-radius: 999px;
    padding: 7px 12px;
    color: #047857;
    background: #d1fae5;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-status-online-card h3 {
    margin: 0;
    color: #064e3b;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.15;
}

.order-status-online-card p {
    margin: 0;
    color: #334155;
    font-weight: 750;
    line-height: 1.55;
}

.order-status-online-url {
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 14px;
    padding: 12px 14px;
    color: #065f46;
    background: #ffffff;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.order-status-online-button {
    display: inline-flex;
    min-height: 48px;
    width: max-content;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 0 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #16a34a, #047857);
    box-shadow: 0 16px 32px rgba(22, 163, 74, 0.2);
    font-size: 0.92rem;
    font-weight: 950;
    text-decoration: none;
}

.order-status-payment-placeholder {
    margin-top: 16px;
    border: 1px dashed rgba(2, 132, 199, 0.38);
    border-radius: 18px;
    padding: 16px;
    color: #075985;
    background: #f0f9ff;
    font-weight: 850;
    line-height: 1.5;
}

.order-status-invoice-card {
    display: grid;
    gap: 14px;
    margin: 16px 0;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 18px;
    padding: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(224, 242, 254, 0.68),
            rgba(255, 255, 255, 0) 62%
        ),
        #ffffff;
}

.order-status-invoice-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.order-status-invoice-head span,
.order-status-invoice-grid span {
    display: block;
    color: #0284c7;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
}

.order-status-invoice-head strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: clamp(1rem, 2vw, 1.18rem);
    font-weight: 950;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.order-status-invoice-head em {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 11px;
    font-style: normal;
    font-size: 0.76rem;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.order-status-invoice-head em.is-draft {
    color: #475569;
    background: #f1f5f9;
}

.order-status-invoice-head em.is-unpaid {
    color: #92400e;
    background: #fef3c7;
}

.order-status-invoice-head em.is-review {
    color: #075985;
    background: #e0f2fe;
}

.order-status-invoice-head em.is-paid {
    color: #15803d;
    background: #dcfce7;
}

.order-status-invoice-head em.is-cancelled {
    color: #991b1b;
    background: #fee2e2;
}

.order-status-invoice-head em.is-expired {
    color: #9f1239;
    background: #ffe4e6;
}

.order-status-invoice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.order-status-invoice-grid div {
    min-width: 0;
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 14px;
    padding: 11px;
    background: rgba(248, 250, 252, 0.82);
}

.order-status-invoice-grid strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.order-status-invoice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-status-invoice-actions a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    padding: 0 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #075985);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.18);
    font-size: 0.86rem;
    font-weight: 950;
    text-decoration: none;
}

.order-status-invoice-actions a:hover {
    transform: translateY(-1px);
}


.order-status-content.is-completing-data {
    gap: clamp(14px, 2vw, 18px);
}

.order-status-content.is-completing-data .order-status-box {
    padding: clamp(14px, 2vw, 20px);
}

.order-status-content.is-completing-data .order-status-box-heading {
    margin-bottom: 12px;
}

.order-status-content.is-completing-data .order-status-grid {
    gap: 8px;
}

.order-status-content.is-completing-data .order-status-item {
    padding: 10px 12px;
}

.order-status-content.is-completing-data .order-status-item strong {
    margin-top: 5px;
    font-size: 0.88rem;
}

.order-status-box.is-current-step-compact {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.order-status-current-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.9fr) minmax(130px, 0.55fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 16px;
    padding: 12px;
    background: #f8fafc;
}

.order-status-current-summary div {
    min-width: 0;
}

.order-status-current-summary span {
    display: block;
    margin-bottom: 4px;
    color: #0284c7;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.order-status-current-summary strong {
    display: block;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.order-status-current-summary a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0 14px;
    color: #0369a1;
    background: #e0f2fe;
    font-size: 0.8rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.order-status-current-summary a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #075985);
}

.order-status-payment-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.order-status-payment-list div {
    display: grid;
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    border-radius: 14px;
    padding: 12px;
    background: #f8fafc;
}

.order-status-payment-list span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.order-status-payment-list strong {
    color: #0f172a;
    overflow-wrap: anywhere;
    font-weight: 900;
}

.order-status-upload-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.order-status-upload-label {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 16px;
    padding: 16px;
    color: #0f172a;
    background: #ffffff;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.order-status-upload-label:hover,
.order-status-upload-label:focus-within {
    border-color: rgba(14, 165, 233, 0.55);
    background: #f8fcff;
    box-shadow: 0 12px 26px rgba(14, 116, 217, 0.08);
}

.order-status-upload-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-status-upload-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    color: #0284c7;
    background: #e0f2fe;
}

.order-status-upload-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.order-status-upload-copy {
    min-width: 0;
}

.order-status-upload-copy strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.3;
}

.order-status-upload-copy small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.35;
}

.order-status-upload-name {
    min-height: 36px;
    border-radius: 12px;
    padding: 10px 12px;
    color: #075985;
    background: #f0f9ff;
    overflow-wrap: anywhere;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.35;
}

.order-status-upload-form input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.order-status-submit-button,
.order-status-actions a,
.order-status-proof-link {
    display: inline-flex;
    min-height: 48px;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}

.order-status-submit-button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #13a8e7, #0f74d9);
    box-shadow: 0 14px 28px rgba(14, 116, 217, 0.18);
    cursor: pointer;
}

.order-status-proof-link {
    margin-top: 12px;
    color: #075985;
    background: #e0f2fe;
}

.order-status-error {
    border-radius: 14px;
    padding: 12px 14px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.45;
}

.order-status-success {
    border-radius: 14px;
    padding: 12px 14px;
    color: #047857;
    background: #ecfdf5;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.45;
}

.order-status-actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.order-status-actions a {
    border: 1px solid rgba(14, 165, 233, 0.22);
    color: #075985;
    background: #f0f9ff;
    box-shadow: none;
}

.order-advanced-form {
    display: grid;
    gap: clamp(16px, 2vw, 20px);
    margin-top: 18px;
}

.advanced-wizard-header {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 20px;
    padding: clamp(16px, 2.4vw, 22px);
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(56, 189, 248, 0.98) 0%,
            rgba(7, 89, 133, 0.98) 100%
        ),
        #075985;
    box-shadow: 0 22px 48px rgba(7, 89, 133, 0.16);
}

.advanced-wizard-header::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.62;
    background:
        radial-gradient(
            circle at 16% 0%,
            rgba(255, 255, 255, 0.26),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 18%,
            rgba(255, 255, 255, 0.18),
            transparent 26%
        ),
        linear-gradient(
            110deg,
            transparent 0 56%,
            rgba(255, 255, 255, 0.12) 56% 57%,
            transparent 57% 100%
        );
    pointer-events: none;
}

.advanced-wizard-title {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 3px;
    margin-bottom: 16px;
    text-align: center;
}

.advanced-wizard-title span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
}

.advanced-wizard-title strong {
    color: #ffffff;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 900;
    line-height: 1.2;
}

.advanced-wizard-stepper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(
        var(--advanced-step-count, 8),
        minmax(0, 1fr)
    );
    gap: 0;
    margin-bottom: 16px;
}

.advanced-wizard-stepper::before {
    content: "";
    position: absolute;
    top: 17px;
    right: calc((100% / var(--advanced-step-count, 8) / 2) + 17px);
    left: calc((100% / var(--advanced-step-count, 8) / 2) + 17px);
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
}

.advanced-wizard-stepper-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 62px;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
    border: 0;
    padding: 0 6px;
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.16;
    text-align: center;
    cursor: pointer;
}

.advanced-wizard-stepper-item:disabled {
    cursor: default;
    opacity: 0.68;
}

.advanced-wizard-stepper-item span {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    color: #075985;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 22px rgba(7, 89, 133, 0.18);
    font-size: 0.76rem;
    font-weight: 900;
}

.advanced-wizard-stepper-item.is-active,
.advanced-wizard-stepper-item.is-complete {
    color: #ffffff;
}

.advanced-wizard-stepper-item.is-active span,
.advanced-wizard-stepper-item.is-complete span {
    border-color: #ffffff;
    background: #ffffff;
    box-shadow:
        0 12px 28px rgba(7, 89, 133, 0.26),
        0 0 0 5px rgba(255, 255, 255, 0.18);
}

.advanced-wizard-progress {
    position: relative;
    z-index: 1;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 2px rgba(7, 89, 133, 0.24);
}

.advanced-wizard-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffffff 0%, #bae6fd 100%);
    transition: width 0.28s ease;
}

.advanced-wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 18px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.advanced-wizard-actions[hidden],
.advanced-wizard-actions button[hidden] {
    display: none !important;
}

.advanced-wizard-actions button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    padding: 0 18px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    cursor: pointer;
}

.advanced-wizard-back {
    border: 1px solid rgba(14, 165, 233, 0.18);
    color: #0f172a;
    background: #ffffff;
}

.advanced-wizard-next {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #13a8e7, #0f74d9);
    box-shadow: 0 14px 28px rgba(14, 116, 217, 0.18);
}

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

.advanced-review-grid article {
    border-radius: 14px;
    padding: 13px;
    background: #f8fafc;
}

.advanced-review-grid span {
    display: block;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.advanced-review-grid strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 0.88rem;
    line-height: 1.35;
}

.order-advanced-section {
    display: grid;
    gap: 10px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.advanced-step-panel[hidden],
.order-advanced-section[hidden] {
    display: none !important;
}

.order-advanced-section h3 {
    margin: 0;
    color: #0f172a;
    font-size: 0.95rem;
}

.advanced-form-section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    align-items: center;
    border: 1px solid #bae6fd;
    border-left: 5px solid #0284c7;
    border-radius: 20px;
    padding: 13px 15px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 45%, #dbeafe 100%);
    box-shadow: 0 10px 26px rgba(14, 165, 233, 0.09);
}

.advanced-section-toggle {
    cursor: pointer;
    user-select: none;
}

.advanced-section-toggle-hint {
    display: inline-flex;
    grid-row: 1 / span 2;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 850;
    white-space: nowrap;
}

.advanced-section-toggle-hint strong {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #075985;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.18);
    transform: rotate(-180deg);
    transition: transform 0.18s ease;
}

.advanced-section-toggle-hint svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.order-advanced-section > :not(.advanced-form-section-header) {
    margin-inline: 2px;
}

.order-advanced-section.is-collapsed > :not(.advanced-form-section-header) {
    display: none !important;
}

.order-advanced-section.is-collapsed .advanced-section-toggle-hint strong {
    transform: rotate(0deg);
}

.advanced-form-section-title {
    margin: 0;
    min-width: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.22;
}

.advanced-form-section-desc {
    margin: 0;
    min-width: 0;
    grid-column: 1;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.5;
}

.order-advanced-section [hidden] {
    display: none !important;
}

.order-advanced-section label,
.order-advanced-check {
    display: grid;
    gap: 7px;
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.35;
}

.order-advanced-section input,
.order-advanced-section select,
.order-advanced-section textarea {
    width: 100%;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 13px;
    padding: 11px 12px;
    color: #0d5f8a;
    background: #f8fafc;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 450;
    line-height: 1.45;
    outline: 0;
}

.order-advanced-section select {
    appearance: none;
}

.order-advanced-section small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.45;
}

.advanced-services-repeater {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.88), rgba(255, 255, 255, 0.96));
}

.advanced-services-repeater__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.advanced-services-repeater__head strong {
    display: block;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 760;
    line-height: 1.35;
}

.advanced-services-repeater__head small {
    display: block;
    margin-top: 5px;
}

.advanced-services-repeater__head button,
.advanced-services-item__actions button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.advanced-services-repeater__head button {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 10px 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    font-size: 0.78rem;
    font-weight: 760;
    line-height: 1;
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.18);
}

.advanced-services-repeater__head button:disabled,
.advanced-services-item__actions button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    box-shadow: none;
}

.advanced-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.advanced-services-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 16px;
    background: #ffffff;
}

.advanced-testimonial-item {
    align-items: stretch;
    grid-column: span 1;
    min-height: 118px;
}

.advanced-testimonial-photo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 14px;
    background: #f0f9ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.advanced-testimonial-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advanced-services-item__content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.advanced-services-item__content > div {
    min-width: 0;
    width: 100%;
}

.advanced-services-item__title-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.advanced-services-item__content > span {
    display: grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    color: #0284c7;
    background: #e0f2fe;
    font-size: 0.78rem;
    font-weight: 780;
}

.advanced-services-item__content strong {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 760;
    line-height: 1.35;
    word-break: break-word;
}

.advanced-services-item__content p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 520;
    line-height: 1.45;
    word-break: break-word;
}

.advanced-services-item__content small {
    display: inline-flex;
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.35;
    word-break: break-word;
}

.advanced-services-item__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    max-width: 100%;
    border-radius: 999px;
    padding: 6px 10px;
    color: #92400e;
    background: #fef3c7;
    font-size: 0.68rem;
    font-weight: 760;
    line-height: 1;
    white-space: nowrap;
}

.advanced-services-item__status.is-complete {
    color: #0369a1;
    background: #e0f2fe;
}

.advanced-services-item__status.is-incomplete {
    color: #92400e;
    background: #fef3c7;
}

.advanced-services-item__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 6px;
    justify-self: start;
}

.advanced-services-item__actions button,
.advanced-services-dialog__head button,
.advanced-services-dialog__actions button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.advanced-services-item__actions button {
    border-radius: 999px;
    padding: 7px 10px;
    color: #0f5f8a;
    background: #e0f2fe;
    font-size: 0.74rem;
    font-weight: 760;
    line-height: 1;
}

.advanced-services-item__actions button.is-danger {
    color: #b91c1c;
    background: #fee2e2;
}

.advanced-services-item__actions button.is-danger:hover {
    color: #991b1b;
    background: #fecaca;
}

.advanced-services-limit-info {
    display: block;
}

.advanced-services-empty {
    border: 1px dashed rgba(14, 165, 233, 0.34);
    border-radius: 16px;
    padding: 18px;
    color: #64748b;
    background: rgba(240, 249, 255, 0.66);
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.45;
    text-align: center;
}

.advanced-services-modal {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(8px);
}

body.has-advanced-services-modal {
    overflow: hidden;
}

.advanced-services-dialog {
    display: grid;
    width: min(100%, 520px);
    gap: 14px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 24px;
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.advanced-services-dialog__head,
.advanced-services-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.advanced-services-dialog__head span {
    display: block;
    color: #0284c7;
    font-size: 0.72rem;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.advanced-services-dialog__head strong {
    display: block;
    margin-top: 2px;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 760;
}

.advanced-services-dialog label small {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 560;
    line-height: 1.45;
}

.advanced-testimonial-photo-field {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 18px;
    padding: 13px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.82), rgba(255, 255, 255, 0.98));
}

.advanced-testimonial-photo-field strong {
    display: block;
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 760;
    line-height: 1.35;
}

.advanced-testimonial-photo-field span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 540;
    line-height: 1.4;
}

.advanced-testimonial-photo-picker {
    position: relative;
    display: grid;
    min-height: 54px;
    place-items: center;
    border: 1px dashed rgba(14, 165, 233, 0.42);
    border-radius: 16px;
    color: #0369a1;
    background: rgba(224, 242, 254, 0.72);
    font-size: 0.82rem;
    font-weight: 760;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.advanced-testimonial-photo-picker input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.advanced-testimonial-photo-field small {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 520;
}

.advanced-services-dialog__head button,
.advanced-services-dialog__actions button:first-child {
    border-radius: 999px;
    padding: 10px 14px;
    color: #0f5f8a;
    background: #e0f2fe;
    font-size: 0.78rem;
    font-weight: 760;
}

.advanced-services-dialog__actions button:last-child {
    border-radius: 999px;
    padding: 11px 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    font-size: 0.82rem;
    font-weight: 780;
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.2);
}

.advanced-hours-field {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.88), rgba(255, 255, 255, 0.96));
}

.advanced-hours-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.advanced-hours-summary > div {
    min-width: 0;
}

.advanced-hours-summary strong,
.advanced-hours-head {
    color: #0f172a;
}

.advanced-hours-summary strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 760;
}

.advanced-hours-summary small {
    display: block;
}

.advanced-hours-summary span {
    display: block;
    margin-top: 9px;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 520;
    line-height: 1.55;
    white-space: pre-line;
}

.advanced-hours-open,
.advanced-hours-footer button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 14px 28px rgba(14, 116, 230, 0.18);
    font-size: 0.8rem;
    font-weight: 760;
    line-height: 1;
    cursor: pointer;
}

.advanced-hours-open {
    flex: 0 0 auto;
    padding: 12px 16px;
}

.advanced-hours-modal[hidden] {
    display: none;
}

.advanced-hours-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 18px;
}

.advanced-hours-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(9px);
}

.advanced-hours-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.advanced-hours-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.advanced-hours-head strong {
    display: block;
    margin-bottom: 3px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 760;
}

.advanced-hours-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 999px;
    color: #0f172a;
    background: #f8fafc;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}

.advanced-hours-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}

.advanced-hours-actions button {
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 999px;
    padding: 8px 11px;
    color: #0369a1;
    background: #ffffff;
    font-size: 0.74rem;
    font-weight: 720;
    line-height: 1;
    cursor: pointer;
}

.advanced-hours-list {
    display: grid;
    gap: 9px;
}

.advanced-hours-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(240px, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.82);
}

.advanced-hours-row.is-open {
    border-color: rgba(14, 165, 233, 0.3);
    background: rgba(239, 246, 255, 0.88);
}

.advanced-hours-toggle {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    margin: 0;
    color: #0f172a;
    font-size: 0.86rem !important;
    font-weight: 720 !important;
}

.advanced-hours-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #0284c7;
}

.advanced-hours-time {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.advanced-hours-time span {
    color: #64748b;
    font-weight: 720;
}

.advanced-hours-time input[type="time"]:disabled {
    opacity: 0.58;
    background: #eef2f7;
    cursor: not-allowed;
}

.advanced-hours-note {
    margin-top: 2px;
}

.advanced-hours-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 2px;
}

.advanced-hours-footer button {
    flex: 0 0 auto;
    padding: 13px 18px;
}

body.has-advanced-hours-modal {
    overflow: hidden;
}

.advanced-domain-affix {
    display: flex;
    align-items: center;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 13px;
    background: #f8fafc;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.advanced-domain-affix:focus-within {
    border-color: rgba(14, 165, 233, 0.48);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.order-advanced-section .advanced-domain-affix input {
    border: 0;
    border-radius: 0;
    padding: 11px 0 11px 12px;
    background: transparent;
    box-shadow: none;
}

.advanced-domain-affix > span {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    border-left: 1px solid rgba(14, 165, 233, 0.16);
    padding: 0 12px;
    color: #0369a1;
    background: rgba(224, 242, 254, 0.72);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.advanced-domain-preview {
    margin-top: -1px;
}

.advanced-domain-preview strong {
    color: #075985;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.order-advanced-info {
    border: 1px solid #bae6fd;
    border-radius: 13px;
    padding: 11px 12px;
    color: #075985;
    background: #f0f9ff;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.45;
}

.advanced-form-subsection {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 14px;
    padding: 14px;
    background: #f8fafc;
}

.advanced-form-subsection-heading h4 {
    margin: 0;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 950;
    line-height: 1.25;
}

.advanced-form-subsection-heading p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.45;
}

.advanced-social-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.advanced-social-toolbar button,
.advanced-social-row button,
.advanced-upload-file button {
    min-height: 38px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 11px;
    padding: 0 12px;
    color: #0369a1;
    background: #ffffff;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    cursor: pointer;
}

.advanced-social-list {
    display: grid;
    gap: 8px;
}

.advanced-social-row {
    display: grid;
    grid-template-columns: auto minmax(72px, auto) minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 13px;
    padding: 8px;
    background: #ffffff;
}

.advanced-social-icon {
    display: inline-flex;
    width: 36px;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #0369a1;
    background: #e0f2fe;
}

.advanced-social-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advanced-social-icon svg [data-fill] {
    fill: currentColor;
    stroke: none;
}

.advanced-social-row strong {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 900;
}

.advanced-optional-label {
    display: inline-flex;
    width: max-content;
    margin-left: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
    vertical-align: middle;
}

.advanced-social-input-affix {
    display: flex;
    min-width: 0;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 13px;
    background: #f8fafc;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.advanced-social-input-affix:focus-within {
    border-color: rgba(14, 165, 233, 0.48);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.advanced-social-input-affix span {
    display: inline-flex;
    align-self: stretch;
    align-items: center;
    border-right: 1px solid rgba(14, 165, 233, 0.16);
    padding: 0 11px;
    color: #0369a1;
    background: rgba(224, 242, 254, 0.72);
    font-size: 0.8rem;
    font-weight: 900;
    white-space: nowrap;
}

.order-advanced-section .advanced-social-input-affix input {
    min-width: 90px;
    border: 0;
    border-radius: 0;
    padding: 11px 12px;
    background: transparent;
    box-shadow: none;
}

.advanced-social-row button,
.advanced-upload-file button {
    color: #b91c1c;
    border-color: #fecaca;
}

.advanced-icon-remove,
.advanced-social-row .advanced-icon-remove,
.advanced-upload-file .advanced-icon-remove {
    display: inline-flex;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fecaca;
    border-radius: 999px;
    padding: 0;
    color: #b91c1c;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(185, 28, 28, 0.07);
}

.advanced-icon-remove:hover,
.advanced-social-row .advanced-icon-remove:hover,
.advanced-upload-file .advanced-icon-remove:hover {
    color: #991b1b;
    border-color: #fca5a5;
    background: #fff5f5;
}

.advanced-icon-remove svg,
.advanced-social-row .advanced-icon-remove svg,
.advanced-upload-file .advanced-icon-remove svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.advanced-custom-upload {
    display: grid;
    gap: 10px;
}

.advanced-custom-upload strong {
    display: block;
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 900;
}

.order-advanced-section .advanced-upload-box {
    display: flex;
    width: 100%;
    min-height: 78px;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(14, 165, 233, 0.45);
    border-radius: 14px;
    padding: 14px;
    color: #0369a1;
    background: #f0f9ff;
    cursor: pointer;
    text-align: center;
}

.order-advanced-section .advanced-upload-box input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.order-advanced-section .advanced-upload-box span {
    font-size: 0.84rem;
    font-weight: 950;
}

.advanced-upload-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 750;
}

.advanced-upload-file {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 999px;
    padding: 6px 7px 6px 10px;
    color: #0f172a;
    background: #ffffff;
}

.advanced-upload-file span {
    overflow-wrap: anywhere;
}

.advanced-upload-file button {
    min-height: 28px;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 0.72rem;
}

.order-advanced-upload-group {
    display: grid;
    gap: 9px;
}

.order-advanced-upload-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-advanced-upload-head span {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 900;
}

.order-advanced-upload-head button,
.order-advanced-upload-row button {
    min-height: 36px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 11px;
    padding: 0 12px;
    color: #0369a1;
    background: #ffffff;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    cursor: pointer;
}

.order-advanced-upload-head button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.order-advanced-upload-list {
    display: grid;
    gap: 8px;
}

.order-advanced-upload-row {
    position: relative;
    display: grid;
    gap: 8px;
    align-items: stretch;
}

.order-advanced-upload-remove,
.order-advanced-upload-row button[data-remove-supporting-photo] {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0;
    color: #b91c1c;
    border-color: #fecaca;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 22px rgba(185, 28, 28, 0.08);
}

.order-advanced-upload-remove:hover,
.order-advanced-upload-row button[data-remove-supporting-photo]:hover {
    color: #991b1b;
    border-color: #fca5a5;
    background: #fff5f5;
}

.order-advanced-upload-remove svg,
.order-advanced-upload-row button[data-remove-supporting-photo] svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.order-advanced-section input[type="file"] {
    padding: 10px;
    background: #ffffff;
}

.order-advanced-section textarea {
    resize: vertical;
}

.order-advanced-section input:focus,
.order-advanced-section select:focus,
.order-advanced-section textarea:focus {
    border-color: rgba(14, 165, 233, 0.62);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.order-advanced-section .is-invalid,
.order-advanced-check.is-invalid {
    outline: 2px solid rgba(220, 38, 38, 0.28);
    outline-offset: 3px;
}

.order-advanced-check {
    grid-template-columns: auto 1fr;
    align-items: start;
    border-radius: 14px;
    padding: 12px;
    color: #334155;
    background: #f8fafc;
}

@media (max-width: 820px) {
    .order-status-page {
        width: min(100% - 24px, 1040px);
    }

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

    .order-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-status-invoice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-status-current-summary {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .order-status-current-summary a {
        width: 100%;
    }

    .advanced-wizard-stepper-item {
        min-height: 54px;
        gap: 5px;
        padding: 0 3px;
        font-size: 0.56rem;
    }

    .advanced-wizard-stepper-item span {
        width: 26px;
        height: 26px;
        border-width: 1px;
        font-size: 0.68rem;
    }

    .advanced-wizard-stepper::before {
        top: 13px;
        right: calc((100% / var(--advanced-step-count, 8) / 2) + 13px);
        left: calc((100% / var(--advanced-step-count, 8) / 2) + 13px);
        height: 1px;
    }

    .advanced-review-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .order-status-box-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .order-status-grid,
    .order-status-content.is-completing-data .order-status-grid {
        grid-template-columns: 1fr;
    }

    .order-status-item strong,
    .order-status-current-summary strong,
    .order-status-invoice-grid strong {
        overflow-wrap: break-word;
        word-break: normal;
    }
}

@media (max-width: 480px) {
    .order-status-page {
        width: min(100% - 20px, 1040px);
        padding: 22px 0;
    }

    .order-status-card {
        border-radius: 22px;
    }

    .order-status-hero,
    .order-status-content {
        padding: 18px;
    }


    .order-status-current-summary {
        grid-template-columns: 1fr;
    }

    .order-status-current-summary a {
        width: 100%;
    }
    .order-status-invoice-head {
        display: grid;
    }

    .order-status-invoice-grid {
        grid-template-columns: 1fr;
    }

    .order-status-grid {
        grid-template-columns: 1fr;
    }

    .advanced-wizard-header {
        padding: 14px 8px 13px;
    }

    .advanced-wizard-stepper-item {
        min-height: 50px;
        padding-right: 2px;
        padding-left: 2px;
        font-size: 0.48rem;
    }

    .advanced-wizard-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .advanced-wizard-actions button {
        width: 100%;
    }

    .order-advanced-upload-row {
        grid-template-columns: 1fr;
    }

    .advanced-social-toolbar,
    .advanced-social-row {
        grid-template-columns: 1fr;
    }

    .advanced-services-repeater__head {
        display: grid;
    }

    .advanced-services-repeater__head button {
        width: 100%;
    }

    .advanced-services-item {
        display: grid;
        grid-template-columns: 1fr;
    }

    .advanced-services-item__status,
    .advanced-services-item__actions {
        justify-self: start;
    }

    .advanced-services-item__actions {
        justify-content: flex-end;
    }

    .advanced-services-dialog__head,
    .advanced-services-dialog__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .advanced-services-dialog__head button,
    .advanced-services-dialog__actions button {
        width: 100%;
    }

    .advanced-hours-head {
        display: grid;
    }

    .advanced-hours-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .advanced-hours-open,
    .advanced-hours-footer button {
        width: 100%;
    }

    .advanced-hours-modal {
        align-items: end;
        padding: 10px;
    }

    .advanced-hours-dialog {
        max-height: calc(100vh - 20px);
        padding: 16px;
        border-radius: 22px;
    }

    .advanced-hours-actions {
        justify-content: stretch;
    }

    .advanced-hours-actions button {
        flex: 1 1 150px;
    }

    .advanced-hours-row {
        grid-template-columns: 1fr;
    }

    .advanced-hours-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .advanced-social-icon {
        width: 34px;
        min-width: 34px;
    }

    .advanced-form-section-header {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 13px;
    }

    .advanced-form-section-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    .advanced-form-section-desc {
        grid-column: 1;
        font-size: 0.82rem;
        line-height: 1.48;
    }

    .advanced-section-toggle-hint {
        grid-row: auto;
        grid-column: 1;
        justify-content: space-between;
        width: 100%;
    }

    .order-status-upload-head {
        align-items: flex-start;
    }
}

.order-advanced-form .is-invalid input,
.order-advanced-form .is-invalid textarea,
.order-advanced-form .is-invalid select,
.order-advanced-form .is-invalid .advanced-upload-box {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.order-advanced-form .advanced-error {
    display: block;
    margin-top: 7px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.order-advanced-form .order-status-submit-button:disabled,
.order-advanced-form .order-status-submit-button.is-disabled {
    opacity: 0.62;
    background: #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.advanced-upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 12px;
    width: 100%;
}

.advanced-upload-preview-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #f8fafc;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.advanced-upload-preview-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e0f2fe;
}

.advanced-upload-preview-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.advanced-upload-preview-caption {
    padding: 8px 10px;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
}

.advanced-upload-preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.94);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.28);
}

.advanced-upload-preview-remove svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advanced-upload-limit-info {
    display: block;
    margin-top: 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.advanced-upload-preview-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #0284c7;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.order-advanced-readonly-field {
    display: block;
}

.order-advanced-readonly-field > span {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-weight: 900;
}

.advanced-readonly-value {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #f8fafc;
    color: #075985;
    font-size: 16px;
    font-weight: 900;
}

.order-advanced-readonly-field .advanced-domain-affix.is-readonly {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #f8fafc;
}

.order-advanced-readonly-field .advanced-domain-affix.is-readonly.has-prefix {
    grid-template-columns: auto minmax(0, 1fr);
}

.order-advanced-readonly-field .advanced-domain-affix.is-readonly.has-suffix {
    grid-template-columns: minmax(0, 1fr) auto;
}

.order-advanced-readonly-field .advanced-domain-affix.is-readonly.has-prefix.has-suffix {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.order-advanced-readonly-field .advanced-domain-affix.is-readonly input {
    width: 100%;
    min-height: 54px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
    color: #075985;
    font-size: 16px;
    font-weight: 900;
    cursor: not-allowed;
    box-shadow: none !important;
}

.order-advanced-readonly-field .advanced-domain-affix.is-readonly > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 16px;
    border-left: 1px solid #bfdbfe;
    background: #e0f2fe;
    color: #075985;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.order-advanced-readonly-field .advanced-domain-affix.is-readonly > .advanced-domain-prefix {
    border-right: 1px solid #bfdbfe;
    border-left: 0;
}

.order-advanced-readonly-field .advanced-domain-affix.is-readonly > .advanced-domain-prefix + input {
    padding-left: 12px;
}

.advanced-color-picker {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
}

.advanced-color-picker input[type="color"] {
    width: 72px;
    min-height: 54px;
    padding: 6px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #f8fafc;
    cursor: pointer;
}

.advanced-color-picker input[type="text"] {
    width: 100%;
    min-height: 54px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #f8fafc;
    color: #075985;
    font-size: 15px;
    font-weight: 900;
    cursor: default;
}

@media (max-width: 560px) {
    .advanced-color-picker {
        grid-template-columns: 1fr;
    }

    .advanced-color-picker input[type="color"] {
        width: 100%;
    }
}

/* =====================================================================
   ORDER STATUS PAYMENT COMPACT
   ===================================================================== */

.order-status-payment-auto {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(14, 165, 233, 0.28);
    border-radius: 22px;
    padding: 18px;
    background:
        radial-gradient(
            circle at top right,
            rgba(14, 165, 233, 0.18),
            transparent 34%
        ),
        linear-gradient(135deg, #eff6ff 0%, #f8fbff 48%, #ffffff 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.order-status-payment-auto-copy {
    min-width: 0;
}

.order-status-payment-auto-copy span {
    color: #0284c7;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-status-payment-auto-copy h3 {
    margin: 5px 0 0;
    color: #075985;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.order-status-payment-auto-copy p {
    max-width: 620px;
    margin: 6px 0 0;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
}

.order-status-payment-auto-form {
    margin: 0;
}

.order-status-payment-auto-form button {
    display: inline-flex;
    min-height: 54px;
    width: 100%;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 17px;
    padding: 0 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    box-shadow: 0 18px 36px rgba(14, 165, 233, 0.2);
    font-family: inherit;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.order-status-payment-auto-form button:hover {
    box-shadow: 0 22px 42px rgba(14, 165, 233, 0.25);
    transform: translateY(-1px);
}

.order-status-payment-auto-note {
    grid-column: 1 / -1;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 12px 14px;
    color: #92400e;
    background: #fffbeb;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.5;
}

.order-status-payment-compact {
    display: grid;
    gap: 14px;
    border: 1px solid #bae6fd;
    border-radius: 22px;
    padding: 18px;
    background:
        radial-gradient(
            circle at top right,
            rgba(2, 132, 199, 0.1),
            transparent 34%
        ),
        #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.order-status-payment-compact-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.order-status-payment-compact-head span,
.order-status-payment-compact-bank span {
    color: #0284c7;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-status-payment-compact-head h3 {
    margin: 5px 0 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.order-status-payment-compact-head p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.order-status-payment-compact-head > strong {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    padding: 0 16px;
    color: #075985;
    background: #e0f2fe;
    font-size: 18px;
    font-weight: 950;
    white-space: nowrap;
}

.order-status-payment-compact-bank {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 170px;
    gap: 10px;
}

.order-status-payment-compact-bank div {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 14px;
    background: #f8fafc;
}

.order-status-payment-compact-bank strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
    word-break: break-word;
}

.order-status-payment-compact-note,
.order-status-payment-compact-alert {
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
}

.order-status-payment-compact-note {
    border: 1px solid #e0f2fe;
    color: #075985;
    background: #f0f9ff;
}

.order-status-payment-compact-note p {
    margin: 0;
}

.order-status-payment-compact-note small {
    display: block;
    margin-top: 6px;
    color: #0369a1;
    font-size: 12px;
    font-weight: 850;
}

.order-status-payment-auto-note.is-expired {
    border-color: #fecdd3;
    color: #9f1239;
    background: #fff1f2;
}

.order-status-payment-compact-alert {
    border: 1px solid #fed7aa;
    color: #92400e;
    background: #fffbeb;
}

.order-status-payment-compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-status-payment-compact-actions a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bae6fd;
    border-radius: 13px;
    padding: 0 13px;
    color: #075985;
    background: #f0f9ff;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.order-status-payment-compact-actions a:hover {
    border-color: #0284c7;
    background: #e0f2fe;
    transform: translateY(-1px);
}

.order-status-upload-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.order-status-upload-compact-label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 58px;
    border: 1px dashed #7dd3fc;
    border-radius: 17px;
    padding: 10px 14px;
    background: #f8fcff;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease;
}

.order-status-upload-compact-label:hover {
    border-color: #0284c7;
    background: #f0f9ff;
}

.order-status-upload-compact-label input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.order-status-upload-compact-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #0284c7;
    background: #e0f2fe;
}

.order-status-upload-compact-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.order-status-upload-compact-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.order-status-upload-compact-copy strong {
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-status-upload-compact-copy small {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.order-status-upload-compact-button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid #0284c7;
    border-radius: 17px;
    padding: 0 20px;
    color: #ffffff;
    background: #0284c7;
    font-family: inherit;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.order-status-upload-compact-button:hover {
    border-color: #0369a1;
    background: #0369a1;
    transform: translateY(-1px);
}

@media (max-width: 860px) {
    .order-status-payment-auto {
        grid-template-columns: 1fr;
    }

    .order-status-payment-compact-head {
        display: grid;
    }

    .order-status-payment-compact-head > strong {
        width: fit-content;
    }

    .order-status-payment-compact-bank {
        grid-template-columns: 1fr;
    }

    .order-status-upload-compact {
        grid-template-columns: 1fr;
    }

    .order-status-upload-compact-button {
        width: 100%;
    }
}
.order-status-chat-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    margin-top: 16px;
    border-radius: 8px;
    background: #0087bd;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    max-width: 100%;
    box-sizing: border-box;
}
.order-status-chat-button:hover { background: #006b98; }
