:root {
    /* Clothiq Studio brand */
    --clothiq-blue: #2454F4;
    --clothiq-blue-dark: #1740D8;
    --clothiq-blue-hover: #1D49E8;
    --clothiq-blue-soft: #EEF3FF;
    --clothiq-blue-soft-2: #F7F9FF;

    --clothiq-navy: #102A43;
    --clothiq-text: #24364B;
    --clothiq-muted: #6B7C93;
    --clothiq-border: #D9E3F0;
    --clothiq-bg: #F8FAFD;
    --clothiq-white: #FFFFFF;

    --clothiq-success-bg: #EAF8EF;
    --clothiq-success-text: #17652D;
    --clothiq-danger-bg: #FFF0F0;
    --clothiq-danger-text: #A40000;

    --clothiq-shadow: 0 8px 28px rgba(36, 84, 244, .07);
    --clothiq-shadow-hover: 0 16px 36px rgba(36, 84, 244, .13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
    background:
        radial-gradient(
            circle at top right,
            rgba(36, 84, 244, .07),
            transparent 30%
        ),
        var(--clothiq-bg);
    color: var(--clothiq-text);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: var(--clothiq-blue);
}

.clothiq-shell {
    min-height: 100vh;
}


/* =========================================================
   HEADER / BRAND
   ========================================================= */

.clothiq-header {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--clothiq-border);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}

.clothiq-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 22px;
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.clothiq-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

/*
 * Simple hanger-inspired Clothiq mark.
 * Keeps the current HTML untouched.
 */
.clothiq-logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--clothiq-white);
    border: 1.5px solid var(--clothiq-blue);
    color: transparent;

    position: relative;
    overflow: hidden;
}

.clothiq-logo-mark::before {
    content: "";
    position: absolute;

    width: 22px;
    height: 11px;

    border-left: 3px solid var(--clothiq-blue);
    border-bottom: 3px solid var(--clothiq-blue);

    transform: rotate(-27deg);
    left: 11px;
    top: 20px;
}

.clothiq-logo-mark::after {
    content: "";
    position: absolute;

    width: 9px;
    height: 9px;

    border: 2.5px solid var(--clothiq-blue);
    border-bottom: 0;
    border-left-color: transparent;

    border-radius: 50% 50% 0 0;

    top: 10px;
    left: 20px;

    transform: rotate(10deg);
}

.clothiq-brand-text strong {
    display: block;
    color: var(--clothiq-blue);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .45px;
}

.clothiq-brand-text span {
    display: block;
    color: var(--clothiq-muted);
    font-size: 11.5px;
    margin-top: 2px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.clothiq-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.clothiq-nav a {
    text-decoration: none;

    padding: 10px 14px;
    border-radius: 9px;

    color: var(--clothiq-navy);

    font-size: 14px;
    font-weight: 700;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.clothiq-nav a:hover {
    background: var(--clothiq-blue-soft);
    color: var(--clothiq-blue);
}

.clothiq-nav a.active {
    background: var(--clothiq-blue);
    color: var(--clothiq-white);
    box-shadow: 0 5px 14px rgba(36, 84, 244, .18);
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.clothiq-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 38px 22px 64px;
}

.clothiq-page-title {
    margin-bottom: 26px;
}

.clothiq-page-title h1 {
    color: var(--clothiq-navy);

    margin: 0 0 8px;

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.12;
    letter-spacing: -.5px;
}

.clothiq-page-title p {
    color: var(--clothiq-muted);
    margin: 0;
    line-height: 1.55;
}


/* =========================================================
   CARDS
   ========================================================= */

.clothiq-card {
    background: var(--clothiq-white);

    border: 1px solid var(--clothiq-border);
    border-radius: 17px;

    box-shadow: var(--clothiq-shadow);

    padding: 24px;
}

.clothiq-card h2 {
    margin: 0 0 18px;
    color: var(--clothiq-navy);
    font-size: 21px;
}

.clothiq-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 18px;
}

.clothiq-action-card {
    display: block;
    text-decoration: none;

    min-height: 190px;

    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease;
}

.clothiq-action-card:hover {
    transform: translateY(-3px);

    border-color: rgba(36, 84, 244, .32);

    box-shadow: var(--clothiq-shadow-hover);
}

.clothiq-action-icon {
    width: 48px;
    height: 48px;

    border-radius: 14px;

    display: grid;
    place-items: center;

    background: var(--clothiq-blue);
    color: var(--clothiq-white);

    font-weight: 800;
    font-size: 16px;

    margin-bottom: 17px;

    box-shadow: 0 6px 16px rgba(36, 84, 244, .17);
}

.clothiq-action-card h3 {
    color: var(--clothiq-navy);

    margin: 0 0 8px;

    font-size: 17px;
}

.clothiq-action-card p {
    margin: 0;

    color: var(--clothiq-muted);

    line-height: 1.55;
    font-size: 14px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.clothiq-button {
    border: 1px solid var(--clothiq-blue);

    background: var(--clothiq-blue);
    color: var(--clothiq-white);

    border-radius: 10px;

    padding: 11px 18px;

    font: inherit;
    font-weight: 700;
    font-size: 14px;

    cursor: pointer;

    text-decoration: none;
    display: inline-block;

    box-shadow: 0 4px 12px rgba(36, 84, 244, .15);

    transition:
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        transform .1s ease;
}

.clothiq-button:hover {
    background: var(--clothiq-blue-hover);
    border-color: var(--clothiq-blue-hover);

    box-shadow: 0 6px 16px rgba(36, 84, 244, .22);
}

.clothiq-button:active {
    transform: translateY(1px);
}

/*
 * White + blue outlined secondary button.
 * Matches the Login/Register style you showed.
 */
.clothiq-button-secondary {
    background: var(--clothiq-white);
    color: var(--clothiq-blue);

    border: 1px solid rgba(36, 84, 244, .35);

    box-shadow: none;
}

.clothiq-button-secondary:hover {
    background: var(--clothiq-blue-soft);
    color: var(--clothiq-blue-dark);
    border-color: var(--clothiq-blue);
    box-shadow: none;
}


/* =========================================================
   FORMS
   ========================================================= */

.clothiq-input,
.clothiq-select,
.clothiq-textarea {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid var(--clothiq-border);
    border-radius: 9px;

    font: inherit;
    font-size: 14px;

    color: var(--clothiq-text);
    background: var(--clothiq-white);

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.clothiq-input:hover,
.clothiq-select:hover,
.clothiq-textarea:hover {
    border-color: #B9C9DC;
}

.clothiq-input:focus,
.clothiq-select:focus,
.clothiq-textarea:focus {
    outline: none;

    border-color: var(--clothiq-blue);

    box-shadow:
        0 0 0 3px rgba(36, 84, 244, .10);
}

.clothiq-input::placeholder,
.clothiq-textarea::placeholder {
    color: #95A2B2;
}


/* =========================================================
   MESSAGES
   ========================================================= */

.clothiq-success {
    background: var(--clothiq-success-bg);
    color: var(--clothiq-success-text);

    border: 1px solid #CBEBD6;

    padding: 12px 15px;
    border-radius: 10px;

    margin-bottom: 18px;
}

.clothiq-error {
    background: var(--clothiq-danger-bg);
    color: var(--clothiq-danger-text);

    border: 1px solid #FFD2D2;

    padding: 12px 15px;
    border-radius: 10px;

    margin-bottom: 18px;
}


/* =========================================================
   TABLES
   ========================================================= */

.clothiq-table-wrap {
    margin-top: 18px;
}

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

.clothiq-table th,
.clothiq-table td {
    padding: 12px 9px;

    border-bottom: 1px solid var(--clothiq-border);

    text-align: left;
    vertical-align: middle;
}

.clothiq-table th {
    color: var(--clothiq-muted);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .35px;

    background: var(--clothiq-blue-soft-2);
}

.clothiq-table th:first-child {
    border-radius: 8px 0 0 8px;
}

.clothiq-table th:last-child {
    border-radius: 0 8px 8px 0;
}

.clothiq-table tbody tr {
    transition: background .12s ease;
}

.clothiq-table tbody tr:hover {
    background: #FBFCFF;
}

.clothiq-muted {
    color: var(--clothiq-muted);
}

.clothiq-status-active {
    color: #17652D;
    font-weight: 700;
}

.clothiq-status-inactive {
    color: #A40000;
    font-weight: 700;
}


/* =========================================================
   LOGIN
   ========================================================= */

.clothiq-login-page {
    min-height: 100vh;

    display: grid;
    place-items: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(36, 84, 244, .13),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(36, 84, 244, .08),
            transparent 30%
        ),
        #F8FAFD;
}

.clothiq-login-card {
    width: min(440px, 100%);

    border-top: 4px solid var(--clothiq-blue);

    box-shadow:
        0 22px 60px rgba(16, 42, 67, .12);
}

.clothiq-login-logo {
    text-align: center;
    margin-bottom: 26px;
}

.clothiq-login-logo .clothiq-logo-mark {
    margin: 0 auto 13px;

    width: 86px;
    height: 86px;

    border-width: 2px;
}

.clothiq-login-logo .clothiq-logo-mark::before {
    width: 39px;
    height: 18px;

    border-left-width: 4px;
    border-bottom-width: 4px;

    left: 21px;
    top: 39px;
}

.clothiq-login-logo .clothiq-logo-mark::after {
    width: 14px;
    height: 14px;

    border-width: 3px;

    top: 20px;
    left: 37px;
}

.clothiq-login-logo h1 {
    color: var(--clothiq-blue);

    margin: 0;

    font-size: 29px;
    font-weight: 800;
    letter-spacing: .5px;
}

.clothiq-login-logo p {
    color: var(--clothiq-muted);

    margin: 5px 0 0;

    font-size: 13px;
}

.clothiq-login-card > h2 {
    color: var(--clothiq-navy);
    margin-bottom: 7px;
}

.clothiq-login-card label {
    display: inline-block;

    color: var(--clothiq-navy);

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 7px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .clothiq-header-inner {
        flex-wrap: wrap;
    }

    .clothiq-nav {
        order: 3;
        width: 100%;

        justify-content: flex-start;

        border-top: 1px solid var(--clothiq-border);

        padding-top: 10px;
    }
}

@media (max-width: 760px) {

    .clothiq-header-inner {
        padding: 12px 14px;
        gap: 12px;
    }

    .clothiq-brand-text strong {
        font-size: 16px;
    }

    .clothiq-brand-text span {
        font-size: 10px;
    }

    .clothiq-logo-mark {
        width: 43px;
        height: 43px;
    }

    .clothiq-main {
        padding: 26px 14px 44px;
    }

    .clothiq-card {
        padding: 18px;
        border-radius: 14px;
    }

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

    .clothiq-action-card {
        min-height: auto;
    }

    .clothiq-table {
        min-width: 760px;
    }

    .clothiq-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .clothiq-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .clothiq-nav a {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {

    .clothiq-header-inner > form {
        margin-left: auto;
    }

    .clothiq-brand-text span {
        max-width: 165px;
    }

    .clothiq-page-title h1 {
        font-size: 29px;
    }

    .clothiq-login-page {
        padding: 15px;
    }
}


/* =========================================================
   CLOTHIQ MOBILE-FIRST RESPONSIVE POLISH
   ========================================================= */

/* Brand name is the temporary identity until real logo asset arrives. */
.clothiq-brand {
    min-width: max-content;
}

.clothiq-brand-text strong {
    color: var(--clothiq-blue);
}

.clothiq-action-icon {
    font-size: 20px;
    line-height: 1;
}


/* Tablet */
@media (max-width: 900px) {

    .clothiq-header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px 16px;
    }

    .clothiq-brand {
        min-width: 0;
    }

    .clothiq-nav {
        grid-column: 1 / -1;
        order: initial;

        width: 100%;

        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 8px;

        border-top: 1px solid var(--clothiq-border);
        padding-top: 11px;

        overflow: visible;
    }

    .clothiq-nav a {
        text-align: center;
        white-space: normal;
    }

    .clothiq-header-inner > form {
        justify-self: end;
    }
}


/* Mobile */
@media (max-width: 640px) {

    body {
        background: var(--clothiq-bg);
    }

    .clothiq-header {
        position: sticky;
        top: 0;
    }

    .clothiq-header-inner {
        padding: 11px 14px 12px;

        grid-template-columns: minmax(0, 1fr) auto;

        gap: 10px 12px;
    }

    .clothiq-brand-text strong {
        font-size: 16px;
        line-height: 1.15;
    }

    .clothiq-brand-text span {
        font-size: 10px;
        line-height: 1.25;

        max-width: 180px;
    }

    /*
     * No horizontal navigation scrollbar.
     * Four current items become a clean 2 × 2 grid.
     */
    .clothiq-nav {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 100%;

        gap: 8px;

        padding-top: 10px;

        overflow: visible;
    }

    .clothiq-nav a {
        width: 100%;

        padding: 10px 8px;

        text-align: center;

        border: 1px solid var(--clothiq-border);

        border-radius: 10px;

        font-size: 12px;

        white-space: normal;
    }

    .clothiq-nav a.active {
        border-color: var(--clothiq-blue);

        background: var(--clothiq-blue);
        color: var(--clothiq-white);
    }

    .clothiq-header-inner > form {
        margin: 0;
    }

    .clothiq-header-inner > form .clothiq-button {
        padding: 9px 12px;
        font-size: 12px;
    }

    .clothiq-main {
        width: 100%;

        padding: 24px 14px 40px;
    }

    .clothiq-page-title {
        margin-bottom: 20px;
    }

    .clothiq-page-title h1 {
        font-size: 28px;
        line-height: 1.15;
    }

    .clothiq-page-title p {
        font-size: 14px;
    }

    .clothiq-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .clothiq-card {
        width: 100%;

        padding: 18px;

        border-radius: 14px;
    }

    .clothiq-action-card {
        min-height: 0;
    }

    .clothiq-action-icon {
        width: 46px;
        height: 46px;

        font-size: 20px;

        margin-bottom: 14px;
    }

    .clothiq-action-card h3 {
        font-size: 16px;
    }

    .clothiq-action-card p {
        font-size: 14px;
    }

    /*
     * Create/edit forms stack correctly rather than becoming tiny columns.
     */
    .clothiq-card > form.clothiq-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .clothiq-input,
    .clothiq-select,
    .clothiq-textarea,
    .clothiq-button {
        min-height: 44px;
    }

    /*
     * Data tables are the only area allowed to scroll sideways.
     * Navigation itself never requires sideways scrolling.
     */
    .clothiq-table-wrap {
        width: 100%;

        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;

        border-radius: 10px;
    }

    .clothiq-table {
        min-width: 720px;
    }

    .clothiq-login-page {
        padding: 14px;
    }

    .clothiq-login-card {
        width: 100%;

        padding: 22px 18px;
    }

    .clothiq-login-logo {
        margin-bottom: 21px;
    }

    .clothiq-login-logo h1 {
        font-size: 25px;
    }
}


/* Very small phones */
@media (max-width: 380px) {

    .clothiq-brand-text span {
        display: none;
    }

    .clothiq-nav a {
        font-size: 11px;
        padding: 9px 6px;
    }

    .clothiq-page-title h1 {
        font-size: 25px;
    }
}


/* ==========================================================
   CLOTHIQ PLATFORM RESPONSIVE FOUNDATION — 2026-08-28
   Shared by owner / manager / delivery and future role pages.
   ========================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-width: 0;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.clothiq-shell,
.clothiq-main,
.clothiq-header,
.clothiq-header-inner,
.clothiq-card,
.clothiq-grid,
.clothiq-page-title {
    min-width: 0;
    max-width: 100%;
}

.clothiq-main {
    width: 100%;
}

.clothiq-grid > *,
.clothiq-card > * {
    min-width: 0;
}

.clothiq-input,
.clothiq-select,
.clothiq-textarea,
.clothiq-button {
    max-width: 100%;
}

.clothiq-input,
.clothiq-select,
.clothiq-textarea {
    width: 100%;
}

/*
 * Shared mobile form/button behavior.
 */
@media (max-width: 640px) {
    .clothiq-main {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .clothiq-card {
        padding: 16px !important;
        border-radius: 14px;
    }

    .clothiq-grid {
        grid-template-columns: 1fr !important;
    }

    .clothiq-page-title {
        gap: 12px;
    }

    .clothiq-button {
        min-height: 44px;
    }

    .clothiq-input,
    .clothiq-select,
    .clothiq-textarea {
        min-height: 44px;
        font-size: 16px;
    }
}


/* ==========================================================
   ORDER DETAIL — CLOTHIQ SHARED THEME
   ========================================================== */

.clothiq-order-detail {
    display: grid;
    gap: 16px;
    min-width: 0;
    width: 100%;
}

.clothiq-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    min-width: 0;
}

.clothiq-order-title {
    margin: 0;
    color: var(--clothiq-text);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.clothiq-order-subtitle {
    margin-top: 5px;
    color: var(--clothiq-muted);
    overflow-wrap: anywhere;
}

.clothiq-order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--clothiq-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
}

.clothiq-order-section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 14px;
    color: var(--clothiq-text);
    font-size: 18px;
    font-weight: 800;
}

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

.clothiq-order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
}

.clothiq-order-label {
    display: block;
    color: var(--clothiq-muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.clothiq-order-value {
    color: var(--clothiq-text);
    font-weight: 700;
    overflow-wrap: anywhere;
}


/* Order progress */

.clothiq-order-progress {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    min-width: 0;
}

.clothiq-order-step {
    min-width: 0;
    min-height: 66px;
    padding: 10px 7px;
    border: 1px solid var(--clothiq-border);
    border-radius: 11px;
    background: #ffffff;
    color: var(--clothiq-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.clothiq-order-step.is-done {
    background: var(--clothiq-blue-soft-2);
    border-color: var(--clothiq-border);
    color: var(--clothiq-blue);
}

.clothiq-order-step.is-current {
    background: var(--clothiq-blue);
    border-color: var(--clothiq-blue);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(36, 88, 245, .18);
}

.clothiq-order-step-name {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

.clothiq-order-step-time {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.3;
    color: var(--clothiq-muted);
}

.clothiq-order-step.is-current
.clothiq-order-step-time {
    color: rgba(255,255,255,.88);
}

.clothiq-order-step.is-done
.clothiq-order-step-time {
    color: var(--clothiq-blue);
}


/* Payment summary */

.clothiq-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.clothiq-payment-paid {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--clothiq-blue);
    color: #ffffff;
    font-weight: 800;
}


/* Items — desktop table */

.clothiq-order-items-desktop {
    display: block;
}

.clothiq-order-items-mobile {
    display: none;
}

.clothiq-order-table-wrap {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

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

.clothiq-order-table th,
.clothiq-order-table td {
    padding: 11px 10px;
    text-align: left;
    border-bottom: 1px solid var(--clothiq-border);
}

.clothiq-order-table th {
    color: var(--clothiq-muted);
    font-size: 12px;
    font-weight: 800;
}

.clothiq-order-item-card {
    border: 1px solid var(--clothiq-border);
    background: var(--clothiq-blue-soft-2);
    border-radius: 12px;
    padding: 13px;
}

.clothiq-order-item-card + .clothiq-order-item-card {
    margin-top: 10px;
}

.clothiq-order-item-name {
    color: var(--clothiq-text);
    font-weight: 800;
}

.clothiq-order-item-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
    margin-top: 10px;
}

.clothiq-order-totals {
    width: min(100%, 360px);
    margin: 15px 0 0 auto;
    display: grid;
    gap: 8px;
}

.clothiq-order-total-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.clothiq-order-total-final {
    margin-top: 3px;
    padding-top: 10px;
    border-top: 1px solid var(--clothiq-border);
    color: var(--clothiq-blue);
    font-size: 17px;
    font-weight: 900;
}


/* Actions */

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

.clothiq-order-actions form {
    margin: 0;
}

.clothiq-order-danger {
    background: #b42318 !important;
}


/* Activity */

.clothiq-order-activity {
    display: grid;
}

.clothiq-order-activity-row {
    padding: 11px 0;
    border-bottom: 1px solid var(--clothiq-border);
}

.clothiq-order-activity-row:last-child {
    border-bottom: 0;
}


/* ==========================================================
   RESPONSIVE ORDER DETAIL
   ========================================================== */

@media (max-width: 900px) {
    .clothiq-order-progress {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .clothiq-order-two-column,
    .clothiq-order-info-grid,
    .clothiq-payment-grid {
        grid-template-columns: 1fr;
    }

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

    .clothiq-order-step {
        min-height: 72px;
    }

    .clothiq-order-items-desktop {
        display: none;
    }

    .clothiq-order-items-mobile {
        display: block;
    }

    .clothiq-order-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .clothiq-order-actions form,
    .clothiq-order-actions button,
    .clothiq-order-actions .clothiq-button {
        width: 100%;
    }

    .clothiq-order-totals {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 380px) {
    .clothiq-order-progress {
        grid-template-columns: 1fr;
    }

    .clothiq-order-item-meta {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   DELIVERY PORTAL — SAME CLOTHIQ BRAND
   ========================================================== */

.clothiq-delivery-shell {
    min-height: 100vh;
    background: var(--clothiq-page-bg, #f5f8ff);
    color: var(--clothiq-text);
}

.clothiq-delivery-main {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 24px 20px 50px;
    min-width: 0;
}

.clothiq-delivery-header {
    background: #ffffff;
    border-bottom: 1px solid var(--clothiq-border);
}

.clothiq-delivery-header-inner {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 13px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.clothiq-delivery-brand {
    color: var(--clothiq-blue);
    text-decoration: none;
    font-weight: 900;
}

.clothiq-delivery-brand small {
    display: block;
    margin-top: 2px;
    color: var(--clothiq-muted);
    font-weight: 500;
    font-size: 10px;
}

@media (max-width: 640px) {
    .clothiq-delivery-main {
        padding: 16px 13px 40px;
    }

    .clothiq-delivery-header-inner {
        padding: 11px 13px;
    }

    .clothiq-delivery-header-inner .clothiq-button {
        width: auto;
    }
}


/*
 * Defensive rule: individual feature pages must never enlarge
 * the entire browser viewport.
 */
.clothiq-main *,
.clothiq-delivery-main * {
    min-width: 0;
}


/* ==========================================================
   CLOTHIQ ORDER WORKFLOW SEMANTIC COLORS
   Blue  = current stage
   Green = successfully passed/completed stage
   ========================================================== */

.clothiq-order-step.is-done {
    background: #e8f7ee !important;
    border-color: #b9e4c9 !important;
    color: #087443 !important;
}

.clothiq-order-step.is-done .clothiq-order-step-time {
    color: #087443 !important;
}

.clothiq-order-step.is-current {
    background: #2458f5 !important;
    border-color: #2458f5 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(36, 88, 245, .18);
}

.clothiq-order-step.is-current .clothiq-order-step-time {
    color: rgba(255, 255, 255, .88) !important;
}

.clothiq-order-step:not(.is-done):not(.is-current) {
    background: #ffffff;
    color: #667085;
}

/* Successful payment must remain semantic green */
.clothiq-payment-paid {
    background: #e8f7ee !important;
    border-color: #b9e4c9 !important;
    color: #087443 !important;
}


/* ==========================================================
   CLOTHIQ ORDER PROGRESS — FINAL COMPATIBILITY RULES
   Passed = green
   Current = Clothiq blue
   Future = neutral
   ========================================================== */

.clothiq-order-back-row {
    margin-bottom: 4px;
}

.clothiq-order-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2458f5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.clothiq-order-back:hover {
    text-decoration: underline;
}


/*
 * Keep aliases for any old rendered class names.
 * This prevents an older Blade class from losing its UI.
 */
.clothiq-order-progress,
.cq-progress {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}

.clothiq-order-step,
.cq-step,
.order-step {
    min-width: 0 !important;
    min-height: 68px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    padding: 10px 8px !important;

    border: 1px solid #d7e3f4 !important;
    border-radius: 12px !important;

    background: #ffffff !important;
    color: #667085 !important;

    text-align: center !important;
}


/* PASSED STAGE */
.clothiq-order-step.is-done,
.clothiq-order-step.done,
.cq-step.is-done,
.cq-step.done,
.order-step.is-done,
.order-step.done {
    background: #e8f7ee !important;
    border-color: #b9e4c9 !important;
    color: #087443 !important;
}


/* CURRENT STAGE */
.clothiq-order-step.is-current,
.clothiq-order-step.current,
.cq-step.is-current,
.cq-step.current,
.order-step.is-current,
.order-step.current {
    background: #2458f5 !important;
    border-color: #2458f5 !important;
    color: #ffffff !important;

    box-shadow:
        0 6px 16px
        rgba(36, 88, 245, .18) !important;
}


/* LABEL */
.clothiq-order-step-name,
.cq-step-name,
.order-step-name {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
    color: inherit !important;
}


/* TIMESTAMP */
.clothiq-order-step-time,
.cq-step-time,
.order-step-time {
    display: block !important;
    margin-top: 5px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: #64748b !important;
}

.clothiq-order-step.is-done .clothiq-order-step-time,
.clothiq-order-step.done .clothiq-order-step-time,
.cq-step.is-done .cq-step-time,
.cq-step.done .cq-step-time,
.order-step.is-done .order-step-time,
.order-step.done .order-step-time {
    color: #087443 !important;
}

.clothiq-order-step.is-current .clothiq-order-step-time,
.clothiq-order-step.current .clothiq-order-step-time,
.cq-step.is-current .cq-step-time,
.cq-step.current .cq-step-time,
.order-step.is-current .order-step-time,
.order-step.current .order-step-time {
    color: rgba(255,255,255,.88) !important;
}


/* PAYMENT SUCCESS */
.clothiq-payment-paid {
    background: #e8f7ee !important;
    border: 1px solid #b9e4c9 !important;
    color: #087443 !important;
}


/* TABLET */
@media (max-width: 900px) {
    .clothiq-order-progress,
    .cq-progress {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}


/* MOBILE */
@media (max-width: 700px) {
    .clothiq-order-progress,
    .cq-progress {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .clothiq-order-step,
    .cq-step,
    .order-step {
        min-height: 76px !important;
    }

    .clothiq-order-back {
        min-height: 40px;
        align-items: center;
    }
}


/* VERY SMALL PHONE */
@media (max-width: 360px) {
    .clothiq-order-progress,
    .cq-progress {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================
   CLOTHIQ GLOBAL RESPONSIVE CONTENT WIDTH
   Full viewport background + centered application content.
   Prevent large desktop screens from stretching cards/forms.
   ========================================================== */

/*
 * Main authenticated management content.
 */
.clothiq-main {
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 24px !important;
    padding-right: 24px !important;

    box-sizing: border-box !important;
}


/*
 * Header inner content should align with page content.
 */
.clothiq-header-inner {
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 24px !important;
    padding-right: 24px !important;

    box-sizing: border-box !important;
}


/*
 * Never allow management page children to force
 * horizontal viewport overflow.
 */
.clothiq-main,
.clothiq-main > *,
.clothiq-main section,
.clothiq-main form {
    min-width: 0 !important;
    box-sizing: border-box !important;
}


/* Normal laptop/tablet */
@media (max-width: 1200px) {

    .clothiq-main,
    .clothiq-header-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}


/* Mobile */
@media (max-width: 700px) {

    .clothiq-main,
    .clothiq-header-inner {
        width: 100% !important;
        max-width: none !important;

        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}


/* Very small phone */
@media (max-width: 380px) {

    .clothiq-main,
    .clothiq-header-inner {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* ==========================================================
   CLOTHIQ ORDER ACTION BUTTONS
   ========================================================== */

.clothiq-order-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

/* Base action button */
.clothiq-order-action-button {
    appearance: none;
    -webkit-appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 42px;
    padding: 10px 16px;

    border-radius: 10px;
    border: 1px solid transparent;

    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
    text-decoration: none;

    transition:
        background-color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

/* Primary workflow action */
.clothiq-order-action-button.is-primary {
    background: #2458f5 !important;
    border-color: #2458f5 !important;
    color: #ffffff !important;

    box-shadow: 0 5px 12px rgba(36, 88, 245, .18);
}

.clothiq-order-action-button.is-primary:hover {
    background: #1748df !important;
    border-color: #1748df !important;
}

/* Destructive action */
.clothiq-order-action-button.is-danger {
    background: #fff5f5 !important;
    border-color: #efb4b4 !important;
    color: #b42318 !important;
}

.clothiq-order-action-button.is-danger:hover {
    background: #fee4e2 !important;
    border-color: #e98b86 !important;
}

/* Keyboard accessibility */
.clothiq-order-action-button:focus-visible {
    outline: 3px solid rgba(36, 88, 245, .20);
    outline-offset: 2px;
}

/* Phone */
@media (max-width: 600px) {

    .clothiq-order-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .clothiq-order-actions form {
        width: 100%;
        margin: 0;
    }

    .clothiq-order-action-button {
        width: 100%;
        min-height: 46px;
    }
}


/* CLOTHIQ-MOBILE-HEADER-V3 */

.clothiq-mobile-menu-toggle {
    display: none;
}


/*
|--------------------------------------------------------------------------
| Desktop
|--------------------------------------------------------------------------
*/

@media (min-width: 761px) {

    .clothiq-management-menu {
        display: contents;
    }
}


/*
|--------------------------------------------------------------------------
| Mobile / Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .clothiq-header {
        position: sticky;
        top: 0;
        z-index: 1000;

        background: #ffffff;
        border-bottom: 1px solid var(--clothiq-border);
    }


    .clothiq-header-inner {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) auto !important;

        grid-template-areas:
            "brand toggle"
            "menu menu" !important;

        align-items: center !important;

        width: 100% !important;

        gap: 0 12px !important;

        padding:
            10px 16px !important;
    }


    /*
    |--------------------------------------------------------------------------
    | Brand
    |--------------------------------------------------------------------------
    */

    .clothiq-brand {
        grid-area: brand !important;

        display: flex !important;
        align-items: center !important;

        min-width: 0 !important;
        width: auto !important;

        text-decoration: none !important;
    }


    .clothiq-brand-text {
        min-width: 0;
    }


    .clothiq-brand-text strong {
        display: block;

        color: var(--clothiq-blue);

        font-size: 15px !important;
        line-height: 1.15;

        white-space: nowrap;
    }


    .clothiq-brand-text span {
        display: block;

        margin-top: 2px;

        font-size: 9px !important;
        line-height: 1.15;

        white-space: nowrap;
    }


    /*
    |--------------------------------------------------------------------------
    | Menu button
    |--------------------------------------------------------------------------
    */

    .clothiq-mobile-menu-toggle {
        grid-area: toggle;

        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        gap: 5px;

        min-height: 40px;

        padding: 8px 11px;

        border:
            1px solid var(--clothiq-border);

        border-radius: 10px;

        background: #ffffff;

        color: var(--clothiq-blue);

        font: inherit;
        font-weight: 800;

        cursor: pointer;
    }


    .clothiq-menu-icon {
        font-size: 19px;
        line-height: 1;
    }


    .clothiq-menu-label {
        font-size: 12px;
    }


    /*
    |--------------------------------------------------------------------------
    | Collapsible menu panel
    |--------------------------------------------------------------------------
    */

    .clothiq-management-menu {
        grid-area: menu;

        display: none;

        width: 100%;

        margin-top: 10px;
        padding-top: 10px;

        border-top:
            1px solid var(--clothiq-border);
    }


    .clothiq-management-menu.is-open {
        display: block;
    }


    /*
    |--------------------------------------------------------------------------
    | Navigation
    |--------------------------------------------------------------------------
    */

    .clothiq-nav {
        display: grid !important;

        grid-template-columns:
            1fr !important;

        width: 100% !important;

        gap: 7px !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }


    .clothiq-nav a {
        display: flex !important;
        align-items: center !important;

        width: 100% !important;
        min-height: 42px;

        padding: 10px 12px !important;

        border:
            1px solid var(--clothiq-border);

        border-radius: 10px;

        background: #ffffff;

        color: var(--clothiq-text);

        text-align: left !important;
        text-decoration: none;

        font-size: 13px;
        font-weight: 700;

        white-space: normal !important;
    }


    .clothiq-nav a.active {
        border-color:
            var(--clothiq-blue);

        background:
            var(--clothiq-blue);

        color: #ffffff;
    }


    /*
    |--------------------------------------------------------------------------
    | Sign out
    |--------------------------------------------------------------------------
    */

    .clothiq-logout-form {
        display: block !important;

        width: 100% !important;

        margin-top: 9px !important;
    }


    .clothiq-logout-form .clothiq-button {
        width: 100% !important;
        min-height: 42px;

        justify-content: center;

        margin: 0 !important;
    }


    /*
    |--------------------------------------------------------------------------
    | Page spacing
    |--------------------------------------------------------------------------
    */

    .clothiq-main {
        padding-top: 18px !important;
    }
}


/*
|--------------------------------------------------------------------------
| Very small phones
|--------------------------------------------------------------------------
*/

@media (max-width: 360px) {

    .clothiq-header-inner {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }


    .clothiq-brand-text strong {
        font-size: 14px !important;
    }


    .clothiq-brand-text span {
        display: none;
    }


    .clothiq-menu-label {
        display: none;
    }


    .clothiq-mobile-menu-toggle {
        width: 42px;
        padding: 8px;
    }
}


/* ==========================================================
   CLOTHIQ ORDER SHARED SUMMARY / INFORMATION STATES
   ========================================================== */

.clothiq-order-total-final {
    font-size: 18px;
    font-weight: 800;
    color: #101828;
    border-top: 1px solid #e4e7ec;
    padding-top: 14px;
    margin-top: 4px;
}

.clothiq-order-alert-info {
    padding: 12px 14px;
    border: 1px solid #b9d1ff;
    border-radius: 10px;
    background: #eef4ff;
    color: #1849a9;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}


/* ==========================================================
   CLOTHIQ HOME PICKUP MANAGER UI
   ========================================================== */

.clothiq-pickup-card {
    overflow: hidden;
}

.clothiq-pickup-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.clothiq-pickup-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid #b9d0ff;
    border-radius: 999px;
    background: #eef4ff;
    color: #2458f5;
    font-size: 12px;
    font-weight: 800;
    text-transform: capitalize;
}

.clothiq-pickup-summary {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.clothiq-pickup-address {
    margin-top: 15px;
    padding: 13px 14px;
    border: 1px solid var(--clothiq-border);
    border-radius: 12px;
    background: #fafbfc;
}

.clothiq-pickup-progress {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.clothiq-pickup-step {
    min-width: 0;
    padding: 11px 10px;
    border: 1px solid var(--clothiq-border);
    border-radius: 10px;
    background: #ffffff;
    color: #667085;
}

.clothiq-pickup-step.is-done {
    border-color: #b9e4c9;
    background: #e8f7ee;
    color: #087443;
}

.clothiq-pickup-step.is-current {
    border-color: #2458f5;
    background: #2458f5;
    color: #ffffff;
    box-shadow:
        0 5px 13px
        rgba(36, 88, 245, .16);
}

.clothiq-pickup-step-name {
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.clothiq-pickup-step-time {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.35;
    opacity: .85;
}

.clothiq-pickup-action-box,
.clothiq-pickup-receive-box,
.clothiq-pickup-complete-box {
    margin-top: 18px;
    padding: 15px;
    border-radius: 12px;
}

.clothiq-pickup-action-box {
    border: 1px solid #c9d8ff;
    background: #f4f7ff;
}

.clothiq-pickup-receive-box,
.clothiq-pickup-complete-box {
    border: 1px solid #b9e4c9;
    background: #f0fbf4;
}

.clothiq-pickup-assignment {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .clothiq-pickup-progress {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .clothiq-pickup-heading {
        flex-direction: column;
        gap: 9px;
    }

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

    .clothiq-pickup-progress {
        grid-template-columns: 1fr;
    }

    .clothiq-pickup-assignment {
        grid-template-columns: 1fr;
    }

    .clothiq-pickup-assignment
    .clothiq-order-action-button {
        width: 100%;
    }

    .clothiq-pickup-receive-box
    .clothiq-order-action-button {
        width: 100%;
    }
}


/* ==========================================================
   CLOTHIQ DELIVERY STAFF MY WORK UI
   ========================================================== */

.worker-work-heading {
    margin-bottom: 22px;
}

.worker-work-heading h1,
.worker-work-page-heading h1 {
    margin: 0;
}

.worker-work-section {
    margin-bottom: 28px;
}

.worker-work-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.worker-work-section-heading h2 {
    margin: 0 0 4px;
    font-size: 18px;
}

.worker-work-count {
    display: inline-flex;
    min-width: 30px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2458f5;
    font-size: 12px;
    font-weight: 900;
}

.worker-work-list {
    display: grid;
    gap: 12px;
}

.worker-work-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.worker-work-card {
    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.worker-work-card:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 22px
        rgba(36, 88, 245, .08);
}

.worker-work-card.is-pickup {
    border-left: 4px solid #2458f5;
}

.worker-work-card.is-delivery {
    border-left: 4px solid #087443;
}

.worker-work-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.worker-work-type {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2458f5;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
}

.worker-work-type.is-delivery {
    background: #e8f7ee;
    color: #087443;
}

.worker-work-order {
    margin-top: 6px;
    color: #2458f5;
    font-size: 16px;
    font-weight: 900;
}

.worker-work-status {
    max-width: 48%;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.worker-work-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.worker-work-label,
.worker-info-label {
    display: block;
    margin-bottom: 4px;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
}

.worker-work-empty {
    padding: 18px;
    border: 1px dashed #cfd7e6;
    border-radius: 12px;
    background: #ffffff;
    color: #667085;
}

.worker-work-back {
    display: inline-flex;
    margin-bottom: 13px;
    color: #2458f5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.worker-work-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.worker-work-page-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2458f5;
    font-size: 11px;
    font-weight: 900;
}

.worker-work-page-badge.is-delivery {
    background: #e8f7ee;
    color: #087443;
}

.worker-work-page-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.worker-work-page-full {
    grid-column: 1 / -1;
}

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

.worker-address {
    margin-top: 5px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #f9fafb;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.worker-payment-form {
    display: grid;
    gap: 11px;
}

.worker-action-info {
    margin-bottom: 12px;
    color: #475467;
}

.worker-main-action {
    width: 100%;
    min-height: 48px;
}

.worker-success-box {
    padding: 14px;
    border: 1px solid #b9e4c9;
    border-radius: 11px;
    background: #f0fbf4;
    color: #087443;
    font-weight: 700;
}

@media (max-width: 700px) {
    .worker-work-grid {
        grid-template-columns: 1fr;
    }

    .worker-work-page-grid {
        grid-template-columns: 1fr;
    }

    .worker-work-page-full {
        grid-column: auto;
    }

    .worker-info-grid {
        grid-template-columns: 1fr;
    }

    .worker-work-page-heading {
        flex-direction: column;
    }

    .worker-work-top {
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .worker-work-status {
        max-width: 54%;
        font-size: 10px;
    }

    .worker-work-section-heading {
        align-items: center;
    }
}


/* ==========================================================
   CLOTHIQ ORDER MEASUREMENT UI
   ========================================================== */

.worker-measurement-panel,
.clothiq-measurement-card {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #d7e1f4;
    border-radius: 12px;
    background: #f8faff;
}

.worker-measurement-heading,
.clothiq-measurement-header,
.clothiq-measurement-item-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.worker-measurement-heading span,
.clothiq-measurement-item-title span {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
}

.worker-measurement-badge,
.clothiq-measurement-status,
.clothiq-measurement-verified {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
}

.worker-measurement-badge,
.clothiq-measurement-status {
    background: #eef4ff;
    color: #2458f5;
}

.clothiq-measurement-verified {
    background: #e8f7ee;
    color: #087443;
}

.worker-measurement-note {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #f0dca5;
    border-radius: 9px;
    background: #fffaf0;
    color: #805b16;
    font-size: 12px;
    font-weight: 700;
}

.worker-measurement-list,
.clothiq-measurement-items {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.worker-measurement-item,
.clothiq-measurement-item {
    padding: 14px;
    border: 1px solid #e4e7ec;
    border-radius: 11px;
    background: #ffffff;
}

.worker-measurement-item-info {
    display: grid;
    gap: 3px;
    margin-bottom: 12px;
}

.worker-measurement-item-info span,
.worker-measurement-item-info small {
    color: #667085;
}

.worker-measurement-form,
.clothiq-measurement-form {
    display: grid;
    gap: 6px;
}

.worker-measurement-form label,
.clothiq-measurement-form label {
    color: #475467;
    font-size: 12px;
    font-weight: 800;
}

.worker-measurement-control,
.clothiq-measurement-control {
    display: grid;
    grid-template-columns:
        minmax(120px, 1fr) auto;
    gap: 9px;
}

.worker-measurement-control input,
.clothiq-measurement-control input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #cfd7e6;
    border-radius: 9px;
    background: #ffffff;
    font: inherit;
}

.worker-measurement-saved {
    color: #087443;
    font-weight: 700;
}

.clothiq-measurement-header h3 {
    margin: 0;
}

.clothiq-measurement-header p {
    max-width: 650px;
    margin: 5px 0 0;
    color: #667085;
    font-size: 13px;
}

.clothiq-measurement-flow {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 14px 0;
}

.clothiq-measurement-flow > div {
    min-height: 72px;
    padding: 10px;
    border: 1px solid #e4e7ec;
    border-radius: 9px;
    background: #f9fafb;
}

.clothiq-measurement-flow span {
    display: block;
    margin-bottom: 5px;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
}

.clothiq-measurement-flow strong {
    color: #101828;
}

.clothiq-measurement-arrow {
    color: #98a2b3 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.clothiq-measurement-money {
    margin-top: 10px;
    color: #667085;
    font-size: 12px;
}

@media (max-width: 700px) {
    .worker-measurement-heading,
    .clothiq-measurement-header,
    .clothiq-measurement-item-title {
        flex-direction: column;
    }

    .worker-measurement-control,
    .clothiq-measurement-control {
        grid-template-columns: 1fr;
    }

    .worker-measurement-control
    .clothiq-order-action-button,
    .clothiq-measurement-control
    .clothiq-order-action-button {
        width: 100%;
    }

    .clothiq-measurement-flow {
        grid-template-columns: 1fr;
    }

    .clothiq-measurement-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }
}

/* ==========================================================
   CLOTHIQ MANAGEMENT DESKTOP SIDEBAR + WEBSITE FORMS
   2026-09-05
   Mobile navigation remains controlled by MOBILE-HEADER-V3.
   ========================================================== */

/*
|--------------------------------------------------------------------------
| Desktop management shell
|--------------------------------------------------------------------------
*/

@media (min-width: 761px) {

    .clothiq-shell {
        display: grid;
        grid-template-columns: 250px minmax(0, 1fr);
        min-height: 100vh;
    }

    .clothiq-header {
        position: sticky;
        top: 0;
        align-self: start;

        width: 250px;
        height: 100vh;

        border-right: 1px solid var(--clothiq-border);
        border-bottom: 0;

        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(12px);

        overflow-y: auto;
        overflow-x: hidden;
    }

    .clothiq-header-inner {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start !important;

        width: 100% !important;
        max-width: none !important;
        min-height: 100%;

        margin: 0 !important;
        padding: 24px 16px !important;

        gap: 24px !important;
    }

    .clothiq-brand {
        width: 100%;
        padding: 4px 10px 20px;
        border-bottom: 1px solid var(--clothiq-border);
    }

    .clothiq-brand-text strong {
        font-size: 17px;
    }

    .clothiq-brand-text span {
        font-size: 10.5px;
        line-height: 1.4;
    }

    .clothiq-management-menu {
        display: flex !important;
        flex-direction: column;
        flex: 1;
        width: 100%;
        min-height: 0;
    }

    .clothiq-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        width: 100%;
        gap: 5px;
    }

    .clothiq-nav a {
        display: flex;
        align-items: center;

        width: 100%;
        min-height: 43px;

        padding: 10px 13px;
        border-radius: 10px;

        font-size: 13px;
        line-height: 1.3;
    }

    .clothiq-nav a.active {
        background: var(--clothiq-blue);
        color: var(--clothiq-white);
        box-shadow: 0 5px 14px rgba(36, 84, 244, .16);
    }

    .clothiq-logout-form {
        width: 100%;
        margin-top: auto;
        padding-top: 22px;
    }

    .clothiq-logout-form .clothiq-button {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-height: 42px;
    }

    .clothiq-main {
        width: 100%;
        max-width: 1440px;

        margin: 0 auto;
        padding: 38px 34px 64px;
    }
}


/*
|--------------------------------------------------------------------------
| Shared management page structure
|--------------------------------------------------------------------------
*/

.clothiq-page {
    width: 100%;
}

.clothiq-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;
}

.clothiq-page-header h1 {
    margin: 0;

    color: var(--clothiq-navy);

    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.025em;
}

.clothiq-page-header p {
    margin: 8px 0 0;

    color: var(--clothiq-muted);

    font-size: 14px;
    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Website Management cards
|--------------------------------------------------------------------------
*/

.clothiq-page > .clothiq-card {
    margin-bottom: 22px;
}

.clothiq-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin: -24px -24px 24px;
    padding: 22px 24px;

    border-bottom: 1px solid var(--clothiq-border);
}

.clothiq-card-header h2,
.clothiq-card .clothiq-card-header h2 {
    margin: 0;

    color: var(--clothiq-navy);

    font-size: 19px;
    line-height: 1.3;
    font-weight: 750;
}

.clothiq-card-header p {
    margin: 6px 0 0;

    color: var(--clothiq-muted);

    font-size: 13px;
    line-height: 1.55;
}


/*
|--------------------------------------------------------------------------
| Website Management form layout
|--------------------------------------------------------------------------
*/

.clothiq-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px 22px;

    width: 100%;
}

.clothiq-field {
    min-width: 0;
}

.clothiq-field-full {
    grid-column: 1 / -1;
}

.clothiq-field label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.clothiq-field input:not([type="checkbox"]):not([type="radio"]),
.clothiq-field select,
.clothiq-field textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    min-height: 44px;

    padding: 10px 12px;

    border: 1px solid #cbd5e1;
    border-radius: 10px;

    background: #ffffff;
    color: #0f172a;

    font: inherit;
    font-size: 14px;
    line-height: 1.4;

    outline: none;

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease;
}

.clothiq-field textarea {
    min-height: 104px;
    resize: vertical;
}

.clothiq-field input:not([type="checkbox"]):not([type="radio"]):hover,
.clothiq-field select:hover,
.clothiq-field textarea:hover {
    border-color: #94a3b8;
}

.clothiq-field input:not([type="checkbox"]):not([type="radio"]):focus,
.clothiq-field select:focus,
.clothiq-field textarea:focus {
    border-color: var(--clothiq-blue);

    box-shadow:
        0 0 0 3px rgba(36, 84, 244, .10);
}

.clothiq-field input::placeholder,
.clothiq-field textarea::placeholder {
    color: #94a3b8;
}

.clothiq-field small {
    display: block;

    margin-top: 7px;

    color: var(--clothiq-muted);

    font-size: 12px;
    line-height: 1.45;
}


/*
|--------------------------------------------------------------------------
| File controls
|--------------------------------------------------------------------------
*/

.clothiq-field input[type="file"] {
    padding: 7px 9px;
    cursor: pointer;
}

.clothiq-field input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 11px;

    border: 0;
    border-radius: 7px;

    background: var(--clothiq-blue-soft);
    color: var(--clothiq-blue);

    font: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| Form actions
|--------------------------------------------------------------------------
*/

.clothiq-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
    padding-top: 20px;

    border-top: 1px solid #edf1f7;
}


/*
|--------------------------------------------------------------------------
| Website Management alerts
|--------------------------------------------------------------------------
*/

.clothiq-alert {
    margin-bottom: 20px;
    padding: 13px 15px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.5;
}

.clothiq-alert-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.clothiq-alert-error {
    border: 1px solid #fecaca;
    background: #fff7f7;
    color: #991b1b;
}

.clothiq-alert-error ul {
    margin: 8px 0 0 18px;
    padding: 0;
}


/*
|--------------------------------------------------------------------------
| Website Management tables / embedded edit forms
|--------------------------------------------------------------------------
*/

.clothiq-card .clothiq-table-wrap {
    overflow-x: auto;
}

.clothiq-card .clothiq-table td {
    vertical-align: top;
}

.clothiq-card .clothiq-table .clothiq-form-grid {
    grid-template-columns:
        repeat(2, minmax(150px, 1fr));
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    /*
     * Restore the existing mobile shell/header behavior.
     */
    .clothiq-shell {
        display: block;
        min-height: 100vh;
    }

    .clothiq-header {
        width: 100%;
        height: auto;
        overflow: visible;
        border-right: 0;
    }

    .clothiq-main {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .clothiq-page-header {
        margin-bottom: 18px;
    }

    .clothiq-page-header h1 {
        font-size: 26px;
    }

    .clothiq-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .clothiq-field-full {
        grid-column: auto;
    }

    .clothiq-card-header {
        margin: -16px -16px 20px;
        padding: 18px 16px;
    }

    .clothiq-actions {
        align-items: stretch;
    }

    .clothiq-actions .clothiq-button {
        width: 100%;
        justify-content: center;
    }

    .clothiq-field input:not([type="checkbox"]):not([type="radio"]),
    .clothiq-field select,
    .clothiq-field textarea {
        font-size: 16px;
    }

    .clothiq-card .clothiq-table .clothiq-form-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   CLOTHIQ MANAGEMENT UI POLISH
   2026-09-05
   ========================================================== */

@media (min-width: 761px) {

    .clothiq-shell {
        grid-template-columns: 225px minmax(0, 1fr);
    }

    .clothiq-header {
        width: 225px;
    }

    .clothiq-header-inner {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .clothiq-nav a {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 12.5px;
    }

    .clothiq-main {
        max-width: 1320px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/*
 * Better separation between stacked sections
 * inside the same Website Management card.
 */
.clothiq-card .clothiq-card-header:not(:first-child) {
    margin-top: 28px;
}

.clothiq-field-full + .clothiq-card-header {
    margin-top: 30px;
}

.clothiq-card hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--clothiq-border);
}

/*
 * Section headings used inside larger cards.
 */
.clothiq-card h3 {
    margin: 26px 0 8px;
    color: var(--clothiq-navy);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 750;
}

.clothiq-card h3 + p {
    margin-top: 0;
    color: var(--clothiq-muted);
    font-size: 13px;
    line-height: 1.55;
}

/*
 * Mobile spacing polish.
 */
@media (max-width: 760px) {

    .clothiq-page-header {
        padding-top: 2px;
    }

    .clothiq-page-header p {
        line-height: 1.55;
    }

    .clothiq-card .clothiq-card-header:not(:first-child) {
        margin-top: 24px;
    }

    .clothiq-field-full + .clothiq-card-header {
        margin-top: 24px;
    }

    .clothiq-card h3 {
        margin-top: 24px;
    }
}


/* ==========================================================
   WEBSITE SETTINGS CONTROL PANELS
   ========================================================== */

.clothiq-settings-panel {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #f8fafc;
}

.clothiq-settings-panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 18px;
}

.clothiq-settings-panel-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 7px;
    border: 1px solid #d8e3ff;
    border-radius: 10px;
    background: #eef4ff;
    color: var(--clothiq-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

.clothiq-settings-panel-heading h3,
.clothiq-card .clothiq-settings-panel-heading h3 {
    margin: 0;
    color: var(--clothiq-navy);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 750;
}

.clothiq-settings-panel-heading p,
.clothiq-card .clothiq-settings-panel-heading h3 + p {
    margin: 4px 0 0;
    color: var(--clothiq-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.clothiq-settings-panel .clothiq-field {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #ffffff;
}

.clothiq-settings-panel .clothiq-field label {
    color: #1e293b;
}

.clothiq-settings-note {
    margin-top: 16px;
    padding: 11px 13px;
    border-left: 3px solid #93b4ff;
    border-radius: 7px;
    background: #f1f5ff;
    color: #52627a;
    font-size: 12px;
    line-height: 1.5;
}

.clothiq-settings-panel-invoice {
    margin-top: 26px;
}

.clothiq-settings-panel-notifications {
    background: #f8fbff;
}

.clothiq-settings-panel-public {
    background: #fbfcfe;
}

@media (max-width: 760px) {
    .clothiq-settings-panel {
        margin-top: 18px;
        padding: 15px;
        border-radius: 12px;
    }

    .clothiq-settings-panel-heading {
        gap: 10px;
        margin-bottom: 15px;
    }

    .clothiq-settings-panel-icon {
        flex-basis: 38px;
        min-height: 36px;
    }

    .clothiq-settings-panel .clothiq-field {
        padding: 12px;
    }

    .clothiq-settings-note {
        margin-top: 14px;
    }
}

/* ==========================================================
   CLOTHIQ OWNER OFFER BUILDER
   ========================================================== */

.clothiq-offer-builder-intro {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid var(--clothiq-border);
    border-radius: 12px;
    background: #f8fafc;
}

.clothiq-offer-builder-intro strong {
    display: block;
    margin-bottom: 5px;
    color: var(--clothiq-navy);
    font-size: 15px;
}

.clothiq-offer-builder-intro p {
    margin: 0;
    color: var(--clothiq-muted);
    font-size: 13px;
    line-height: 1.55;
}

.clothiq-offer-builder {
    display: grid;
    gap: 18px;
}

.clothiq-offer-section {
    padding: 20px;
    border: 1px solid var(--clothiq-border);
    border-radius: 14px;
    background: #fff;
}

.clothiq-offer-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.clothiq-offer-section-heading h3 {
    margin: 0;
    font-size: 16px;
}

.clothiq-offer-section-heading p {
    margin: 4px 0 0;
    color: var(--clothiq-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.clothiq-offer-step {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--clothiq-blue-soft);
    color: var(--clothiq-blue);
    font-size: 13px;
    font-weight: 800;
}

.clothiq-offer-target-area {
    margin-top: 20px;
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

.clothiq-offer-target-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.clothiq-offer-target-header strong {
    color: var(--clothiq-navy);
    font-size: 14px;
}

.clothiq-offer-target-header p {
    margin: 3px 0 0;
    color: var(--clothiq-muted);
    font-size: 12px;
}

.clothiq-offer-target-row {
    display: grid;
    grid-template-columns:
        minmax(150px, 1fr)
        minmax(150px, 1fr)
        minmax(130px, .7fr)
        auto;
    gap: 12px;
    align-items: end;
    padding: 14px 0;
    border-top: 1px solid #e2e8f0;
}

.clothiq-offer-target-row:first-child {
    border-top: 0;
}

.clothiq-offer-target-action {
    padding-bottom: 1px;
}

.clothiq-weekday-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(54px, 1fr));
    gap: 8px;
}

.clothiq-weekday-option {
    cursor: pointer;
}

.clothiq-weekday-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.clothiq-weekday-option span {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.clothiq-weekday-option input:checked + span {
    border-color: var(--clothiq-blue);
    background: var(--clothiq-blue-soft);
    color: var(--clothiq-blue);
}

.clothiq-offer-list-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.clothiq-offer-list-heading h3 {
    margin: 0;
}

.clothiq-offer-list-heading p {
    margin: 5px 0 0;
    color: var(--clothiq-muted);
    font-size: 13px;
}

.clothiq-offer-count {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.clothiq-empty-state {
    padding: 22px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    text-align: center;
    background: #f8fafc;
}

.clothiq-empty-state strong {
    color: var(--clothiq-navy);
}

.clothiq-empty-state p {
    margin: 5px 0 0;
    color: var(--clothiq-muted);
    font-size: 13px;
}

.clothiq-offer-existing-list {
    display: grid;
    gap: 12px;
}

.clothiq-offer-existing-card {
    overflow: hidden;
    border: 1px solid var(--clothiq-border);
    border-radius: 12px;
    background: #fff;
}

.clothiq-offer-existing-card > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.clothiq-offer-existing-card > summary::-webkit-details-marker {
    display: none;
}

.clothiq-offer-existing-card > summary strong {
    display: block;
    color: var(--clothiq-navy);
    font-size: 14px;
}

.clothiq-offer-existing-card > summary span {
    display: block;
    margin-top: 4px;
    color: var(--clothiq-muted);
    font-size: 12px;
}

.clothiq-offer-expand-label {
    white-space: nowrap;
    color: var(--clothiq-blue) !important;
    font-weight: 700;
}

.clothiq-offer-existing-body {
    padding: 18px;
    border-top: 1px solid var(--clothiq-border);
    background: #f8fafc;
}

.clothiq-offer-delete-form {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .clothiq-offer-target-row {
        grid-template-columns: 1fr 1fr;
    }

    .clothiq-offer-target-action {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .clothiq-offer-section {
        padding: 16px;
    }

    .clothiq-offer-target-header,
    .clothiq-offer-list-heading,
    .clothiq-offer-existing-card > summary {
        align-items: stretch;
        flex-direction: column;
    }

    .clothiq-offer-target-row {
        grid-template-columns: 1fr;
    }

    .clothiq-weekday-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .clothiq-offer-target-header .clothiq-button,
    .clothiq-offer-delete-form .clothiq-button {
        width: 100%;
        justify-content: center;
    }

    .clothiq-offer-delete-form {
        display: block;
    }
}

/* CLOTHIQ_OWNER_OFFER_SUMMARY_V1 */
.clothiq-offer-summary-main {
    min-width: 0;
    flex: 1;
}

.clothiq-offer-summary-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.clothiq-offer-summary-title {
    color: var(--clothiq-ink, #0f2742);
    font-size: 15px;
    line-height: 1.35;
}

.clothiq-offer-benefit-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef5ff;
    border: 1px solid #cfe0ff;
    color: #0d5bd7;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.clothiq-offer-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.clothiq-offer-summary-tag {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 8px;
    border-radius: 7px;
    background: #f7f9fc;
    border: 1px solid #e1e8f2;
    color: #52657b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.clothiq-offer-summary-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.clothiq-offer-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.clothiq-offer-status-pill.is-active {
    background: #edf9f1;
    color: #16743a;
}

.clothiq-offer-status-pill.is-inactive {
    background: #f4f5f7;
    color: #697586;
}

.clothiq-offer-status-pill.is-home {
    background: #eef5ff;
    color: #145fc2;
}

.clothiq-offer-status-pill.is-hidden {
    background: #fff4e8;
    color: #9b5b0a;
}

.clothiq-offer-summary-order {
    color: #75869a;
    font-size: 10px;
    font-weight: 600;
}

.clothiq-offer-existing-card > summary {
    align-items: flex-start;
    gap: 18px;
}

.clothiq-offer-expand-label {
    flex: 0 0 auto;
    margin-top: 3px;
}

@media (max-width: 700px) {
    .clothiq-offer-summary-title-row {
        align-items: flex-start;
        gap: 8px;
    }

    .clothiq-offer-benefit-badge {
        min-height: 26px;
        padding: 4px 8px;
    }

    .clothiq-offer-summary-tags {
        margin-top: 8px;
    }

    .clothiq-offer-existing-card > summary {
        gap: 12px;
    }

    .clothiq-offer-expand-label {
        margin-top: 0;
    }
}
/* /CLOTHIQ_OWNER_OFFER_SUMMARY_V1 */

/* CLOTHIQ_CONTACT_PREFIX_FIELDS_V1 */
.clothiq-contact-prefix-field {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.clothiq-contact-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 54px;
    padding: 0 12px;
    border: 1px solid #cbd8e8;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #f5f8fc;
    color: #425a75;
    font-weight: 700;
}

.clothiq-contact-prefix-field input {
    min-width: 0;
    flex: 1;
    border-radius: 0 10px 10px 0;
}

.clothiq-contact-prefix-field input:focus {
    position: relative;
    z-index: 1;
}
/* /CLOTHIQ_CONTACT_PREFIX_FIELDS_V1 */

/* CLOTHIQ_OWNER_WEBSITE_BRANDING_V1 */
.clothiq-branding-preview {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.clothiq-branding-preview-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.clothiq-branding-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 360px);
    min-height: 150px;
    padding: 18px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #ffffff;
}

.clothiq-branding-logo-frame img {
    display: block;
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.clothiq-branding-empty {
    margin: 0 0 22px;
    color: #64748b;
}

@media (max-width: 700px) {
    .clothiq-branding-preview {
        align-items: stretch;
        flex-direction: column;
    }

    .clothiq-branding-logo-frame {
        width: 100%;
    }

    .clothiq-branding-preview form,
    .clothiq-branding-preview form button {
        width: 100%;
    }
}
/* /CLOTHIQ_OWNER_WEBSITE_BRANDING_V1 */
