/*
 * Modern flat visual layer for the existing Serviswa interface.
 * This file intentionally changes presentation only. Existing markup,
 * Bootstrap behavior, JavaScript hooks and backend flows remain untouched.
 */

:root {
    --ui-primary: #1d4ed8;
    --ui-primary-hover: #1e40af;
    --ui-primary-soft: #eff6ff;
    --ui-canvas: #f4f7fb;
    --ui-surface: #ffffff;
    --ui-surface-muted: #f8fafc;
    --ui-text: #172033;
    --ui-muted: #667085;
    --ui-border: #e4e7ec;
    --ui-border-strong: #d0d5dd;
    --ui-success: #15803d;
    --ui-danger: #b91c1c;
    --ui-radius-sm: 8px;
    --ui-radius-md: 12px;
    --ui-radius-lg: 16px;
    --ui-shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 22px rgba(16, 24, 40, .05);
    --ui-shadow-float: 0 16px 40px rgba(16, 24, 40, .14);
}

/* Customer account center */

.main-page .customer-account-page {
    --customer-brand: #1428a0;
    --customer-brand-dark: #0d1f7a;
    --customer-brand-soft: #eef2ff;
    padding: 28px 0 52px;
}

.main-page > .content-div.customer-account-page > .container {
    width: calc(100% - 32px);
    max-width: 1380px;
}

.main-page .customer-account-shell {
    float: none;
}

.main-page .customer-account-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 170px;
    margin-bottom: 18px;
    padding: 30px 34px;
    overflow: hidden;
    background: linear-gradient(120deg, #fff 0%, #f8faff 58%, #edf2ff 100%);
    border: 1px solid #dfe5f0;
    border-radius: 20px;
    box-shadow: var(--ui-shadow-card);
}

.main-page .customer-account-hero:before,
.main-page .customer-account-hero:after {
    position: absolute;
    z-index: -1;
    content: '';
    border: 1px solid rgba(20, 40, 160, .09);
    border-radius: 50%;
}

.main-page .customer-account-hero:before {
    top: -126px;
    right: 132px;
    width: 250px;
    height: 250px;
}

.main-page .customer-account-hero:after {
    right: -80px;
    bottom: -176px;
    width: 330px;
    height: 330px;
}

.main-page .customer-account-hero-copy {
    max-width: 700px;
}

.main-page .customer-account-hero h1 {
    margin: 10px 0 8px;
    color: #111b34;
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.7px;
}

.main-page .customer-account-hero p {
    max-width: 650px;
    margin: 0;
    color: var(--ui-muted);
    font-size: 15px;
    line-height: 1.65;
}

.main-page .customer-account-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(100%, 350px);
    padding: 17px 19px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(20, 40, 160, .12);
    border-radius: 15px;
    box-shadow: 0 12px 28px rgba(20, 40, 160, .08);
    backdrop-filter: blur(8px);
}

.main-page .customer-account-avatar {
    display: inline-flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 20px;
    background: var(--customer-brand);
    border-radius: 14px;
}

.main-page .customer-account-identity > div {
    min-width: 0;
}

.main-page .customer-account-identity small,
.main-page .customer-account-identity strong,
.main-page .customer-account-identity div > span {
    display: block;
}

.main-page .customer-account-identity small {
    margin-bottom: 2px;
    color: var(--ui-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .55px;
    text-transform: uppercase;
}

.main-page .customer-account-identity strong {
    overflow: hidden;
    color: var(--ui-text);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-page .customer-account-identity div > span {
    overflow: hidden;
    margin-top: 2px;
    color: var(--ui-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-page .profile-div .customer-account-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin: 0 0 16px;
    padding: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ui-border);
    border-radius: 15px;
    box-shadow: var(--ui-shadow-card);
}

.main-page .profile-div .customer-account-tabs > li {
    width: auto;
    min-width: 0;
}

.main-page .profile-div .customer-account-tabs > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    border: 0;
    border-radius: 10px;
}

.main-page .profile-div .customer-account-tabs > li > a i {
    margin: 0;
    color: #8490a5;
}

.main-page .profile-div .customer-account-tabs > li > a:hover,
.main-page .profile-div .customer-account-tabs > li > a:focus {
    color: var(--customer-brand);
    background: #f7f8ff;
}

.main-page .profile-div .customer-account-tabs > li.active > a,
.main-page .profile-div .customer-account-tabs > li.active > a:focus,
.main-page .profile-div .customer-account-tabs > li.active > a:hover {
    color: var(--customer-brand);
    background: var(--customer-brand-soft);
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(20, 40, 160, .08);
}

.main-page .profile-div .customer-account-tabs > li.active > a i {
    color: var(--customer-brand);
}

.main-page .profile-div .customer-account-content > .tab-pane {
    padding: 28px;
    border-radius: 18px;
}

.main-page .profile-div .customer-account-content > .customer-account-settings-pane {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.main-page .customer-account-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

.main-page .customer-account-settings-grid > .customer-account-section-card {
    float: none;
    width: auto;
    min-width: 0;
    padding: 27px;
    background: #fff;
    border: 1px solid var(--ui-border);
    border-radius: 18px;
    box-shadow: var(--ui-shadow-card);
}

.main-page .customer-account-section-header,
.main-page .customer-tab-heading-copy {
    display: flex;
    align-items: center;
    gap: 13px;
}

.main-page .customer-account-section-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef0f4;
}

.main-page .customer-account-section-header > span,
.main-page .customer-tab-heading-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--customer-brand);
    font-size: 17px;
    background: var(--customer-brand-soft);
    border-radius: 12px;
}

.main-page .customer-account-section-header h2,
.main-page .customer-tab-heading h2 {
    margin: 0;
    color: var(--ui-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.main-page .customer-account-section-header p,
.main-page .customer-tab-heading p {
    margin: 3px 0 0;
    color: var(--ui-muted);
    font-size: 12px;
    line-height: 1.5;
}

.main-page .customer-account-section-card form {
    display: flex;
    min-height: 284px;
    flex-direction: column;
}

.main-page .customer-account-section-card .form-control {
    min-height: 48px;
}

.main-page .customer-account-section-card .input-group-addon {
    min-width: 46px;
    border-right: 0;
    border-radius: 10px 0 0 10px;
}

.main-page .customer-account-section-card .input-group .form-control {
    border-left: 0;
    border-radius: 0 10px 10px 0;
}

.main-page .customer-account-section-card .btn-accept,
.main-page .customer-account-page .customer-heading-action,
.main-page .customer-account-page .customer-danger-button {
    display: inline-flex;
    float: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 180px;
    min-height: 44px;
    margin: auto 0 0 auto;
}

.main-page .customer-tab-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f4;
}

.main-page .customer-account-page .customer-heading-action {
    flex: 0 0 auto;
    margin: 0;
    color: #fff;
    background: var(--customer-brand);
    border-color: var(--customer-brand);
}

.main-page .customer-account-page .customer-heading-action:hover,
.main-page .customer-account-page .customer-heading-action:focus {
    color: #fff;
    background: var(--customer-brand-dark);
    border-color: var(--customer-brand-dark);
}

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

.main-page .customer-address-card {
    display: flex;
    min-width: 0;
    min-height: 218px;
    padding: 20px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ui-border);
    border-radius: 15px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}

.main-page .customer-address-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
    transform: translateY(-1px);
}

.main-page .customer-address-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-page .customer-address-card-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--customer-brand);
    font-size: 17px;
    background: var(--customer-brand-soft);
    border-radius: 11px;
}

.main-page .customer-address-card-head > div {
    min-width: 0;
}

.main-page .customer-address-card-head small {
    display: block;
    margin-bottom: 1px;
    color: var(--ui-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.main-page .customer-address-card h3 {
    margin: 0;
    overflow: hidden;
    color: var(--ui-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-page .customer-address-type {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 5px 9px;
    color: #334155;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    background: #f1f5f9;
    border-radius: 999px;
}

.main-page .customer-address-description {
    margin: 18px 0;
    color: #58667a;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.main-page .customer-address-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef0f4;
}

.main-page .customer-address-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.main-page .customer-address-actions .customer-address-delete {
    margin-left: auto;
    color: #b42318;
    background: #fff7f6;
    border-color: #fecdca;
}

.main-page .customer-address-actions .customer-address-delete:hover,
.main-page .customer-address-actions .customer-address-delete:focus {
    color: #912018;
    background: #fee4e2;
    border-color: #fda29b;
}

.main-page .customer-device-list > .inner {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ui-border);
    border-radius: 14px;
    box-shadow: none;
}

.main-page .customer-device-list .data-table-container {
    padding: 0;
}

.main-page .customer-device-table {
    margin: 0;
    table-layout: fixed;
}

.main-page .customer-device-table > thead > tr > th {
    padding: 13px 16px;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .28px;
    background: #f8fafc;
    border: 0;
    border-bottom: 1px solid var(--ui-border);
    text-transform: uppercase;
}

.main-page .customer-device-table > thead > tr > th:nth-child(1) {
    width: 25%;
}

.main-page .customer-device-table > thead > tr > th:nth-child(2) {
    width: 28%;
}

.main-page .customer-device-table > thead > tr > th:nth-child(3) {
    width: 18%;
}

.main-page .customer-device-table > thead > tr > th:nth-child(4) {
    width: 29%;
    text-align: right;
}

.main-page .customer-device-table > tbody > tr > td {
    padding: 17px 16px;
    color: #475467;
    vertical-align: middle;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf0f4;
}

.main-page .customer-device-table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.main-page .customer-application-number {
    color: var(--ui-text);
    font-size: 13px;
    letter-spacing: .2px;
}

.main-page .customer-application-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #667085;
    font-size: 12px;
}

.main-page .customer-application-date i {
    color: #98a2b3;
}

.main-page .customer-device-actions {
    white-space: normal;
}

.main-page .customer-device-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 2px 0 2px 5px;
}

.main-page .customer-device-actions .customer-cargo-button {
    color: #344054;
    background: #fff;
    border-color: var(--ui-border-strong);
}

.main-page .customer-empty-state {
    padding: 42px 20px !important;
    color: var(--ui-muted);
}

.main-page .customer-empty-state > i,
.main-page .customer-empty-state > strong,
.main-page .customer-empty-state > span {
    display: block;
}

.main-page .customer-empty-state > i {
    margin-bottom: 12px;
    color: #98a2b3;
    font-size: 26px;
}

.main-page .customer-empty-state > strong {
    margin-bottom: 4px;
    color: var(--ui-text);
    font-size: 15px;
}

.main-page .customer-empty-state > span {
    font-size: 12px;
}

.main-page .customer-empty-state-card {
    grid-column: 1 / -1;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}

.main-page .profile-div .customer-account-content > .customer-cancel-pane {
    padding: 0;
    overflow: hidden;
    border-color: #fecaca;
}

.main-page .customer-cancel-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    margin: 0;
}

.main-page .customer-cancel-visual,
.main-page .customer-cancel-content {
    float: none;
    width: auto;
}

.main-page .customer-cancel-visual {
    display: flex;
    min-height: 380px;
    padding: 32px 26px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(155deg, #fff1f2 0%, #fff7f7 100%);
    border-right: 1px solid #fee2e2;
}

.main-page .customer-cancel-visual > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    color: #b42318;
    font-size: 28px;
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(180, 35, 24, .08);
}

.main-page .customer-cancel-visual strong,
.main-page .customer-cancel-visual small {
    display: block;
}

.main-page .customer-cancel-visual strong {
    color: #7f1d1d;
    font-size: 17px;
}

.main-page .customer-cancel-visual small {
    max-width: 180px;
    margin-top: 7px;
    color: #9f4a45;
    font-size: 12px;
    line-height: 1.55;
}

.main-page .customer-cancel-content {
    margin: 0;
    padding: 36px 38px;
}

.main-page .customer-danger-kicker {
    display: inline-flex;
    margin-bottom: 13px;
    padding: 6px 10px;
    color: #b42318;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .45px;
    background: #fff1f0;
    border-radius: 999px;
    text-transform: uppercase;
}

.main-page .customer-cancel-content h2 {
    margin: 0 0 10px;
    color: var(--ui-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.main-page .customer-cancel-content > p {
    max-width: 760px;
    margin: 0 0 20px;
    color: var(--ui-muted);
    font-size: 14px;
    line-height: 1.65;
}

.main-page .customer-cancel-effects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.main-page .customer-cancel-effects li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 56px;
    padding: 12px 13px;
    color: #7f1d1d;
    font-size: 12px;
    line-height: 1.45;
    background: #fff8f7;
    border: 1px solid #fee2e2;
    border-radius: 10px;
}

.main-page .customer-cancel-effects li i {
    margin-top: 2px;
    color: #d92d20;
}

.main-page .customer-cancel-confirmation {
    margin: 0 0 22px;
    padding: 15px 16px;
    background: #f8fafc;
    border: 1px solid var(--ui-border);
    border-radius: 11px;
}

.main-page .profile-div .cancelAccount .customer-cancel-confirmation label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #344054;
    font-size: 13px;
    line-height: 1.5;
}

.main-page .profile-div .cancelAccount .customer-cancel-confirmation .cr {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
}

.main-page .customer-account-page .customer-danger-button,
.main-page .profile-div .customer-account-page .customer-danger-button {
    min-width: 210px;
    margin: 0;
    color: #fff;
    background: #b42318;
    border-color: #b42318;
}

.main-page .customer-account-page .customer-danger-button:hover,
.main-page .customer-account-page .customer-danger-button:focus {
    color: #fff;
    background: #912018;
    border-color: #912018;
}

.new-address-modal .modal-footer {
    display: none;
}

@media (max-width: 991px) {
    .main-page .customer-account-hero {
        align-items: flex-start;
        min-height: 0;
        flex-direction: column;
    }

    .main-page .customer-account-identity {
        width: 100%;
    }

    .main-page .customer-account-settings-grid,
    .main-page .customer-address-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-page .customer-cancel-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .main-page .customer-cancel-effects {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .main-page .customer-account-page {
        padding: 18px 0 34px;
    }

    .main-page > .content-div.customer-account-page > .container {
        width: 100%;
    }

    .main-page .customer-account-hero {
        gap: 22px;
        margin-bottom: 13px;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .main-page .customer-account-hero h1 {
        margin-top: 8px;
        font-size: 26px;
    }

    .main-page .profile-div .customer-account-tabs {
        display: flex;
        width: 100%;
        padding: 5px;
        overflow-x: auto;
        border-radius: 13px;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .main-page .profile-div .customer-account-tabs > li {
        flex: 0 0 auto;
    }

    .main-page .profile-div .customer-account-tabs > li > a {
        min-height: 42px;
        padding: 9px 12px;
    }

    .main-page .profile-div .customer-account-tabs > li > a span {
        display: inline !important;
    }

    .main-page .profile-div .customer-account-content > .tab-pane {
        padding: 19px;
        border-radius: 15px;
    }

    .main-page .profile-div .customer-account-content > .customer-account-settings-pane {
        padding: 0;
    }

    .main-page .customer-account-settings-grid > .customer-account-section-card {
        padding: 21px 18px;
        border-radius: 15px;
    }

    .main-page .customer-account-section-card form {
        min-height: 0;
    }

    .main-page .customer-account-section-card .btn-accept {
        width: 100%;
        margin-top: 6px;
    }

    .main-page .customer-tab-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .main-page .customer-account-page .customer-heading-action {
        width: 100%;
    }

    .main-page .customer-address-card {
        min-height: 0;
        padding: 17px;
    }

    .main-page .customer-address-actions .btn {
        flex: 1 1 0;
    }

    .main-page .customer-device-list > .inner {
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .main-page .customer-device-table,
    .main-page .customer-device-table > tbody,
    .main-page .customer-device-table > tbody > tr,
    .main-page .customer-device-table > tbody > tr > td {
        display: block;
        width: 100%;
    }

    .main-page .customer-device-table > thead {
        display: none;
    }

    .main-page .customer-device-table > tbody > tr {
        margin-bottom: 12px;
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--ui-border);
        border-radius: 13px;
        box-shadow: 0 4px 14px rgba(16, 24, 40, .04);
    }

    .main-page .customer-device-table > tbody > tr > td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 14px;
        text-align: right;
        border-bottom: 1px solid #edf0f4;
    }

    .main-page .customer-device-table > tbody > tr > td:before {
        flex: 0 0 auto;
        color: #667085;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .35px;
        content: attr(data-label);
        text-transform: uppercase;
    }

    .main-page .customer-device-table > tbody > tr > td.customer-device-actions {
        flex-wrap: wrap;
    }

    .main-page .customer-device-actions .btn {
        margin: 2px 0 2px 5px;
    }

    .main-page .customer-device-table > tbody > tr > td.customer-empty-state {
        display: block;
        text-align: center;
    }

    .main-page .customer-device-table > tbody > tr > td.customer-empty-state:before {
        display: none;
    }

    .main-page .customer-cancel-layout {
        display: block;
    }

    .main-page .customer-cancel-visual {
        min-height: 0;
        padding: 26px 20px;
        border-right: 0;
        border-bottom: 1px solid #fee2e2;
    }

    .main-page .customer-cancel-visual > span {
        width: 64px;
        height: 64px;
        margin-bottom: 13px;
        font-size: 23px;
        border-radius: 18px;
    }

    .main-page .customer-cancel-content {
        padding: 25px 20px;
    }

    .main-page .customer-cancel-content h2 {
        font-size: 21px;
    }

    .main-page .customer-account-page .customer-danger-button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .main-page .customer-account-hero {
        padding: 21px 17px;
    }

    .main-page .customer-account-identity {
        padding: 14px;
    }

    .main-page .profile-div .customer-account-content > .tab-pane {
        padding: 16px;
    }

    .main-page .profile-div .customer-account-content > .customer-account-settings-pane {
        padding: 0;
    }

    .main-page .customer-account-section-header,
    .main-page .customer-tab-heading-copy {
        align-items: flex-start;
    }

    .main-page .customer-address-card-head {
        flex-wrap: wrap;
    }

    .main-page .customer-address-type {
        margin-left: 54px;
    }

    .main-page .customer-address-actions {
        flex-direction: column;
    }

    .main-page .customer-address-actions .customer-address-delete {
        margin-left: 0;
    }

    .main-page .customer-device-table > tbody > tr > td {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }

    .main-page .customer-device-table > tbody > tr > td.customer-device-actions {
        flex-direction: row;
    }

    .main-page .customer-device-actions .btn {
        flex: 1 1 calc(50% - 5px);
        margin: 0;
    }

    .main-page .profile-div .cancelAccount .customer-cancel-confirmation label {
        align-items: flex-start;
    }
}

/* Role-aware assignment and exact-duration dashboard additions */
.main-page .staff-dashboard-page .staff-panel--assignment {
    margin-bottom: 22px;
}

.main-page .staff-dashboard-page .staff-panel-action--warning {
    color: #9a5b00;
    background: #fff7e3;
    border-color: #f2d393;
}

.main-page .staff-dashboard-page .staff-personal-summary--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.main-page .staff-dashboard-page .staff-assignee-table td:not(:first-child),
.main-page .staff-dashboard-page .staff-assignee-table th:not(:first-child) {
    text-align: center;
}

.main-page .staff-dashboard-page .staff-record-link {
    appearance: none;
    border: 0;
    padding: 0;
    color: #1746d1;
    background: transparent;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.main-page .staff-dashboard-page .staff-record-link:hover,
.main-page .staff-dashboard-page .staff-record-link:focus {
    color: #0b2f9f;
    outline: none;
}

@media (max-width: 767px) {
    .main-page .staff-dashboard-page .staff-personal-summary--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .main-page .staff-dashboard-page .staff-personal-summary--four {
        grid-template-columns: minmax(0, 1fr);
    }
}

html {
    min-height: 100%;
    background: var(--ui-canvas);
}

body {
    min-height: 100%;
    background: var(--ui-canvas);
    color: var(--ui-text);
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    line-height: 1.5;
    letter-spacing: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
button,
.btn,
.form-control,
.select2-selection,
.dropdown-menu,
.main-page .content-div .inner {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

/* Application shell */

.main-page {
    min-height: calc(100vh - 96px);
    background: var(--ui-canvas);
}

.main-page .header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 12px 0;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--ui-border);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
}

.main-page .header .row {
    display: flex;
    align-items: center;
}

.main-page .header .main-logo {
    display: block;
    width: 184px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0;
}

.main-page .header .right-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header .navbar-nav.dashboard-navbar {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
}

.header .navbar-nav.dashboard-navbar > li {
    float: none;
}

.header .navbar-nav > li > a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 11px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    border-radius: var(--ui-radius-sm);
}

.header .navbar-nav > li > a i {
    margin: 0;
    color: #667085;
}

.header .navbar-nav > li > a span {
    padding: 0;
    border: 0;
}

.header .navbar-nav > li > a:hover,
.header .navbar-nav > li > a:focus,
.header .navbar-nav > li > a:active,
.main-page .header .nav .open > a,
.main-page .header .nav .open > a:focus,
.main-page .header .nav .open > a:hover {
    color: var(--ui-primary);
    background: var(--ui-primary-soft);
}

.header .navbar-nav > li > a:hover i,
.header .navbar-nav > li > a:focus i,
.header .navbar-nav > li > a:active i {
    color: var(--ui-primary);
}

.main-page .header .navbar-nav.dashboard-navbar > li > .dropdown-menu,
.main-page .header .dropdown.user-welcome .dropdown-menu {
    min-width: 210px;
    margin-top: 8px;
    padding: 8px !important;
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius-md);
    box-shadow: var(--ui-shadow-float);
}

.main-page .header .navbar-nav.dashboard-navbar > li > .dropdown-menu > li > a,
.main-page .header .dropdown.user-welcome .dropdown-menu li a {
    margin: 0;
    padding: 10px 12px;
    color: #344054;
    font-size: 13px;
    font-weight: 500;
    border-radius: 7px;
}

.main-page .header .navbar-nav.dashboard-navbar > li > .dropdown-menu > li > a:hover,
.main-page .header .navbar-nav.dashboard-navbar > li > .dropdown-menu > li > a:focus,
.main-page .header .dropdown.user-welcome .dropdown-menu li a:hover,
.main-page .header .dropdown.user-welcome .dropdown-menu li a:focus {
    color: var(--ui-primary);
    background: var(--ui-primary-soft);
}

.main-page .header .user-welcome {
    margin: 0;
    padding: 0;
    color: var(--ui-muted);
    font-size: 13px;
}

.main-page .header .user-welcome > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    margin-left: 8px;
    padding: 8px 12px;
    color: var(--ui-text);
    font-size: 14px;
    background: var(--ui-surface-muted);
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius-sm);
}

.main-page .header .user-welcome > a:hover,
.main-page .header .user-welcome > a:focus {
    color: var(--ui-primary);
    border-color: #bfdbfe;
    background: var(--ui-primary-soft);
}

.main-page .header .user-welcome a span {
    padding: 0;
    border: 0;
}

.header .btn-mobile {
    min-height: 42px;
    padding: 10px 14px;
    color: #fff;
    background: var(--ui-primary);
    border: 1px solid var(--ui-primary);
    border-radius: var(--ui-radius-sm);
}

/* Content cards */

.main-page .content-div {
    min-height: calc(100vh - 250px);
    padding: 32px 0;
}

.main-page .content-div .form-item,
.main-page .content-div .takip-item,
.main-page .content-div .btn-item {
    margin-bottom: 24px;
}

.main-page .content-div .takip-item .inner,
.main-page .content-div .form-item .inner,
.main-page .content-div .btn-item .inner,
.profile-div .tab-content > .tab-pane {
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius-md);
    box-shadow: var(--ui-shadow-card);
}

.main-page .content-div .takip-item .inner,
.main-page .content-div .form-item .inner {
    padding: 28px;
}

.main-page .content-div .btn-item .inner:hover {
    border-color: var(--ui-border-strong);
}

.main-page .content-div .btn-item.user-item .inner,
.main-page .content-div .btn-item.dashboard-item .inner {
    overflow: hidden;
}

.main-page .content-div .btn-item .inner .icon-div {
    padding: 24px 14px 24px 24px;
}

.main-page .content-div .btn-item .inner .text-side {
    padding: 24px 24px 24px 14px;
}

.main-page .content-div .btn-item .inner .text-side h4,
.main-page .content-div .btn-item.dashboard-item .inner .text-side h4 {
    margin: 0;
    color: #344054;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}

.main-page .content-div .btn-item.dashboard-item .inner .text-side h4 span {
    color: var(--ui-primary);
}

.main-page .content-div .btn-item .inner .call-center {
    padding: 20px 24px;
}

.main-page .content-div .btn-item .inner .call-center h1 {
    margin: 0;
    color: var(--ui-text);
    font-size: 26px;
    line-height: 1.3;
    letter-spacing: 0;
}

.main-page .content-div .btn-item .inner .rules-div {
    padding: 28px;
}

.main-page .content-div .btn-item .inner .rules-div h3,
.main-page .content-div .takip-item .inner h4,
.main-page .content-div .form-item .inner h4,
.profile-div .tab-content > .tab-pane h4 {
    color: var(--ui-text);
    letter-spacing: 0;
}

.main-page .content-div .btn-item .inner .rules-div ul li,
.main-page .content-div .takip-item .search-text p,
.main-page .content-div .request-result .text-side p {
    color: var(--ui-muted);
}

.main-page .content-div .takip-item .search-text {
    max-width: 620px;
}

.main-page .content-div .takip-item .search-text svg {
    display: block;
    width: 100% !important;
    max-width: 280px;
    height: auto !important;
    margin: 0 auto;
}

/* Forms and Select2 */

.main-page .form-group,
.new-address-modal .form-group,
.detail-modal .form-group,
.login-page .form-group {
    margin-bottom: 18px;
}

.main-page .form-group label,
.profile-div .form-group label,
.main-page .content-div .form-item .inner .show-labels label,
.main-page .content-div .form-item.userAddForm .inner label,
.new-address-modal .form-group label,
.detail-modal .form-group label {
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.main-page .form-control,
.new-address-modal .form-control,
.detail-modal .form-control,
.login-page .form-control {
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ui-text);
    background: var(--ui-surface);
    border: 1px solid var(--ui-border-strong);
    border-radius: var(--ui-radius-sm);
    box-shadow: none;
}

.main-page textarea.form-control,
.new-address-modal textarea.form-control,
.detail-modal textarea.form-control,
.login-page textarea.form-control {
    min-height: 92px;
    line-height: 1.5;
    resize: vertical;
}

.main-page .form-control:focus,
.new-address-modal .form-control:focus,
.detail-modal .form-control:focus,
.login-page .form-control:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.main-page .form-control[disabled],
.main-page .form-control[readonly],
.login-page .form-control[disabled],
.login-page .form-control[readonly] {
    color: var(--ui-muted);
    background: #f2f4f7;
}

.main-page .input-group-addon,
.new-address-modal .input-group-addon,
.detail-modal .input-group-addon,
.login-page .input-group-addon {
    color: var(--ui-muted);
    background: var(--ui-surface-muted);
    border-color: var(--ui-border-strong);
}

.main-page .select2-container,
.new-address-modal .select2-container,
.detail-modal .select2-container {
    max-width: 100%;
}

.main-page .select2-container--default .select2-selection--single,
.new-address-modal .select2-container--default .select2-selection--single,
.detail-modal .select2-container--default .select2-selection--single {
    height: 44px;
    background: var(--ui-surface);
    border: 1px solid var(--ui-border-strong);
    border-radius: var(--ui-radius-sm);
}

.main-page .select2-container--default.select2-container--focus .select2-selection--single,
.main-page .select2-container--default.select2-container--open .select2-selection--single,
.new-address-modal .select2-container--default.select2-container--focus .select2-selection--single,
.detail-modal .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.main-page .select2-container--default .select2-selection--single .select2-selection__rendered,
.new-address-modal .select2-container--default .select2-selection--single .select2-selection__rendered,
.detail-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 36px 0 12px;
    color: var(--ui-text);
    line-height: 42px;
}

.main-page .select2-container--default .select2-selection--single .select2-selection__arrow,
.new-address-modal .select2-container--default .select2-selection--single .select2-selection__arrow,
.detail-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 7px;
    height: 42px;
}

.select2-dropdown {
    overflow: hidden;
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius-sm);
    box-shadow: var(--ui-shadow-float);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--ui-primary);
}

/* Buttons, badges and switches */

.main-page .btn,
.new-address-modal .btn,
.detail-modal .btn,
.login-page .btn {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    border-radius: var(--ui-radius-sm);
}

.main-page .btn-sm,
.main-page .btn-group-sm > .btn,
.main-page .table .btn,
.main-page .dataTable .btn {
    min-height: 32px;
    padding: 5px 10px;
    line-height: 20px;
}

.main-page .btn-primary,
.main-page .content-div .inner table tbody tr td .btn-detail,
.main-page .content-div .btn-item .inner .text-side .btn-default.btn-talep,
.main-page .profile-div .btn-accept,
.new-address-modal .btn + .btn,
.main-page .content-div .form-item.userAddForm .inner .btn {
    color: #fff;
    background: var(--ui-primary);
    border-color: var(--ui-primary);
}

.main-page .btn-primary:hover,
.main-page .btn-primary:focus,
.main-page .content-div .inner table tbody tr td .btn-detail:hover,
.main-page .content-div .btn-item .inner .text-side .btn-default.btn-talep:hover,
.main-page .profile-div .btn-accept:hover,
.new-address-modal .btn + .btn:hover,
.main-page .content-div .form-item.userAddForm .inner .btn:hover {
    color: #fff;
    background: var(--ui-primary-hover);
    border-color: var(--ui-primary-hover);
}

.main-page .btn-success,
.main-page .content-div .form-item .inner .btn-ariza-send,
.login-page .btn-register,
.detail-modal .btn-success.update-tax,
.detail-modal .btn-success.update-product {
    color: #fff;
    background: var(--ui-success);
    border-color: var(--ui-success);
}

.main-page .btn-success:hover,
.main-page .btn-success:focus,
.main-page .content-div .form-item .inner .btn-ariza-send:hover,
.login-page .btn-register:hover {
    color: #fff;
    background: #166534;
    border-color: #166534;
}

.main-page .btn-danger,
.new-address-modal .btn-danger,
.detail-modal .btn-danger {
    color: #fff;
    background: var(--ui-danger);
    border-color: var(--ui-danger);
}

.main-page .btn-default,
.new-address-modal .btn-default,
.detail-modal .btn-default,
.login-page .btn-default {
    color: #344054;
    background: var(--ui-surface);
    border-color: var(--ui-border-strong);
}

.main-page .btn-default:hover,
.main-page .btn-default:focus,
.new-address-modal .btn-default:hover,
.detail-modal .btn-default:hover,
.login-page .btn-default:hover {
    color: var(--ui-primary);
    background: var(--ui-primary-soft);
    border-color: #93c5fd;
}

.main-page .label,
.main-page .content-div .btn-item .inner .data-table-container .label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 76px;
    min-height: 26px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    border-radius: 999px;
}

.main-page .label.label-iade,
.main-page .label-danger {
    color: #991b1b;
    background: #fee2e2;
}

.main-page .label.label-tamamlandi,
.main-page .label-success {
    color: #166534;
    background: #dcfce7;
}

.main-page .label.label-kargo,
.main-page .label-info {
    color: #075985;
    background: #e0f2fe;
}

.main-page .label.label-onay,
.main-page .label-primary {
    color: #1e40af;
    background: #dbeafe;
}

.main-page .switch .slider {
    background: #d0d5dd;
}

.main-page input:checked + .slider {
    background: var(--ui-primary);
}

.main-page .switch .statu {
    color: var(--ui-muted);
}

/* Tables and DataTables */

.main-page .content-div .btn-item .inner .data-table-container {
    padding: 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.main-page .table-responsive,
.main-page .dataTables_scroll,
.main-page .dataTables_scrollBody {
    -webkit-overflow-scrolling: touch;
}

.main-page .table,
.main-page .content-div .inner table {
    margin-bottom: 0;
    color: var(--ui-text);
    background: var(--ui-surface);
}

.main-page .table > thead > tr > th,
.main-page .table > tfoot > tr > th {
    padding: 12px 14px;
    color: #344054;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
    background: var(--ui-surface-muted);
    border-color: var(--ui-border);
}

.main-page .table > tbody > tr > td,
.main-page .content-div .inner table tbody tr td {
    padding: 12px 14px;
    color: #475467;
    font-size: 13px;
    vertical-align: middle;
    border-color: var(--ui-border);
}

.main-page .table-striped > tbody > tr:nth-of-type(odd) {
    background: #fcfcfd;
}

.main-page .table-hover > tbody > tr:hover,
.main-page .table > tbody > tr:hover {
    background: #f8fbff;
}

.main-page .table-bordered,
.main-page .table-bordered > thead > tr > th,
.main-page .table-bordered > tbody > tr > td,
.main-page .table-bordered > tfoot > tr > th {
    border-color: var(--ui-border);
}

.main-page .content-div div.dataTables_wrapper div.dataTables_filter {
    margin-bottom: 14px;
}

.main-page .content-div div.dataTables_wrapper div.dataTables_filter label {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    font-size: 0;
}

.main-page .content-div div.dataTables_wrapper div.dataTables_filter label:before {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    float: none;
    width: 42px;
    height: 42px;
    margin: 0;
    color: var(--ui-muted);
    background: transparent;
    border-left: 1px solid var(--ui-border);
    border-radius: 0 var(--ui-radius-sm) var(--ui-radius-sm) 0;
    pointer-events: none;
}

.main-page .content-div div.dataTables_wrapper div.dataTables_filter label input {
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 9px 50px 9px 12px;
    font-size: 13px;
    border: 1px solid var(--ui-border-strong);
    border-radius: var(--ui-radius-sm);
}

.main-page .content-div div.dataTables_wrapper div.dataTables_filter label input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.main-page .content-div .userTable div.dataTables_wrapper div.dataTables_length label {
    color: var(--ui-muted);
    font-size: 13px;
}

.main-page .content-div .userTable div.dataTables_wrapper div.dataTables_length select {
    height: 36px;
    border: 1px solid var(--ui-border-strong);
    border-radius: 7px;
}

/* User management */

.main-page .content-div .btn-item.user-item {
    margin-bottom: 18px;
}

.main-page .content-div .btn-item.user-item .inner {
    display: flex;
    align-items: center;
    min-height: 94px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.main-page .content-div .btn-item.user-item .inner:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(29, 78, 216, .09);
    transform: translateY(-1px);
}

.main-page .content-div .btn-item.user-item .inner .icon-div {
    float: none;
    flex: 0 0 92px;
    width: 92px;
    padding: 16px 10px 16px 22px;
}

.main-page .content-div .btn-item.user-item .inner .icon-div img {
    display: block;
    width: auto;
    max-width: 58px;
    max-height: 58px;
}

.main-page .content-div .btn-item.user-item .inner .text-side {
    position: relative;
    left: auto;
    float: none;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    width: auto;
    height: auto;
    min-height: 92px;
    padding: 18px 22px 18px 8px;
}

.main-page .content-div .btn-item.user-item .inner .text-side h4 {
    font-size: 18px;
}

.main-page .content-div .btn-item.userTable .inner {
    overflow: hidden;
}

.main-page .content-div .btn-item.userTable .inner .data-table-container {
    padding: 18px 20px 20px;
    overflow: hidden;
}

.main-page .content-div .userTable .dataTables_wrapper > .row:first-child {
    display: flex;
    align-items: center;
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ui-border);
}

.main-page .content-div .userTable .dataTables_wrapper > .row:first-child > div,
.main-page .content-div .userTable .dataTables_wrapper > .row:last-child > div {
    padding: 0;
}

.main-page .content-div .userTable div.dataTables_wrapper div.dataTables_length,
.main-page .content-div .userTable div.dataTables_wrapper div.dataTables_filter {
    margin: 0;
}

.main-page .content-div .userTable div.dataTables_wrapper div.dataTables_length label {
    top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-weight: 500;
}

.main-page .content-div .userTable div.dataTables_wrapper div.dataTables_length select {
    width: 64px;
    margin: 0;
    padding: 5px 8px;
    box-shadow: none;
}

.main-page .content-div .userTable div.dataTables_wrapper div.dataTables_filter label {
    margin: 0;
}

.main-page .content-div .userTable .dataTables_scroll {
    overflow: hidden;
    border: 1px solid var(--ui-border);
    border-radius: 10px;
}

.main-page .content-div .userTable .dataTables_scrollHead,
.main-page .content-div .userTable .dataTables_scrollBody {
    border-bottom: 0 !important;
}

.main-page .content-div .userTable .dataTables_scroll table {
    border: 0;
}

.main-page .content-div .userTable #examplePrd {
    min-width: 760px;
}

.main-page .content-div .userTable .table > thead > tr > th {
    padding: 10px 12px;
    color: #475467;
    background: #f8fafc;
}

.main-page .content-div .userTable .table > tbody > tr > td {
    padding: 9px 12px;
    line-height: 20px;
}

.main-page .content-div .userTable .table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.main-page .content-div .userTable table tfoot {
    display: none;
}

.main-page .content-div .userTable table th:nth-child(3),
.main-page .content-div .userTable table td:nth-child(3) {
    width: 110px !important;
    min-width: 110px;
}

.main-page .content-div .userTable table th:nth-child(4),
.main-page .content-div .userTable table td:nth-child(4) {
    width: 120px !important;
    min-width: 120px;
    white-space: nowrap;
    text-align: right;
}

.main-page .content-div .userTable table th:last-child,
.main-page .content-div .userTable table td:last-child {
    width: 168px !important;
    min-width: 168px;
    white-space: nowrap;
    text-align: right !important;
}

.main-page .content-div .userTable .switch.pull-right {
    float: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
}

.main-page .content-div .userTable .switch .statu {
    position: static;
    order: 0;
    width: auto;
    min-width: 34px;
    color: #667085;
    font-size: 12px;
    text-align: right;
}

.main-page .content-div .userTable .switch .slider {
    position: relative;
    inset: auto;
    order: 1;
    flex: 0 0 40px;
    width: 40px;
    height: 24px;
}

.main-page .content-div .userTable .switch .slider:before {
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
}

.main-page .content-div .userTable .switch input:checked + .slider:before {
    transform: translateX(16px);
}

.main-page .content-div .btn-item.userTable .inner .data-table-container table > tbody > tr > td:last-child .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    margin: 0 0 0 5px;
    padding: 4px 8px;
    color: #344054;
    background: #fff;
    border: 1px solid var(--ui-border-strong);
    border-radius: 7px;
    box-shadow: none;
}

.main-page .content-div .btn-item.userTable .inner .data-table-container table > tbody > tr > td:last-child a[onclick^="modal_doldur"] {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.main-page .content-div .btn-item.userTable .inner .data-table-container table > tbody > tr > td:last-child a[onclick^="delete_item"] {
    color: #b42318;
    background: #fff5f5;
    border-color: #fecaca;
}

.main-page .content-div .btn-item.userTable .inner .data-table-container table > tbody > tr > td:last-child a[onclick^="modal_doldur"]:hover,
.main-page .content-div .btn-item.userTable .inner .data-table-container table > tbody > tr > td:last-child a[onclick^="modal_doldur"]:focus {
    color: #1e40af;
    background: #dbeafe;
    border-color: #93c5fd;
}

.main-page .content-div .btn-item.userTable .inner .data-table-container table > tbody > tr > td:last-child a[onclick^="delete_item"]:hover,
.main-page .content-div .btn-item.userTable .inner .data-table-container table > tbody > tr > td:last-child a[onclick^="delete_item"]:focus {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fca5a5;
}

.main-page .content-div .userTable .dataTables_wrapper > .row:last-child {
    display: flex;
    align-items: center;
    margin: 14px 0 0;
}

.main-page .content-div .userTable .dataTables_info,
.main-page .content-div .userTable .dataTables_paginate {
    margin: 0;
    padding-top: 0;
}

.main-page .dataTables_wrapper .dataTables_info {
    padding-top: 14px;
    color: var(--ui-muted);
    font-size: 12px;
}

.main-page .pagination > li > a,
.main-page .pagination > li > span {
    margin-left: 4px;
    color: #475467;
    border-color: var(--ui-border);
    border-radius: 7px !important;
}

.main-page .content-div .pagination > .active > a,
.main-page .content-div .pagination > .active > a:focus,
.main-page .content-div .pagination > .active > a:hover,
.main-page .content-div .pagination > .active > span,
.main-page .content-div .pagination > .active > span:focus,
.main-page .content-div .pagination > .active > span:hover {
    color: #fff;
    background: var(--ui-primary);
    border-color: var(--ui-primary);
}

/* Profile tabs and dialogs */

.main-page .profile-div .nav-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.main-page .profile-div .nav-tabs > li {
    float: none;
    margin: 0;
}

.main-page .profile-div .nav-tabs > li > a {
    margin: 0;
    padding: 10px 14px;
    color: var(--ui-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--ui-radius-sm);
}

.main-page .profile-div .nav-tabs > li.active > a,
.main-page .profile-div .nav-tabs > li.active > a:focus,
.main-page .profile-div .nav-tabs > li.active > a:hover {
    color: var(--ui-primary);
    background: var(--ui-primary-soft);
    border: 1px solid #bfdbfe;
}

.main-page .profile-div .tab-content > .tab-pane {
    padding: 24px;
    border-radius: var(--ui-radius-md);
}

.modal-backdrop.in {
    opacity: .52;
}

.new-address-modal .modal-dialog,
.detail-modal .modal-dialog {
    max-width: calc(100% - 32px);
}

.new-address-modal .modal-content,
.detail-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: var(--ui-radius-lg);
    box-shadow: var(--ui-shadow-float);
}

.new-address-modal .modal-header,
.detail-modal .modal-header {
    padding: 18px 22px;
    background: var(--ui-surface);
    border-bottom: 1px solid var(--ui-border);
}

.new-address-modal .modal-header h4,
.detail-modal .modal-header h4 {
    margin: 0;
    padding-right: 36px;
    color: var(--ui-text);
    font-size: 18px;
    line-height: 1.4;
}

.new-address-modal .modal-header .close,
.detail-modal .modal-header .close {
    display: block;
    min-width: 40px;
    min-height: 40px;
    margin-top: -8px;
    margin-right: -8px;
    color: var(--ui-muted);
    opacity: 1;
}

.new-address-modal .modal-body,
.detail-modal .modal-body {
    max-height: calc(100vh - 150px);
    padding: 22px;
    overflow-y: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Servis detay tablosunda başlık sütunlarının harf harf daralmasını önler. */
.detail-modal .fault-detail-table {
    width: 100%;
    min-width: 700px;
    margin-bottom: 20px;
    table-layout: fixed;
}

.detail-modal .fault-detail-table .fault-detail-label-column {
    width: 18%;
}

.detail-modal .fault-detail-table .fault-detail-value-column {
    width: 32%;
}

.detail-modal .fault-detail-table > tbody > tr > th {
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.detail-modal .fault-detail-table > tbody > tr > td {
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Footer */

.footer-div {
    height: 96px;
    padding-bottom: 34px;
    background: var(--ui-surface);
    border-top: 1px solid var(--ui-border);
}

.footer-div .privacy-footer,
.login-footer {
    height: 34px;
    background: #111827;
}

.footer-div .links-container {
    height: 34px;
    padding: 0;
}

.footer-div .links-container a,
.footer-div .links-container a:active,
.footer-div .links-container a:focus,
.login-footer .links-container a,
.login-footer .links-container a:active,
.login-footer .links-container a:focus {
    color: #e5e7eb;
    font-size: 11px;
    letter-spacing: .02em;
}

.footer-div .logo-foot,
.footer-div .text-side,
.footer-div ul.social-links {
    height: 61px;
}

.footer-div ul.social-links li a {
    height: 61px;
    color: var(--ui-muted);
}

.footer-div ul.social-links li a i {
    border-color: var(--ui-border-strong);
}

.footer-div ul.social-links li a:hover {
    color: #fff;
}

.footer-div ul.social-links li a:hover i {
    background: var(--ui-primary);
    border-color: var(--ui-primary);
}

/* Login, registration and password screens */

.login-page {
    min-height: 100vh;
    height: auto;
    padding: 46px 20px 100px;
    background: var(--ui-canvas);
}

.login-form-contianer {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    border-radius: 18px;
    box-shadow: var(--ui-shadow-card);
}

.login-form-contianer.small-container {
    max-width: 460px;
}

.login-form-contianer > .row {
    margin-right: 0;
    margin-left: 0;
}

.login-form-contianer .form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 18px 26px;
    background: var(--ui-surface);
    border-bottom: 1px solid var(--ui-border);
}

.login-form-contianer .form-header .logo-img {
    float: none;
    width: 166px;
    max-width: 45%;
    height: auto;
    object-fit: contain;
    margin: 0;
}

.login-form-contianer .form-header .text-div {
    float: none;
    padding: 0;
}

.login-form-contianer .form-header .text-div p {
    color: var(--ui-primary);
    font-size: 14px;
}

.login-form-contianer .form-side {
    padding: 28px;
}

.login-form-contianer .form-side + .form-side {
    border-left: 1px solid var(--ui-border);
}

.login-form-contianer .form-side h4,
.login-form-contianer.small-container h4 {
    margin: 0 0 20px;
    color: var(--ui-text);
    font-size: 20px;
}

.login-form-contianer .form-side .desc-label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 600;
}

.login-form-contianer .form-side .input-group {
    width: 100%;
    border-radius: var(--ui-radius-sm);
}

.login-form-contianer .form-side .input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.login-form-contianer .form-side .input-group-addon {
    width: 44px;
    border-radius: var(--ui-radius-sm) 0 0 var(--ui-radius-sm);
}

.login-form-contianer .form-side .input-group .form-control {
    padding-left: 10px;
    border-color: var(--ui-border-strong);
    border-left: 0;
    border-radius: 0 var(--ui-radius-sm) var(--ui-radius-sm) 0;
}

.login-form-contianer .form-side .input-group .form-control:focus {
    border-color: #60a5fa;
    box-shadow: none;
}

.login-form-contianer .form-side .forgot-pass {
    color: var(--ui-primary);
}

.login-form-contianer .form-side .btn-default.login-btn {
    min-height: 44px;
    padding: 11px 16px;
    color: #fff;
    background: var(--ui-primary);
    border-color: var(--ui-primary);
    border-radius: var(--ui-radius-sm);
}

.login-form-contianer .form-side .btn-default.login-btn:hover,
.login-form-contianer .form-side .btn-default.login-btn:focus {
    color: #fff;
    background: var(--ui-primary-hover);
    border-color: var(--ui-primary-hover);
}

.login-form-contianer .form-side .btns-container .btn-default,
.login-form-contianer .form-side .btn-register {
    min-height: 44px;
    border-radius: var(--ui-radius-sm);
}

.login-form-contianer .form-side .btns-container .btn-default.loginWEmail,
.login-form-contianer .form-side .btns-container .btn-default.back2login {
    color: #fff;
    background: var(--ui-primary);
    border-color: var(--ui-primary);
}

.login-form-contianer .form-side.right-side p {
    color: var(--ui-muted);
    line-height: 1.65;
}

.login-footer {
    min-height: 44px;
    height: auto;
}

.login-footer .links-container {
    justify-content: center;
    height: 44px;
}

/* Modern authentication experience */

.auth-document {
    min-height: 100%;
    background: #f5f7fb;
}

.auth-page {
    --auth-brand: #1428a0;
    --auth-brand-dark: #0d1f7a;
    --auth-brand-soft: #eef2ff;
    position: relative;
    isolation: isolate;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    height: auto;
    padding: 28px 24px 0;
    overflow: hidden;
    background: #f5f7fb;
}

.auth-page:before,
.auth-page:after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}

.auth-page:before {
    top: -250px;
    right: -180px;
    width: 520px;
    height: 520px;
    border: 86px solid rgba(20, 40, 160, .035);
}

.auth-page:after {
    bottom: -260px;
    left: -210px;
    width: 500px;
    height: 500px;
    border: 74px solid rgba(37, 99, 235, .03);
}

.auth-page .auth-card {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 100%;
    max-width: 1080px;
    margin: auto 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce2eb;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(16, 24, 40, .12);
}

.auth-page .auth-register-card {
    max-width: 1160px;
}

.auth-page .auth-header-row,
.auth-page .auth-layout {
    width: 100%;
    margin: 0;
}

.auth-page .auth-header {
    min-height: 84px;
    padding: 20px 32px;
    background: #fff;
    border-bottom: 1px solid #e8ecf2;
}

.auth-page .auth-header .logo-img {
    width: 190px;
    max-width: 48%;
    height: auto;
    object-fit: contain;
}

.password-change-logo {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.auth-page .auth-header .auth-portal-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    background: var(--auth-brand-soft);
    border: 1px solid #dbe3ff;
    border-radius: 999px;
}

.auth-page .auth-header .auth-portal-label p {
    margin: 0;
    color: var(--auth-brand);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.auth-page .auth-status-dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .1);
}

.auth-page .auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 58fr) minmax(340px, 42fr);
}

.auth-page .auth-layout:before,
.auth-page .auth-layout:after {
    display: none;
    content: none;
}

.auth-page .auth-register-layout {
    grid-template-columns: minmax(0, 62fr) minmax(350px, 38fr);
}

.auth-page .auth-layout > .form-side {
    float: none;
    width: auto;
}

.auth-page .auth-layout > .auth-form-panel {
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 42px 48px;
    background: #fff;
}

.auth-page .auth-layout > .auth-register-form-panel {
    align-items: flex-start;
    min-height: 0;
    padding: 38px 44px;
}

.auth-page .auth-form-inner {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.auth-page .auth-register-form-inner {
    max-width: none;
}

.auth-page .auth-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 14px;
    padding: 5px 10px;
    color: var(--auth-brand);
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--auth-brand-soft);
    border-radius: 999px;
}

.auth-page .auth-form-panel h1 {
    margin: 0;
    color: #172033;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.auth-page .auth-form-intro {
    max-width: 540px;
    margin: 12px 0 28px;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}

.auth-page .auth-form-panel .form-group {
    margin-bottom: 18px;
}

.auth-page .auth-form-panel .desc-label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.auth-page .auth-form-panel .desc-label > span {
    color: #d92d20;
}

.auth-page .auth-form-panel .input-group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 50px;
    border-radius: 10px;
}

.auth-page .auth-form-panel .input-group:focus-within {
    box-shadow: none;
}

.auth-page .auth-form-panel .input-group-addon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 100%;
    padding: 0;
    color: var(--auth-brand);
    background: transparent;
    border: 0;
    border-radius: 0;
    pointer-events: none;
}

.auth-page .auth-form-panel .input-group-addon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 1;
    background: #f1f4ff;
    border: 1px solid #dbe3ff;
    border-radius: 8px;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.auth-page .auth-form-panel .input-group:focus-within .input-group-addon i {
    color: #fff;
    background: var(--auth-brand);
    border-color: var(--auth-brand);
}

.auth-page .auth-form-panel .input-group .form-control {
    flex: 1 1 auto;
    float: none;
    min-width: 0;
    width: 100%;
    height: 50px;
    padding: 12px 14px 12px 48px;
    color: #172033;
    font-size: 14px;
    background: #fff;
    border: 1px solid #d9dfea;
    border-radius: 10px;
    box-shadow: none;
}

.auth-page .auth-form-panel .input-group .form-control:hover {
    border-color: #b8c2d1;
}

.auth-page .auth-form-panel .input-group .form-control:focus {
    border-color: #4f6ddd;
    box-shadow: 0 0 0 4px rgba(20, 40, 160, .1);
}

.auth-page .auth-form-panel .form-control::placeholder {
    color: #98a2b3;
}

.auth-page .auth-form-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin: -4px 0 18px;
}

.auth-page .auth-form-actions .forgot-pass {
    color: var(--auth-brand);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.auth-page .auth-card .auth-form-panel .btn.auth-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 13px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    background: var(--auth-brand);
    border: 1px solid var(--auth-brand);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(20, 40, 160, .18);
}

.auth-page .auth-card .auth-form-panel .btn.auth-primary-action:hover,
.auth-page .auth-card .auth-form-panel .btn.auth-primary-action:focus {
    color: #fff;
    background: var(--auth-brand-dark);
    border-color: var(--auth-brand-dark);
    box-shadow: 0 10px 22px rgba(20, 40, 160, .24);
    transform: translateY(-1px);
}

.auth-page .auth-primary-action i,
.auth-page .auth-aside-button i {
    font-size: 12px;
}

.auth-page .auth-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    color: #7b8496;
    font-size: 11px;
    line-height: 17px;
}

.auth-page .auth-security-note i {
    color: #16a34a;
}

.auth-page .auth-layout > .auth-aside {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 42px 38px;
    overflow: hidden;
    color: #fff;
    background: var(--auth-brand);
    border: 0;
}

.auth-page .auth-layout > .auth-aside:before,
.auth-page .auth-layout > .auth-aside:after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    pointer-events: none;
}

.auth-page .auth-layout > .auth-aside:before {
    top: -150px;
    right: -150px;
    width: 340px;
    height: 340px;
}

.auth-page .auth-layout > .auth-aside:after {
    right: 32px;
    bottom: -170px;
    width: 280px;
    height: 280px;
}

.auth-page .auth-aside-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.auth-page .auth-aside-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    margin-bottom: 20px;
    padding: 6px 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
}

.auth-page .auth-aside h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.auth-page .auth-aside p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    line-height: 1.65;
}

.auth-page .auth-benefit-list,
.auth-page .auth-step-list {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.auth-page .auth-benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 12px;
}

.auth-page .auth-benefit-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-radius: 10px;
}

.auth-page .auth-benefit-list strong,
.auth-page .auth-benefit-list small,
.auth-page .auth-step-list strong,
.auth-page .auth-step-list small {
    display: block;
}

.auth-page .auth-benefit-list strong,
.auth-page .auth-step-list strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.auth-page .auth-benefit-list small,
.auth-page .auth-step-list small {
    color: rgba(255, 255, 255, .67);
    font-size: 10px;
    line-height: 1.45;
}

.auth-login-page .auth-layout > .auth-aside {
    padding: 30px 36px;
}

.auth-login-page .auth-aside-badge {
    margin-bottom: 14px;
}

.auth-login-page .auth-aside h2 {
    margin-bottom: 10px;
    font-size: 25px;
}

.auth-login-page .auth-benefit-list {
    margin-top: 18px;
}

.auth-login-page .auth-benefit-list li {
    margin-bottom: 8px;
    padding: 9px 10px;
}

.auth-login-page .auth-benefit-list li:last-child {
    margin-bottom: 0;
}

.auth-login-page .auth-benefit-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
}

.auth-login-page .auth-aside-action {
    margin-top: 18px;
    padding-top: 16px;
}

.auth-page .auth-aside-action {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.auth-page .auth-aside-action > span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
}

.auth-page .auth-aside-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    color: var(--auth-brand);
    font-size: 13px;
    font-weight: 700;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
}

.auth-page .auth-aside-button:hover,
.auth-page .auth-aside-button:focus {
    color: var(--auth-brand-dark);
    background: #f4f6ff;
    border-color: #f4f6ff;
    transform: translateY(-1px);
}

.auth-page .auth-register-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
}

.auth-page .auth-register-fields .form-group {
    margin: 0;
}

.auth-page .auth-register-fields .auth-field-wide {
    grid-column: 1 / -1;
}

.auth-page .auth-consent-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8ecf2;
}

.auth-page .auth-consent-heading {
    margin-bottom: 12px;
}

.auth-page .auth-consent-heading h2 {
    margin: 0 0 4px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.auth-page .auth-consent-heading p {
    margin: 0;
    color: #7b8496;
    font-size: 11px;
    line-height: 17px;
}

.auth-page .auth-consent-row {
    position: relative;
    display: block;
    margin: 0 0 9px;
    cursor: pointer;
}

.auth-page .auth-consent-row > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.auth-page .auth-consent-content {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    color: #475467;
    font-size: 11px;
    font-weight: 500;
    line-height: 17px;
    background: #f8fafc;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
}

.auth-page .auth-consent-content a {
    color: var(--auth-brand);
    font-weight: 700;
}

.auth-page .auth-checkbox-mark {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: transparent;
    background: #fff;
    border: 1px solid #cbd3df;
    border-radius: 6px;
}

.auth-page .auth-consent-row > input:checked + .auth-consent-content {
    background: #f5f7ff;
    border-color: #aebcf1 !important;
}

.auth-page .auth-consent-row > input:checked + .auth-consent-content .auth-checkbox-mark {
    color: #fff;
    background: var(--auth-brand);
    border-color: var(--auth-brand);
}

.auth-page .auth-consent-row > input:focus-visible + .auth-consent-content {
    outline: 3px solid rgba(20, 40, 160, .18);
    outline-offset: 2px;
}

.auth-page .auth-disclosure {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
}

.auth-page .auth-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 10px 12px;
    color: #344054;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.auth-page .auth-disclosure summary::-webkit-details-marker {
    display: none;
}

.auth-page .auth-disclosure summary i {
    margin-right: 7px;
    color: var(--auth-brand);
}

.auth-page .auth-disclosure-action {
    color: var(--auth-brand);
    font-size: 10px;
    font-weight: 700;
}

.auth-page .auth-disclosure-body {
    padding: 0 10px 10px;
}

.auth-page .auth-disclosure textarea.form-control {
    min-height: 116px;
    padding: 10px 12px;
    color: #667085;
    font-size: 11px;
    line-height: 1.55;
    background: #f8fafc;
    border: 1px solid #e4e8f0;
    border-radius: 8px;
    resize: none;
}

.auth-page .auth-register-form-inner .auth-primary-action {
    margin-top: 16px;
}

.auth-page .auth-step-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.auth-page .auth-step-list li:last-child {
    border-bottom: 0;
}

.auth-page .auth-step-list li > span {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.auth-page .auth-footer {
    position: static;
    z-index: 1;
    flex: 0 0 auto;
    width: 100%;
    min-height: 44px;
    height: auto;
    margin-top: 22px;
    background: transparent;
}

.auth-page .auth-footer .container,
.auth-page .auth-footer .links-container {
    width: 100%;
    max-width: none;
    min-height: 44px;
    height: auto;
    padding: 0;
}

.auth-page .auth-footer .innerDiv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 44px;
}

.auth-page .auth-footer .links-container a,
.auth-page .auth-footer .links-container a:active,
.auth-page .auth-footer .links-container a:focus {
    margin: 0;
    color: #667085;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
}

.auth-page .auth-footer .links-container a:hover {
    color: var(--auth-brand);
}

/* Responsive refinements */

@media (min-width: 1200px) {
    .main-page > .header .container,
    .main-page > .content-div > .container,
    .footer-div > .container,
    .footer-div .privacy-footer > .container {
        width: calc(100% - 32px);
        max-width: 1920px;
    }

    /*
     * DataTables bu dört servis kuyruğunda ebeveynden yaklaşık 2px daha geniş
     * inline width hesaplayıp gereksiz yatay scrollbar oluşturabiliyor.
     * Masaüstünde tabloyu kullanılabilir alana sabitle; küçük ekranlarda
     * Bootstrap'in iç yatay kaydırması aynen devam eder.
     */
    .main-page .content-div table.userDTable {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .main-page .content-div table.userDTable th:nth-child(3),
    .main-page .content-div table.userDTable td:nth-child(3),
    .main-page .content-div table.userDTable th:nth-child(4),
    .main-page .content-div table.userDTable td:nth-child(4) {
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
}

@media (min-width: 769px) {
    .header .navbar-nav.dashboard-navbar {
        display: flex !important;
    }
}

@media (max-width: 1199px) {
    .header .navbar-nav > li > a {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .main-page .header .row {
        display: block;
    }

    .main-page .header .left-side,
    .main-page .header .right-side {
        width: 100%;
        text-align: center;
    }

    .main-page .header .main-logo {
        margin: 0 auto 8px;
    }

    .main-page .header .right-side,
    .header .navbar-nav.dashboard-navbar {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-page .header {
        padding: 10px 0;
    }

    .main-page .header .container,
    .main-page .content-div .container,
    .footer-div .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .main-page .header .main-logo {
        width: 152px;
        margin-bottom: 10px;
    }

    .main-page .header .right-side {
        display: block;
    }

    .header .btn-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .header .navbar-nav.dashboard-navbar {
        display: none;
        width: 100%;
        margin: 8px 0 0;
        padding: 7px;
        text-align: left;
        background: var(--ui-surface-muted);
        border: 1px solid var(--ui-border);
        border-radius: var(--ui-radius-md);
    }

    .header .navbar-nav.dashboard-navbar.showed {
        display: block;
    }

    .header .navbar-nav.dashboard-navbar > li {
        width: 100%;
    }

    .header .navbar-nav.dashboard-navbar > li > a {
        justify-content: flex-start;
        width: 100%;
        padding: 10px 12px;
    }

    .main-page .header .navbar-nav.dashboard-navbar > li > .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        min-width: 0;
        margin: 3px 0 7px;
        padding: 5px !important;
        text-align: left;
        background: #fff;
        border: 1px solid var(--ui-border);
        box-shadow: none;
    }

    .main-page .header .user-welcome {
        width: 100%;
        padding-top: 0;
    }

    .main-page .header .user-welcome > span {
        display: none;
    }

    .main-page .header .user-welcome > a {
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    .main-page .header .dropdown.user-welcome .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 8px;
        text-align: left;
        box-shadow: none;
    }

    .main-page .content-div {
        min-height: calc(100vh - 230px);
        padding: 20px 0;
    }

    .main-page .content-div .form-item,
    .main-page .content-div .takip-item,
    .main-page .content-div .btn-item {
        margin-bottom: 16px;
    }

    .main-page .content-div .takip-item .inner,
    .main-page .content-div .form-item .inner,
    .main-page .profile-div .tab-content > .tab-pane {
        padding: 18px;
    }

    .main-page .content-div .btn-item .inner .icon-div,
    .main-page .content-div .btn-item.user-item .inner .icon-div {
        width: 78px;
        padding: 18px 10px 18px 18px;
    }

    .main-page .content-div .btn-item .inner .text-side,
    .main-page .content-div .btn-item.user-item .inner .text-side {
        position: relative;
        left: auto;
        width: calc(100% - 78px);
        min-height: 78px;
        padding: 18px 18px 18px 8px;
    }

    .main-page .content-div .btn-item .inner .text-side h4,
    .main-page .content-div .btn-item.dashboard-item .inner .text-side h4 {
        font-size: 16px;
        line-height: 1.35;
    }

    .main-page .content-div .btn-item .inner .rules-div {
        padding: 18px;
    }

    .main-page .content-div .btn-item .inner .data-table-container {
        padding: 14px;
    }

    .main-page .content-div div.dataTables_wrapper div.dataTables_filter,
    .main-page .content-div div.dataTables_wrapper div.dataTables_paginate,
    .main-page .content-div div.dataTables_wrapper div.dataTables_info {
        float: none;
        width: 100%;
        text-align: left;
    }

    .main-page .content-div div.dataTables_wrapper div.dataTables_filter label {
        width: 100%;
        max-width: none;
    }

    .main-page .content-div div.dataTables_wrapper div.dataTables_length:before,
    .main-page .content-div.call-center-content div.dataTables_wrapper div.dataTables_length:before,
    .main-page .content-div .customer_profile div.dataTables_wrapper div.dataTables_length:before,
    .main-page .content-div .cargo div.dataTables_wrapper div.dataTables_length:before,
    .main-page .content-div .onay div.dataTables_wrapper div.dataTables_length:before,
    .main-page .content-div .iade div.dataTables_wrapper div.dataTables_length:before,
    .main-page .content-div .tamam div.dataTables_wrapper div.dataTables_length:before {
        position: static;
        margin: 2px 0 16px;
        font-size: 17px;
    }

    .main-page .table > thead > tr > th,
    .main-page .table > tfoot > tr > th,
    .main-page .table > tbody > tr > td,
    .main-page .content-div .inner table tbody tr td {
        padding: 10px 12px;
    }

    .main-page .profile-div .nav-tabs {
        padding-bottom: 4px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .main-page .profile-div .nav-tabs > li {
        flex: 0 0 auto;
    }

    .new-address-modal.modal:before {
        display: none;
    }

    .new-address-modal .modal-dialog,
    .detail-modal .modal-dialog,
    #downloadExcel .modal-dialog {
        display: block;
        width: auto;
        max-width: none;
        margin: 12px;
    }

    .new-address-modal .modal-header,
    .detail-modal .modal-header,
    .new-address-modal .modal-body,
    .detail-modal .modal-body {
        padding: 18px;
    }

    .new-address-modal .modal-body,
    .detail-modal .modal-body {
        max-height: calc(100vh - 100px);
    }

    .footer-div {
        height: auto;
        min-height: 0;
        padding-bottom: 0;
    }

    .footer-div .left-side,
    .footer-div .right-side {
        width: 100%;
    }

    .footer-div .logo-foot,
    .footer-div .text-side,
    .footer-div ul.social-links {
        height: auto;
    }

    .footer-div .logo-foot {
        padding-top: 16px;
    }

    .footer-div .text-side {
        padding: 8px 0 4px;
    }

    .footer-div ul.social-links {
        padding: 4px 0 12px;
    }

    .footer-div ul.social-links li a {
        width: 42px;
        height: 42px;
    }

    .footer-div .privacy-footer {
        position: relative;
        height: auto;
        min-height: 44px;
    }

    .footer-div .links-container {
        justify-content: center;
        min-height: 44px;
        height: auto;
    }

    .login-page {
        align-items: flex-start;
        padding: 20px 12px 76px;
    }

    .login-form-contianer {
        border-radius: 14px;
    }

    .login-form-contianer .form-header {
        min-height: 68px;
        padding: 16px 18px;
    }

    .login-form-contianer .form-header .logo-img {
        width: 148px;
    }

    .login-form-contianer .form-side {
        padding: 22px 18px;
    }

    .login-form-contianer .form-side + .form-side {
        border-top: 1px solid var(--ui-border);
        border-left: 0;
    }

    .login-footer .links-container {
        min-height: 44px;
        height: auto;
        padding: 10px 0;
    }

    .main-page .form-control,
    .new-address-modal .form-control,
    .detail-modal .form-control,
    .login-page .form-control,
    .main-page .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 16px;
    }

    .main-page .select2-container,
    .new-address-modal .select2-container,
    .detail-modal .select2-container {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .main-page .content-div .takip-item .search-text .form-control,
    .main-page .content-div .takip-item .search-text .btn-default {
        float: none;
        width: 100%;
        border-radius: var(--ui-radius-sm);
    }

    .main-page .content-div .takip-item .search-text .btn-default {
        margin-top: 8px;
    }

    .main-page .content-div .btn-item.dashboard-item .inner .text-side h4 span {
        font-size: 20px;
    }

    .new-address-modal .modal-header h4,
    .detail-modal .modal-header h4 {
        font-size: 16px;
    }

    .login-form-contianer .form-header .text-div p {
        font-size: 12px;
    }

    .login-footer .links-container .innerDiv,
    .footer-div .links-container .innerDiv {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 10px;
    }

    .login-footer .links-container a + a,
    .footer-div .links-container a + a {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .main-page .content-div .btn-item.userTable .inner .data-table-container {
        padding: 12px;
    }

    .main-page .content-div .userTable .dataTables_wrapper > .row:first-child,
    .main-page .content-div .userTable .dataTables_wrapper > .row:last-child {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .main-page .content-div .userTable .dataTables_wrapper > .row:first-child > div,
    .main-page .content-div .userTable .dataTables_wrapper > .row:last-child > div {
        width: 100%;
    }

    .main-page .content-div .userTable div.dataTables_wrapper div.dataTables_filter,
    .main-page .content-div .userTable div.dataTables_wrapper div.dataTables_paginate,
    .main-page .content-div .userTable div.dataTables_wrapper div.dataTables_info {
        text-align: left;
    }

    .main-page .content-div .userTable div.dataTables_wrapper div.dataTables_filter label {
        max-width: none;
    }
}

@media (max-width: 991px) {
    .auth-page {
        align-items: center;
        padding: 20px 16px 0;
        overflow: hidden;
    }

    .auth-page .auth-card,
    .auth-page .auth-register-card {
        max-width: 720px;
        margin: 0;
        border-radius: 20px;
    }

    .auth-page .auth-header {
        min-height: 76px;
        padding: 18px 26px;
    }

    .auth-page .auth-layout,
    .auth-page .auth-register-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-page .auth-layout > .form-side,
    .auth-page .auth-layout > .form-side + .form-side {
        width: auto;
        border: 0;
    }

    .auth-page .auth-layout > .auth-form-panel,
    .auth-page .auth-layout > .auth-register-form-panel {
        min-height: 0;
        padding: 36px 40px;
    }

    .auth-page .auth-form-inner {
        max-width: 560px;
    }

    .auth-page .auth-layout > .auth-aside {
        min-height: 0;
        padding: 34px 40px;
        border-top: 0;
    }

    .auth-page .auth-benefit-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .auth-page .auth-benefit-list li {
        display: block;
        margin: 0;
    }

    .auth-page .auth-benefit-icon {
        margin-bottom: 10px;
    }

    .auth-page .auth-footer {
        margin-top: 16px;
    }
}

@media (max-width: 600px) {
    .auth-page {
        padding: 12px 12px 0;
    }

    .auth-page:before {
        top: -320px;
        right: -290px;
    }

    .auth-page .auth-card,
    .auth-page .auth-register-card {
        border-radius: 16px;
        box-shadow: 0 14px 38px rgba(16, 24, 40, .1);
    }

    .auth-page .auth-header {
        min-height: 70px;
        padding: 16px 18px;
    }

    .auth-page .auth-header .logo-img {
        width: 150px;
    }

    .auth-page .auth-portal-label {
        gap: 7px;
        padding: 7px 9px;
    }

    .auth-page .auth-portal-label p {
        font-size: 10px;
    }

    .auth-page .auth-layout > .auth-form-panel,
    .auth-page .auth-layout > .auth-register-form-panel {
        padding: 28px 20px;
    }

    .auth-page .auth-form-panel h1 {
        font-size: 25px;
    }

    .auth-page .auth-form-intro {
        margin-bottom: 24px;
        font-size: 13px;
    }

    .auth-page .auth-form-panel .input-group .form-control {
        height: 52px;
        font-size: 16px;
    }

    .auth-page .auth-register-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-page .auth-register-fields .auth-field-wide {
        grid-column: auto;
    }

    .auth-page .auth-consent-section {
        margin-top: 22px;
    }

    .auth-page .auth-consent-content {
        align-items: flex-start;
    }

    .auth-page .auth-layout > .auth-aside {
        padding: 30px 20px;
    }

    .auth-login-page .auth-layout > .auth-aside {
        padding: 30px 20px;
    }

    .auth-page .auth-aside h2 {
        font-size: 23px;
    }

    .auth-page .auth-benefit-list {
        display: block;
    }

    .auth-page .auth-benefit-list li {
        display: flex;
        margin-bottom: 8px;
    }

    .auth-page .auth-benefit-icon {
        margin-bottom: 0;
    }

    .auth-page .auth-footer {
        margin-top: 10px;
    }

    .auth-page .auth-footer .innerDiv {
        gap: 10px 14px;
    }
}

/* Customer service experience */

.main-page .customer-home-page,
.main-page .customer-service-page {
    --customer-brand: #1428a0;
    --customer-brand-dark: #0d1f7a;
    --customer-brand-soft: #eef2ff;
    padding-top: 38px;
    padding-bottom: 56px;
}

.main-page .customer-home-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
    padding: 0 2px;
}

.main-page .customer-home-hero-copy {
    max-width: 720px;
}

.main-page .customer-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-bottom: 12px;
    padding: 5px 10px;
    color: var(--customer-brand, #1428a0);
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: var(--customer-brand-soft, #eef2ff);
    border-radius: 999px;
}

.main-page .customer-home-hero h1,
.main-page .customer-form-heading h1,
.main-page .customer-track-heading h1 {
    margin: 0;
    color: #172033;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.main-page .customer-home-hero p,
.main-page .customer-form-heading p,
.main-page .customer-track-heading p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}

.main-page .customer-home-secure {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    color: #475467;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 999px;
}

.main-page .customer-home-secure i {
    color: #16a34a;
}

.main-page .customer-action-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.main-page .customer-action-grid > div {
    display: flex;
    margin-bottom: 22px;
}

.main-page .customer-action-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    min-height: 232px;
    padding: 30px;
    overflow: hidden;
    color: #172033;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(16, 24, 40, .07);
}

.main-page .customer-action-card:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: #dbe3ff;
}

.main-page .customer-action-card-primary:before {
    background: var(--customer-brand);
}

.main-page .customer-action-card:hover,
.main-page .customer-action-card:focus {
    color: #172033;
    border-color: #c7d2fe;
    box-shadow: 0 18px 42px rgba(20, 40, 160, .12);
    transform: translateY(-2px);
}

.main-page .customer-action-visual {
    display: inline-flex;
    flex: 0 0 112px;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    background: #f2f5ff;
    border: 1px solid #e1e7ff;
    border-radius: 28px;
}

.main-page .customer-action-visual img {
    display: block;
    width: auto;
    max-width: 82px;
    max-height: 88px;
}

.main-page .customer-action-copy {
    display: block;
    min-width: 0;
}

.main-page .customer-action-copy small,
.main-page .customer-action-copy strong,
.main-page .customer-action-copy > span,
.main-page .customer-action-copy em {
    display: block;
}

.main-page .customer-action-copy small {
    margin-bottom: 7px;
    color: #667085;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.main-page .customer-action-copy strong {
    color: #172033;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.main-page .customer-action-copy > span {
    margin-top: 8px;
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}

.main-page .customer-action-copy em {
    margin-top: 18px;
    color: var(--customer-brand);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.main-page .customer-action-copy em i {
    margin-left: 6px;
    transition: transform .18s ease;
}

.main-page .customer-action-card:hover .customer-action-copy em i,
.main-page .customer-action-card:focus .customer-action-copy em i {
    transform: translateX(3px);
}

.main-page .customer-rules-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.main-page .customer-rules-card summary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
}

.main-page .customer-rules-card summary::-webkit-details-marker {
    display: none;
}

.main-page .customer-rules-summary-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--customer-brand);
    background: var(--customer-brand-soft);
    border-radius: 10px;
}

.main-page .customer-rules-summary-copy {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.main-page .customer-rules-summary-copy strong,
.main-page .customer-rules-summary-copy small {
    display: block;
}

.main-page .customer-rules-summary-copy strong {
    color: #172033;
    font-size: 14px;
    font-weight: 700;
}

.main-page .customer-rules-summary-copy small {
    margin-top: 3px;
    color: #667085;
    font-size: 11px;
}

.main-page .customer-rules-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: var(--customer-brand);
    font-size: 11px;
    font-weight: 700;
}

.main-page .customer-rules-toggle i {
    transition: transform .18s ease;
}

.main-page .customer-rules-card[open] .customer-rules-toggle i {
    transform: rotate(180deg);
}

.main-page .customer-rules-content {
    padding: 22px 24px 24px;
    border-top: 1px solid #e8ecf2;
}

.main-page .customer-rules-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-page .customer-rules-content li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 18px;
    color: #667085;
    font-size: 12px;
    line-height: 1.65;
}

.main-page .customer-rules-content li:last-child {
    margin-bottom: 0;
}

.main-page .customer-rules-content li:before {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 5px;
    height: 5px;
    content: "";
    background: var(--customer-brand);
    border-radius: 50%;
}

.main-page .customer-section-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 22px;
    padding: 4px;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .05);
}

.main-page .customer-section-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 13px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
}

.main-page .customer-section-nav a:hover,
.main-page .customer-section-nav a:focus,
.main-page .customer-section-nav a.is-active {
    color: var(--customer-brand);
    background: var(--customer-brand-soft);
}

.main-page .customer-section-nav a.is-active {
    box-shadow: inset 0 0 0 1px #dbe3ff;
}

.main-page .customer-section-nav-wrap {
    margin-bottom: 0;
}

.main-page .customer-service-card {
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(16, 24, 40, .07);
}

.main-page .customer-track-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 44px;
}

.main-page .customer-track-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.main-page .customer-track-heading > div {
    max-width: 650px;
}

.main-page .customer-track-icon {
    display: inline-flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: #fff;
    font-size: 20px;
    background: var(--customer-brand);
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(20, 40, 160, .2);
}

.main-page .customer-track-heading h1 {
    font-size: 28px;
}

.main-page .customer-track-form {
    margin-top: 32px;
    padding: 22px;
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 14px;
}

.main-page .customer-track-form > label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.main-page .customer-track-control {
    position: relative;
    display: flex;
    align-items: stretch;
}

.main-page .customer-track-control > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: #667085;
    transform: translateY(-50%);
}

.main-page .customer-track-control .form-control {
    float: none;
    height: 50px;
    padding-right: 16px;
    padding-left: 44px;
    background: #fff;
    border: 1px solid #d9dfea;
    border-right: 0;
    border-radius: 10px 0 0 10px;
}

.main-page .customer-track-control .btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    min-height: 50px;
    color: #fff;
    background: var(--customer-brand);
    border-color: var(--customer-brand);
    border-radius: 0 10px 10px 0;
}

.main-page .customer-track-control .btn:hover,
.main-page .customer-track-control .btn:focus {
    color: #fff;
    background: var(--customer-brand-dark);
    border-color: var(--customer-brand-dark);
}

.main-page .customer-track-help {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #667085;
    font-size: 10px;
    line-height: 1.5;
}

.main-page .customer-track-results {
    max-width: 920px;
    margin: 22px auto 0;
}

.main-page .customer-fault-page .customer-fault-form-card {
    margin-bottom: 0;
}

.main-page .customer-fault-page .customer-fault-form-card > .inner {
    padding: 0;
    overflow: hidden;
}

.main-page .customer-form-heading {
    padding: 32px 38px;
    background: #fff;
    border-bottom: 1px solid #e8ecf2;
}

.main-page .customer-form-heading h1 {
    font-size: 28px;
}

.main-page .customer-fault-page .bilgi-form {
    padding: 28px 38px 36px;
    background: #f8fafc;
}

.main-page .customer-form-section {
    margin-bottom: 20px;
    padding: 24px 24px 6px;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
}

.main-page .customer-form-section-title {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
}

.main-page .customer-form-section-title > span {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--customer-brand);
    font-size: 15px;
    background: var(--customer-brand-soft);
    border-radius: 10px;
}

.main-page .customer-form-section-title h2 {
    margin: 1px 0 3px;
    color: #172033;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.main-page .customer-form-section-title p {
    margin: 0;
    color: #667085;
    font-size: 11px;
    line-height: 1.55;
}

.main-page .customer-fault-page .form-group {
    margin-bottom: 18px;
}

.main-page .customer-fault-page .form-group label,
.main-page .customer-fault-page .form-item .inner .show-labels label {
    display: block;
    min-height: 18px;
    margin-bottom: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.main-page .customer-fault-page .form-group label small,
.main-page .customer-fault-page .form-group label span {
    color: #7b8494;
    font-size: 10px;
    font-weight: 500;
}

.main-page .customer-fault-page .form-control,
.main-page .customer-fault-page .select2-container--default .select2-selection--single {
    height: 48px;
    min-height: 48px;
    color: #172033;
    font-size: 13px;
    background: #fff;
    border-color: #d9dfea;
    border-radius: 10px;
}

.main-page .customer-fault-page textarea.form-control {
    height: 96px;
    min-height: 96px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.main-page .customer-fault-page .form-control[disabled],
.main-page .customer-fault-page .form-control[readonly] {
    color: #667085;
    background: #f3f5f8;
    border-color: #e1e6ed;
    opacity: 1;
}

.main-page .customer-fault-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
}

.main-page .customer-fault-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

.main-page .customer-fault-page .add-file {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 13px;
    color: #475467;
    background: #fff;
    border-style: dashed;
    cursor: pointer;
}

.main-page .customer-fault-page .add-file:hover {
    color: var(--customer-brand);
    background: #f8faff;
    border-color: #8798df;
}

.main-page .customer-fault-page .add-file i {
    color: var(--customer-brand);
}

.main-page .customer-refund-section {
    margin-bottom: 22px;
}

.main-page .customer-refund-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    color: #475467;
    background: #f6f8ff;
    border: 1px solid #dfe5ff;
    border-radius: 10px;
}

.main-page .customer-refund-note > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--customer-brand);
}

.main-page .customer-refund-note p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
}

.main-page .customer-form-submit-row {
    margin-top: 2px;
}

.main-page .customer-form-submit-row .form-group {
    margin-bottom: 0;
}

.main-page .customer-fault-page .customer-fault-form-card .inner .btn-ariza-send {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 154px;
    min-height: 48px;
    padding: 12px 22px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: var(--customer-brand);
    border-color: var(--customer-brand);
    border-radius: 10px;
}

.main-page .customer-fault-page .customer-fault-form-card .inner .btn-ariza-send:hover,
.main-page .customer-fault-page .customer-fault-form-card .inner .btn-ariza-send:focus {
    color: #fff;
    background: var(--customer-brand-dark);
    border-color: var(--customer-brand-dark);
}

.main-page .customer-fault-page .request-result > .inner {
    padding: 30px;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .main-page .customer-action-card {
        gap: 20px;
        min-height: 220px;
        padding: 24px;
    }

    .main-page .customer-action-visual {
        flex-basis: 92px;
        width: 92px;
        height: 92px;
        border-radius: 22px;
    }

    .main-page .customer-action-visual img {
        max-width: 68px;
        max-height: 72px;
    }

    .main-page .customer-action-copy strong {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .main-page .customer-home-page,
    .main-page .customer-service-page {
        padding-top: 22px;
        padding-bottom: 34px;
    }

    .main-page .customer-home-hero {
        display: block;
        margin-bottom: 20px;
    }

    .main-page .customer-home-secure {
        margin-top: 16px;
    }

    .main-page .customer-home-hero h1,
    .main-page .customer-form-heading h1,
    .main-page .customer-track-heading h1 {
        font-size: 25px;
    }

    .main-page .customer-action-grid > div {
        margin-bottom: 14px;
    }

    .main-page .customer-action-card {
        gap: 18px;
        min-height: 0;
        padding: 22px 20px;
        border-radius: 16px;
    }

    .main-page .customer-action-visual {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
        border-radius: 18px;
    }

    .main-page .customer-action-visual img {
        max-width: 58px;
        max-height: 62px;
    }

    .main-page .customer-action-copy > span {
        display: none;
    }

    .main-page .customer-action-copy em {
        margin-top: 12px;
    }

    .main-page .customer-rules-card summary {
        gap: 11px;
        padding: 14px;
    }

    .main-page .customer-rules-summary-copy small,
    .main-page .customer-rules-toggle {
        font-size: 10px;
    }

    .main-page .customer-rules-toggle {
        gap: 5px;
    }

    .main-page .customer-rules-content {
        padding: 18px;
    }

    .main-page .customer-section-nav {
        display: flex;
        width: 100%;
        margin-bottom: 16px;
    }

    .main-page .customer-section-nav a {
        flex: 1 1 50%;
        justify-content: center;
        min-width: 0;
        padding-right: 8px;
        padding-left: 8px;
        text-align: center;
    }

    .main-page .customer-track-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .main-page .customer-track-heading {
        display: block;
    }

    .main-page .customer-track-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
        border-radius: 13px;
    }

    .main-page .customer-track-form {
        margin-top: 24px;
        padding: 16px;
    }

    .main-page .customer-track-control {
        display: block;
    }

    .main-page .customer-track-control > i {
        top: 25px;
    }

    .main-page .customer-track-control .form-control {
        height: 50px;
        border: 1px solid #d9dfea;
        border-radius: 10px;
    }

    .main-page .customer-track-control .btn {
        width: 100%;
        min-height: 48px;
        margin-top: 10px;
        border-radius: 10px;
    }

    .main-page .customer-fault-page .customer-fault-form-card {
        margin-bottom: 0;
    }

    .main-page .customer-form-heading {
        padding: 24px 20px;
    }

    .main-page .customer-fault-page .bilgi-form {
        padding: 18px 14px 22px;
    }

    .main-page .customer-form-section {
        margin-bottom: 14px;
        padding: 18px 16px 2px;
        border-radius: 13px;
    }

    .main-page .customer-form-section-title {
        gap: 11px;
        margin-bottom: 18px;
    }

    .main-page .customer-form-section-title > span {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .main-page .customer-form-section-title h2 {
        font-size: 15px;
    }

    .main-page .customer-form-section-title p {
        font-size: 10px;
    }

    .main-page .customer-fault-page .form-control,
    .main-page .customer-fault-page .select2-container--default .select2-selection--single {
        font-size: 16px;
    }

    .main-page .customer-fault-page .customer-fault-form-card .inner .btn-ariza-send {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .main-page .customer-action-card {
        align-items: flex-start;
    }

    .main-page .customer-action-visual {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
        border-radius: 15px;
    }

    .main-page .customer-action-visual img {
        max-width: 46px;
        max-height: 48px;
    }

    .main-page .customer-action-copy strong {
        font-size: 16px;
    }

    .main-page .customer-rules-summary-copy small {
        display: none;
    }

    .main-page .customer-rules-toggle {
        font-size: 0;
    }

    .main-page .customer-rules-toggle i {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Staff dashboard */

.main-page .staff-dashboard-page {
    --staff-blue: #1d4ed8;
    --staff-blue-soft: #eff6ff;
    --staff-cyan: #0891b2;
    --staff-cyan-soft: #ecfeff;
    --staff-amber: #d97706;
    --staff-amber-soft: #fffbeb;
    --staff-green: #15803d;
    --staff-green-soft: #f0fdf4;
    --staff-purple: #7e22ce;
    --staff-purple-soft: #faf5ff;
    --staff-slate: #475569;
    --staff-slate-soft: #f1f5f9;
    width: 100%;
    overflow-x: hidden;
}

.main-page .staff-dashboard-page .staff-dashboard-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
    padding: 30px 32px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 34%),
        linear-gradient(135deg, #1428a0 0%, #1d4ed8 64%, #2563eb 100%);
    border: 1px solid rgba(20, 40, 160, .16);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(20, 40, 160, .16);
}

.main-page .staff-dashboard-page .staff-dashboard-hero:after {
    position: absolute;
    right: -60px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    content: "";
    pointer-events: none;
    border: 42px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.main-page .staff-dashboard-page .staff-dashboard-hero-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 820px;
}

.main-page .staff-dashboard-page .staff-dashboard-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.main-page .staff-dashboard-page .staff-dashboard-eyebrow i {
    width: 1em;
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-dashboard-title {
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.main-page .staff-dashboard-page .staff-dashboard-subtitle {
    max-width: 680px;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    line-height: 1.6;
}

.main-page .staff-dashboard-page .staff-dashboard-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.main-page .staff-dashboard-page .staff-dashboard-role,
.main-page .staff-dashboard-page .staff-dashboard-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    white-space: nowrap;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.main-page .staff-dashboard-page .staff-dashboard-role i,
.main-page .staff-dashboard-page .staff-dashboard-live i {
    width: 1em;
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-dashboard-live:before {
    width: 7px;
    height: 7px;
    content: "";
    background: #86efac;
    border: 2px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(134, 239, 172, .12);
}

.main-page .staff-dashboard-page .staff-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.main-page .staff-dashboard-page .staff-kpi-card {
    --staff-kpi-accent: var(--staff-blue);
    --staff-kpi-soft: var(--staff-blue-soft);
    --staff-kpi-border: #dbeafe;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    min-height: 142px;
    padding: 18px 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ui-border);
    border-radius: 15px;
    box-shadow: var(--ui-shadow-card);
}

.main-page .staff-dashboard-page .staff-kpi-card:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: var(--staff-kpi-accent);
}

.main-page .staff-dashboard-page .staff-kpi-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .09);
    transform: translateY(-2px);
}

.main-page .staff-dashboard-page .staff-kpi-card--blue {
    --staff-kpi-accent: var(--staff-blue);
    --staff-kpi-soft: var(--staff-blue-soft);
    --staff-kpi-border: #dbeafe;
}

.main-page .staff-dashboard-page .staff-kpi-card--cyan {
    --staff-kpi-accent: var(--staff-cyan);
    --staff-kpi-soft: var(--staff-cyan-soft);
    --staff-kpi-border: #cffafe;
}

.main-page .staff-dashboard-page .staff-kpi-card--amber {
    --staff-kpi-accent: var(--staff-amber);
    --staff-kpi-soft: var(--staff-amber-soft);
    --staff-kpi-border: #fde68a;
}

.main-page .staff-dashboard-page .staff-kpi-card--green {
    --staff-kpi-accent: var(--staff-green);
    --staff-kpi-soft: var(--staff-green-soft);
    --staff-kpi-border: #bbf7d0;
}

.main-page .staff-dashboard-page .staff-kpi-card--purple {
    --staff-kpi-accent: var(--staff-purple);
    --staff-kpi-soft: var(--staff-purple-soft);
    --staff-kpi-border: #e9d5ff;
}

.main-page .staff-dashboard-page .staff-kpi-card--slate {
    --staff-kpi-accent: var(--staff-slate);
    --staff-kpi-soft: var(--staff-slate-soft);
    --staff-kpi-border: #e2e8f0;
}

.main-page .staff-dashboard-page .staff-kpi-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--staff-kpi-accent);
    font-size: 17px;
    background: var(--staff-kpi-soft);
    border: 1px solid var(--staff-kpi-border);
    border-radius: 11px;
}

.main-page .staff-dashboard-page .staff-kpi-icon i {
    width: 1em;
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-kpi-body {
    min-width: 0;
}

.main-page .staff-dashboard-page .staff-kpi-label,
.main-page .staff-dashboard-page .staff-kpi-value,
.main-page .staff-dashboard-page .staff-kpi-note {
    display: block;
}

.main-page .staff-dashboard-page .staff-kpi-label {
    min-height: 30px;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.main-page .staff-dashboard-page .staff-kpi-value {
    margin-top: 4px;
    color: #172033;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.main-page .staff-dashboard-page .staff-kpi-note {
    margin-top: 7px;
    color: #7b8494;
    font-size: 10px;
    line-height: 1.45;
}

.main-page .staff-dashboard-page .staff-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.main-page .staff-dashboard-page .staff-dashboard-grid--wide-left {
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, .85fr);
}

.main-page .staff-dashboard-page .staff-panel {
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--ui-border);
    border-radius: 16px;
    box-shadow: var(--ui-shadow-card);
}

.main-page .staff-dashboard-page .staff-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf0f4;
}

.main-page .staff-dashboard-page .staff-panel-copy {
    min-width: 0;
}

.main-page .staff-dashboard-page .staff-panel-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--ui-primary);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.main-page .staff-dashboard-page .staff-panel-title {
    margin: 0;
    color: #172033;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.main-page .staff-dashboard-page .staff-panel-subtitle {
    margin: 5px 0 0;
    color: #7b8494;
    font-size: 11px;
    line-height: 1.5;
}

.main-page .staff-dashboard-page .staff-panel-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 11px;
    color: var(--ui-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
    white-space: nowrap;
    background: var(--ui-primary-soft);
    border: 1px solid #dbeafe;
    border-radius: 9px;
}

.main-page .staff-dashboard-page a.staff-panel-action:hover,
.main-page .staff-dashboard-page a.staff-panel-action:focus {
    color: #fff;
    text-decoration: none;
    background: var(--ui-primary);
    border-color: var(--ui-primary);
}

.main-page .staff-dashboard-page .staff-panel-action i {
    width: 1em;
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-status-list,
.main-page .staff-dashboard-page .staff-ranking-list,
.main-page .staff-dashboard-page .staff-activity-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-page .staff-dashboard-page .staff-status-item {
    --staff-status-accent: var(--staff-blue);
    margin-bottom: 17px;
}

.main-page .staff-dashboard-page .staff-status-item:last-child {
    margin-bottom: 0;
}

.main-page .staff-dashboard-page .staff-status-head,
.main-page .staff-dashboard-page .staff-ranking-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    margin-bottom: 7px;
}

.main-page .staff-dashboard-page .staff-status-name {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.main-page .staff-dashboard-page .staff-status-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    background: var(--staff-status-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}

.main-page .staff-dashboard-page .staff-status-meta {
    flex: 0 0 auto;
    color: #667085;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.main-page .staff-dashboard-page .staff-progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #eef2f6;
    border-radius: 999px;
}

.main-page .staff-dashboard-page .staff-progress-fill {
    display: block;
    width: var(--bar-width, var(--staff-progress, 0%));
    max-width: 100%;
    height: 100%;
    background: var(--staff-status-accent, var(--staff-blue));
    border-radius: inherit;
}

.main-page .staff-dashboard-page .staff-status-dot--cargo,
.main-page .staff-dashboard-page .staff-progress-fill--cargo {
    background: #2563eb;
}

.main-page .staff-dashboard-page .staff-status-dot--processing,
.main-page .staff-dashboard-page .staff-progress-fill--processing {
    background: #d97706;
}

.main-page .staff-dashboard-page .staff-status-dot--return,
.main-page .staff-dashboard-page .staff-progress-fill--return {
    background: #dc2626;
}

.main-page .staff-dashboard-page .staff-status-dot--closed,
.main-page .staff-dashboard-page .staff-progress-fill--closed {
    background: #15803d;
}

.main-page .staff-dashboard-page .staff-status-dot--other,
.main-page .staff-dashboard-page .staff-progress-fill--other {
    background: #64748b;
}

.main-page .staff-dashboard-page .staff-trend-chart {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    min-height: 184px;
    padding-top: 4px;
}

.main-page .staff-dashboard-page .staff-trend-item {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-trend-value {
    min-height: 20px;
    color: #475467;
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
}

.main-page .staff-dashboard-page .staff-trend-track {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-end;
    justify-content: center;
    min-height: 128px;
    padding: 0 3px;
    overflow: hidden;
    background: linear-gradient(to top, #f8fafc, rgba(248, 250, 252, .24));
    border-bottom: 1px solid #dce2ea;
    border-radius: 7px 7px 0 0;
}

.main-page .staff-dashboard-page .staff-trend-bar {
    display: block;
    width: 100%;
    max-width: 28px;
    height: var(--bar-height, var(--staff-trend-height, 0%));
    max-height: 100%;
    min-height: 3px;
    background: linear-gradient(180deg, #60a5fa, var(--ui-primary));
    border-radius: 6px 6px 2px 2px;
}

.main-page .staff-dashboard-page .staff-trend-label {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: #7b8494;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-page .staff-dashboard-page .staff-ranking-item {
    padding: 13px 0;
    border-bottom: 1px solid #edf0f4;
}

.main-page .staff-dashboard-page .staff-ranking-item:first-child {
    padding-top: 0;
}

.main-page .staff-dashboard-page .staff-ranking-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.main-page .staff-dashboard-page .staff-ranking-head {
    margin-bottom: 0;
}

.main-page .staff-dashboard-page .staff-ranking-name {
    min-width: 0;
    overflow: hidden;
    color: #344054;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-page .staff-dashboard-page .staff-ranking-value {
    flex: 0 0 auto;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.main-page .staff-dashboard-page .staff-aging-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.main-page .staff-dashboard-page .staff-aging-item {
    min-width: 0;
    padding: 16px 12px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
}

.main-page .staff-dashboard-page .staff-aging-value,
.main-page .staff-dashboard-page .staff-aging-label {
    display: block;
}

.main-page .staff-dashboard-page .staff-aging-value {
    color: #172033;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.main-page .staff-dashboard-page .staff-aging-label {
    margin-top: 6px;
    color: #667085;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.main-page .staff-dashboard-page .staff-recent-table-wrap {
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.main-page .staff-dashboard-page .staff-recent-table {
    width: 100%;
    margin: 0;
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
}

.main-page .staff-dashboard-page .staff-recent-table > thead > tr > th {
    padding: 9px 12px;
    color: #667085;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
    background: #f8fafc;
    border-top: 1px solid #e8ecf2;
    border-bottom: 1px solid #e8ecf2;
}

.main-page .staff-dashboard-page .staff-recent-table > thead > tr > th:first-child {
    border-left: 1px solid #e8ecf2;
    border-radius: 9px 0 0 9px;
}

.main-page .staff-dashboard-page .staff-recent-table > thead > tr > th:last-child {
    border-right: 1px solid #e8ecf2;
    border-radius: 0 9px 9px 0;
}

.main-page .staff-dashboard-page .staff-recent-table > tbody > tr > td {
    padding: 13px 12px;
    color: #475467;
    font-size: 11px;
    line-height: 1.45;
    vertical-align: middle;
    border-top: 0;
    border-bottom: 1px solid #edf0f4;
}

.main-page .staff-dashboard-page .staff-recent-table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.main-page .staff-dashboard-page .staff-recent-table > tbody > tr:hover > td {
    background: #fafcff;
}

.main-page .staff-dashboard-page .staff-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 8px;
    color: #475569;
    font-size: 9px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.main-page .staff-dashboard-page .staff-status-badge--cargo {
    color: #0369a1;
    background: #f0f9ff;
    border-color: #bae6fd;
}

.main-page .staff-dashboard-page .staff-status-badge--processing {
    color: #b45309;
    background: #fffbeb;
    border-color: #fde68a;
}

.main-page .staff-dashboard-page .staff-status-badge--return {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}

.main-page .staff-dashboard-page .staff-status-badge--closed {
    color: #15803d;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.main-page .staff-dashboard-page .staff-status-badge--other {
    color: #6d28d9;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.main-page .staff-dashboard-page .staff-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f4;
}

.main-page .staff-dashboard-page .staff-activity-item:first-child {
    padding-top: 0;
}

.main-page .staff-dashboard-page .staff-activity-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.main-page .staff-dashboard-page .staff-activity-icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--ui-primary);
    font-size: 13px;
    background: var(--ui-primary-soft);
    border-radius: 10px;
}

.main-page .staff-dashboard-page .staff-activity-icon i {
    width: 1em;
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-activity-copy {
    flex: 1 1 auto;
    min-width: 0;
    color: #344054;
    font-size: 11px;
    line-height: 1.55;
}

.main-page .staff-dashboard-page .staff-activity-copy strong {
    color: #172033;
    font-weight: 700;
}

.main-page .staff-dashboard-page .staff-activity-date {
    display: block;
    margin-top: 3px;
    color: #98a2b3;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;
}

.main-page .staff-dashboard-page .staff-empty {
    display: flex;
    min-height: 140px;
    padding: 24px;
    color: #7b8494;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px dashed #d8dee8;
    border-radius: 12px;
}

.main-page .staff-dashboard-page .staff-dashboard-context {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    margin: 0 0 18px;
    color: #667085;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.main-page .staff-dashboard-page .staff-dashboard-context i {
    width: 1em;
    color: var(--ui-primary);
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-dashboard-hero .staff-dashboard-context {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .76);
}

.main-page .staff-dashboard-page .staff-dashboard-hero .staff-dashboard-context i {
    color: #bfdbfe;
}

.main-page .staff-dashboard-page .staff-dashboard-filter {
    margin-bottom: 22px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.main-page .staff-dashboard-page .staff-dashboard-filter-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-header h2 {
    margin: 2px 0 0;
    color: #172033;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-period {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 6px 10px;
    color: var(--staff-blue);
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    white-space: nowrap;
    background: var(--staff-blue-soft);
    border: 1px solid #dbeafe;
    border-radius: 999px;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-form {
    display: grid;
    grid-template-columns: minmax(135px, .7fr) minmax(135px, .7fr) minmax(160px, 1fr) minmax(190px, 1.2fr) minmax(160px, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-field {
    min-width: 0;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-field label {
    display: block;
    margin: 0 0 6px;
    color: #475467;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-field input,
.main-page .staff-dashboard-page .staff-dashboard-filter-field select {
    width: 100%;
    height: 40px;
    min-width: 0;
    margin: 0;
    padding: 0 11px;
    color: #172033;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 38px;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 9px;
    box-shadow: none;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-field input:focus,
.main-page .staff-dashboard-page .staff-dashboard-filter-field select:focus {
    border-color: #93b4f8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}

.main-page .staff-dashboard-page .staff-dashboard-filter-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-actions button,
.main-page .staff-dashboard-page .staff-dashboard-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    margin: 0;
    padding: 0 13px;
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 38px;
    text-decoration: none;
    white-space: nowrap;
    background: var(--staff-blue);
    border: 1px solid var(--staff-blue);
    border-radius: 9px;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-actions a {
    color: #475467;
    background: #fff;
    border-color: #d8dee8;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-actions button:hover,
.main-page .staff-dashboard-page .staff-dashboard-filter-actions button:focus {
    color: #fff;
    background: #173fb1;
    border-color: #173fb1;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-actions a:hover,
.main-page .staff-dashboard-page .staff-dashboard-filter-actions a:focus {
    color: var(--staff-blue);
    background: var(--staff-blue-soft);
    border-color: #bfdbfe;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-actions button:active,
.main-page .staff-dashboard-page .staff-dashboard-filter-actions a:active {
    transform: translateY(1px);
}

.main-page .staff-dashboard-page .staff-dashboard-filter-help {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 13px 0 0;
    color: #667085;
    font-size: 9px;
    line-height: 1.5;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-help i {
    flex: 0 0 auto;
    width: 1em;
    margin-top: 2px;
    color: var(--staff-blue);
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 11px;
    padding: 9px 11px;
    color: #92400e;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 9px;
}

.main-page .staff-dashboard-page .staff-dashboard-filter-message i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #d97706;
}

.main-page .staff-dashboard-page .staff-panel-footnote {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 14px 0 0;
    padding-top: 11px;
    color: #7b8494;
    font-size: 9px;
    line-height: 1.5;
    border-top: 1px solid #edf0f4;
}

.main-page .staff-dashboard-page .staff-panel-footnote i {
    flex: 0 0 auto;
    width: 1em;
    margin-top: 2px;
    color: #98a2b3;
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-panel-warning {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 0;
    padding: 10px 11px;
    color: #92400e;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 9px;
}

.main-page .staff-dashboard-page .staff-panel-warning i {
    flex: 0 0 auto;
    width: 1em;
    margin-top: 2px;
    color: #d97706;
    line-height: 1;
    text-align: center;
}

.main-page .staff-dashboard-page .staff-finance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.main-page .staff-dashboard-page .staff-finance-item {
    min-width: 0;
    padding: 16px 14px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
}

.main-page .staff-dashboard-page .staff-finance-item > span,
.main-page .staff-dashboard-page .staff-finance-item > strong,
.main-page .staff-dashboard-page .staff-finance-item > small {
    display: block;
}

.main-page .staff-dashboard-page .staff-finance-item > span {
    color: #667085;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.main-page .staff-dashboard-page .staff-finance-item > strong {
    margin-top: 6px;
    overflow-wrap: anywhere;
    color: #172033;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.main-page .staff-dashboard-page .staff-finance-item > small {
    margin-top: 5px;
    color: #98a2b3;
    font-size: 9px;
    line-height: 1.45;
}

.main-page .staff-dashboard-page .staff-panel--notice {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    border-color: #dbe3ff;
    box-shadow: 0 10px 28px rgba(20, 40, 160, .08);
}

.main-page .staff-dashboard-page .staff-panel--notice:after {
    position: absolute;
    right: -42px;
    bottom: -58px;
    width: 128px;
    height: 128px;
    content: "";
    pointer-events: none;
    border: 24px solid rgba(29, 78, 216, .045);
    border-radius: 50%;
}

.main-page .staff-dashboard-page .staff-panel--notice > i {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #1428a0;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    background: #fff;
    border: 1px solid #dbe3ff;
    border-radius: 11px;
    box-shadow: 0 6px 16px rgba(20, 40, 160, .08);
}

.main-page .staff-dashboard-page .staff-notice-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    color: #475467;
    font-size: 11px;
    line-height: 1.55;
}

.main-page .staff-dashboard-page .staff-notice-copy > strong,
.main-page .staff-dashboard-page .staff-notice-copy > span,
.main-page .staff-dashboard-page .staff-notice-copy > small,
.main-page .staff-dashboard-page .staff-notice-copy > p {
    display: block;
}

.main-page .staff-dashboard-page .staff-notice-copy > strong {
    margin-bottom: 4px;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.main-page .staff-dashboard-page .staff-notice-copy > span,
.main-page .staff-dashboard-page .staff-notice-copy > p {
    margin: 0;
}

.main-page .staff-dashboard-page .staff-notice-copy > small {
    margin-top: 5px;
    color: #7b8494;
    font-size: 9px;
}

.main-page .staff-dashboard-page .staff-personal-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.main-page .staff-dashboard-page .staff-personal-summary > * {
    min-width: 0;
    padding: 15px 12px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 11px;
}

.main-page .staff-dashboard-page .staff-personal-summary > * > strong,
.main-page .staff-dashboard-page .staff-personal-summary > * > span,
.main-page .staff-dashboard-page .staff-personal-summary > * > small {
    display: block;
}

.main-page .staff-dashboard-page .staff-personal-summary > * > strong {
    color: #172033;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.main-page .staff-dashboard-page .staff-personal-summary > * > span,
.main-page .staff-dashboard-page .staff-personal-summary > * > small {
    margin-top: 6px;
    color: #667085;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;
}

.main-page .staff-dashboard-page .staff-panel--recent {
    grid-column: 1 / -1;
    width: 100%;
}

.main-page .staff-dashboard-page .staff-ranking-list--compact .staff-ranking-item {
    padding-top: 9px;
    padding-bottom: 9px;
}

.main-page .staff-dashboard-page .staff-ranking-list--compact .staff-ranking-name {
    font-size: 11px;
}

.main-page .staff-dashboard-page .staff-ranking-list--compact .staff-ranking-value {
    font-size: 12px;
}

@media (max-width: 1199px) {
    .main-page .staff-dashboard-page .staff-dashboard-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter-actions {
        justify-content: flex-end;
    }

    .main-page .staff-dashboard-page .staff-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .main-page .staff-dashboard-page .staff-dashboard-grid--wide-left {
        grid-template-columns: minmax(0, 1.35fr) minmax(270px, .8fr);
    }
}

@media (max-width: 991px) {
    .main-page .staff-dashboard-page .staff-dashboard-hero {
        align-items: flex-start;
        padding: 26px;
    }

    .main-page .staff-dashboard-page .staff-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-page .staff-dashboard-page .staff-dashboard-grid,
    .main-page .staff-dashboard-page .staff-dashboard-grid--wide-left {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .main-page .staff-dashboard-page .staff-dashboard-hero {
        display: block;
        margin-bottom: 16px;
        padding: 22px 20px;
        border-radius: 16px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-hero:after {
        right: -100px;
        bottom: -140px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-title {
        font-size: 24px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-subtitle {
        font-size: 12px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-meta {
        justify-content: flex-start;
        margin-top: 18px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-context {
        gap: 6px 11px;
        margin-bottom: 15px;
        font-size: 10px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter {
        margin-bottom: 16px;
        padding: 18px;
        border-radius: 14px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter-header {
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .main-page .staff-dashboard-page .staff-trend-chart--months {
        justify-content: flex-start;
        padding-bottom: 5px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-page .staff-dashboard-page .staff-trend-chart--months .staff-trend-item {
        flex: 0 0 42px;
    }

    .main-page .staff-dashboard-page .staff-kpi-grid {
        gap: 10px;
        margin-bottom: 16px;
    }

    .main-page .staff-dashboard-page .staff-kpi-card {
        min-height: 130px;
        padding: 16px 14px;
    }

    .main-page .staff-dashboard-page .staff-dashboard-grid {
        gap: 14px;
        margin-bottom: 14px;
    }

    .main-page .staff-dashboard-page .staff-panel {
        padding: 18px;
        border-radius: 14px;
    }

    .main-page .staff-dashboard-page .staff-panel-header {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .main-page .staff-dashboard-page .staff-panel-action {
        min-height: 40px;
    }

    .main-page .staff-dashboard-page .staff-aging-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-page .staff-dashboard-page .staff-personal-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-page .staff-dashboard-page .staff-panel--notice {
        gap: 11px;
    }

    .main-page .staff-dashboard-page .staff-panel-footnote {
        margin-top: 12px;
    }

    .main-page .staff-dashboard-page .staff-recent-table-wrap {
        margin: 0 -2px;
        padding-bottom: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-page .staff-dashboard-page .staff-recent-table {
        min-width: 680px;
    }

    .main-page .staff-dashboard-page .staff-trend-chart {
        gap: 5px;
        min-height: 166px;
    }

    .main-page .staff-dashboard-page .staff-trend-track {
        min-height: 112px;
        padding-right: 2px;
        padding-left: 2px;
    }

    .main-page .staff-dashboard-page .staff-trend-label {
        font-size: 8px;
    }
}

@media (max-width: 479px) {
    .main-page .staff-dashboard-page .staff-dashboard-filter-header {
        display: block;
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter-period {
        margin-top: 10px;
        white-space: normal;
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter-actions {
        grid-column: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-page .staff-dashboard-page .staff-dashboard-filter-actions button,
    .main-page .staff-dashboard-page .staff-dashboard-filter-actions a {
        width: 100%;
    }

    .main-page .staff-dashboard-page .staff-kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-page .staff-dashboard-page .staff-kpi-card {
        min-height: 0;
    }

    .main-page .staff-dashboard-page .staff-kpi-label {
        min-height: 0;
    }

    .main-page .staff-dashboard-page .staff-dashboard-role,
    .main-page .staff-dashboard-page .staff-dashboard-live {
        white-space: normal;
    }

    .main-page .staff-dashboard-page .staff-panel {
        padding: 16px 14px;
    }

    .main-page .staff-dashboard-page .staff-panel-action {
        width: 100%;
    }

    .main-page .staff-dashboard-page .staff-finance-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-page .staff-dashboard-page .staff-finance-item,
    .main-page .staff-dashboard-page .staff-personal-summary > * {
        padding: 13px 11px;
    }

    .main-page .staff-dashboard-page .staff-panel--notice > i {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .main-page .staff-dashboard-page .staff-panel-warning {
        padding: 9px 10px;
    }

    .main-page .staff-dashboard-page .staff-status-head,
    .main-page .staff-dashboard-page .staff-ranking-head {
        gap: 9px;
    }

    .main-page .staff-dashboard-page .staff-status-name,
    .main-page .staff-dashboard-page .staff-ranking-name {
        font-size: 11px;
    }

    .main-page .staff-dashboard-page .staff-trend-value {
        font-size: 9px;
    }
}

/* Account-specific cascade guard: keep this layer after generic profile rules. */
.main-page .customer-account-tabs:before,
.main-page .customer-account-tabs:after,
.main-page .customer-account-settings-grid:before,
.main-page .customer-account-settings-grid:after,
.main-page .customer-cancel-layout:before,
.main-page .customer-cancel-layout:after {
    display: none;
    content: none;
}

.main-page > .content-div.customer-account-page {
    padding: 28px 0 52px;
}

.main-page .profile-div .customer-account-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin: 0 0 16px;
    padding: 6px;
    overflow: hidden;
}

.main-page .profile-div .customer-account-content > .tab-pane {
    padding: 28px;
    border-radius: 18px;
}

.main-page .profile-div .customer-account-content > .customer-account-settings-pane {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.main-page .customer-account-page .profile-div .customer-danger-button {
    color: #fff;
    background: #b42318;
    border-color: #b42318;
}

.main-page .customer-account-page .profile-div .customer-danger-button:hover,
.main-page .customer-account-page .profile-div .customer-danger-button:focus {
    color: #fff;
    background: #912018;
    border-color: #912018;
}

.new-address-modal#newAddress .modal-dialog {
    width: 620px;
}

.new-address-modal#newAddress .modal-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.new-address-modal#newAddress .modal-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--ui-primary);
    font-size: 14px;
    background: var(--ui-primary-soft);
    border-radius: 9px;
}

.new-address-modal#newAddress .customer-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--ui-border);
}

.new-address-modal#newAddress .customer-modal-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 122px;
    margin: 0;
}

@media (max-width: 767px) {
    .main-page > .content-div.customer-account-page {
        padding: 18px 0 34px;
    }

    .main-page .profile-div .customer-account-tabs {
        display: flex;
        padding: 5px;
        overflow-x: auto;
    }

    .main-page .profile-div .customer-account-content > .tab-pane {
        padding: 19px;
        border-radius: 15px;
    }

    .main-page .profile-div .customer-account-content > .customer-account-settings-pane {
        padding: 0;
    }

    .main-page .customer-cancel-layout {
        display: block;
        grid-template-columns: minmax(0, 1fr);
    }

    .new-address-modal#newAddress .modal-dialog {
        width: auto;
    }
}

@media (max-width: 420px) {
    .main-page .profile-div .customer-account-content > .tab-pane {
        padding: 16px;
    }

    .main-page .profile-div .customer-account-content > .customer-account-settings-pane {
        padding: 0;
    }

    .new-address-modal#newAddress .customer-modal-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .new-address-modal#newAddress .customer-modal-actions .btn {
        width: 100%;
    }
}

/* Customer tracking result */
.main-page .customer-track-results .customer-track-result {
    width: 100%;
    margin-bottom: 0;
    padding: 0;
}

.main-page .customer-track-result-card {
    padding: 0 !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(16, 24, 40, .07);
}

.main-page .customer-track-result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px 24px;
    border-bottom: 1px solid #e8ecf2;
}

.main-page .customer-track-result-header h2 {
    margin: 8px 0 5px;
    color: #172033;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.main-page .customer-track-result-header h2 span {
    color: var(--customer-brand, #1428a0);
}

.main-page .customer-track-result-header p {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}

.main-page .customer-track-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 7px 12px;
    color: #344054;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    background: #f2f4f7;
    border-radius: 999px;
}

.main-page .customer-track-status:before {
    width: 7px;
    height: 7px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.main-page .customer-track-status.is-pending {
    color: #026aa2;
    background: #e0f2fe;
}

.main-page .customer-track-status.is-approved {
    color: #027a48;
    background: #ecfdf3;
}

.main-page .customer-track-status.is-returned {
    color: #b54708;
    background: #fffaeb;
}

.main-page .customer-track-status.is-completed {
    color: #175cd3;
    background: #eff8ff;
}

.main-page .customer-track-detail-section {
    padding: 26px 30px 30px;
}

.main-page .customer-track-detail-section > h3,
.main-page .customer-track-history-heading h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #172033;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.main-page .customer-track-detail-section > h3 {
    margin-bottom: 16px;
}

.main-page .customer-track-detail-section > h3 i,
.main-page .customer-track-history-heading h3 i {
    color: var(--customer-brand, #1428a0);
}

.main-page .customer-track-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.main-page .customer-track-detail {
    min-width: 0;
    margin: 0;
    padding: 15px 16px;
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
}

.main-page .customer-track-detail-wide {
    grid-column: 1 / -1;
}

.main-page .customer-track-detail dt {
    margin: 0 0 5px;
    color: #667085;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.35;
    text-transform: uppercase;
}

.main-page .customer-track-detail dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #172033;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.main-page .customer-track-detail-outcome {
    background: #fffaeb;
    border-color: #fedf89;
}

.main-page .customer-track-invoice-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--customer-brand, #1428a0);
    font-weight: 700;
    text-decoration: none;
}

.main-page .customer-track-invoice-link:hover,
.main-page .customer-track-invoice-link:focus {
    color: var(--customer-brand-dark, #0d1f7a);
    text-decoration: underline;
}

.main-page .customer-track-history {
    padding: 26px 30px 30px;
    background: #f8fafc;
    border-top: 1px solid #e8ecf2;
}

.main-page .customer-track-history-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.main-page .customer-track-history-heading p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 11px;
    line-height: 1.5;
}

.main-page .customer-track-history-heading > span {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: #475467;
    font-size: 10px;
    font-weight: 700;
    background: #fff;
    border: 1px solid #dfe4ec;
    border-radius: 999px;
}

.main-page .customer-track-timeline {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-page .customer-track-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 18px;
    margin: 0;
    padding: 15px 16px 15px 40px;
    background: #fff;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
}

.main-page .customer-track-timeline li:before {
    position: absolute;
    top: 19px;
    left: 18px;
    width: 9px;
    height: 9px;
    content: "";
    background: var(--customer-brand, #1428a0);
    border: 3px solid #dbe3ff;
    border-radius: 50%;
    box-sizing: content-box;
}

.main-page .customer-track-timeline time {
    color: #475467;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
}

.main-page .customer-track-timeline p {
    margin: 0;
    color: #344054;
    font-size: 12px;
    line-height: 1.55;
}

.main-page .customer-track-history-empty {
    padding: 16px;
    color: #667085;
    font-size: 12px;
    text-align: center;
    background: #fff;
    border: 1px dashed #d0d5dd;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .main-page .customer-track-result-header,
    .main-page .customer-track-detail-section,
    .main-page .customer-track-history {
        padding-right: 20px;
        padding-left: 20px;
    }

    .main-page .customer-track-result-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .main-page .customer-track-result-header h2 {
        font-size: 19px;
    }

    .main-page .customer-track-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-page .customer-track-detail-wide {
        grid-column: auto;
    }

    .main-page .customer-track-timeline li {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
}

@media (max-width: 420px) {
    .main-page .customer-track-result-header,
    .main-page .customer-track-detail-section,
    .main-page .customer-track-history {
        padding-right: 16px;
        padding-left: 16px;
    }

    .main-page .customer-track-history-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}
