:root {
    --vendor-brand: #bd1f37;
    --vendor-brand-hover: #9f172d;
    --vendor-brand-soft: #fae9ed;
    --vendor-decoration-ring: rgba(189, 31, 55, .055);
    --vendor-text: #2f2b2c;
    --vendor-text-secondary: #7f7779;
    --vendor-border: #e8dfe1;
    --vendor-surface: #fff;
    --vendor-background: #f7f3f3;
    --vendor-success: #3f845f;
    --vendor-warning: #b26a13;
    --vendor-info: #3c718d;
    --vendor-danger: #b42338;
    --vendor-font: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    --vendor-header-height: 76px;
    --vendor-radius-control: 8px;
    --vendor-radius-card: 12px;
    --vendor-radius-hero: 14px;
    --vendor-shadow-card: 0 5px 16px rgba(72, 39, 45, .045);
    --vendor-shadow-menu: 0 12px 28px rgba(55, 26, 31, .13);
    --vendor-control-height: 40px;
    --vendor-control-height-compact: 34px;
    --vendor-font-size-action: 14px;
    --vendor-motion-fast: 180ms;
}

.vendor-v2-shell,
.vendor-v2-auth {
    color: var(--vendor-text);
    font-family: var(--vendor-font);
}

.vendor-v2-shell {
    background: var(--vendor-background);
    min-height: 100vh;
}

.vendor-v2-page {
    background: var(--vendor-background);
    min-height: calc(100vh - var(--vendor-header-height));
}

.vendor-v2-page .content {
    margin: 0;
    padding: 0;
}

.vendor-v2-container {
    margin-inline: auto;
    max-width: 1600px;
    padding: 24px 20px 40px;
    width: 100%;
}

/* Shared Vendor V2 action system, adapted from EcoWarehouse V2 */
.vendor-v2-shell .btn,
.vendor-v2-modal-root .btn,
.vendor-tnc-overlay--v2 .btn {
    align-items: center !important;
    border-radius: var(--vendor-radius-control) !important;
    box-shadow: none !important;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex !important;
    font-size: var(--vendor-font-size-action);
    font-weight: 700;
    gap: 8px !important;
    height: var(--vendor-control-height);
    justify-content: center !important;
    line-height: 1.2;
    margin: 0;
    min-height: var(--vendor-control-height);
    padding-inline: 16px;
    text-align: center !important;
    text-decoration: none;
    transition: background-color var(--vendor-motion-fast) ease,
                border-color var(--vendor-motion-fast) ease,
                color var(--vendor-motion-fast) ease,
                opacity var(--vendor-motion-fast) ease;
    vertical-align: middle;
}

.vendor-v2-shell .btn:not(.btn-icon) > :is(svg, .icon),
.vendor-v2-modal-root .btn:not(.btn-icon) > :is(svg, .icon),
.vendor-tnc-overlay--v2 .btn:not(.btn-icon) > :is(svg, .icon) {
    align-self: center;
    display: block;
    flex: 0 0 auto;
    line-height: 0;
    margin: 0 !important;
    transform: translateY(-2px);
    vertical-align: middle;
}

.vendor-v2-shell .btn > span:not(.badge):not(.spinner-border):not(.spinner-grow),
.vendor-v2-modal-root .btn > span:not(.badge):not(.spinner-border):not(.spinner-grow),
.vendor-tnc-overlay--v2 .btn > span:not(.badge):not(.spinner-border):not(.spinner-grow) {
    align-items: center;
    display: inline-flex;
    line-height: 1.2;
}

.vendor-v2-shell .btn.btn-sm,
.vendor-v2-modal-root .btn.btn-sm {
    height: var(--vendor-control-height-compact);
    min-height: var(--vendor-control-height-compact);
    padding-inline: 12px;
}

.vendor-v2-shell .btn-primary,
.vendor-v2-modal-root .btn-primary,
.vendor-tnc-overlay--v2 .btn-primary {
    background: var(--vendor-brand);
    border-color: var(--vendor-brand);
    color: #fff;
}

.vendor-v2-shell .btn-primary:hover,
.vendor-v2-modal-root .btn-primary:hover,
.vendor-tnc-overlay--v2 .btn-primary:hover {
    background: var(--vendor-brand-hover);
    border-color: var(--vendor-brand-hover);
    color: #fff;
}

.vendor-v2-shell :is(.btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-outline-info, .btn-white),
.vendor-v2-modal-root :is(.btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-outline-info, .btn-white),
.vendor-tnc-overlay--v2 :is(.btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-outline-info, .btn-white) {
    background: var(--vendor-surface);
    border: 1px solid #d8cdd0;
    color: #665e60 !important;
}

.vendor-v2-shell :is(.btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-outline-info, .btn-white):hover,
.vendor-v2-modal-root :is(.btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-outline-info, .btn-white):hover,
.vendor-tnc-overlay--v2 :is(.btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-outline-info, .btn-white):hover {
    background: #fff7f8;
    border-color: var(--vendor-brand);
    color: var(--vendor-brand) !important;
}

.vendor-v2-shell .btn-link,
.vendor-v2-modal-root .btn-link,
.vendor-tnc-overlay--v2 .btn-link {
    background: transparent;
    border: 1px solid transparent;
    color: #665e60 !important;
    padding-inline: 8px;
}

.vendor-v2-shell .btn-link:hover,
.vendor-v2-modal-root .btn-link:hover,
.vendor-tnc-overlay--v2 .btn-link:hover {
    background: #fff7f8;
    color: var(--vendor-brand) !important;
    text-decoration: none;
}

.vendor-v2-shell .btn-success,
.vendor-v2-modal-root .btn-success {
    background: var(--vendor-success);
    border-color: var(--vendor-success);
    color: #fff;
}

.vendor-v2-shell .btn-success:hover,
.vendor-v2-modal-root .btn-success:hover {
    background: #33704f;
    border-color: #33704f;
    color: #fff;
}

.vendor-v2-shell .btn-outline-success,
.vendor-v2-modal-root .btn-outline-success {
    background: var(--vendor-surface);
    border: 1px solid var(--vendor-success);
    color: var(--vendor-success);
}

.vendor-v2-shell .btn-outline-success:hover,
.vendor-v2-modal-root .btn-outline-success:hover {
    background: var(--vendor-success);
    border-color: var(--vendor-success);
    color: #fff;
}

.vendor-v2-shell :is(.btn-danger, .btn-outline-danger),
.vendor-v2-modal-root :is(.btn-danger, .btn-outline-danger) {
    background: var(--vendor-surface);
    border: 1px solid var(--vendor-danger);
    color: var(--vendor-danger);
}

.vendor-v2-shell :is(.btn-danger, .btn-outline-danger):hover,
.vendor-v2-modal-root :is(.btn-danger, .btn-outline-danger):hover {
    background: var(--vendor-danger);
    border-color: var(--vendor-danger);
    color: #fff;
}

.vendor-v2-shell .btn:focus-visible,
.vendor-v2-modal-root .btn:focus-visible,
.vendor-tnc-overlay--v2 .btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(189, 31, 55, .2) !important;
    outline: 2px solid var(--vendor-brand);
    outline-offset: 1px;
}

.vendor-v2-shell .btn:disabled,
.vendor-v2-shell .btn.disabled,
.vendor-v2-modal-root .btn:disabled,
.vendor-v2-modal-root .btn.disabled,
.vendor-tnc-overlay--v2 .btn:disabled,
.vendor-tnc-overlay--v2 .btn.disabled {
    cursor: not-allowed;
    opacity: .5;
    pointer-events: none;
}

.vendor-v2-form-actions,
.vendor-tnc-actions {
    align-items: center;
    border-top: 1px solid #f1e9eb;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 20px;
    min-height: var(--vendor-control-height);
    padding-top: 18px;
}

.vendor-v2-form-actions .btn,
.vendor-tnc-actions .btn { min-width: 132px; }

.vendor-v2-shell .modal-footer,
.vendor-v2-modal-root .modal-footer {
    align-items: center;
    border-color: var(--vendor-border);
    gap: 12px;
    justify-content: flex-end;
}

.vendor-v2-shell .modal-footer > *,
.vendor-v2-modal-root .modal-footer > * { margin: 0; }

/* Authenticated header */
.vendor-v2-header {
    align-items: center;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--vendor-border);
    box-shadow: 0 4px 18px rgba(79, 40, 47, .06);
    display: grid;
    gap: 20px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: var(--vendor-header-height);
    padding: 10px 22px;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.vendor-v2-brand {
    align-items: center;
    color: var(--vendor-text);
    display: inline-flex;
    gap: 12px;
    min-width: max-content;
    text-decoration: none;
}

.vendor-v2-brand:hover {
    color: var(--vendor-text);
    text-decoration: none;
}

.vendor-v2-brand__logo {
    display: block;
    height: 46px;
    max-width: 180px;
    object-fit: contain;
    width: auto;
}

.vendor-v2-brand__portal {
    border-left: 1px solid var(--vendor-border);
    color: var(--vendor-text-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    padding-left: 12px;
    text-transform: uppercase;
}

.vendor-v2-nav { min-width: 0; }

.vendor-v2-nav__list {
    align-items: center;
    display: flex;
    gap: 4px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vendor-v2-nav__link,
.vendor-v2-nav__summary {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: var(--vendor-radius-control);
    color: #675f61;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 7px;
    line-height: 1.2;
    min-height: 40px;
    padding: 0 12px;
    text-decoration: none;
    transition: background-color var(--vendor-motion-fast) ease, color var(--vendor-motion-fast) ease;
    white-space: nowrap;
}

.vendor-v2-nav__link:hover,
.vendor-v2-nav__summary:hover {
    background: var(--vendor-brand-soft);
    color: var(--vendor-brand);
    text-decoration: none;
}

.vendor-v2-nav__link.active {
    background: var(--vendor-brand);
    box-shadow: 0 6px 16px rgba(189, 31, 55, .2);
    color: #fff;
}

.vendor-v2-nav__icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 18px;
    height: 18px;
    justify-content: center;
    transform: translateY(-1px);
    width: 18px;
}

.vendor-v2-nav__icon .icon {
    height: 18px;
    margin: 0;
    width: 18px;
}

.vendor-v2-nav__group { position: relative; }

.vendor-v2-nav__summary { list-style: none; }
.vendor-v2-nav__summary::-webkit-details-marker { display: none; }
.vendor-v2-nav__summary::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    margin-left: 2px;
}

.vendor-v2-nav__menu {
    background: var(--vendor-surface);
    border: 1px solid var(--vendor-border);
    border-radius: 9px;
    box-shadow: var(--vendor-shadow-menu);
    display: grid;
    gap: 4px;
    left: 50%;
    min-width: 210px;
    padding: 7px;
    position: absolute;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    z-index: 1050;
}

.vendor-v2-nav__menu .vendor-v2-nav__link {
    justify-content: flex-start;
    width: 100%;
}

.vendor-v2-header__actions {
    display: flex;
    justify-content: flex-end;
}

.vendor-v2-account { position: relative; }

.vendor-v2-account__button {
    align-items: center;
    background: var(--vendor-surface);
    border: 1px solid var(--vendor-border);
    border-radius: 999px;
    color: var(--vendor-text);
    cursor: pointer;
    display: flex;
    gap: 8px;
    height: 42px;
    list-style: none;
    max-width: 210px;
    padding: 4px 10px 4px 4px;
}

.vendor-v2-account__button::-webkit-details-marker { display: none; }

.vendor-v2-account__avatar {
    align-items: center;
    background: var(--vendor-brand);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.vendor-v2-account__avatar .icon { height: 18px; width: 18px; }
.vendor-v2-account__name {
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vendor-v2-account__chevron { color: var(--vendor-text-secondary); height: 16px; width: 16px; }

.vendor-v2-account__menu {
    background: var(--vendor-surface);
    border: 1px solid var(--vendor-border);
    border-radius: 10px;
    box-shadow: var(--vendor-shadow-menu);
    display: grid;
    gap: 4px;
    min-width: 220px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1050;
}

.vendor-v2-account__email {
    border-bottom: 1px solid var(--vendor-border);
    color: var(--vendor-text-secondary);
    font-size: 13px;
    overflow: hidden;
    padding: 8px 10px 10px;
    text-overflow: ellipsis;
}

.vendor-v2-account__action {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: var(--vendor-danger);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 9px;
    min-height: 40px;
    padding: 8px 10px;
    text-align: left;
}

.vendor-v2-account__action:hover { background: #fff3f4; }
.vendor-v2-nav-toggle {
    align-items: center;
    background: var(--vendor-brand-soft);
    border: 1px solid #f1dfe3;
    border-radius: var(--vendor-radius-control);
    color: var(--vendor-brand);
    cursor: pointer;
    display: none;
    height: 40px;
    justify-content: center;
    padding: 0;
    width: 40px;
}

/* Dashboard */
.vendor-v2-dashboard { display: grid; gap: 22px; }

.vendor-v2-hero {
    align-items: center;
    background: linear-gradient(105deg, #fff4f6 0%, #fff 62%);
    border: 1px solid #f1dfe3;
    border-radius: var(--vendor-radius-hero);
    display: flex;
    isolation: isolate;
    justify-content: space-between;
    min-height: 128px;
    overflow: hidden;
    padding: 24px 28px;
    position: relative;
}

.vendor-v2-hero::after {
    border: 28px solid var(--vendor-decoration-ring);
    border-radius: 50%;
    content: "";
    height: 160px;
    pointer-events: none;
    position: absolute;
    right: -30px;
    top: -58px;
    width: 160px;
}

.vendor-v2-hero > * { position: relative; z-index: 1; }
.vendor-v2-hero__eyebrow,
.vendor-v2-section-heading__eyebrow {
    color: var(--vendor-brand);
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.vendor-v2-hero h1 {
    color: var(--vendor-text);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.3px;
    line-height: 1.2;
    margin: 0;
}

.vendor-v2-hero p {
    color: var(--vendor-text-secondary);
    font-size: 16px;
    font-weight: 500;
    margin: 8px 0 0;
}

.vendor-v2-hero__date {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    padding-right: 80px;
}

.vendor-v2-hero__date span { color: var(--vendor-text-secondary); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.vendor-v2-hero__date strong { color: var(--vendor-text); font-size: 18px; margin-top: 3px; }

.vendor-v2-section-heading,
.vendor-v2-table-card__header {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
}

.vendor-v2-section-heading { margin-bottom: 12px; padding: 0 2px; }
.vendor-v2-section-heading h2,
.vendor-v2-table-card__header h2 {
    color: var(--vendor-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.vendor-v2-section-heading__meta { color: var(--vendor-text-secondary); font-size: 14px; }

.vendor-v2-kpi-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vendor-v2-kpi {
    background: var(--vendor-surface);
    border: 1px solid var(--vendor-border);
    border-radius: var(--vendor-radius-card);
    box-shadow: var(--vendor-shadow-card);
    display: grid;
    min-height: 130px;
    overflow: hidden;
    padding: 18px 20px;
    position: relative;
}

.vendor-v2-kpi::before {
    background: currentColor;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.vendor-v2-kpi--brand { color: var(--vendor-brand); }
.vendor-v2-kpi--pending { color: var(--vendor-warning); }
.vendor-v2-kpi--progress { color: var(--vendor-info); }
.vendor-v2-kpi--complete { color: var(--vendor-success); }
.vendor-v2-kpi--cancelled { color: var(--vendor-danger); }
.vendor-v2-kpi__label { font-size: 14px; font-weight: 700; }
.vendor-v2-kpi strong { color: var(--vendor-text); font-size: 34px; line-height: 1; margin: 8px 0; }
.vendor-v2-kpi__meta { color: var(--vendor-text-secondary); font-size: 13px; }

.vendor-v2-dashboard__calendar,
.vendor-v2-table-card {
    background: var(--vendor-surface);
    border: 1px solid var(--vendor-border);
    border-radius: var(--vendor-radius-card);
    box-shadow: var(--vendor-shadow-card);
    min-width: 0;
}

.vendor-v2-dashboard__calendar { overflow: hidden; padding: 18px; }
.vendor-v2-table-card { overflow: hidden; }
.vendor-v2-table-card__header { min-height: 78px; padding: 14px 20px; }
.vendor-v2-record-count {
    background: #f1eeeb;
    border-radius: 999px;
    color: var(--vendor-text-secondary);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 11px;
}

.vendor-v2-table-scroll { overflow-x: auto; }
.vendor-v2-table-card table { margin: 0; width: 100%; }
.vendor-v2-table-card thead { background: #faf8f7; }
.vendor-v2-table-card thead th {
    border-bottom: 1px solid var(--vendor-border);
    color: var(--vendor-text-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 12px 20px;
    text-transform: uppercase;
}
.vendor-v2-table-card tbody td { border-bottom: 1px solid #f1e9eb; color: var(--vendor-text); padding: 15px 20px; }
.vendor-v2-table-card tbody tr:hover { background: #fffafb; }
.vendor-v2-status { background: var(--vendor-brand-soft); border-radius: 999px; color: var(--vendor-brand); display: inline-flex; font-size: 13px; font-weight: 700; padding: 5px 10px; }
.vendor-v2-empty { color: var(--vendor-text-secondary) !important; padding: 34px !important; text-align: center; }

/* Login */
.vendor-v2-auth {
    background: var(--vendor-background);
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 100vh;
}

.vendor-v2-auth__visual {
    background: url("../img/img_login_banner.jpg") center/cover no-repeat;
    min-height: 100vh;
}

.vendor-v2-auth__panel {
    align-items: center;
    background: #fcf9f9;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow: auto;
    padding: 50px;
    position: relative;
}

.vendor-v2-auth__card {
    max-width: 530px;
    width: 67%;
}

.vendor-v2-auth__logo {
    display: block;
    height: auto;
    margin: -20px auto 55px;
    object-fit: contain;
    width: 160px;
}

.vendor-v2-auth__title {
    color: #ac1e2d;
    font-family: "Open Sans", var(--vendor-font);
    font-size: 55px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 80px;
    text-align: center;
}

.vendor-v2-auth__form { display: grid; gap: 44px; }

.vendor-v2-auth__field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.vendor-v2-auth__field label {
    color: #8e8e8e;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .15px;
    margin-bottom: 5px;
}

.vendor-v2-auth__field input {
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgba(102, 97, 91, .3);
    border-radius: 0;
    color: var(--vendor-text);
    font: 600 15px/1.5 Arial, sans-serif;
    height: 34px;
    letter-spacing: .5px;
    outline: none;
    padding: 0 0 8px;
    width: 100%;
}

.vendor-v2-auth__field input:focus {
    border-bottom-color: #000;
    box-shadow: none;
}

.vendor-v2-auth__field--password input {
    padding-right: 112px;
}

.vendor-v2-auth__submit {
    align-items: center;
    background: transparent;
    border: 0;
    bottom: 3px;
    color: #6c6c6c;
    cursor: pointer;
    display: inline-flex;
    font: 800 17px/1 var(--vendor-font);
    gap: 10px;
    letter-spacing: 1.5px;
    padding: 0;
    position: absolute;
    right: 0;
}

.vendor-v2-auth__submit img { display: block; height: 25px; width: 25px; }
.vendor-v2-auth__submit:hover { color: #000; }
.vendor-v2-auth__submit:disabled { cursor: wait; opacity: .65; }

.vendor-v2-auth__forgot {
    color: #006de5;
    display: inline-block;
    font: 16px/1.4 Arial, sans-serif;
    margin-top: 45px;
}

.vendor-v2-auth__footer {
    bottom: 15px;
    color: #5d5859;
    font: 14px/1.4 Arial, sans-serif;
    left: 50%;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    width: calc(100% - 40px);
}

.vendor-v2-auth__loading,
.vendor-v2-auth__alert { align-items: center; border-radius: 8px; display: flex; font-size: 14px; gap: 9px; margin-bottom: 16px; padding: 11px 13px; }
.vendor-v2-auth__loading { background: #f7f1f2; color: var(--vendor-brand); }
.vendor-v2-auth__alert {
    align-items: start;
    background: #fff1f2;
    border: 1px solid #f5c7ce;
    color: var(--vendor-danger);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    padding: 12px 10px 12px 13px;
}
.vendor-v2-auth__alert-text {
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 5px 0;
}
.vendor-v2-auth__alert-close {
    align-items: center;
    align-self: start;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 32px;
}
.vendor-v2-auth__alert-close:hover { background: rgba(172, 30, 45, .08); }
.vendor-v2-auth__alert-close:focus-visible { box-shadow: 0 0 0 3px rgba(172, 30, 45, .18); outline: 2px solid var(--vendor-brand); outline-offset: 1px; }

/* Standard Vendor dialogs and manually rendered modals */
.vendor-v2-modal-root #tabblazor-modal-container .modal-content,
.vendor-v2-shell .vendor-standard-modal .modal-content {
    border: 1px solid var(--vendor-border) !important;
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(35, 25, 27, .2);
    overflow: hidden;
}
.vendor-v2-modal-root #tabblazor-modal-container .modal-header,
.vendor-v2-shell .vendor-standard-modal .modal-header {
    min-height: 56px;
    padding: 0 56px 0 20px;
    position: relative;
}
.vendor-v2-modal-root #tabblazor-modal-container .modal-content > .btn-close,
.vendor-v2-modal-root #tabblazor-modal-container .modal-body > .btn-close,
.vendor-v2-modal-root #tabblazor-modal-container .modal-header .btn-close,
.vendor-v2-shell .vendor-standard-modal .modal-header .btn-close {
    align-items: center;
    border: 0;
    border-radius: 7px;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 40px;
    z-index: 10;
}
.vendor-v2-modal-root #tabblazor-modal-container .modal-content > .btn-close:hover,
.vendor-v2-modal-root #tabblazor-modal-container .modal-body > .btn-close:hover,
.vendor-v2-modal-root #tabblazor-modal-container .modal-header .btn-close:hover,
.vendor-v2-shell .vendor-standard-modal .modal-header .btn-close:hover { background-color: #f3eeef; opacity: 1; }
.vendor-v2-modal-root #tabblazor-modal-container .modal-content > .btn-close:focus-visible,
.vendor-v2-modal-root #tabblazor-modal-container .modal-body > .btn-close:focus-visible,
.vendor-v2-modal-root #tabblazor-modal-container .modal-header .btn-close:focus-visible,
.vendor-v2-shell .vendor-standard-modal .modal-header .btn-close:focus-visible { box-shadow: 0 0 0 3px rgba(172, 30, 45, .18); outline: 2px solid var(--vendor-brand); outline-offset: 1px; }
.vendor-v2-modal-root #tabblazor-modal-container .modal-body { overflow-wrap: anywhere; }
.vendor-v2-modal-root #tabblazor-modal-container .tabblazor-dialog__content { padding: 8px 24px 0; }

@media (max-width: 575px) {
    .vendor-v2-modal-root #tabblazor-modal-container .modal-dialog,
    .vendor-v2-shell .vendor-standard-modal .modal-dialog { margin: 12px; }
    .vendor-v2-modal-root #tabblazor-modal-container .modal-body,
    .vendor-v2-shell .vendor-standard-modal .modal-body { padding: 20px 16px; }
}

@media (max-width: 1199px) {
    .vendor-v2-header { gap: 12px; grid-template-columns: auto auto 1fr; }
    .vendor-v2-nav-toggle { display: inline-flex; }
    .vendor-v2-nav {
        background: var(--vendor-surface);
        border: 1px solid var(--vendor-border);
        border-radius: 10px;
        box-shadow: var(--vendor-shadow-menu);
        display: none;
        left: 20px;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 8px;
        position: absolute;
        right: 20px;
        top: calc(100% + 8px);
    }
    .vendor-v2-nav.is-open { display: block; }
    .vendor-v2-nav__list { align-items: stretch; display: grid; justify-content: stretch; }
    .vendor-v2-nav__link,
    .vendor-v2-nav__summary { justify-content: flex-start; width: 100%; }
    .vendor-v2-nav__menu { box-shadow: none; margin: 4px 0 4px 26px; position: static; transform: none; }
    .vendor-v2-header__actions { margin-left: auto; }
    .vendor-v2-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .vendor-v2-auth { grid-template-columns: 1fr; }
    .vendor-v2-auth__visual { min-height: 40vh; }
    .vendor-v2-auth__panel { min-height: 60vh; padding: 70px 28px 100px; }
    .vendor-v2-auth__card { max-width: 520px; width: 100%; }
    .vendor-v2-auth__logo { margin-top: 0; }
}

@media (max-width: 767px) {
    .vendor-v2-header { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 66px; padding: 8px 12px; }
    .vendor-v2-brand__logo { height: 40px; max-width: 145px; }
    .vendor-v2-brand__portal { display: none; }
    .vendor-v2-account__name,
    .vendor-v2-account__chevron { display: none; }
    .vendor-v2-account__button { padding-right: 4px; }
    .vendor-v2-nav { left: 12px; right: 12px; }
    .vendor-v2-form-actions,
    .vendor-tnc-actions { align-items: stretch; }
    .vendor-v2-form-actions .btn,
    .vendor-tnc-actions .btn { width: 100%; }
    .vendor-v2-container { padding: 16px 12px 30px; }
    .vendor-v2-hero { align-items: flex-start; display: grid; padding: 20px; }
    .vendor-v2-hero h1 { font-size: 28px; }
    .vendor-v2-hero__date { align-items: flex-start; margin-top: 18px; padding: 0; }
    .vendor-v2-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vendor-v2-section-heading__meta { display: none; }
    .vendor-v2-dashboard__calendar { padding: 10px; }
    .vendor-v2-table-card thead { display: none; }
    .vendor-v2-table-card table,
    .vendor-v2-table-card tbody,
    .vendor-v2-table-card tr,
    .vendor-v2-table-card td { display: block; width: 100%; }
    .vendor-v2-table-card tbody tr { border-bottom: 1px solid var(--vendor-border); padding: 10px 0; }
    .vendor-v2-table-card tbody td { align-items: baseline; border: 0; display: flex; gap: 14px; justify-content: space-between; padding: 7px 16px; text-align: right; }
    .vendor-v2-table-card tbody td::before { color: var(--vendor-text-secondary); content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
    .vendor-v2-table-card tbody td.vendor-v2-empty { display: block; text-align: center; }
    .vendor-v2-table-card tbody td.vendor-v2-empty::before { display: none; }
    .vendor-v2-auth__visual { min-height: 32vh; }
    .vendor-v2-auth__panel { min-height: 68vh; padding: 56px 22px 96px; }
    .vendor-v2-auth__logo { margin-bottom: 36px; width: 140px; }
    .vendor-v2-auth__title { font-size: 42px; margin-bottom: 60px; }
    .vendor-v2-auth__footer { font-size: 12px; }
}

@media (max-width: 430px) {
    .vendor-v2-kpi-grid { grid-template-columns: 1fr; }
    .vendor-v2-table-card__header { align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .vendor-v2-shell *,
    .vendor-v2-auth * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
