﻿@font-face {
    font-family: persianFont;
    src: url(/fonts/sahel/sahel.woff);
    src: url(/fonts/sahel/sahel.ttf);
}

:root {
    --bg-dark-primary: #212121;
    --bg-light-primary: #ededed;
    --bg-dark-secondary: #363636;
    --mud-palette-primary: #4497ff !important; /*!!!!!*/
    --mud-palette-primary-darken: #127bffd9 !important; /*!!!!!*/
    /*--mud-palette-dark: #fff !important;*/ /*!!!!!*/
    /*--mud-palette-dark-darken: #fff !important;*/ /*!!!!!*/
    /*--mud-palette-dark-text: #000 !important;*/ /*!!!!!*/
    --bg-light-purple: #4497ff;
    --accent-fill-rest: #4497ff !important;
    --accent-base-color: #4497ff !important;
    --accent-fill-hover: #4497ff !important;
    --accent-fill-active: #4497ff !important;
    --accent-fill-focus: #4497ff !important;
    --accent-foreground-rest: #4497ff !important;
    --accent-foreground-hover: #4497ff !important;
    --accent-foreground-active: #4497ff !important;
    --accent-foreground-focus: #4497ff !important;
    --accent-stroke-control-rest: #4497ff !important;
    --accent-stroke-control-hover: #4497ff !important;
    --accent-stroke-control-active: #4497ff !important;
    --accent-stroke-control-focus: #4497ff !important;
    --foreground-on-accent-rest: #fff !important;
    --mud-typography-button-family: persianFont !important;
}

.main {
    min-height: calc(100dvh - 86px) !important;
    /*color: var(--neutral-foreground-rest) !important;*/
    align-items: stretch !important;
    background: var(--bg-light-primary) !important;
    font-family: persianFont;
}

.dark-main .main {
    min-height: calc(100dvh - 86px) !important;
    /*color: var(--fill) !important;*/
    align-items: stretch !important;
    background: var(--bg-dark-primary) !important;
    font-family: persianFont;
}

.body-content {
    align-self: stretch;
    min-height: calc(100dvh) !important;
    display: flex;
    /*overflow: visible !important;*/
}

    .body-content .hotel-search {
        overflow: visible !important;
    }


.loading-info {
    margin-top: 1em;
    text-align: center;
    font-size: 1.5em;
}

    .loading-info a {
        color: var(--neutral-foreground-rest);
    }

        .loading-info a:hover {
            color: var(--neutral-foreground-hover);
        }

body:has(.loading-progress)::after {
    content: "";
    background-image: url(/logo-gold-e.png);
    background-position: right bottom;
    background-size: 50%;
    background-repeat: no-repeat;
    opacity: 0.2;
    top: 0;
    left: 0;
    bottom: 15px;
    right: 15px;
    position: absolute;
    z-index: -1;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.content {
    padding: 0.5rem 1.5rem;
    align-self: stretch !important;
    width: 100%;
}

body[dir="rtl"] .text-end{
    text-align: left !important;
}

/*.dark-main .table {
    --bs-table-color: #fff; 
    --bs-table-bg: #212529;
    --bs-table-border-color: #4d5154;
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color)
}*/

.ck-word-count {
    display: none !important;
}

.dark-main .ck.ck-editor,
.dark-main .ck.ck-editor__main,
.dark-main .ck-content {
    --ck-color-base-foreground: #1e1e1e;
    --ck-color-base-background: #1e1e1e;
    --ck-color-base-border: #3a3a3a;
    --ck-color-base-text: #e0e0e0;
    --ck-color-toolbar-background: #2a2a2a;
    --ck-color-toolbar-border: #3a3a3a;
    --ck-color-button-default-background: transparent;
    --ck-color-button-default-hover-background: #3a3a3a;
    --ck-color-button-default-active-background: #444;
    --ck-color-button-on-background: #444;
    --ck-color-button-on-hover-background: #555;
    --ck-color-dropdown-panel-background: #2a2a2a;
    --ck-color-dropdown-panel-border: #3a3a3a;
    --ck-color-input-background: #1e1e1e;
    --ck-color-input-border: #3a3a3a;
    --ck-color-input-text: #e0e0e0;
    --ck-color-panel-background: #2a2a2a;
    --ck-color-panel-border: #3a3a3a;
    --ck-color-text: #e0e0e0;
}

.dark-main .ck-content {
    color: #e0e0e0;
    background: #1e1e1e;
}

.dark-main .ck-content {
    color-scheme: dark;
}

.ck-editor__editable_inline,
.ck.ck-content {
    min-height: 6em;
}

.td-truncate {
    max-width: 16ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border-radius: 8px;
    /*overflow: hidden;*/
    margin-bottom: 5px !important;
}

    .main .table thead tr {
        background-color: #f8f9fa;
    }

.table thead {
    position: sticky;
    top: 0;
    z-index: 9;
}

.main .table th {
    padding: 12px;
    /*border: 1px solid #ededed !important;*/
    font-weight: 600;
    color: #000 !important;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    background: #ebebeb !important;
}

.main .table tbody tr td {
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s ease;
}

.main .table tbody tr:hover td {
    background-color: #f1f1f1;
}

.table tbody tr.selected td {
    background-color: var(--bs-table-hover-bg) !important;
    color: var(--bs-table-hover-color) !important;
}

.main .table td {
    padding: 12px;
    /*border: 1px solid #dddddd !important;*/
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    background: #f8f8f8 !important;
    color: #000 !important;
}

.main a {
    text-decoration: none !important;
}

/* table dark */

.dark-main a {
    color: var(--accent-foreground-rest);
    text-decoration: none !important;
}

.dark-main .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #393e46;
    border-radius: 8px;
    /*overflow: hidden;*/
    margin-bottom: 5px !important;
}

    .dark-main .table thead tr {
        background-color: #393e46;
    }

    .dark-main .table th {
        padding: 12px;
        /*border: 1px solid #7c7c7c !important;*/
        font-weight: 600;
        color: #fff !important;
        white-space: nowrap;
        text-align: center;
        vertical-align: middle;
        background: #393e46 !important;
    }

.dark-main .tabletbody tr {
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s ease;
}

.dark-main .table tbody tr:hover {
    background-color: #f1f1f1;
}

.dark-main .table tbody tr.selected {
    background-color: #e9ecef;
}

.dark-main .table td {
    padding: 12px;
    /*border: 1px solid #7c7c7c !important;*/
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    background: #5a626e !important;
    color: #fff !important;
}

.dark-main {
    --mud-palette-text-primary: #fff !important;
    --mud-palette-action-default: rgb(255 255 255 / 54%) !important;
    --mud-palette-text-secondary: rgb(255 255 255 / 54%) !important;
    --mud-palette-text-disabled: rgb(255 255 255 / 38%) !important;
    --mud-palette-surface: #383838 !important;
}

.fluent-dialog .table-responsive {
    max-width: 100% !important;
    overflow-x: auto !important;
    border-radius: 4px;
}

.fluent-dialog table {
    min-width: 780px;
    width: max-content;
    table-layout: auto;
}

.fluent-dialog .fluent-dialog-body {
    max-width: 100%;
    overflow: hidden;
}

footer {
    background: var(--neutral-layer-4);
    color: var(--neutral-foreground-rest);
    align-items: center;
    padding: 10px 10px;
}

    footer a {
        color: var(--neutral-foreground-rest);
        text-decoration: none;
    }

        footer a:focus {
            outline: 1px dashed;
            outline-offset: 3px;
        }

        footer a:hover {
            text-decoration: underline;
        }

.alert {
    border: 1px dashed var(--accent-fill-rest);
    padding: 5px;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

/*.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}*/

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    margin-top: 80px;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.display-table-bottom {
    display: table-cell;
    vertical-align: bottom;
}

.display-table {
    display: table;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.full-width {
    width: 100%;
}

/* Login */
.login-card {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-position: center;
    padding: 5px 10px;
}

    .login-card .logo {
        display: block;
        max-width: 92px;
        margin: 0 auto 5px auto;
    }

    .login-card .btn-showcase .btn {
        line-height: 1;
        padding: 10px 15px;
        margin: 0;
    }

        .login-card .btn-showcase .btn + .btn {
            margin-left: 5px;
        }

        .login-card .btn-showcase .btn svg {
            height: 16px;
            vertical-align: bottom;
        }

    .login-card .login-main {
        width: 450px;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 0 37px rgba(8, 21, 66, 0.05);
        margin: 0 auto;
    }

        .login-card .login-main .theme-form h4 {
            margin-bottom: 5px;
        }

        .login-card .login-main .theme-form label {
            font-size: 15px;
            letter-spacing: 0.4px;
        }

        .login-card .login-main .theme-form .checkbox label::before {
            background-color: #f9f9fa;
            border: 1px solid #dfdfdf;
        }

        .login-card .login-main .theme-form .or {
            position: relative;
        }

            .login-card .login-main .theme-form .or:before {
                content: "";
                position: absolute;
                width: 65%;
                height: 2px;
                background-color: #f3f3ff;
                top: 7px;
                z-index: 0;
                right: 0;
            }

        .login-card .login-main .theme-form input {
            background-color: #33bfbf 0f;
            transition: all 0.3s ease;
        }

            .login-card .login-main .theme-form input::-webkit-input-placeholder {
                color: #999;
            }

            .login-card .login-main .theme-form input:hover, .login-card .login-main .theme-form input:focus {
                border: 1px solid #b9c1cc;
                box-shadow: none !important;
                transition: all 0.3s ease;
            }

        .login-card .login-main .theme-form p {
            margin-bottom: 25px;
            font-size: 14px;
            color: #898989;
        }

        .login-card .login-main .theme-form .form-group {
            margin-bottom: 10px;
            position: relative;
        }

        .login-card .login-main .theme-form .link {
            position: absolute;
            top: 10px;
            right: 0;
        }

.show-hide {
    position: absolute;
    top: 52px;
    right: 20px;
    transform: translateY(-50%);
}

    .show-hide span {
        cursor: pointer;
        font-size: 13px;
        color: var(--theme-default);
    }

        .show-hide span.show:before {
            content: "show";
        }

        .show-hide span:before {
            content: "hide";
        }

.needs-validation .invalid-feedback {
    color: #898989;
}

.needs-validation .show-hide {
    right: 30px;
}

.needs-validation .invalid-tooltip {
    top: 62px;
    right: 8px;
}

    .needs-validation .invalid-tooltip.username_tootip {
        top: 36px;
        right: 0;
    }

p.timer {
    font-size: 20px
}
/* /Login */


/* Header */
.siteheader {
    background-color: var(--bg-dark-primary) !important;
    /*border-radius: 10px;*/
    /*margin-bottom: 10px;*/
    /*align-self: center;*/
}

    .siteheader .logo {
        width: 108px;
        height: 23px;
        grid-column: 1;
    }

    .siteheader .search {
        display: flex;
        align-items: center;
        padding-right: 20px;
    }

    .siteheader .links {
        padding-right: 10px;
        display: flex;
        align-items: center;
    }

    .siteheader .notifications {
        display: flex;
        align-items: center;
    }

    .siteheader .settings {
        padding-right: 6px;
        display: flex;
        align-items: center;
        margin-left: 0;
        margin-right: 10px;
    }

[dir="rtl"] .siteheader .settings {
    padding: 0 0 0 6px;
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .siteheader .search {
    padding-left: 20px;
    padding-right: 0;
}

[dir="rtl"] .siteheader .links {
    padding-left: 10px;
}

.header-img {
    max-width: 35px;
}

.margin-button {
    margin-right: 3px;
    margin-left: 3px;
}

/* /Header */


/* Custom styles */

.nav-fill .nav-item .nav-link, .nav-justified .nav-item .nav-link {
    color: #fff !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--bs-link-color) !important;
    background: #fff !important;
}
/* Style for the focused or active button */
.nav-link:focus,
.nav-link:active {
    background-color: #fff; /* Change this color to your preference */
    color: var(--bs-link-color) !important; /* Change text color if needed */
}

/* Style specifically for the buttons with specific IDs */
#trending:focus,
#trending:active,
#mostpopular:focus,
#mostpopular:active,
#lowprice:focus,
#lowprice:active {
    background-color: #fff; /* Change to your desired color */
    color: var(--bs-link-color) !important; /* Change text color if needed */
}



/* Scroll bar */
::-webkit-scrollbar {
    all: unset !important;
}
/*-----scroll bar in chrome------*/
html ::-webkit-scrollbar,
body ::-webkit-scrollbar {
    width: 2px !important;
    height: 3px !important;
    border-radius: 6px !important;
}

html ::-webkit-scrollbar-track,
body ::-webkit-scrollbar-track {
    border-radius: 6px !important;
}

html ::-webkit-scrollbar-thumb,
body ::-webkit-scrollbar-thumb {
    background: #8f8f8f !important;
    border-radius: 6px !important;
    height: 3px !important;
}
/*-----scroll bar in chrome------*/

/*-----scroll bar in firefox------*/
table {
    scrollbar-width: none !important;
}
/*-----scroll bar in firefox------*/
/*Flight Search component*/
.box-search {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
}

.search-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.search-box-header-main {
    min-width: 0;
    flex: 1;
}

.search-box-header h3 {
    margin-bottom: 0.5rem;
}

.search-box-summary {
    display: none;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-box-summary-route {
    font-weight: 600;
    font-size: 0.95rem;
}

.search-box-summary-meta {
    font-size: 0.8rem;
    opacity: 0.75;
}

.search-box-toggle-icon {
    display: none;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .body-content {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        max-width: 100%;
    }

    .content {
        padding: 0.5rem;
        height: auto !important;
        align-self: flex-start !important;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .content .row {
        --bs-gutter-x: 1rem;
    }

    .box-search.search-box-collapsible .search-box-header {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .box-search.search-box-collapsible .search-box-toggle-icon {
        display: inline-flex;
    }

    .box-search.search-box-collapsed {
        padding: 0.75rem 1rem;
    }

    .box-search.search-box-collapsed .search-box-header h3 {
        display: none;
        margin-bottom: 0;
    }

    .box-search.search-box-collapsed .search-box-summary {
        display: flex;
    }

    .box-search.search-box-collapsed .search-box-form {
        display: none;
    }
}

.online-payment-box .mudNumeric .mud-input {
    height: 48px !important;
}

.mud-input {
    margin-top: 0 !important;
}

.box-search .mud-text-field .mud-input {
    height: 40px !important;
}

.box-search .mud-select .mud-input,
.box-search .mud-input-number-control .mud-input {
    height: auto !important;
    min-height: 40px;
}

.hotel-boxsearch .mud-input {
    height: 50px !important;
}

.height-fix-mudpicker .mud-input {
    height: 50px !important;
    margin-top: 4px !important;
}

.dark-main .box-search {
    background: var(--bg-dark-secondary);
    border-radius: 10px;
    padding: 1rem;
}

    .dark-main .box-search h3 {
        color: #fff;
    }

    .dark-main .search-box-summary-route,
    .dark-main .search-box-summary-meta,
    .dark-main .search-box-toggle-icon {
        color: #fff;
    }

.dark-main .mud-expand-panel {
    background: #393e46 !important;
}

fluent-toolbar.bg-transparent::part(positioning-region) {
    align-items: end !important;
}

#insetNew {
    height: 40px !important;
}

.styled-button::part(control) {
    padding: 8px 16px !important;
    display: inline-flex !important;
    font-size: 15px;
}

.addicon, .removeicon {
    vertical-align: text-bottom !important;
}

fluent-text-field::part(root) {
    height: 40px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
}

fluent-combobox::part(control) {
    height: 40px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
}

fluent-select::part(control) {
    height: 40px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
    width: 100% !important;
}

/*fluent-option {
    padding: 0 calc(((var(--design-unit)* 3) - var(--stroke-width) - 1)* 1px) !important;
}*/

fluent-number-field::part(root) {
    height: 40px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
    width: 100% !important;
}

.mud-input.mud-input-outlined .mud-input-outlined-border {
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
}
/*.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root{
    height: 0lh !important;
}*/
.mud-paper {
    border-radius: 8px !important;
    box-shadow: 0 0 37px rgba(8, 21, 66, 0.05) !important;
}

.xs-chips {
    height: 24px !important;
    font-size: 13px !important;
    border-radius: 16px !important;
    padding: 13px !important;
}

.xs-progress {
    width: 10px !important;
    height: 10px !important;
}

.xs-badge span {
    min-width: 12px !important;
    height: 12px !important;
}

.sm-badge span {
    min-width: 17px !important;
    height: 17px !important;
    font-size: 10px !important;
}

.xs-rate .mud-icon-size-small {
    font-size: 0.9rem !important;
}

.xxs-chips {
    height: 21px !important;
    font-size: 11px !important;
}

.dark-main .mud-chip-text.mud-chip-color-error {
    color: #fff !important;
    background-color: rgb(244 67 54 / 50%) !important;
}

.dark-main .mud-chip-text.mud-chip-color-primary {
    background-color: rgb(228 242 255) !important;
}

.dark-main .room-info-topbox {
    background: #383740;
}

.main .mud-paper {
    background-color: #fff !important;
}

.dark-main .mud-paper {
    background-color: #474747 !important;
    color: #fff !important;
}

.main .mud-picker-container .mud-toolbar {
    background-color: var(--bg-light-purple) !important;
}

.dark-main .mud-picker-container .mud-toolbar {
    background-color: var(--bg-light-purple) !important;
}

.mud-picker-calendar-header-switch .mud-picker-calendar-header-transition {
    border: none !important;
}

.main .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text.mud-input-text-with-label {
    background: #fff !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
    padding: 0 6px !important;
}

.dark-main .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text.mud-input-text-with-label {
    background: #363636 !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
}

.main .mud-list {
    background: #fff !important;
}

.dark-main .mud-list {
    background: #414141 !important;
}

.dark-main .mud-picker-calendar-header-switch > .mud-icon-button {
    background: transparent !important;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    padding: 2px 9px !important;
    font-size: 15px !important;
}

/*.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    padding: 10px 7px 10px !important;
}*/

.mud-picker-month-container .mud-picker-month .mud-picker-month-selected {
    font-size: 1.1rem;
}

.mud-icon-button {
    transition: none !important;
}

    .mud-icon-button:disabled {
        color: #c5c5c5 !important;
        cursor: not-allowed !important;
    }

.mud-picker-datepicker-toolbar {
    align-items: center !important;
    flex-direction: row-reverse !important;
}

    .mud-picker-datepicker-toolbar .mud-button-date {
        font-size: 1.2rem !important;
        color: #fff !important;
    }

    .mud-picker-datepicker-toolbar .mud-button-year {
        color: #fff !important;
    }

.mud-picker-toolbar {
    height: 40px !important;
}

/* ===== MudDatePicker calendar popup ===== */
:root {
    --dp-accent: var(--bg-light-purple);
    --dp-tint: rgba(68, 151, 255, .12);
    --dp-line: rgba(15, 23, 42, .08);
}

.mud-picker-popover-paper,
.mud-picker-inline-paper {
    border-radius: 14px !important;
    overflow: hidden;
}

.mud-popover .mud-picker-container {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .16), 0 2px 6px rgba(15, 23, 42, .08);
}

.mud-picker-calendar-container {
    padding: 4px 6px 8px;
}

/* Header: month title + nav buttons */
.mud-picker-calendar-header-switch {
    padding: 10px 8px 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--dp-line, rgba(15, 23, 42, .08));
    align-items: center;
}

    .mud-picker-calendar-header-switch > .mud-icon-button {
        width: 32px;
        height: 32px;
        padding: 4px;
        border-radius: 8px !important;
        border: 1px solid var(--dp-line, rgba(15, 23, 42, .08));
    }

        .mud-picker-calendar-header-switch > .mud-icon-button:not(:disabled):hover {
            background-color: var(--dp-tint, rgba(68, 151, 255, .12)) !important;
            color: var(--dp-accent, #4497ff);
        }

    .mud-picker-calendar-header-switch .mud-picker-calendar-header-transition {
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: .2px;
        padding: 4px 12px;
        border-radius: 8px;
        transition: background-color .12s ease, color .12s ease;
    }

        .mud-picker-calendar-header-switch .mud-picker-calendar-header-transition:hover {
            background-color: var(--dp-tint, rgba(68, 151, 255, .12));
            color: var(--dp-accent, #4497ff);
        }

/* Weekday names */
.mud-picker-calendar-header-day {
    padding: 0 4px;
}

    .mud-picker-calendar-header-day .mud-day-label {
        font-size: 11px !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        letter-spacing: .4px;
        color: var(--mud-palette-text-secondary) !important;
    }

.mud-picker-calendar-content {
    padding: 0 4px;
}

/* Days */
.mud-picker-calendar .mud-day {
    border-radius: 10px !important;
    font-weight: 500;
    transition: background-color .12s ease, color .12s ease, box-shadow .12s ease;
}

    .mud-picker-calendar .mud-day:not(:disabled):not(.mud-selected):hover {
        background-color: var(--dp-tint, rgba(68, 151, 255, .12)) !important;
        color: var(--dp-accent, #4497ff) !important;
    }

    .mud-picker-calendar .mud-day.mud-current:not(.mud-selected) {
        border: 1.5px solid var(--dp-accent, #4497ff) !important;
        color: var(--dp-accent, #4497ff) !important;
        font-weight: 700;
    }

    .mud-picker-calendar .mud-day.mud-selected,
    .mud-picker-calendar .mud-day.mud-selected.red-text {
        background-color: var(--dp-accent, #4497ff) !important;
        color: #fff !important;
        font-weight: 700;
        box-shadow: 0 4px 10px rgba(68, 151, 255, .35);
    }

    .mud-picker-calendar .mud-day:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

/* Month / year lists */
.mud-picker-year-container .mud-picker-year,
.mud-picker-month-container .mud-picker-month {
    border-radius: 8px;
    transition: background-color .12s ease, color .12s ease;
}

    .mud-picker-year-container .mud-picker-year:hover,
    .mud-picker-month-container .mud-picker-month:hover {
        background-color: var(--dp-tint, rgba(68, 151, 255, .12)) !important;
        color: var(--dp-accent, #4497ff);
    }

    .mud-picker-year-container .mud-picker-year-selected,
    .mud-picker-month-container .mud-picker-month-selected {
        color: var(--dp-accent, #4497ff) !important;
        font-weight: 700 !important;
    }

/* Dark */
.dark-main {
    --dp-line: rgba(255, 255, 255, .1);
    --dp-tint: rgba(68, 151, 255, .2);
}

.dark-main .mud-popover .mud-picker-container {
    border-color: rgba(255, 255, 255, .1);
}

/* ===== DNDatePicker ===== */
.dnd-datepicker-popover {
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid var(--mud-palette-lines-default);
    overflow: hidden;
}

.dnd-datepicker-popover .picker-popup {
    width: 720px;
    padding: 14px 16px 12px;
    box-sizing: border-box;
    background: var(--mud-palette-surface);
    transition: transform .12s ease, opacity .12s ease;
}

    .dnd-datepicker-popover .picker-popup.show-one-month {
        width: 340px;
    }

.picker-popup.show-one-month .months-grid {
    grid-template-columns: 1fr;
}

.picker-popup.show-one-month .picker-panel {
    grid-template-columns: repeat(3,1fr);
}

.picker-popup.anim-enter {
    transform: translateY(-6px);
    opacity: 0;
}

.picker-popup {
    transform: translateY(0);
    opacity: 1;
}

.picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

    .picker-header .center-controls {
        display: flex;
        gap: 2px;
        align-items: center;
    }

        .picker-header .center-controls .mud-button-root {
            font-weight: 600;
            letter-spacing: .3px;
            border-radius: 8px;
            color: var(--mud-palette-text-primary);
        }

    .picker-header .left-controls .mud-icon-button,
    .picker-header .right-controls .mud-icon-button {
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: 8px;
    }

    .picker-header .right-controls {
        display: flex;
        gap: 6px;
        align-items: center;
    }

        .picker-header .right-controls .mud-button-filled {
            border-radius: 8px;
            box-shadow: none;
            text-transform: none;
            font-weight: 600;
        }

.picker-panel {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    padding: 8px;
    margin-bottom: 8px;
    animation: fadeIn .12s ease;
}

    .picker-panel .mud-button-root {
        border-radius: 8px;
    }

    .picker-panel.animated {
        animation: fadeIn .12s ease;
    }

    .picker-popup.show-one-month .picker-panel.year-jump, .picker-panel.year-jump {
        grid-template-columns: repeat(5,1fr);
    }

    .picker-panel.year-grid {
        grid-template-columns: repeat(6,1fr);
    }

.picker-popup.show-one-month .picker-panel.year-grid {
    grid-template-columns: repeat(4,1fr);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.months-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 4px;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .dnd-datepicker-popover .picker-popup {
        width: 340px;
    }

    .months-grid {
        grid-template-columns: 1fr;
    }

    .picker-panel {
        grid-template-columns: repeat(3,1fr);
    }
}

.month-card {
    padding: 0;
    background: transparent;
}

.month-title {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    padding: 6px 0;
    border-radius: 8px;
    color: var(--mud-palette-primary);
    background: var(--mud-palette-primary-hover);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 4px;
}

.weekday {
    padding: 4px 0;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    column-gap: 0;
    row-gap: 4px;
}

.day {
    min-height: 44px;
    border-radius: 10px;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--mud-palette-text-primary);
    font-size: 13px;
    transition: background-color .12s ease, color .12s ease;
}

    .day:hover {
        background: var(--mud-palette-primary-hover);
        cursor: pointer;
    }

    .day.selected,
    .day.range-start,
    .day.range-end {
        background: var(--mud-palette-primary) !important;
        color: var(--mud-palette-primary-text) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

        .day.selected *,
        .day.range-start *,
        .day.range-end * {
            color: var(--mud-palette-primary-text) !important;
        }

    .day.range-start:not(.range-end) {
        border-radius: 10px 0 0 10px;
    }

    .day.range-end:not(.range-start) {
        border-radius: 0 10px 10px 0;
    }

    .day.in-range {
        background: var(--mud-palette-primary-hover);
        border-radius: 0;
    }

    .day.disabled {
        opacity: 0.35;
        cursor: not-allowed;
        pointer-events: none;
    }

.day-number {
    font-weight: 600;
    line-height: 1.2;
}

.day-info {
    font-size: 10px;
    margin-top: 2px;
    line-height: 1;
    opacity: 0.7;
}

.picker-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

    .picker-footer .left-footer {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .picker-footer .right-footer {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-inline-start: auto;
    }

        .picker-footer .right-footer .mud-button-root {
            border-radius: 8px;
            min-width: 88px;
        }

.range-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 120px;
    padding: 4px 12px;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 8px;
    line-height: 1.25;
}

    .range-summary.has-value {
        border-color: var(--mud-palette-primary);
        background: var(--mud-palette-primary-hover);
    }

.range-summary-label {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.range-summary-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    white-space: nowrap;
}

.range-summary-arrow {
    color: var(--mud-palette-text-secondary);
}

[dir="rtl"] .range-summary-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .day.range-start:not(.range-end) {
    border-radius: 0 10px 10px 0;
}

[dir="rtl"] .day.range-end:not(.range-start) {
    border-radius: 10px 0 0 10px;
}

.main .mud-picker-calendar .mud-day.mud-range.mud-range-between {
    background: #e8e8e8 !important;
}


fluent-text-area::part(control) {
    /*    height: 100px !important;*/
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
    width: 100% !important;
    min-height: 100%;
}

.fluent-control {
    height: 36px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
}

fluent-text-field::after, fluent-number-field::after, fluent-combobox::after, fluent-text-area::after {
    display: none !important;
}

fluent-number-field.invalid, [role='checkbox'].invalid::part(control), [role='combobox'].invalid::part(control), fluent-combobox.invalid::part(control), fluent-text-area.invalid::part(control), fluent-text-field.invalid::part(root) {
    border: calc(var(--stroke-width)* 1px) solid var(--error) !important;
    border-radius: 10px !important;
}

fluent-select {
    min-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
}

.main fluent-button[aria-label="Flight Rule"]::part(control), fluent-button[aria-label="Show prices"]::part(control), fluent-button[aria-label="Show baggages"]::part(control), fluent-button[aria-label="Seats"]::part(control) {
    background: #579aff7d !important;
}

.dark-main fluent-button[aria-label="Flight Rule"]::part(control), fluent-button[aria-label="Show prices"]::part(control), fluent-button[aria-label="Show baggages"]::part(control) {
    background: #579aff7d !important;
}

fluent-dialog[b-dsxskpj5rr] .fluent-dialog-footer {
    padding: 0 !important;
}

fluent-text-field::part(root):focus-within, fluent-number-field::part(root):focus-within {
    border: 1px solid var(--accent-fill-rest) !important;
}

fluent-text-field[aria-label="Origin"]::part(root)::after {
    display: none !important;
}


/* Flight type select box */
/* Flight type select box */
.flight-type-box {
    background-color: var(--accent-fill-rest);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-around;
}

body[dir=rtl] .flight-type-box {
    direction: rtl;
}

.dark-main .flight-type-box {
    background-color: #333333;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-around;
}


.main .bg-custom {
    background: #fff !important;
}

.dark-main .bg-custom {
    background: var(--bg-dark-secondary) !important;
}
/* Style for the radio labels */
/*.radio-item {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    background: #fff;
    width: 100% !important;*/
/*margin: 0 7px !important;*/
/*}

.dark-main .radio-item {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    background: #393e46;
    width: 100% !important;*/
/*margin: 0 7px;*/
/*}*/

/* Style for the checked radio button */
/*.radio-item:checked {
    background-color: #fff;
    color: #036ac4;
}*/
/* prebook dialog box*/
fluent-dialog#ShowFlightItinerary::part(control) {
    --dialog-width: 950px !important;
}

fluent-dialog#FlightAddToCartConfirmDialog::part(control),
fluent-dialog#HotelAddToCartConfirmDialog::part(control) {
    --dialog-width: 80% !important;
    width: 80% !important;
    max-width: 80% !important;
    overflow-x: hidden;
}

fluent-dialog#FlightAddToCartConfirmDialog table.add-to-cart-confirm-table,
fluent-dialog#HotelAddToCartConfirmDialog table.add-to-cart-confirm-table,
.fluent-dialog table.add-to-cart-confirm-table {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto;
}

@media (max-width: 991px) {
    fluent-dialog#FlightAddToCartConfirmDialog::part(control),
    fluent-dialog#HotelAddToCartConfirmDialog::part(control) {
        --dialog-width: 95% !important;
        width: 95% !important;
        max-width: 95% !important;
    }

    .add-to-cart-confirm-table thead {
        display: none;
    }

    .add-to-cart-confirm-table,
    .add-to-cart-confirm-table tbody,
    .add-to-cart-confirm-table tr,
    .add-to-cart-confirm-table td {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .add-to-cart-confirm-table tr {
        margin-bottom: 0.75rem;
        padding: 0.5rem 0.75rem;
        border: 1px solid var(--neutral-stroke-rest);
        border-radius: 8px;
    }

    .add-to-cart-confirm-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 0.35rem 0;
        border: none;
        text-align: end;
    }

    .add-to-cart-confirm-table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: start;
        flex: 0 0 45%;
    }
}



fluent-dialog.fluent-dialog-main {
    /*--dialog-width: 800px !important;*/
}

.list-group-item {
    background: transparent !important;
}

#selectlang::part(control) {
    width: 250px !important;
}

/*Table Light*/

.table-responsive {
    overflow: auto;
    margin-bottom: 10px;
    width: 100%;
    max-height: 80vh;
}

.custom-table-light {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

    .custom-table-light thead tr {
        background-color: #f8f9fa;
    }

    .custom-table-light th {
        padding: 12px;
        border: 1px solid #dee2e6;
        text-align: center;
        font-weight: 600;
        color: #495057;
        white-space: nowrap;
        text-align: center;
        vertical-align: middle;
    }

    .custom-table-light tbody tr {
        border-bottom: 1px solid #dee2e6;
        transition: background-color 0.2s ease;
    }

        .custom-table-light tbody tr:hover {
            background-color: #f1f1f1;
        }

        .custom-table-light tbody tr.selected {
            background-color: #e9ecef;
        }

    .custom-table-light td {
        padding: 12px;
        border: 1px solid #dee2e6;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
    }


.flights-accordion {
    background: #fff !important;
}

.dark-main .flights-accordion {
    background: #393e46 !important;
}

.hotel-accordion {
    background: #fff !important;
}

.dark-main .hotel-accordion {
    background: #393e46 !important;
}

.color-equalizer {
    color: var(--bs-secondary-color);
}

.dark-main .color-equalizer {
    color: #fff !important;
}

.filter-searchBar {
    position: sticky;
    top: 10px;
    max-height: 97vh;
    overflow: scroll;
    scrollbar-width: none;
    /* position: sticky;
    top: 10px;
    max-height: 90vh;
    overflow-y: scroll;
    overflow-x: clip;*/
}

    .filter-searchBar .mud-expand-panel-content {
        padding-bottom: 5px !important;
    }

.filter-sub-accordion .mud-expand-panels {
    box-shadow: none !important;
    background: transparent !important;
}

.filter-sub-accordion .mud-expand-panel {
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
}

.filter-sub-accordion .mud-expand-panel-header {
    padding: 0 !important;
    min-height: unset !important;
}

.filter-sub-accordion .mud-expand-panel-content .mud-expand-panel-content-wrapper {
    padding: 0 !important;
}

.segmentDeparture-wrap, .departure-servicess {
    background: #fff !important;
}

.dark-main .modal-body .segmentDeparture-wrap, .dark-main .modal-body .departure-servicess {
    background: #393e46 !important;
}

.flight-details-box {
    background: #fff;
}

.dark-main .flight-details-box {
    background: #393e46 !important;
}

.pricedetail-aside {
    background: #fff;
}

.dark-main .pricedetail-aside {
    background: #393e46 !important
}
/* Fare table light */
.fare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.dark-main .list-group-item {
    color: var(--neutral-foreground-rest);
}

.fare-header {
    background-color: #007bff;
    color: #ffffff;
    text-align: center;
}

    .fare-header th {
        padding: 10px;
        border: 1px solid #dee2e6;
        white-space: nowrap;
    }

.fare-row {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

    .fare-row td {
        padding: 10px;
        border: 1px solid #dee2e6;
        text-align: center;
        white-space: nowrap;
    }
/* Fare table dark */
.fare-table-dark {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    color: #000;
}

.fare-header-dark {
    background-color: #000;
    color: #ffffff;
    text-align: center;
}

    .fare-header-dark th {
        padding: 10px;
        border: 1px solid #dee2e6;
        white-space: nowrap;
    }

.fare-row-dark {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

    .fare-row-dark td {
        padding: 10px;
        border: 1px solid #dee2e6;
        text-align: center;
        white-space: nowrap;
    }

.homepage-container .widget1 {
    border-bottom: 3px solid #ff9800;
    border-radius: 10px 10px 5px 5px;
}

.homepage-container .widget2 {
    border-bottom: 3px solid rgb(0 200 83);
    border-radius: 10px 10px 5px 5px;
}

.homepage-container .widget3 {
    border-bottom: 3px solid rgb(68 151 255);
    border-radius: 10px 10px 5px 5px;
}

.homepage-container .widget4 {
    border-bottom: 3px solid rgb(244 67 54);
    border-radius: 10px 10px 5px 5px;
}


.box-widget, .invoice-card {
    background: #fff;
}

.dark-main .box-widget, .dark-main .invoice-card {
    background: var(--bg-dark-secondary);
    color: #fff;
}

.icon-wrap {
    border-radius: 50%;
    height: 33px;
    line-height: 2;
}

fluent-dialog[class~="right"][b-dsxskpj5rr]::part(control) {
    position: relative !important;
    /*--dialog-height: 70dvh !important;*/
    --dialog-height: auto !important;
}

.mudfab-alterbutton {
    left: 20px;
    bottom: 20px;
}

.label-form-check {
    font-size: 17px;
}

.btn-toggle-container .mud-button[aria-checked="true"] {
    background-color: #000 !important;
    color: #fff !important;
}

.btn-toggle-container .mud-button[aria-checked="false"] {
    background-color: transparent !important;
    color: #000 !important;
}

.dark-main .btn-toggle-container .mud-button[aria-checked="true"] {
    background-color: #fff !important;
    color: #000 !important;
}

.dark-main .btn-toggle-container .mud-button[aria-checked="false"] {
    background-color: transparent !important;
    color: #fff !important;
}

.tadvisor-rate-container img {
    width: 20px;
    height: auto;
}
/*fluent*/
.fluent-control {
    appearance: none;
    color: inherit;
    background: transparent;
    border: 0px;
    height: calc(100% - 4px);
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 calc(var(--design-unit) * 2px + 1px);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
    outline: none;
    box-sizing: border-box;
    position: relative;
    color: inherit;
    border: calc(var(--stroke-width) * 1px) solid transparent;
    border-radius: calc(var(--control-corner-radius) * 1px);
    height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: padding-box linear-gradient(var(--neutral-fill-input-rest),var(--neutral-fill-input-rest)),border-box var(--neutral-stroke-input-rest);
}

.fluent-input-label {
    margin-bottom: calc(var(--design-unit) * 1px);
}

fluent-tab-panel {
    border-top: 1px solid #efefef;
    margin-top: 10px;
    padding-top: 10px;
}

.swap-btn {
    background: #fff;
    padding: 8px;
    border-radius: 0px;
    z-index: 100;
    right: -19px;
    top: 0px;
    border: 1px solid #d1d1d1;
}

.dark-main .swap-btn {
    background: #333333;
}

.fl-pic {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e1e1e1;
    background: #fff;
}

.leg-overnight-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0c14b;
    color: #1a1a1a;
    border-radius: 999px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    -webkit-locale: "en";
    unicode-bidi: isolate;
    vertical-align: middle;
}

.dark-main .leg-overnight-badge {
    background: #f0c14b;
    color: #1a1a1a;
}

    .fl-pic img {
        width: 85%;
        height: auto;
    }

.ht-imgcontainer {
    width: 100%;
    max-height: 150px;
    overflow: hidden !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

    .ht-imgcontainer img {
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        display: block;
    }

.hotels-on-map-container {
    width: 100%;
    max-height: 150px;
    overflow: hidden !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

    .hotels-on-map-container img {
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        display: block;
    }

.room-imgcontainer {
    width: 100%;
    max-height: 200px;
    overflow: hidden !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 2px solid #f3f3f3;
}

    .room-imgcontainer img {
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        display: block;
    }

.room-info-topbox {
    border-radius: 2px;
    background: #f5f4fd;
    padding: 10px;
}

    .room-info-topbox p {
        font-size: 12px;
    }

.user-printedname {
    color: var(--accent-base-color) !important;
}

.main .detail-accordion {
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    background: #edededad;
}

.dark-main .detail-accordion {
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    background: #4f4f4f;
}

.main .error-container {
    background: #fff !important;
}

.dark-main .error-container {
    background: #474747 !important;
}

.hot-imgcontainer {
    overflow: hidden;
    max-width: 384px;
    max-height: 200px;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-right: 10px;
}

.ticket-hotel-imgcontainer {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
}

.ticket-hotel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.multi-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines before cutting off */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

.floating-darkmode-selector {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

.social-buttons {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

    .social-buttons.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.fab-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 24px;
    border-radius: 50%;
    color: #fff;
    border: none;
    cursor: pointer;
}

    .fab-circle i {
        font-size: 1.5rem;
    }

.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background-color: #036ac4;
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 24px;
    cursor: pointer;
}

.bg-whatsapp {
    background: #25D366;
}

.bg-telegram {
    background: #4497ff;
}

.bg-orange {
    background-color: #fd7e14 !important; /* Bootstrap orange */
    color: #fff;
}

.stat-bg-light-success {
    background: rgba(0,200,83,1);
    color: #fff;
}

.desc-container {
    max-height: 270px;
    overflow: scroll;
}

.insertaskmud .mud-input-root {
    font-size: 12px !important;
}

/*.show-map-floating-btn {
    position: absolute;
    right: 10px;
    top: -11px;
}*/


#popup-marker {
    background: #fff;
    border: 1px solid;
    border-radius: 10px;
    margin-bottom: -10px;
}


#popup-marker {
    background: #fff;
    position: relative;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #b0b0b0;
    margin-bottom: 9px;
    max-width: 310px;
    height: 100%;
}

    #popup-marker:before {
        content: "";
        position: absolute;
        right: 50%;
        bottom: -10%;
        width: 0;
        height: 0;
        transform: rotate(27deg);
        border-top: 13px solid transparent;
        border-right: 26px solid white;
        border-bottom: 13px solid transparent;
    }

    #popup-marker .map-ht-title {
        text-overflow: ellipsis;
        font-size: 12px;
    }

.hotel-card-info {
    border-left: 2px dashed #dadada;
}

.floating-rate {
    position: absolute;
    top: 0;
    right: 5px;
}

.floating-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #29bc1e;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 10px;
    color: #fff;
    letter-spacing: 0;
    text-transform: capitalize;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.hotel-result-card {
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .hotel-result-card:hover {
        box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.12) !important;
        transform: translateY(-2px);
    }

.dark-main .hotel-result-card:hover {
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.45) !important;
}

.hotel-result-card .ht-imgcontainer {
    border-radius: 10px;
    height: 210px;
    max-height: 210px;
    min-height: 210px;
}

    .hotel-result-card .ht-imgcontainer img {
        transition: transform .35s ease;
    }

.hotel-result-card:hover .ht-imgcontainer img {
    transform: scale(1.06);
}

.hotel-name {
    font-size: 16px;
}

.hotel-address {
    font-size: 12px;
}

.hotel-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
}

.hotel-score-excellent {
    background: #1e8e3e;
}

.hotel-score-good {
    background: #4497ff;
}

.hotel-score-average {
    background: #f5a623;
}

.hotel-score-poor {
    background: #e5484d;
}

.hotel-score-unknown {
    background: #9aa0a6;
}

.hotel-amenities-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.amenity-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 20px;
    background: var(--bg-light-primary);
    color: #6c757d;
    white-space: nowrap;
}

.dark-main .amenity-chip {
    background: var(--bg-dark-secondary);
    color: #cfcfcf;
}

.card-header-gap {
    margin-bottom: 12px;
}

.accordion-heading-strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 15px;
    color: var(--mud-palette-primary, #594AE2);
}

.action-input-group {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
}

    .action-input-group .action-input-field {
        width: 190px;
    }

.toolbar-divider {
    width: 1px;
    height: 28px;
    background: rgba(0,0,0,.1);
}

.dark-main .toolbar-divider {
    background: rgba(255,255,255,.15);
}

.toggle-option-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light-primary);
    border-radius: 10px;
    padding: 8px 14px;
    height: 40px;
}

.toggle-option-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.dark-main .toggle-option-box {
    background: var(--bg-dark-secondary);
}

.dark-main .toggle-option-label {
    color: #cfcfcf;
}

.language-select {
    min-width: 160px;
}

.rule-note-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f5f8ff;
    border: 1px solid #e3e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 8px;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
}

    .rule-note-box:last-child {
        margin-bottom: 0;
    }

    .rule-note-box .mud-icon {
        flex-shrink: 0;
        margin-top: 1px;
    }

    .rule-note-box .rule-note-box-text {
        font-size: 13px;
        line-height: 1.6;
        color: #444;
        word-break: break-word;
    }

.dark-main .rule-note-box {
    background: var(--bg-dark-secondary);
    border-color: #3a3f4b;
}

    .dark-main .rule-note-box .rule-note-box-text {
        color: #cfcfcf;
    }

.icon-mask {
    display: inline-block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.hotel-provider-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    background: rgba(68,151,255,.12);
    color: #4497ff;
}

.hotel-price-block {
    margin-top: 10px;
}

    .hotel-price-block .price-label {
        font-size: 11px;
        color: #6c757d;
    }

    .hotel-price-block .price-amount {
        font-size: 22px;
        font-weight: 800;
        color: #4497ff;
        line-height: 1.25;
    }

    .hotel-price-block .price-sub {
        font-size: 12px;
        color: #6c757d;
    }

.dark-main .hotel-price-block .price-label,
.dark-main .hotel-price-block .price-sub {
    color: #b0b0b0;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-chip-ok {
    background: rgba(30,142,62,.12);
    color: #1e8e3e;
}

.status-chip-error {
    background: rgba(229,72,77,.12);
    color: #e5484d;
}

.status-chip-info {
    background: rgba(68,151,255,.12);
    color: #4497ff;
}

.status-chip-warn {
    background: rgba(245,166,35,.12);
    color: #b3720a;
}

.dark-main .status-chip-info {
    background: rgba(68,151,255,.2);
}

.dark-main .status-chip-warn {
    background: rgba(245,166,35,.2);
    color: #f5a623;
}

.policy-block {
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

    .policy-block:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .policy-block .policy-block-title {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 6px;
    }

.dark-main .policy-block {
    border-bottom-color: #444;
}

.room-detail-card {
    background: #f7f9fc;
    border: 1px solid #e3e8f0;
    border-left: 4px solid var(--mud-palette-primary, #594AE2);
    border-radius: 10px;
}

.dark-main .room-detail-card {
    background: var(--bg-dark-secondary);
    border-color: #3a3f4b;
    border-left-color: var(--mud-palette-primary, #594AE2);
}

.cancel-policy-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.cancel-policy-ok {
    background: rgba(30,142,62,.08);
    color: #1e8e3e;
}

.cancel-policy-warn {
    background: rgba(229,72,77,.08);
    color: #e5484d;
}

.dark-main .status-chip-ok,
.dark-main .cancel-policy-ok {
    background: rgba(30,142,62,.2);
}

.dark-main .status-chip-error,
.dark-main .cancel-policy-warn {
    background: rgba(229,72,77,.2);
}

.static-label {
    background: #29bc1e;
    border-radius: 4px;
    padding: 1px 3px;
    color: #fff;
}

.wid-item {
    font-size: 14px;
}

.support-message-container {
    max-height: 406px;
    overflow: auto;
    padding: 8px;
}

::deep > #ConfirmDialog::part(control) {
    --dialog-width: 300px;
    --dialog-height: 350px;
    padding: 2rem !important;
}

.mud-toggle-group-outlined.mud-toggle-group-primary {
    border-color: inherit !important;
}

/* Task View chat box */
.chat-container {
    max-width: 75%;
    color: #000;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    word-wrap: break-word;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: left;
}

.chat-wrapper {
    display: flex;
    margin-bottom: 12px;
}

.chat-wrapper-left {
    justify-content: flex-start;
}

.chat-wrapper-right {
    justify-content: flex-end;
}

.chat-bubble-left {
    background: #f1f0f0;
}

.chat-bubble-right {
    background: #d6e8ff;
}

.dark-main .chat-container {
    border-color: #444;
    color: #eaeaea;
}

.dark-main .chat-bubble-left {
    background: #3a3f4b;
}

.dark-main .chat-bubble-right {
    background: #2a3f57;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--bg-light-primary);
    margin-bottom: 6px;
    text-decoration: none;
    color: inherit;
    font-size: 13px;
    transition: background .15s ease;
}

    .attachment-item:hover {
        background: rgba(0,0,0,.06);
        text-decoration: none;
        color: inherit;
    }

    .attachment-item img {
        border-radius: 6px;
        flex-shrink: 0;
    }

    .attachment-item .attachment-file-name {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.dark-main .attachment-item {
    background: var(--bg-dark-secondary);
}

    .dark-main .attachment-item:hover {
        background: #3a3f4b;
    }

.layover-el {
    transform: translateY(-43px);
}
/*fluent*/
@media (max-width: 600px) {
    .layover-el {
        transform: translateY(-43px);
    }

    .desc-container {
        max-height: 120px;
    }

    .mud-picker input {
        font-size: 14px !important;
    }

    .segmenttriox p {
        font-size: .875em !important;
    }

    .room-info-topbox p {
        font-size: 11px;
    }

    fluent-dialog .fluent-dialog-main {
        --dialog-width: 100vw !important;
    }

    fluent-dialog#FlightAddToCartConfirmDialog::part(control),
    fluent-dialog#HotelAddToCartConfirmDialog::part(control) {
        --dialog-width: 100vw !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .radio-item, .dark-main .radio-item {
        margin-bottom: 1rem !important;
    }

    .main {
        flex-direction: column !important;
        row-gap: 0 !important;
    }
}

@media (min-width: 601px) and (max-width: 769px) {
    .pagination-marginfix {
        margin-top: 2rem;
    }

    .radio-item, .dark-main .radio-item {
        margin: 3px 7px !important;
        width: auto !important;
    }
}

@media screen and (max-width: 991px) {
     .swap-btn {
        border-radius: 10px;
        z-index: 100;
        right: 20%;
        top: 30px;
        transform: rotate(90deg);
        padding: 4px;
    }
}

@media (min-width: 769px) and (max-width: 1025px) {
    .radio-item, .dark-main .radio-item {
        margin: 3px 7px !important;
        width: auto !important;
    }
}

@media (min-width: 1025px) and (max-width: 1441px) {
    .radio-item, .dark-main .radio-item {
        margin: 3px 7px !important;
        width: auto !important;
    }
}

@media (min-width: 1441px) and (max-width: 2561px) {
    .radio-item, .dark-main .radio-item {
        margin: 3px 7px !important;
        width: auto !important;
    }
}

@media (max-width: 1025px) {
    .RoomCarImg {
        width: 100% !important;
    }
}

@media (max-width: 1199px) {
    .hotel-card-info {
        border-left: none !important;
    }
}

@media (max-width: 768px) {

    .chat-container {
        max-width: 100%;
        font-size: 12px;
        font-weight: bold;
    }

    .mud-toggle-group {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    .content {
        padding: 0.5rem;
        height: auto !important;
        align-self: flex-start !important;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .content .row {
        --bs-gutter-x: 1rem;
    }

    .detailbox-container {
        max-height: none;
        overflow: visible;
    }

    .filter-searchBar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .thumbnail {
        width: 75px;
        height: 56px;
    }

    .nav-button {
        font-size: 18px;
        padding: 8px;
    }

    .ftype-radio .mud-typography {
        font-size: 13px !important;
    }

    .ftype-radio span.mud-button-root {
        padding: 3px !important;
    }
}
/* -- MAP -- */

.ol-blazor-marker:hover {
    cursor: pointer;
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

div[class^="ol-blazor-marker"]:hover {
    cursor: pointer;
}

.ol-overlay-container .ol-blazor-marker:hover {
    cursor: pointer;
}

.Hotel-Autocomp .mud-input-adornment, .Hotel-RangePicker .mud-input-adornment {
    position: absolute !important;
    right: 9px !important;
    bottom: 20px !important;
}

.Hotel-Autocomp .mud-input-adornment-icon-button {
    padding-left: 0px !important;
    padding-right: 8px !important;
}

    .Hotel-Autocomp .mud-input-adornment-icon-button:hover, .Hotel-RangePicker .mud-input-adornment-icon-button:hover {
        background: transparent !important;
    }

    .Hotel-Autocomp .mud-input-adornment-icon-button:active, .Hotel-RangePicker .mud-input-adornment-icon-button:active {
        background: transparent !important;
    }

    .Hotel-Autocomp .mud-input-adornment-icon-button:focus-visible, .Hotel-RangePicker .mud-input-adornment-icon-button:focus-visible {
        background: transparent !important;
    }

.Hotel-Autocomp .mud-input-clear-button {
    position: absolute !important;
    right: 30px !important;
    bottom: 8px !important;
}

.RoomCarImg-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.RoomCarImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    /*width: 460px;*/
    object-fit: cover;
    object-position: 50% 65%;
    display: block;
}

.room-carousel {
    height: 280px !important;
    border-radius: 10px;
}

    .room-carousel .mud-carousel-item {
        height: 100% !important;
        width: 100% !important;
    }

    .room-carousel button {
        background: #fff !important;
    }

.dark-main .room-carousel button {
    background: #000000c2 !important;
}

.Hotel-Autocomp .mud-input-root, .Hotel-RangePicker .mud-input-root {
    padding-bottom: 11px !important;
    padding-right: 14px !important;
}

/* -- MAP -- */
.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-image-container {
    position: relative;
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
    transition: opacity 0.3s ease-in-out;
}

.HotelRoomCarousel {
    height: 330px;
}

.thumbnail-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .thumbnail:hover {
        opacity: 0.8;
    }

    .thumbnail.active {
        border-color: #0d6efd;
    }

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s;
}

    .nav-button:hover {
        background: rgba(0, 0, 0, 0.8);
    }

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.show-comment-line {
    white-space: pre-line
}

.main .editor-container .rz-html-editor {
    background: white;
    color: black;
    border: 1px solid #dcdcdc;
}

.main .editor-container .rz-html-editor-toolbar {
    background: #f4f4f4;
    border-bottom: 1px solid #dcdcdc;
}

.main .editor-container .rz-html-editor-content {
    background: white;
    color: black;
}

.main .editor-container .rz-html-editor-button {
    color: #222;
}

    .main .editor-container .rz-html-editor-button.rz-selected {
        background: #e4e4e4;
        color: black;
    }

.dark-main .editor-container .rz-html-editor {
    background: #1f1f1f !important;
    color: #f1f1f1 !important;
    border: 1px solid #333 !important;
}

.dark-main .editor-container .rz-html-editor-toolbar {
    background: #2a2a2a !important;
    border-bottom: 1px solid #333 !important;
}

.dark-main .editor-container .rz-html-editor-content {
    background: #1f1f1f !important;
    color: #fff !important;
}

.dark-main .editor-container .rz-html-editor-button,
.dark-main .editor-container .rz-html-editor-colorpicker,
.dark-main .editor-container .rz-colorpicker-trigger {
    color: #ddd !important;
    background: #151414 !important;
}

    .dark-main .editor-container .rz-html-editor-button:hover {
        background: #343434 !important;
    }

    .dark-main .editor-container .rz-html-editor-button.rz-selected {
        background: #3c3c3c !important;
        color: white !important;
    }

.dark-main .editor-container .rz-html-editor-content .ql-editor *,
.dark-main .editor-container .rz-html-editor-content {
    color: inherit !important;
}

.dark-main .rz-colorpicker-popup {
    background: #2a2a2a !important;
    border-color: #333 !important;
}

.pointer {
    cursor: pointer;
    display: block !important;
    border-bottom: 1px dashed;
}

.dnd-datepicker-wrapper .mud-input > input.mud-input-root-outlined {
    padding: 10px 14px;
}

.border-danger-childs .fluent-input-label {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.visa-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .visa-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

.visa-card-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.visa-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: transform 0.2s ease;
}

.visa-card:hover .country-label {
    transform: scale(1.05);
}


.visa-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.visa-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #323130;
    text-align: center;
}

.visa-card-subtitle {
    font-size: 14px;
    color: #605E5C;
    margin-bottom: 16px;
    text-align: center;
}

.visa-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #edebe9;
    margin-top: auto;
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-label {
    font-size: 12px;
    color: #605E5C;
    margin-bottom: 2px;
}

.price-value {
    font-size: 16px;
    font-weight: 600;
    color: #0078D4;
}

.price-currency {
    font-size: 12px;
    margin-right: 4px;
}

.action-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.action-label {
    font-size: 12px;
    color: #605E5C;
    margin-bottom: 2px;
}

.container-custom {
    max-width: 1400px;
}

@media (max-width: 768px) {
    .visa-card-image {
        height: 150px;
    }
}

/* Europe */
.country-label-de { /* Germany */
    background: linear-gradient(135deg, #000000 0%, #dd0000 50%, #ffce00 100%);
}

.country-label-es { /* Spain */
    background: linear-gradient(135deg, #c60b1e 0%, #ffc400 100%);
}

.country-label-fr { /* France */
    background: linear-gradient(135deg, #002395 0%, #ffffff 50%, #ed2939 100%);
    color: #002395;
    text-shadow: 0 0 3px white;
}

.country-label-it { /* Italy */
    background: linear-gradient(135deg, #009246 0%, #ffffff 50%, #ce2b37 100%);
    color: #333;
    text-shadow: 0 0 2px white;
}

.country-label-ch { /* Switzerland */
    background: linear-gradient(135deg, #dc143c 0%, #ff4757 100%);
}

.country-label-at { /* Austria */
    background: linear-gradient(135deg, #ed2939 0%, #ffffff 50%, #ed2939 100%);
    color: #ed2939;
    text-shadow: 0 0 3px white;
}

.country-label-nl { /* Netherlands */
    background: linear-gradient(135deg, #21468b 0%, #ffffff 50%, #ae1c28 100%);
    color: #21468b;
    text-shadow: 0 0 3px white;
}

.country-label-be { /* Belgium */
    background: linear-gradient(135deg, #000000 0%, #fdda24 50%, #ef3340 100%);
}

.country-label-pl { /* Poland */
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #dc143c 100%);
    color: #dc143c;
}

.country-label-pt { /* Portugal */
    background: linear-gradient(135deg, #006600 0%, #ff0000 100%);
}

.country-label-gr { /* Greece */
    background: linear-gradient(135deg, #0d5eaf 0%, #ffffff 100%);
    color: #0d5eaf;
    text-shadow: 0 0 3px white;
}

.country-label-se { /* Sweden */
    background: linear-gradient(135deg, #006aa7 0%, #fecc00 100%);
}

.country-label-no { /* Norway */
    background: linear-gradient(135deg, #ba0c2f 0%, #00205b 100%);
}

.country-label-dk { /* Denmark */
    background: linear-gradient(135deg, #c8102e 0%, #ff4757 100%);
}

.country-label-fi { /* Finland */
    background: linear-gradient(135deg, #003580 0%, #ffffff 100%);
    color: #003580;
    text-shadow: 0 0 3px white;
}

.country-label-ie { /* Ireland */
    background: linear-gradient(135deg, #169b62 0%, #ffffff 50%, #ff883e 100%);
    color: #169b62;
    text-shadow: 0 0 3px white;
}

.country-label-cz { /* Czech Republic */
    background: linear-gradient(135deg, #11457e 0%, #d7141a 100%);
}

.country-label-hu { /* Hungary */
    background: linear-gradient(135deg, #ce2939 0%, #ffffff 50%, #436f4d 100%);
    color: #ce2939;
    text-shadow: 0 0 3px white;
}

.country-label-ro { /* Romania */
    background: linear-gradient(135deg, #002b7f 0%, #fcd116 50%, #ce1126 100%);
}

.country-label-bg { /* Bulgaria */
    background: linear-gradient(135deg, #ffffff 0%, #00966e 50%, #d62612 100%);
    color: #00966e;
    text-shadow: 0 0 3px white;
}

.country-label-hr { /* Croatia */
    background: linear-gradient(135deg, #ff0000 0%, #ffffff 50%, #171796 100%);
    color: #171796;
    text-shadow: 0 0 3px white;
}

.country-label-sk { /* Slovakia */
    background: linear-gradient(135deg, #ffffff 0%, #0b4ea2 50%, #ee1c25 100%);
    color: #0b4ea2;
    text-shadow: 0 0 3px white;
}

.country-label-si { /* Slovenia */
    background: linear-gradient(135deg, #ffffff 0%, #005da4 50%, #ed1c24 100%);
    color: #005da4;
    text-shadow: 0 0 3px white;
}

.country-label-lt { /* Lithuania */
    background: linear-gradient(135deg, #fdb913 0%, #006a44 50%, #c1272d 100%);
}

.country-label-lv { /* Latvia */
    background: linear-gradient(135deg, #9e3039 0%, #ffffff 50%, #9e3039 100%);
    color: #9e3039;
    text-shadow: 0 0 3px white;
}

.country-label-ee { /* Estonia */
    background: linear-gradient(135deg, #0072ce 0%, #000000 50%, #ffffff 100%);
}

.country-label-mt { /* Malta */
    background: linear-gradient(135deg, #ffffff 0%, #cf142b 100%);
    color: #cf142b;
}

.country-label-cy { /* Cyprus */
    background: linear-gradient(135deg, #ffffff 0%, #d57800 100%);
    color: #d57800;
}

.country-label-lu { /* Luxembourg */
    background: linear-gradient(135deg, #ed2939 0%, #ffffff 50%, #00a1de 100%);
    color: #ed2939;
    text-shadow: 0 0 3px white;
}

.country-label-uk, .country-label-gb { /* United Kingdom */
    background: linear-gradient(135deg, #012169 0%, #c8102e 100%);
}

.country-label-schengen { /* Schengen */
    background: linear-gradient(135deg, #003399 0%, #ffcc00 100%);
}

/* Asia */
.country-label-cn { /* China */
    background: linear-gradient(135deg, #de2910 0%, #ff6b6b 100%);
}

.country-label-jp { /* Japan */
    background: linear-gradient(135deg, #ffffff 0%, #bc002d 100%);
    color: #bc002d;
}

.country-label-kr { /* South Korea */
    background: linear-gradient(135deg, #ffffff 0%, #cd2e3a 50%, #0047a0 100%);
    color: #0047a0;
    text-shadow: 0 0 3px white;
}

.country-label-in { /* India */
    background: linear-gradient(135deg, #ff9933 0%, #ffffff 50%, #138808 100%);
    color: #000080;
    text-shadow: 0 0 3px white;
}

.country-label-th { /* Thailand */
    background: linear-gradient(135deg, #ed1c24 0%, #ffffff 33%, #241d4f 66%, #ffffff 100%);
    color: #241d4f;
    text-shadow: 0 0 3px white;
}

.country-label-sg { /* Singapore */
    background: linear-gradient(135deg, #ed2939 0%, #ffffff 100%);
    color: #ed2939;
}

.country-label-my { /* Malaysia */
    background: linear-gradient(135deg, #cc0001 0%, #ffffff 50%, #010066 100%);
}

.country-label-id { /* Indonesia */
    background: linear-gradient(135deg, #ff0000 0%, #ffffff 100%);
    color: #ff0000;
}

.country-label-ph { /* Philippines */
    background: linear-gradient(135deg, #0038a8 0%, #ce1126 50%, #fcd116 100%);
}

.country-label-vn { /* Vietnam */
    background: linear-gradient(135deg, #da251d 0%, #ff4757 100%);
}

.country-label-ae { /* UAE */
    background: linear-gradient(135deg, #00732f 0%, #ffffff 33%, #000000 66%, #ff0000 100%);
}

.country-label-sa { /* Saudi Arabia */
    background: linear-gradient(135deg, #165c2c 0%, #2d8245 100%);
}

.country-label-tr { /* Turkey */
    background: linear-gradient(135deg, #e30a17 0%, #ff4757 100%);
}

.country-label-il { /* Israel */
    background: linear-gradient(135deg, #0038b8 0%, #ffffff 50%, #0038b8 100%);
    color: #0038b8;
    text-shadow: 0 0 3px white;
}

/* Americas */
.country-label-us { /* United States */
    background: linear-gradient(135deg, #b22234 0%, #ffffff 50%, #3c3b6e 100%);
}

.country-label-ca { /* Canada */
    background: linear-gradient(135deg, #ff0000 0%, #ffffff 50%, #ff0000 100%);
    color: #ff0000;
}

.country-label-mx { /* Mexico */
    background: linear-gradient(135deg, #006847 0%, #ffffff 50%, #ce1126 100%);
    color: #006847;
    text-shadow: 0 0 3px white;
}

.country-label-br { /* Brazil */
    background: linear-gradient(135deg, #009c3b 0%, #ffdf00 100%);
    color: #002776;
}

.country-label-ar { /* Argentina */
    background: linear-gradient(135deg, #74acdf 0%, #ffffff 50%, #74acdf 100%);
    color: #74acdf;
    text-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.country-label-cl { /* Chile */
    background: linear-gradient(135deg, #0039a6 0%, #ffffff 50%, #d52b1e 100%);
}

.country-label-co { /* Colombia */
    background: linear-gradient(135deg, #fcd116 0%, #003893 50%, #ce1126 100%);
}

.country-label-pe { /* Peru */
    background: linear-gradient(135deg, #d91023 0%, #ffffff 50%, #d91023 100%);
    color: #d91023;
}

/* Oceania */
.country-label-au { /* Australia */
    background: linear-gradient(135deg, #00008b 0%, #ffffff 50%, #ff0000 100%);
}

.country-label-nz { /* New Zealand */
    background: linear-gradient(135deg, #00247d 0%, #cc142b 100%);
}

/* Africa */
.country-label-za { /* South Africa */
    background: linear-gradient(135deg, #e03c31 0%, #007749 50%, #001489 100%);
}

.country-label-eg { /* Egypt */
    background: linear-gradient(135deg, #ce1126 0%, #ffffff 50%, #000000 100%);
}

.country-label-ma { /* Morocco */
    background: linear-gradient(135deg, #c1272d 0%, #006233 100%);
}

.country-label-ng { /* Nigeria */
    background: linear-gradient(135deg, #008751 0%, #ffffff 50%, #008751 100%);
    color: #008751;
}

.country-label-ke { /* Kenya */
    background: linear-gradient(135deg, #000000 0%, #bb0000 33%, #ffffff 66%, #006600 100%);
}



.visa-action-target-highlight {
    outline: 2px solid #f0ad4e;
    outline-offset: 4px;
    border-radius: 6px;
    transition: outline-color 0.3s ease;
}

.grid-view-wrapper {
    position: relative;
    border-collapse: separate;
    border-spacing: 0;
}

.table-responsive .grid-view-wrapper.grid-has-actions thead th:first-child,
.table-responsive .grid-view-wrapper.grid-has-actions tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    min-width: max-content;
    overflow: hidden;
    box-shadow: 8px 0 10px rgba(0, 0, 0, .12), -12px 0 0 #f8f8f8;
}

.table-responsive .grid-view-wrapper.grid-has-actions thead th:first-child {
    background: #f8f8f8;
    z-index: 6;
}

.table-responsive .grid-view-wrapper.grid-has-actions tbody td:first-child {
    background: #f8f8f8 !important;
}

.grid-view-wrapper.grid-has-actions tbody td:first-child .mud-menu .mud-button-root {
    min-width: auto;
    height: 32px;
    padding: 2px 8px 2px 10px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: none;
}

.dark-main .table-responsive .grid-view-wrapper.grid-has-actions thead th:first-child {
    background: #393e46 !important;
    box-shadow: 8px 0 10px rgba(0, 0, 0, .28), -12px 0 0 #393e46;
}

.dark-main .table-responsive .grid-view-wrapper.grid-has-actions tbody td:first-child {
    background: #5a626e !important;
    box-shadow: 8px 0 10px rgba(0, 0, 0, .28), -12px 0 0 #5a626e;
}

.dark-main .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-button-outlined,
.dark-main .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-icon-button,
.dark-main .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-button-root {
    background-color: #4497ff !important;
    color: #fff !important;
    border-color: #4497ff !important;
}

.dark-main .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-icon-root,
.dark-main .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-button-label {
    color: #fff !important;
}

/* ---- Grid row actions (GridActions / GridActionItem) ----
   Desktop: a compact toolbar of tinted icon buttons, colored by what each action does.
   Below 1024px: the "Manage" dropdown. */
.grid-view-wrapper.grid-has-actions thead th.grid-action-col,
.grid-view-wrapper.grid-has-actions tbody td:first-child {
    text-align: center;
    vertical-align: middle;
}

.grid-actions {
    display: inline-flex;
    justify-content: center;
}

.grid-actions-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    padding: 3px;
    border: 1px solid #e4e7ee;
    border-radius: 11px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

.grid-actions-menu {
    display: none;
}

@media (max-width: 1023.98px) {
    .grid-actions-inline {
        display: none;
    }

    .grid-actions-menu {
        display: block;
    }
}

/* Tones: each class sets the action's color; light and dark values are tuned for contrast. */
.grid-action-btn {
    --tone: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--tone) 10%, transparent);
    color: var(--tone);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}

    .grid-action-btn--view { --tone: #0284c7; }
    .grid-action-btn--edit { --tone: #4f46e5; }
    .grid-action-btn--danger { --tone: #dc2626; }
    .grid-action-btn--success { --tone: #16a34a; }
    .grid-action-btn--warning { --tone: #d97706; }
    .grid-action-btn--finance { --tone: #0d9488; }
    .grid-action-btn--link { --tone: #9333ea; }
    .grid-action-btn--neutral { --tone: #475569; }

    .grid-action-btn .mud-icon-root {
        font-size: 18px;
        width: 18px;
        height: 18px;
        color: inherit;
    }

    .grid-action-btn--text {
        padding: 0 10px;
    }

    .grid-action-btn:hover {
        background-color: var(--tone);
        color: #fff;
        text-decoration: none;
        box-shadow: 0 3px 8px color-mix(in srgb, var(--tone) 35%, transparent);
    }

    .grid-action-btn:active {
        transform: scale(.94);
    }

    .grid-action-btn:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--tone) 55%, transparent);
        outline-offset: 1px;
    }

    .grid-action-btn--disabled,
    .grid-action-btn:disabled {
        opacity: .4;
        cursor: not-allowed;
        pointer-events: none;
        box-shadow: none;
        transform: none;
    }

/* Selected/hovered rows keep the toolbar readable */
.grid-view-wrapper tbody tr:hover .grid-actions-inline {
    border-color: #d5dae4;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .08);
}

/* Dark theme */
.dark-main .grid-actions-inline {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(0, 0, 0, .18);
    box-shadow: none;
}

.dark-main .grid-view-wrapper tbody tr:hover .grid-actions-inline {
    border-color: rgba(255, 255, 255, .2);
}

.dark-main .grid-action-btn { background-color: color-mix(in srgb, var(--tone) 20%, transparent); }
.dark-main .grid-action-btn--view { --tone: #38bdf8; }
.dark-main .grid-action-btn--edit { --tone: #a5b4fc; }
.dark-main .grid-action-btn--danger { --tone: #f87171; }
.dark-main .grid-action-btn--success { --tone: #4ade80; }
.dark-main .grid-action-btn--warning { --tone: #fbbf24; }
.dark-main .grid-action-btn--finance { --tone: #2dd4bf; }
.dark-main .grid-action-btn--link { --tone: #d8b4fe; }
.dark-main .grid-action-btn--neutral { --tone: #cbd5e1; }

    .dark-main .grid-action-btn:hover {
        color: #1e2229;
    }

    /* The dark theme forces white icons in the action column; keep each tone's color instead. */
    .dark-main .grid-view-wrapper.grid-has-actions tbody td:first-child .grid-action-btn .mud-icon-root {
        color: inherit !important;
    }

/* ---- Zebra rows for grids without row actions (DNGridView adds .grid-has-actions when it has them) ----
   Uses Bootstrap's striping variable, so hover and the clicked-row highlight still win over it. */
.grid-view-wrapper:not(.grid-has-actions) > tbody > tr:nth-child(even) > td {
    --bs-table-bg-type: #f4f6fa;
    background-color: #f4f6fa;
}

.dark-main .grid-view-wrapper:not(.grid-has-actions) > tbody > tr:nth-child(even) > td {
    --bs-table-bg-type: rgba(255, 255, 255, .05);
    background-color: rgba(255, 255, 255, .05);
}

/* ---- Clicked row highlight (DNGridView + js/gridRowHighlight.js) ----
   A tinted background across the whole row plus an accent bar at its start, so the row can be followed to its end.
   Bootstrap paints cell states with an inset box-shadow, so the tint is applied there as well as on the background. */
.grid-view-wrapper {
    --grid-row-active-bg: #dbeafe;
    --grid-row-active-color: #0f172a;
    --grid-row-active-accent: #2563eb;
}

.dark-main .grid-view-wrapper {
    --grid-row-active-bg: #2b4a72;
    --grid-row-active-color: #fff;
    --grid-row-active-accent: #60a5fa;
}

.grid-view-wrapper > tbody > tr {
    cursor: default;
}

.grid-view-wrapper > tbody > tr.grid-row-active > td {
    background-color: var(--grid-row-active-bg) !important;
    box-shadow: inset 0 0 0 9999px var(--grid-row-active-bg) !important;
    color: var(--grid-row-active-color) !important;
    transition: background-color .15s ease;
}

    .grid-view-wrapper > tbody > tr.grid-row-active > td:first-child {
        box-shadow: inset 4px 0 0 var(--grid-row-active-accent), inset 0 0 0 9999px var(--grid-row-active-bg) !important;
    }

/* Sticky action column: keep its edge shadow and fill the gap on its left with the row color */
.table-responsive .grid-view-wrapper.grid-has-actions > tbody > tr.grid-row-active > td:first-child {
    background: var(--grid-row-active-bg) !important;
    box-shadow: inset 4px 0 0 var(--grid-row-active-accent), inset 0 0 0 9999px var(--grid-row-active-bg), 8px 0 10px rgba(0, 0, 0, .12), -12px 0 0 var(--grid-row-active-bg) !important;
}

.dark-main .table-responsive .grid-view-wrapper.grid-has-actions > tbody > tr.grid-row-active > td:first-child {
    box-shadow: inset 4px 0 0 var(--grid-row-active-accent), inset 0 0 0 9999px var(--grid-row-active-bg), 8px 0 10px rgba(0, 0, 0, .28), -12px 0 0 var(--grid-row-active-bg) !important;
}

.grid-view-wrapper > tbody > tr.grid-row-active .grid-actions-inline {
    border-color: color-mix(in srgb, var(--grid-row-active-accent) 35%, transparent);
}

@media (max-width: 1023.98px) {
    .grid-view-wrapper > :not(caption) > * > * {
        padding: 4px 6px !important;
        font-size: 12px;
        vertical-align: middle;
    }

    .grid-view-wrapper thead th {
        white-space: nowrap;
        font-size: 11px !important;
        padding: 4px 6px !important;
    }

    .table-responsive .grid-view-wrapper.grid-has-actions thead th:first-child,
    .table-responsive .grid-view-wrapper.grid-has-actions tbody td:first-child {
        min-width: 44px !important;
        width: 44px !important;
        max-width: 44px !important;
        padding: 4px 2px !important;
        left: 0;
        overflow: hidden;
        box-shadow: 6px 0 8px rgba(0, 0, 0, .12), -16px 0 0 #f8f8f8;
    }

    .dark-main .table-responsive .grid-view-wrapper.grid-has-actions thead th:first-child {
        box-shadow: 6px 0 8px rgba(0, 0, 0, .28), -16px 0 0 #393e46;
    }

    .dark-main .table-responsive .grid-view-wrapper.grid-has-actions tbody td:first-child {
        box-shadow: 6px 0 8px rgba(0, 0, 0, .28), -16px 0 0 #5a626e;
    }

    .table-responsive .grid-view-wrapper.grid-has-actions thead th:first-child {
        font-size: 0 !important;
    }

    .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-menu .mud-button-label {
        font-size: 0 !important;
        letter-spacing: 0 !important;
        line-height: 0 !important;
    }

    .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-menu .mud-button-icon-end {
        display: inline-flex !important;
        margin: 0 !important;
    }

    .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-menu .mud-button-icon-end .mud-icon-root,
    .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-menu .mud-button-icon-end svg {
        width: 20px !important;
        height: 20px !important;
        font-size: 20px !important;
    }

    .grid-view-wrapper.grid-has-actions tbody td:first-child .mud-menu .mud-button-root {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        margin: 0 !important;
    }
}

/* ---- Status filter pills (Shared/StatusFilterChips: help desk tasks, flight cancelations, visa requests) ----
   Pill buttons with the count inside, so nothing overlaps the tabs above. */
.status-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 4px;
}

.status-chip {
    --tone: #475569;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 6px 0 14px;
    border: 1px solid #e4e7ee;
    border-radius: 999px;
    background-color: #fff;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}

    .status-chip--all { --tone: #475569; }
    .status-chip--new { --tone: #2563eb; }
    .status-chip--waiting { --tone: #d97706; }
    .status-chip--progress { --tone: #7c3aed; }
    .status-chip--done { --tone: #16a34a; }
    .status-chip--approved { --tone: #0d9488; }
    .status-chip--reject { --tone: #dc2626; }
    .status-chip--info { --tone: #0284c7; }

    .status-chip .status-chip-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--tone);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 18%, transparent);
    }

    .status-chip .status-chip-check {
        width: 16px;
        height: 16px;
        font-size: 16px;
        margin: 0 -4px 0 -4px;
        color: inherit;
    }

    .status-chip .status-chip-count {
        min-width: 26px;
        height: 24px;
        padding: 0 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background-color: color-mix(in srgb, var(--tone) 12%, transparent);
        color: var(--tone);
        font-size: 12px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

    .status-chip:hover {
        border-color: color-mix(in srgb, var(--tone) 45%, transparent);
        box-shadow: 0 2px 8px color-mix(in srgb, var(--tone) 18%, transparent);
    }

    .status-chip:active {
        transform: scale(.97);
    }

    .status-chip:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--tone) 55%, transparent);
        outline-offset: 2px;
    }

    .status-chip.is-active {
        border-color: var(--tone);
        background-color: var(--tone);
        color: #fff;
        box-shadow: 0 3px 10px color-mix(in srgb, var(--tone) 35%, transparent);
    }

        .status-chip.is-active .status-chip-count {
            background-color: rgba(255, 255, 255, .25);
            color: #fff;
        }

.dark-main .status-chip {
    border-color: rgba(255, 255, 255, .14);
    background-color: rgba(255, 255, 255, .04);
    color: #e5e7eb;
    box-shadow: none;
}

.dark-main .status-chip--all { --tone: #cbd5e1; }
.dark-main .status-chip--new { --tone: #60a5fa; }
.dark-main .status-chip--waiting { --tone: #fbbf24; }
.dark-main .status-chip--progress { --tone: #a78bfa; }
.dark-main .status-chip--done { --tone: #4ade80; }
.dark-main .status-chip--approved { --tone: #2dd4bf; }
.dark-main .status-chip--reject { --tone: #f87171; }
.dark-main .status-chip--info { --tone: #38bdf8; }

    .dark-main .status-chip.is-active {
        color: #111827;
    }

        .dark-main .status-chip.is-active .status-chip-count {
            background-color: rgba(0, 0, 0, .18);
            color: #111827;
        }

/* ---- Help desk task counters (TaskShowCountBox) ----
   Five stat cards with an icon tile, the count and its share of the total; tones match .status-chip. */
.task-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 18px;
}

.task-stat-card {
    --tone: #475569;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px 16px;
    overflow: hidden;
    border: 1px solid #eceff4;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
    transition: box-shadow .2s ease, transform .2s ease;
}

    /* Soft tone glow in the corner */
    .task-stat-card::after {
        content: "";
        position: absolute;
        top: -40px;
        right: -40px;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: radial-gradient(circle, color-mix(in srgb, var(--tone) 14%, transparent) 0%, transparent 70%);
        pointer-events: none;
    }

    .task-stat-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(16, 24, 40, .08);
    }

.task-stat-card--all { --tone: #475569; }
.task-stat-card--new { --tone: #2563eb; }
.task-stat-card--waiting { --tone: #d97706; }
.task-stat-card--progress { --tone: #7c3aed; }
.task-stat-card--done { --tone: #16a34a; }

.task-stat-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--tone) 12%, transparent);
    color: var(--tone);
}

    .task-stat-icon .mud-icon-root {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }

.task-stat-body {
    flex: 1 1 auto;
    min-width: 0;
}

.task-stat-label {
    color: #64748b;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-stat-value {
    margin: 2px 0 6px;
    color: #0f172a;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.task-stat-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.task-stat-bar {
    flex: 1 1 auto;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background-color: #eef1f5;
}

    .task-stat-bar > span {
        display: block;
        height: 100%;
        min-width: 3px;
        border-radius: inherit;
        background-color: var(--tone);
        transition: width .4s ease;
    }

.task-stat-percent {
    min-width: 38px;
    color: var(--tone);
    font-weight: 700;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.task-stats-refresh {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background-color: #fff;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    transition: color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

    .task-stats-refresh:hover {
        color: #2563eb;
        border-color: color-mix(in srgb, #2563eb 45%, transparent);
        box-shadow: 0 2px 8px color-mix(in srgb, #2563eb 18%, transparent);
    }

    .task-stats-refresh:disabled {
        cursor: default;
    }

    .task-stats-refresh.is-refreshing .mud-icon-root {
        animation: task-stats-spin .8s linear infinite;
    }

@keyframes task-stats-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1199.98px) {
    .task-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* With 3 or 2 columns the button takes the free sixth cell */
    .task-stats-refresh {
        justify-self: center;
    }
}

@media (max-width: 767.98px) {
    .task-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .task-stat-card {
        gap: 10px;
        padding: 12px;
    }

    .task-stat-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .task-stat-value {
        font-size: 22px;
    }
}

/* Dark theme */
.dark-main .task-stat-card,
.dark-main .task-stats-refresh {
    border-color: rgba(255, 255, 255, .08);
    background-color: #393e46;
    box-shadow: none;
}

.dark-main .task-stat-card--all { --tone: #cbd5e1; }
.dark-main .task-stat-card--new { --tone: #60a5fa; }
.dark-main .task-stat-card--waiting { --tone: #fbbf24; }
.dark-main .task-stat-card--progress { --tone: #a78bfa; }
.dark-main .task-stat-card--done { --tone: #4ade80; }

.dark-main .task-stat-label,
.dark-main .task-stat-meta {
    color: #cbd5e1;
}

.dark-main .task-stat-value {
    color: #fff;
}

.dark-main .task-stat-bar {
    background-color: rgba(255, 255, 255, .1);
}

.dark-main .task-stat-icon {
    background-color: color-mix(in srgb, var(--tone) 20%, transparent);
}

.dark-main .task-stats-refresh {
    color: #e5e7eb;
}

/* ---- Dialog / page forms (.dn-form) ----
   Shared look for financial dialogs: fixed labels above every field, equal-height dense fields,
   grouped sections, a highlighted "hero" for the key figure and a right-aligned action bar.
   Used by: VirtualCreditRequestConfirmForm, VirtualCreditRequestForm, ReceiptRequestForm, ReceiptDetailsToConfirm,
   OnlineBankCardForm, Online page, CurrencyExchangeForm, ManualTransactionRequestForm. */
.dn-form {
    --dn-accent: #2563eb;
    --dn-border: #eceff4;
    --dn-label: #475569;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dn-grid {
    display: grid;
    gap: 14px 16px;
    align-items: start;
}

    .dn-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dn-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .dn-grid + .dn-grid {
        margin-top: 14px;
    }

.dn-span-all {
    grid-column: 1 / -1;
}

.dn-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dn-field-label,
.dn-form .fluent-input-label {
    margin: 0 0 6px 2px !important;
    color: var(--dn-label) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.2;
}

.dn-form .mud-input-control {
    margin: 0 !important;
}

/* Fluent controls inside shared selectors: same width, radius and height as the Mud fields */
.dn-form fluent-select,
.dn-form fluent-text-field,
.dn-form fluent-combobox,
.dn-form fluent-autocomplete,
.dn-form .fluent-autocomplete-multiselect {
    width: 100%;
}

.dn-form fluent-select::part(control),
.dn-form fluent-text-field::part(root) {
    min-height: 40px;
    border-radius: 10px;
}

/* Section card with an optional title */
.dn-form-section {
    padding: 16px 18px;
    border: 1px solid var(--dn-border);
    border-radius: 14px;
    background-color: #fff;
}

.dn-form-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

    .dn-form-section-title .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: var(--dn-accent);
    }

/* Hero: the key figure (amount, card holder, ...) */
.dn-form-hero {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--dn-accent) 18%, transparent);
    border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--dn-accent) 7%, #fff) 0%, #fff 70%);
}

.dn-form-hero-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--dn-accent) 12%, transparent);
    color: var(--dn-accent);
}

    .dn-form-hero-icon .mud-icon-root {
        width: 26px;
        height: 26px;
        font-size: 26px;
    }

.dn-form-hero-main {
    flex: 1 1 auto;
    min-width: 0;
}

    .dn-form-hero-main .dn-hero-amount .mud-input {
        background-color: #fff;
        border-radius: 10px;
    }

    .dn-form-hero-main .dn-hero-amount input {
        font-size: 20px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

.dn-form-hero-side {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 12px 0 4px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #fff;
}

    .dn-form-hero-side .mud-typography {
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

/* Hero for read-only figures (no input) */
.dn-hero-value {
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

    .dn-hero-value small {
        margin-inline-start: 6px;
        color: var(--dn-label);
        font-size: 14px;
        font-weight: 600;
    }

/* Read-only details: label + value tiles */
.dn-detail {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
}

.dn-detail-label {
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
}

.dn-detail-value {
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

    .dn-detail-value:empty::before {
        content: "—";
        color: #94a3b8;
    }

/* Status pill (e.g. confirm status in the hero) */
.dn-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--dn-accent) 12%, transparent);
    color: var(--dn-accent);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

/* File upload / attachment area */
.dn-upload {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    background-color: #f8fafc;
}

    .dn-upload img {
        width: 64px;
        height: 64px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        background-color: #fff;
    }

    .dn-upload .dn-upload-text {
        flex: 1 1 auto;
        min-width: 0;
        color: #64748b;
        font-size: 12.5px;
    }

/* Checkbox / switch row */
.dn-check {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px 0 4px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #fff;
}

/* Selection tiles (open a picker dialog, show whether something is selected) */
.dn-pick {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background-color: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .dn-pick:hover {
        border-color: color-mix(in srgb, var(--dn-accent) 40%, transparent);
        box-shadow: 0 2px 8px color-mix(in srgb, var(--dn-accent) 12%, transparent);
    }

    .dn-pick.is-selected {
        border-color: color-mix(in srgb, #16a34a 45%, transparent);
        background-color: color-mix(in srgb, #16a34a 5%, #fff);
    }

.dn-pick-body {
    flex: 1 1 auto;
    min-width: 0;
}

.dn-pick-title {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.dn-pick-state {
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 600;
}

.dn-pick.is-selected .dn-pick-state {
    color: #16a34a;
}

/* Footer actions */
.dn-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--dn-border);
}

    .dn-form-actions .dn-form-submit {
        min-width: 140px;
        height: 40px;
        border-radius: 10px;
        font-weight: 600;
        box-shadow: 0 4px 12px color-mix(in srgb, var(--dn-accent) 25%, transparent);
    }

    .dn-form-actions .dn-form-secondary {
        height: 40px;
        border-radius: 10px;
        font-weight: 600;
    }

@media (max-width: 991.98px) {
    .dn-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .dn-grid--2,
    .dn-grid--3,
    .dn-grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .dn-form-hero {
        flex-wrap: wrap;
    }

    .dn-form-hero-icon {
        display: none;
    }

    .dn-form-hero-side {
        width: 100%;
    }

    .dn-form-actions .mud-button-root {
        flex: 1 1 0;
    }
}

/* Hero holding several fields (e.g. currency pair, amount + bank) */
.dn-form-hero-main.dn-grid {
    width: 100%;
}

/* Online payment page: the form sits on the page, not in a dialog */
.online-payment-form {
    max-width: 860px;
    margin-top: 8px;
}

/* Inline status message at the top of a form (info / warning / error) */
.dn-form-notice {
    --dn-notice: var(--dn-accent);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--dn-notice) 25%, transparent);
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--dn-notice) 7%, #fff);
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
}

    .dn-form-notice .mud-icon-root {
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        font-size: 18px;
        margin-top: 1px;
        color: var(--dn-notice);
    }

.dn-form-notice--warning {
    --dn-notice: #d97706;
}

.dn-form-notice--error {
    --dn-notice: #dc2626;
}

/* Error toast with a tracking code (Shared/TrackedErrorToast): code on its own line + copy button */
.tracked-toast-code {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-top: 6px;
    font-size: 12px;
}

.tracked-toast-label {
    color: #64748b;
    font-weight: 600;
}

.tracked-toast-id {
    padding: 2px 8px;
    border-radius: 6px;
    background-color: rgba(15, 23, 42, .06);
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px;
    letter-spacing: .02em;
    user-select: all;
}

.tracked-toast-copy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    background-color: #fff;
    color: #2563eb;
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

    .tracked-toast-copy:hover {
        border-color: #2563eb;
    }

    .tracked-toast-copy.is-copied {
        border-color: #16a34a;
        color: #16a34a;
    }

    .tracked-toast-copy .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }

.dark-main .tracked-toast-label {
    color: #94a3b8;
}

.dark-main .tracked-toast-id {
    background-color: rgba(255, 255, 255, .08);
    color: #e5e7eb;
}

.dark-main .tracked-toast-copy {
    border-color: rgba(255, 255, 255, .16);
    background-color: rgba(255, 255, 255, .04);
    color: #93c5fd;
}

/* OTP confirmation dialog */
.otp-action-form .dn-hero-amount input {
    letter-spacing: 8px;
    text-align: center;
}

/* Dark theme */
.dark-main .dn-form {
    --dn-border: rgba(255, 255, 255, .1);
    --dn-label: #cbd5e1;
}

.dark-main .dn-form-notice {
    background-color: color-mix(in srgb, var(--dn-notice) 14%, transparent);
    color: #e5e7eb;
}

.dark-main .dn-form-hero {
    border-color: rgba(96, 165, 250, .3);
    background: linear-gradient(135deg, rgba(96, 165, 250, .14) 0%, rgba(255, 255, 255, .02) 70%);
}

.dark-main .dn-form-hero-icon {
    background-color: rgba(96, 165, 250, .2);
    color: #93c5fd;
}

.dark-main .dn-form-hero-main .dn-hero-amount .mud-input,
.dark-main .dn-form-hero-side,
.dark-main .dn-form-section,
.dark-main .dn-check,
.dark-main .dn-pick {
    background-color: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .dn-form-section-title,
.dark-main .dn-pick-title {
    color: #e5e7eb;
}

.dark-main .dn-hero-value,
.dark-main .dn-detail-value {
    color: #fff;
}

.dark-main .dn-detail,
.dark-main .dn-upload {
    background-color: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .dn-detail-label,
.dark-main .dn-upload .dn-upload-text {
    color: #94a3b8;
}

.dark-main .dn-pick.is-selected {
    background-color: rgba(74, 222, 128, .08);
    border-color: rgba(74, 222, 128, .4);
}

/* ---- dn-form additions (Accounts / Financial dialogs) ---- */
.dn-span-2 {
    grid-column: span 2;
}

/* Small field next to the hero inputs (e.g. currency code) */
.dn-form-hero-side-field {
    flex: 0 0 120px;
}

/* Agency logo in the hero of AgencyForm */
.dn-hero-avatar {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

    .dn-hero-avatar img {
        width: 64px;
        height: 64px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #fff;
        box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
        background-color: #fff;
    }

/* Radio group inside a .dn-check row */
.dn-check .mud-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

/* Empty state */
.dn-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 12px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    font-size: 13px;
}

    .dn-empty .mud-icon-root {
        font-size: 32px;
        width: 32px;
        height: 32px;
        color: #94a3b8;
    }

/* Review history (virtual credit / refund details) */
.dn-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0 0 0 22px;
    list-style: none;
}

    .dn-timeline::before {
        content: "";
        position: absolute;
        inset-block: 8px;
        inset-inline-start: 6px;
        width: 2px;
        background-color: var(--dn-border);
    }

[dir="rtl"] .dn-timeline {
    padding: 0 22px 0 0;
}

.dn-timeline-item {
    position: relative;
    --tl: #94a3b8;
}

    .dn-timeline-item::before {
        content: "";
        position: absolute;
        top: 18px;
        inset-inline-start: -21px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--tl);
        box-shadow: 0 0 0 3px #fff;
    }

.dn-timeline-item--success { --tl: #16a34a; }
.dn-timeline-item--warning { --tl: #d97706; }
.dn-timeline-item--error { --tl: #dc2626; }
.dn-timeline-item--info { --tl: #2563eb; }

.dn-timeline-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.dn-timeline-who {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    font-weight: 600;
}

.dn-timeline-time {
    margin-inline-start: auto;
    color: #64748b;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

/* Footer of list/picker dialogs: selected count on the start side */
.dn-list-actions {
    margin-top: 12px;
}

.dn-list-count {
    margin-inline-end: auto;
    color: #64748b;
    font-size: 12.5px;
}

    .dn-list-count b {
        color: var(--dn-accent);
    }

/* Policy roles picker */
.dn-roles {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 55vh;
    overflow-y: auto;
    padding-inline-end: 4px;
}

.dn-roles-head {
    cursor: pointer;
    user-select: none;
    margin-bottom: 10px;
}

.dn-roles-list {
    gap: 4px 16px;
}

@media (max-width: 767.98px) {
    .dn-span-2 {
        grid-column: auto;
    }

    .dn-form-hero-side-field {
        flex: 1 1 100%;
    }

    .dn-timeline-time {
        margin-inline-start: 0;
        width: 100%;
    }
}

.dark-main .dn-timeline-who {
    color: #e5e7eb;
}

.dark-main .dn-timeline-item::before {
    box-shadow: 0 0 0 3px #1e293b;
}

.dark-main .dn-empty {
    border-color: rgba(255, 255, 255, .15);
}

/* ---- Rule forms (VendorRules *RuleForm, SelfRuleForm) on top of .dn-form ----
   Each filter is a section: a switch as its title, the add row while it is on, and the table of added items. */
.rule-form .form-group.row {
    row-gap: 12px;
    margin-bottom: 12px;
}

    .rule-form .form-group.row:last-child {
        margin-bottom: 0;
    }

.rule-section {
    padding: 12px 16px;
}

.rule-section--main {
    padding: 16px 18px;
}

/* Bootstrap columns inside rule sections must be able to shrink, so selectors never overlap their neighbours */
.rule-form .row > [class*="col"] {
    min-width: 0;
}

.rule-form .row > [class*="col"] > fluent-select,
.rule-form .row > [class*="col"] > fluent-autocomplete,
.rule-form .row > [class*="col"] .fluent-autocomplete-multiselect,
.rule-form .row > [class*="col"] .mud-input-control {
    width: 100%;
    max-width: 100%;
}

/* Alignment: every row lines its controls up on the bottom edge of the 40px fields (labels sit above).
   Checkbox / switch / button columns get the field height, so they sit centred on the same line. */
.rule-form .form-group.row,
.rule-form .input-group.row {
    align-items: flex-end !important;
}

.rule-form .row > [class*="col"]:has(> .mud-input-control-boolean-input),
.rule-form .row > [class*="col"]:has(> label > .mud-input-control-boolean-input),
.rule-form .row > [class*="col"]:has(> .rule-add),
.rule-form .row > [class*="col"]:has(> .mud-switch) {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding-top: 0 !important;
}

.rule-form .row > [class*="col"].col-12:has(> .rule-toggle),
.rule-form .row > [class*="col"].col-12:has(> .mud-input-control-boolean-input.rule-toggle) {
    min-height: 0;
}

.rule-form .mud-input-control-boolean-input {
    margin: 0;
}

/* Field heights: Mud (dense outlined), Fluent select/autocomplete and the date pickers all 40px */
.rule-form .mud-input-control-margin-dense .mud-input-outlined {
    min-height: 40px;
}

.rule-form fluent-select::part(control),
.rule-form fluent-text-field::part(root),
.rule-form fluent-combobox::part(control) {
    min-height: 40px;
    height: 40px;
}

.rule-form .fluent-input-label {
    display: block;
}

/* Validation messages must not push their field out of line */
.rule-form .row > [class*="col"] .validation-message:empty {
    display: none;
}

.rule-toggle .mud-switch-label,
.rule-toggle .mud-typography {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.rule-add {
    height: 40px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.rule-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 4px 6px 0 0;
    padding: 0 2px 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background-color: #f8fafc;
    font-size: 12.5px;
    font-weight: 600;
}

.rule-table {
    width: 100%;
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--dn-border, #eceff4);
    border-radius: 10px;
    overflow: hidden;
    font-size: 13px;
}

    .rule-table th {
        padding: 8px 10px;
        background-color: #f8fafc;
        color: #475569;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        border-bottom: 1px solid var(--dn-border, #eceff4);
    }

    .rule-table td {
        padding: 6px 10px;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
    }

    .rule-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .rule-table tbody tr:hover td {
        background-color: #f8fafc;
    }

.rule-form .table-responsive,
.rule-detail-view .table-responsive {
    overflow-x: auto;
}

.dark-main .rule-toggle .mud-switch-label,
.dark-main .rule-toggle .mud-typography {
    color: #e5e7eb;
}

.dark-main .rule-table,
.dark-main .rule-table th,
.dark-main .rule-table td {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .rule-table th,
.dark-main .rule-table tbody tr:hover td,
.dark-main .rule-chip {
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .rule-table th {
    color: #cbd5e1;
}

.dark-main .rule-chip {
    border-color: rgba(255, 255, 255, .15);
}

/* ---- Home dashboard (Pages/Home) ----
   Cards, KPI tiles and inline SVG charts; no chart library involved. */
.home-dash {
    --home-border: #eceff4;
    --home-card: #fff;
    --home-text: #0f172a;
    --home-muted: #64748b;
    --home-grid: #eef1f5;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
}

.home-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--home-text);
    font-size: 22px;
    font-weight: 700;
}

    .home-title .mud-icon-root {
        color: #2563eb;
    }

.home-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #e4e7ee;
    border-radius: 999px;
    background-color: var(--home-card);
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    transition: color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

    .home-refresh:hover {
        color: #2563eb;
        border-color: color-mix(in srgb, #2563eb 45%, transparent);
        box-shadow: 0 2px 8px color-mix(in srgb, #2563eb 18%, transparent);
    }

    .home-refresh .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

    .home-refresh.is-refreshing .mud-icon-root {
        animation: task-stats-spin .8s linear infinite;
    }

/* KPI tiles */
.home-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.home-kpi {
    --tone: #2563eb;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background-color: var(--home-card);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
    transition: box-shadow .2s ease, transform .2s ease;
}

    .home-kpi::after {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: radial-gradient(circle, color-mix(in srgb, var(--tone) 14%, transparent) 0%, transparent 70%);
        pointer-events: none;
    }

    .home-kpi:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
    }

.home-kpi--balance { --tone: #f59e0b; }
.home-kpi--limit { --tone: #e11d48; }
.home-kpi--sales { --tone: #2563eb; }
.home-kpi--earn { --tone: #16a34a; }
.home-kpi--visits { --tone: #7c3aed; }

.home-kpi-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background-color: color-mix(in srgb, var(--tone) 13%, transparent);
    color: var(--tone);
}

    .home-kpi-icon .mud-icon-root {
        width: 22px;
        height: 22px;
        font-size: 22px;
    }

.home-kpi-label {
    color: var(--home-muted);
    font-size: 13px;
    font-weight: 600;
}

.home-kpi-value {
    color: var(--home-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

    .home-kpi-value small {
        margin-inline-start: 6px;
        color: var(--home-muted);
        font-size: 12px;
        font-weight: 600;
    }

.home-kpi-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.home-kpi-meta,
.home-kpi-legend {
    color: var(--home-muted);
    font-size: 12px;
}

    .home-kpi-meta b,
    .home-kpi-legend b {
        color: var(--home-text);
        font-weight: 600;
        font-variant-numeric: tabular-nums;
    }

.home-kpi-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

    .home-kpi-legend span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

/* Credit / cash split bar: the track is cash, the fill is credit */
.home-split {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background-color: #0ea5e9;
}

    .home-split > span {
        display: block;
        height: 100%;
        background-color: #f59e0b;
        transition: width .4s ease;
    }

.home-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.home-dot--credit { background-color: #f59e0b; }
.home-dot--cash { background-color: #0ea5e9; }
.home-dot--sales { background-color: #2563eb; }
.home-dot--earn { background-color: #16a34a; }

/* Sparklines */
.home-spark {
    flex: 0 0 auto;
    width: 120px;
    height: 36px;
    overflow: visible;
}

.home-spark-line {
    fill: none;
    stroke: var(--tone);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.home-spark-area {
    fill: color-mix(in srgb, var(--tone) 14%, transparent);
    stroke: none;
}

.home-spark-bar {
    fill: color-mix(in srgb, var(--tone) 55%, transparent);
    transition: fill .15s ease;
}

    .home-spark-bar:hover {
        fill: var(--tone);
    }

/* Cards */
.home-charts {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
}

/* Right column of the charts row: stacked donut cards */
.home-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

    .home-side > .home-card {
        flex: 1 1 auto;
    }

/* Status slider (today's flight tickets / hotels) */
.home-slider {
    position: relative;
    overflow: hidden;
}

.home-slider-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: auto;
}

.home-slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid var(--home-border);
    border-radius: 50%;
    background: transparent;
    color: var(--home-muted);
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

    .home-slider-arrow:hover {
        color: #2563eb;
        border-color: #2563eb;
        background-color: rgba(37, 99, 235, .08);
    }

[dir="rtl"] .home-slider-arrow .mud-icon-root {
    transform: scaleX(-1);
}

.home-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--home-border);
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

    .home-slider-dot.is-active {
        width: 20px;
        background-color: #2563eb;
    }

.home-slide {
    animation: home-slide-in .35s ease both;
}

@keyframes home-slide-in {
    from { opacity: 0; transform: translateX(14px); }
    to { opacity: 1; transform: none; }
}

.home-slider-progress {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background-color: transparent;
}

    .home-slider-progress span {
        display: block;
        width: 100%;
        height: 100%;
        background-color: #2563eb;
        opacity: .55;
        transform-origin: left center;
        animation-name: home-slide-progress;
        animation-timing-function: linear;
        animation-fill-mode: both;
    }

[dir="rtl"] .home-slider-progress span {
    transform-origin: right center;
}

.home-slider-progress.is-paused span {
    animation-play-state: paused;
}

@keyframes home-slide-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .home-slide,
    .home-slider-progress span {
        animation: none;
    }
}

.home-tables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background-color: var(--home-card);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}

.home-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

    .home-card-head h3 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: var(--home-text);
        font-size: 15px;
        font-weight: 700;
    }

        .home-card-head h3 .mud-icon-root {
            width: 20px;
            height: 20px;
            font-size: 20px;
            color: #2563eb;
        }

.home-legend {
    display: flex;
    gap: 14px;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 600;
}

    .home-legend span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.home-count {
    min-width: 28px;
    height: 24px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background-color: color-mix(in srgb, #2563eb 10%, transparent);
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.home-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    color: #94a3b8;
    font-size: 13px;
}

/* Main chart */
.home-chart {
    width: 100%;
    height: auto;
    display: block;
}

.home-grid {
    stroke: var(--home-grid);
    stroke-width: 1;
}

.home-axis {
    fill: #94a3b8;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.home-grad-top { stop-color: rgba(37, 99, 235, .26); }
.home-grad-bottom { stop-color: rgba(37, 99, 235, 0); }

.home-sale-line,
.home-earn-line {
    fill: none;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.home-sale-line {
    stroke: #2563eb;
    stroke-width: 2.5;
}

.home-earn-line {
    stroke: #16a34a;
    stroke-width: 2;
}

.home-hover rect {
    fill: transparent;
}

.home-hover line {
    stroke: #94a3b8;
    stroke-width: 1;
    stroke-dasharray: 3 3;
    opacity: 0;
}

.home-hover:hover rect {
    fill: rgba(37, 99, 235, .05);
}

.home-hover:hover line {
    opacity: 1;
}

/* Donut */
.home-donut-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 180px;
}

.home-donut {
    width: 170px;
    height: 170px;
    flex: 0 0 auto;
}

    .home-donut circle {
        fill: none;
        stroke-width: 6;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
    }

.home-donut-track {
    stroke: var(--home-grid);
}

.home-donut-slice {
    transition: stroke-width .15s ease;
}

    .home-donut-slice:hover {
        stroke-width: 7.5;
    }

.home-donut-total {
    fill: var(--home-text);
    font-size: 8px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
}

.home-donut-caption {
    fill: #94a3b8;
    font-size: 3.2px;
    font-weight: 600;
    text-anchor: middle;
}

.home-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .home-donut-legend li {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--home-muted);
        font-size: 12.5px;
    }

    .home-donut-legend b {
        margin-inline-start: auto;
        color: var(--home-text);
        font-variant-numeric: tabular-nums;
    }

.home-donut-name {
    font-weight: 600;
}

.home-donut-pct {
    min-width: 36px;
    color: #94a3b8;
    font-size: 11.5px;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

/* Tables inside cards */
.home-card .row {
    margin: 0;
}

.home-card .table-responsive {
    padding: 0;
}

.home-card .grid-view-wrapper {
    margin-bottom: 0;
}

.home-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

    .home-link:hover {
        text-decoration: underline;
    }

.home-num,
.home-time {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.home-time {
    color: var(--home-muted);
}

.home-status {
    --tone: #64748b;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--tone) 12%, transparent);
    color: var(--tone);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.home-status--success { --tone: #16a34a; }
.home-status--error { --tone: #dc2626; }
.home-status--warning { --tone: #d97706; }

/* Loading skeletons */
.home-skeleton,
.home-kpis.is-loading .home-kpi-value {
    border-radius: 10px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: home-shimmer 1.4s ease infinite;
}

.home-kpis.is-loading .home-kpi-value {
    color: transparent;
    width: 70%;
}

    .home-kpis.is-loading .home-kpi-value small {
        color: transparent;
    }

.home-skeleton--chart {
    height: 220px;
}

.home-skeleton--donut {
    width: 170px;
    height: 170px;
    margin: 5px auto;
    border-radius: 50%;
}

@keyframes home-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

@media (max-width: 1199.98px) {
    .home-charts,
    .home-tables {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .home-kpis {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-refresh span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-kpi,
    .home-skeleton,
    .home-kpis.is-loading .home-kpi-value,
    .home-refresh.is-refreshing .mud-icon-root {
        animation: none;
        transition: none;
    }
}

/* Dark theme */
.dark-main .home-dash {
    --home-border: rgba(255, 255, 255, .08);
    --home-card: var(--bg-dark-secondary, #393e46);
    --home-text: #f8fafc;
    --home-muted: #cbd5e1;
    --home-grid: rgba(255, 255, 255, .08);
}

.dark-main .home-kpi,
.dark-main .home-card,
.dark-main .home-refresh {
    box-shadow: none;
}

.dark-main .home-refresh {
    border-color: rgba(255, 255, 255, .12);
    color: #e5e7eb;
}

.dark-main .home-kpi--balance { --tone: #fbbf24; }
.dark-main .home-kpi--limit { --tone: #fb7185; }
.dark-main .home-kpi--sales { --tone: #60a5fa; }
.dark-main .home-kpi--earn { --tone: #4ade80; }
.dark-main .home-kpi--visits { --tone: #a78bfa; }

.dark-main .home-sale-line { stroke: #60a5fa; }
.dark-main .home-earn-line { stroke: #4ade80; }
.dark-main .home-grad-top { stop-color: rgba(96, 165, 250, .3); }
.dark-main .home-grad-bottom { stop-color: rgba(96, 165, 250, 0); }

.dark-main .home-link,
.dark-main .home-title .mud-icon-root,
.dark-main .home-card-head h3 .mud-icon-root {
    color: #60a5fa;
}

.dark-main .home-count {
    background-color: rgba(96, 165, 250, .18);
    color: #93c5fd;
}

.dark-main .home-status--success { --tone: #4ade80; }
.dark-main .home-status--error { --tone: #f87171; }
.dark-main .home-status--warning { --tone: #fbbf24; }

.dark-main .home-skeleton,
.dark-main .home-kpis.is-loading .home-kpi-value {
    background: linear-gradient(90deg, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .1) 37%, rgba(255, 255, 255, .05) 63%);
    background-size: 400% 100%;
}

/* =========================================================
   Reports: shared filter bar, summary cards, badges, totals
   ========================================================= */
.report-filter.dn-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 16px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid var(--dn-border);
    border-radius: 14px;
}

.report-filter-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px 14px;
    flex: 1 1 560px;
    align-items: end;
    min-width: 0;
}

.report-filter-field--wide {
    grid-column: span 2;
}

.report-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 1px;
}

    .report-filter-actions .mud-button-root {
        height: 40px;
        border-radius: 10px;
        text-transform: none;
        font-weight: 600;
    }

.report-filter .mud-input-control,
.report-filter .mud-picker {
    width: 100%;
}

.report-filter .mud-input-outlined-border {
    border-radius: 10px;
}

@media (max-width: 575.98px) {
    .report-filter-field--wide {
        grid-column: auto;
    }

    .report-filter-fields {
        grid-template-columns: minmax(0, 1fr);
        flex-basis: 100%;
    }

    .report-filter-actions {
        width: 100%;
    }

        .report-filter-actions .mud-button-root {
            flex: 1 1 0;
        }
}

/* Summary cards */
.report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.report-stat {
    --tone: #2563eb;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #eceff4;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
}

.report-stat--blue { --tone: #2563eb; }
.report-stat--green { --tone: #16a34a; }
.report-stat--red { --tone: #dc2626; }
.report-stat--amber { --tone: #d97706; }
.report-stat--violet { --tone: #7c3aed; }
.report-stat--slate { --tone: #64748b; }

.report-stat-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: color-mix(in srgb, var(--tone) 12%, transparent);
    color: var(--tone);
}

.report-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.report-stat-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.report-stat-value {
    overflow: hidden;
    color: #0f172a;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-stat-sub {
    overflow: hidden;
    color: #94a3b8;
    font-size: 11.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-stat-bar {
    display: block;
    height: 5px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--tone) 14%, transparent);
}

    .report-stat-bar i {
        display: block;
        height: 100%;
        border-radius: inherit;
        background-color: var(--tone);
    }

.report-stat--loading {
    height: 76px;
}

.report-stat-skeleton {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: home-shimmer 1.4s ease infinite;
}

/* Status / boolean badges */
.report-badge {
    --tone: #64748b;
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--tone) 13%, transparent);
    color: var(--tone);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.report-badge--success { --tone: #16a34a; }
.report-badge--warning { --tone: #d97706; }
.report-badge--error { --tone: #dc2626; }
.report-badge--info { --tone: #2563eb; }
.report-badge--neutral { --tone: #64748b; }

/* Totals rows */
.grid-view-footer .report-total-row td {
    border-top: 2px solid #e2e8f0;
}

.report-total-label {
    color: #475569;
}

.report-total-amount {
    color: #0f172a;
}

/* Dark theme */
.dark-main .report-filter.dn-form {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .report-stat {
    border-color: rgba(255, 255, 255, .08);
    background-color: var(--bg-dark-secondary, #1e293b);
    box-shadow: none;
}

.dark-main .report-stat-label,
.dark-main .report-total-label {
    color: #94a3b8;
}

.dark-main .report-stat-value,
.dark-main .report-total-amount {
    color: #f1f5f9;
}

.dark-main .report-stat-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .1) 37%, rgba(255, 255, 255, .05) 63%);
    background-size: 400% 100%;
}

.dark-main .report-badge--success { --tone: #4ade80; }
.dark-main .report-badge--warning { --tone: #fbbf24; }
.dark-main .report-badge--error { --tone: #f87171; }
.dark-main .report-badge--info { --tone: #60a5fa; }
.dark-main .report-badge--neutral { --tone: #94a3b8; }

.dark-main .grid-view-footer .report-total-row td {
    border-top-color: rgba(255, 255, 255, .12);
}

@media (prefers-reduced-motion: reduce) {
    .report-stat-skeleton {
        animation: none;
    }
}

/* ---- SearchSelect (Components/Shared/Forms): Select2-style single select ----
   The box uses the same tokens as MudBlazor's dense outlined inputs, so it looks like the fields around it. */
.search-select {
    position: relative;
    min-width: 0;
}

.search-select-anchor {
    position: relative;
    width: 100%;
}

    /* above the click-away overlay (z-index 5) while open, so the search input stays usable */
    .search-select-anchor.is-open {
        z-index: 6;
    }

.search-select-box {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 6px 0 14px;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    background-color: var(--mud-palette-surface, #fff);
    color: var(--mud-palette-text-primary, #1f2937);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    text-align: start;
    cursor: pointer;
    transition: border-color 200ms cubic-bezier(.4, 0, .2, 1);
}

[dir="rtl"] .search-select-box {
    padding: 0 14px 0 6px;
}

    /* same as the other fields (app.css overrides Mud outlined inputs to a fixed #d1d1d1 border, 10px radius) */
    .search-select-box:focus-visible,
    .search-select-box.is-open {
        outline: none;
    }

    .search-select-box:disabled {
        cursor: default;
        color: var(--mud-palette-text-disabled, #9ca3af);
    }

.search-select-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

    .search-select-text.is-placeholder {
        color: var(--mud-palette-text-secondary, #94a3b8);
        opacity: .7;
    }

.search-select-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: inherit;
    font: inherit;
}

    .search-select-input::placeholder {
        color: var(--mud-palette-text-secondary, #94a3b8);
        opacity: .8;
    }

.search-select-search-icon {
    flex: 0 0 auto;
    color: var(--mud-palette-text-secondary, #64748b);
}

.search-select-clear {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--mud-palette-action-default, #64748b);
    font-size: 18px;
    line-height: 1;
}

    .search-select-clear:hover {
        background-color: var(--mud-palette-action-default-hover, #f1f5f9);
        color: var(--mud-palette-error, #dc2626);
    }

.search-select-arrow {
    flex: 0 0 auto;
    color: var(--mud-palette-action-default, #64748b);
    cursor: pointer;
}

.search-select-list {
    max-height: 280px;
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    list-style: none;
}

.search-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 16px;
    color: var(--mud-palette-text-primary, #1f2937);
    font-size: .9375rem;
    cursor: pointer;
}

    .search-select-option.is-active {
        background-color: var(--mud-palette-action-default-hover, rgba(0, 0, 0, .06));
    }

    .search-select-option.is-selected {
        color: var(--mud-palette-primary, #2563eb);
        font-weight: 600;
    }

    .search-select-option small {
        color: var(--mud-palette-text-secondary, #94a3b8);
    }

.search-select-option-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-select-note {
    padding: 10px 16px;
    color: var(--mud-palette-text-secondary, #94a3b8);
    font-size: .8125rem;
    text-align: center;
}

/* ---------- Profile page (/Profile) ---------- */
.profile-page {
    --pf-accent: #2563eb;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 6px;
    padding-bottom: 24px;
}

.profile-hero {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 24px;
    padding: 24px 26px;
    border: 1px solid color-mix(in srgb, var(--pf-accent) 16%, transparent);
    border-radius: 18px;
    background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--pf-accent) 12%, #fff) 0%, #fff 55%), #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
}

.profile-hero-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--pf-accent), #60a5fa);
}

    .profile-hero-avatar img,
    .profile-hero-initials {
        width: 100%;
        height: 100%;
        border: 3px solid #fff;
        border-radius: 50%;
        object-fit: cover;
        background-color: #eff6ff;
    }

.profile-hero-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pf-accent);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: .5px;
}

.profile-hero-avatar-busy {
    position: absolute;
    inset: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, .45);
    color: #fff;
}

.profile-hero-avatar-edit {
    position: absolute;
    right: 0;
    bottom: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    background-color: var(--pf-accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, .35);
    transition: transform .15s ease, background-color .15s ease;
}

    .profile-hero-avatar-edit:hover {
        transform: scale(1.08);
        background-color: #1d4ed8;
    }

    .profile-hero-avatar-edit:disabled {
        cursor: default;
        opacity: .6;
        transform: none;
    }

    .profile-hero-avatar-edit .mud-icon-root {
        width: 17px;
        height: 17px;
        font-size: 17px;
    }

.profile-hero-main {
    flex: 1 1 260px;
    min-width: 0;
}

.profile-hero-name {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.profile-hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 13.5px;
}

    .profile-hero-contact span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .profile-hero-contact .mud-icon-root {
        width: 17px;
        height: 17px;
        font-size: 17px;
        color: #94a3b8;
    }

.profile-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-hero-facts {
    flex: 0 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 10px;
    margin: 0;
}

    .profile-hero-facts > div {
        padding: 10px 14px;
        border: 1px solid #e8edf5;
        border-radius: 12px;
        background-color: rgba(255, 255, 255, .8);
    }

    .profile-hero-facts dt {
        margin-bottom: 3px;
        color: #64748b;
        font-size: 11.5px;
        font-weight: 600;
    }

    .profile-hero-facts dd {
        margin: 0;
        color: #0f172a;
        font-size: 14px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.profile-card .dn-form-section {
    padding: 20px 22px;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.profile-card .dn-form-section-title {
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--dn-border);
    font-size: 14px;
}

.profile-card .dn-grid {
    display: grid;
    gap: 14px 16px;
}

.profile-card .dn-form-actions {
    margin-top: 18px;
}

/* Country code + number in one row */
.profile-phone {
    display: flex;
    gap: 8px;
}

    .profile-phone .profile-phone-code {
        flex: 0 0 92px;
    }

    .profile-phone .mud-input-control {
        min-width: 0;
    }

/* Two-option segmented control (gender) */
.profile-segment {
    display: inline-flex;
    gap: 4px;
    width: fit-content;
    padding: 4px;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
}

    .profile-segment button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 32px;
        padding: 0 16px;
        border: 0;
        border-radius: 7px;
        background: transparent;
        color: #475569;
        font-size: 13.5px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color .15s ease, color .15s ease;
    }

        .profile-segment button:hover {
            background-color: #f1f5f9;
        }

        .profile-segment button.is-active {
            background-color: #2563eb;
            color: #fff;
        }

        .profile-segment button .mud-icon-root {
            width: 18px;
            height: 18px;
            font-size: 18px;
        }

/* Password strength: four bars, filled by the number of rules met */
.profile-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 8px;
}

    .profile-strength span {
        height: 4px;
        border-radius: 4px;
        background-color: #e2e8f0;
        transition: background-color .2s ease;
    }

.profile-strength--1 span:nth-child(-n+1) { background-color: #ef4444; }
.profile-strength--2 span:nth-child(-n+2) { background-color: #f59e0b; }
.profile-strength--3 span:nth-child(-n+3) { background-color: #84cc16; }
.profile-strength--4 span { background-color: #22c55e; }

.profile-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

    .profile-rules li {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

        .profile-rules li.is-ok {
            color: #16a34a;
        }

    .profile-rules .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }

@media (max-width: 1199.98px) {
    .profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .profile-hero {
        padding: 18px 16px;
    }

    .profile-hero-facts {
        flex-basis: 100%;
    }

    .profile-card .dn-grid--2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-card .dn-form-section {
        padding: 16px;
    }
}

/* Dark theme */
.dark-main .profile-hero {
    border-color: rgba(96, 165, 250, .25);
    background: radial-gradient(120% 140% at 0% 0%, rgba(96, 165, 250, .16) 0%, rgba(255, 255, 255, .02) 55%), transparent;
    box-shadow: none;
}

.dark-main .profile-hero-avatar img,
.dark-main .profile-hero-initials,
.dark-main .profile-hero-avatar-edit {
    border-color: #1e293b;
}

.dark-main .profile-hero-initials {
    background-color: #1e293b;
    color: #93c5fd;
}

.dark-main .profile-hero-name,
.dark-main .profile-hero-facts dd {
    color: #fff;
}

.dark-main .profile-hero-contact,
.dark-main .profile-segment button {
    color: #cbd5e1;
}

.dark-main .profile-hero-facts > div {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .profile-hero-facts dt {
    color: #94a3b8;
}

.dark-main .profile-segment {
    border-color: rgba(255, 255, 255, .15);
}

    .dark-main .profile-segment button:hover {
        background-color: rgba(255, 255, 255, .06);
    }

.dark-main .profile-strength span {
    background-color: rgba(255, 255, 255, .12);
}

/* ---------- Header user menu (FluentProfileMenu popover) ---------- */
.fluent-popover-content:has(.user-menu-card) {
    padding: 0 !important;
    line-height: 1.4;
    overflow: hidden;
    border-radius: 14px;
}

    .fluent-popover-content:has(.user-menu-card) div[part="header"] {
        margin: 0 !important;
        font-size: inherit !important;
        font-weight: normal !important;
    }

    .fluent-popover-content:has(.user-menu-card) div[part="footer"] {
        margin: 0 !important;
        padding: 6px;
        border-top: 1px solid #eef1f6;
    }

.user-menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 18px 16px;
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
    border-bottom: 1px solid #eef1f6;
    text-align: center;
}

.user-menu-avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

    .user-menu-avatar img,
    .user-menu-initials {
        width: 100%;
        height: 100%;
        border: 2px solid #fff;
        border-radius: 50%;
        object-fit: cover;
        background-color: #eff6ff;
    }

.user-menu-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 21px;
    font-weight: 700;
}

.user-menu-name {
    max-width: 100%;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.user-menu-email {
    max-width: 100%;
    margin-top: 2px;
    color: #64748b;
    font-size: 12.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-list {
    display: flex;
    flex-direction: column;
    padding: 6px;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #334155 !important;
    font-size: 13.5px;
    font-weight: 600;
    text-align: start;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

    .user-menu-item:hover,
    .user-menu-item:focus-visible {
        background-color: #f1f5f9;
        outline: none;
    }

    .user-menu-item .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
        color: #64748b;
    }

    .user-menu-item.user-menu-signout,
    .user-menu-item.user-menu-signout .mud-icon-root {
        color: #dc2626 !important;
    }

        .user-menu-item.user-menu-signout:hover {
            background-color: #fef2f2;
        }

/* Dark theme */
.dark-main .fluent-popover-content:has(.user-menu-card) div[part="footer"],
.dark-main .user-menu-card {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .user-menu-card {
    background: linear-gradient(180deg, rgba(96, 165, 250, .14) 0%, transparent 100%);
}

.dark-main .user-menu-avatar img,
.dark-main .user-menu-initials {
    border-color: #1e293b;
}

.dark-main .user-menu-initials {
    background-color: #1e293b;
    color: #93c5fd;
}

.dark-main .user-menu-name {
    color: #fff;
}

.dark-main .user-menu-email,
.dark-main .user-menu-item .mud-icon-root {
    color: #94a3b8;
}

.dark-main .user-menu-item {
    color: #e2e8f0 !important;
}

    .dark-main .user-menu-item:hover {
        background-color: rgba(255, 255, 255, .06);
    }

    .dark-main .user-menu-item.user-menu-signout:hover {
        background-color: rgba(220, 38, 38, .12);
    }

/* ---------- Status summary cards (received requests pages) ---------- */
.status-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 4px 0 16px;
}

.status-summary-card {
    --ss-tone: #64748b;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 4px;
    padding: 14px 16px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background-color: #fff;
    text-align: start;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .status-summary-card::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: var(--ss-tone);
        opacity: .85;
    }

    .status-summary-card:hover {
        border-color: color-mix(in srgb, var(--ss-tone) 40%, transparent);
        box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
        transform: translateY(-1px);
    }

    .status-summary-card:focus-visible {
        outline: 2px solid var(--ss-tone);
        outline-offset: 2px;
    }

    .status-summary-card.is-active {
        border-color: var(--ss-tone);
        background-color: color-mix(in srgb, var(--ss-tone) 7%, #fff);
        box-shadow: 0 0 0 1px var(--ss-tone) inset;
    }

.status-summary-card--success { --ss-tone: #16a34a; }
.status-summary-card--warning { --ss-tone: #d97706; }
.status-summary-card--error { --ss-tone: #dc2626; }
.status-summary-card--info { --ss-tone: #2563eb; }

.status-summary-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--ss-tone);
}

.status-summary-title {
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-summary-count {
    grid-column: 1 / -1;
    min-height: 30px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    font-variant-numeric: tabular-nums;
}

.status-summary-loading {
    display: inline-block;
    width: 48px;
    height: 18px;
    border-radius: 6px;
    vertical-align: middle;
    background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
    background-size: 200% 100%;
    animation: status-summary-shimmer 1.2s linear infinite;
}

@keyframes status-summary-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@media (max-width: 767.98px) {
    .status-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.dark-main .status-summary-card {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

    .dark-main .status-summary-card.is-active {
        border-color: var(--ss-tone);
        background-color: color-mix(in srgb, var(--ss-tone) 14%, transparent);
    }

.dark-main .status-summary-title {
    color: #cbd5e1;
}

.dark-main .status-summary-count {
    color: #fff;
}

.dark-main .status-summary-loading {
    background: linear-gradient(90deg, rgba(255, 255, 255, .06) 25%, rgba(255, 255, 255, .12) 50%, rgba(255, 255, 255, .06) 75%);
    background-size: 200% 100%;
}

/* ==================== Helpdesk ==================== */

/* ---- Task lists (My tasks / Received tasks) ---- */
.task-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

    .task-page-head h3 {
        margin-bottom: 0;
    }

.task-page-switch {
    margin: 0;
    padding: 2px 10px 2px 4px;
    border: 1px solid #e4e7ee;
    border-radius: 999px;
    background-color: #fff;
}

/* Priority pill: normal → very urgent */
.task-priority {
    --tp: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--tp) 13%, transparent);
    color: var(--tp);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.task-priority--normal { --tp: #16a34a; }
.task-priority--important { --tp: #d97706; }
.task-priority--urgent { --tp: #ea580c; }
.task-priority--very_urgent { --tp: #dc2626; }

.task-priority-note {
    font-weight: 800;
    opacity: .8;
}

/* Status pill of a task (same colours as the status filter) */
.task-status {
    --ts: #64748b;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--ts) 13%, transparent);
    color: var(--ts);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

    .task-status::before {
        content: "";
        width: 6px;
        height: 6px;
        margin-inline-end: 6px;
        border-radius: 50%;
        background-color: currentColor;
    }

.task-status--new { --ts: #2563eb; }
.task-status--waiting { --ts: #d97706; }
.task-status--inprogress { --ts: #7c3aed; }
.task-status--done { --ts: #16a34a; }

/* Small flag with icon (seen / locked / online) */
.task-flag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

    .task-flag .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }

.task-flag--accent {
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

.task-flag--muted {
    background-color: #f1f5f9;
    color: #64748b;
}

.task-type {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    font-weight: 600;
}

/* ---- Task view ---- */
.task-view {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.task-view-aside,
.task-view-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.task-view-card {
    padding: 16px 18px;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.task-view-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.task-view-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .task-view-card-icon .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

.task-view-card-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .task-view-card-title span {
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
    }

    .task-view-card-title small {
        color: #64748b;
        font-size: 12px;
        font-weight: 600;
    }

.task-view-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.task-view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.task-view-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

    .task-view-facts > div {
        min-width: 0;
        padding: 8px 10px;
        border: 1px solid #eef1f6;
        border-radius: 10px;
        background-color: #f8fafc;
    }

    .task-view-facts .task-view-facts-wide {
        grid-column: 1 / -1;
    }

    .task-view-facts dt {
        margin-bottom: 2px;
        color: #64748b;
        font-size: 11.5px;
        font-weight: 600;
    }

    .task-view-facts dd {
        margin: 0;
        color: #0f172a;
        font-size: 13.5px;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

.task-view-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 8px;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

    .task-view-section-title .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }

.task-view-people {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

    .task-view-people li {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        color: #334155;
        font-size: 13.5px;
    }

        .task-view-people li span {
            min-width: 0;
            overflow-wrap: anywhere;
        }

    .task-view-people .mud-icon-root {
        flex: 0 0 auto;
        width: 17px;
        height: 17px;
        font-size: 17px;
        color: #94a3b8;
    }

.task-view-attachments .attachment-item img,
.task-view .chat-attachments .attachment-item img {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

/* Conversation */
.task-view-thread .support-message-container {
    max-height: 560px;
    padding: 4px 2px 8px;
}

.task-view .chat-container {
    max-width: 78%;
    padding: 10px 14px;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    box-shadow: none;
}

.task-view .chat-bubble-left {
    background-color: #f8fafc;
    border-start-start-radius: 4px;
}

.task-view .chat-bubble-right {
    background-color: #eff6ff;
    border-color: #dbeafe;
    border-start-end-radius: 4px;
}

.task-view .chat-container.is-admin-note {
    background-color: #fffbeb;
    border-color: #fde68a;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.chat-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, .12);
    color: #2563eb;
}

    .chat-avatar .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }

.chat-name {
    font-size: 13px;
    font-weight: 700;
}

.chat-attachments {
    margin-bottom: 8px;
}

.chat-attachments-title {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
}

.chat-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    color: #64748b;
    font-size: 11.5px;
}

    .chat-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .chat-meta .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }

    .chat-meta .chat-meta-seen {
        color: #16a34a;
    }

.task-view-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 16px;
    border: 1px dashed #e2e8f0;
    border-radius: 14px;
    background-color: #fffdf5;
}

.task-view-rate-note {
    color: #7c3aed;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .task-view {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .task-view .chat-container {
        max-width: 100%;
    }
}

/* ---- Task forms (new task, reply, change support) ---- */
.task-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.task-file {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 112px;
    padding: 8px;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background-color: #fff;
}

.task-file-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #94a3b8;
}

    .task-file-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .task-file-thumb .mud-icon-root {
        width: 30px;
        height: 30px;
        font-size: 30px;
    }

.task-file-name {
    width: 100%;
    overflow: hidden;
    color: #334155;
    font-size: 11.5px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-file .task-file-remove {
    position: absolute;
    top: -8px;
    inset-inline-end: -8px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #fecaca;
    background-color: #fff;
}

    .task-file .task-file-remove .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
    }

.task-file-add {
    justify-content: center;
    min-height: 112px;
    border: 1.5px dashed #cbd5e1;
    background-color: #f8fafc;
    color: #2563eb;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

    .task-file-add:hover {
        border-color: #2563eb;
        background-color: #eff6ff;
    }

    .task-file-add small {
        color: #94a3b8;
        font-size: 10.5px;
        font-weight: 500;
        text-align: center;
    }

.task-reply .task-reply-actions {
    justify-content: space-between;
}

.task-reply .task-reply-note {
    margin: 0;
}

/* Quick reply attached to the reply being written (template code + task status after send) */
.task-reply .task-reply-quick {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 2px 0 8px;
    font-size: 0.8125rem;
    border-radius: 999px;
    border: 1px solid var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

/* Create/edit task dialog: Quick replies sits at the start of the action bar, like in the reply box */
.dn-form-actions .task-form-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-inline-end: auto;
}

    .dn-form-actions .task-form-quick .task-reply-quick {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 2px 10px;
        font-size: 0.8125rem;
        border-radius: 999px;
        border: 1px solid var(--mud-palette-primary);
        color: var(--mud-palette-primary);
    }

/* Each message paragraph takes its direction from its own text, so a Persian reply reads RTL
   in an English panel and an English reply reads LTR in a Persian panel. */
.show-comment-line,
.show-comment-line p,
.show-comment-line li {
    unicode-bidi: plaintext;
    text-align: start;
}

.task-member-option {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

    .task-member-option small {
        color: #64748b;
        font-size: 11.5px;
    }

/* ---- Tables inside helpdesk dialogs ---- */
.hd-table-wrap {
    overflow-x: auto;
    border: 1px solid #e8edf5;
    border-radius: 12px;
}

.hd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

    .hd-table th {
        padding: 10px 12px;
        border-bottom: 1px solid #e8edf5;
        background-color: #f8fafc;
        color: #475569;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }

    .hd-table td {
        padding: 8px 12px;
        border-bottom: 1px solid #f1f4f8;
        vertical-align: middle;
    }

    .hd-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .hd-table tbody tr:hover {
        background-color: #fafcff;
    }

.hd-table--inputs td {
    min-width: 130px;
}

.hd-table-strong {
    font-weight: 600;
}

.hd-table .hd-table-sub td {
    background-color: #fbfcfe;
    color: #475569;
    font-size: 12.5px;
}

.hd-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 12.5px;
}

/* ---- Manual issue (flight / hotel) ---- */
.manual-issue .dn-form-section + .dn-form-section {
    margin-top: 0;
}

.manual-issue-start {
    margin-top: 8px;
}

.manual-issue-modes {
    margin-bottom: 14px;
}

    .manual-issue-modes .mud-button-group-root .mud-button-root {
        text-transform: none;
    }

.manual-issue-start-grid {
    align-items: end;
}

.manual-issue-start-action .dn-form-submit {
    height: 40px;
    border-radius: 10px;
}

.manual-issue-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .manual-issue-toolbar > .manual-issue-sub-title,
    .manual-issue-toolbar > .dn-form-section-title {
        margin-inline-end: auto;
    }

.manual-issue-sub {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    background-color: #fbfcfe;
}

.manual-issue-sub-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

    .manual-issue-sub-title .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

.manual-issue-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

    .manual-issue-toggle .mud-switch {
        margin: 0;
    }

.manual-issue-free {
    margin: 4px 0 0;
}

    .manual-issue-free .mud-typography {
        font-size: 12px;
    }

.manual-issue-check {
    justify-content: flex-end;
    min-height: 40px;
}

.manual-issue-span-3 {
    grid-column: span 3;
}

.manual-issue-preview {
    padding: 10px 12px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .05);
}

.manual-issue-total input {
    font-weight: 700;
}

.manual-issue-pax-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.manual-issue-radios .mud-radio {
    margin-inline-end: 16px;
}

.manual-issue-ages {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

.manual-issue-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    background-color: #fff;
}

@media (max-width: 991.98px) {
    .manual-issue-span-3 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .manual-issue .dn-span-2 {
        grid-column: auto;
    }
}

/* ---- Dark theme ---- */
.dark-main .task-page-switch,
.dark-main .task-view-card,
.dark-main .task-file,
.dark-main .manual-issue-chips {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

.dark-main .task-view-facts > div,
.dark-main .manual-issue-sub,
.dark-main .task-file-thumb,
.dark-main .task-file-add,
.dark-main .hd-table th,
.dark-main .hd-table .hd-table-sub td {
    border-color: rgba(255, 255, 255, .08);
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .task-view-card-title span,
.dark-main .task-view-facts dd,
.dark-main .manual-issue-sub-title,
.dark-main .task-view-people li,
.dark-main .task-file-name {
    color: #e5e7eb;
}

.dark-main .hd-table-wrap,
.dark-main .hd-table td {
    border-color: rgba(255, 255, 255, .08);
}

.dark-main .hd-table th {
    color: #cbd5e1;
}

.dark-main .hd-table tbody tr:hover {
    background-color: rgba(255, 255, 255, .03);
}

.dark-main .task-flag--muted {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

.dark-main .task-view .chat-bubble-left {
    background-color: #2b303b;
    border-color: rgba(255, 255, 255, .08);
}

.dark-main .task-view .chat-bubble-right {
    background-color: #1e3a5f;
    border-color: rgba(96, 165, 250, .25);
}

.dark-main .task-view .chat-container.is-admin-note {
    background-color: rgba(250, 204, 21, .12);
    border-color: rgba(250, 204, 21, .3);
}

.dark-main .task-view-rate {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, .03);
}

.dark-main .hd-note,
.dark-main .manual-issue-preview {
    background-color: rgba(96, 165, 250, .12);
    color: #bfdbfe;
}

/* ---- Passenger reissue: details / update dialog ---- */
.reissue-pax-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reissue-pax-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reissue-pax-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 12px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-size: 12.5px;
    font-weight: 800;
}

.reissue-pax-name {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
}

    .reissue-pax-name > span {
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .reissue-pax-name small {
        color: #64748b;
        font-size: 12px;
        font-weight: 600;
    }

.reissue-pax-count {
    flex: 0 0 auto;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 26px;
    white-space: nowrap;
}

    .reissue-pax-count.is-changed {
        background-color: #fef3c7;
        color: #b45309;
    }

/* Compare table: field | original | new; changed rows are highlighted */
.reissue-compare {
    table-layout: fixed;
}

    .reissue-compare thead th:first-child,
    .reissue-compare tbody th {
        width: 26%;
    }

    .reissue-compare tbody th {
        padding: 8px 12px;
        border-bottom: 1px solid #f1f4f8;
        color: #64748b;
        font-size: 12.5px;
        font-weight: 600;
        background-color: transparent;
    }

    .reissue-compare td {
        overflow-wrap: anywhere;
    }

    .reissue-compare td:nth-child(2) {
        color: #64748b;
    }

    .reissue-compare td:nth-child(3) {
        color: #0f172a;
        font-weight: 600;
    }

    .reissue-compare tr.is-changed th,
    .reissue-compare tr.is-changed td {
        background-color: #fffbeb;
    }

    .reissue-compare tr.is-changed th {
        box-shadow: inset 3px 0 0 #f59e0b;
        color: #b45309;
    }

    .reissue-compare tr.is-changed td:nth-child(2) {
        text-decoration: line-through;
        text-decoration-color: rgba(180, 83, 9, .5);
    }

    .reissue-compare .mud-input-control,
    .reissue-compare .dn-datepicker,
    .reissue-compare input {
        margin: 0;
    }

.reissue-pax-docs-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

    .reissue-pax-docs-title .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

.reissue-reject {
    margin-inline-end: auto;
    padding: 2px 12px 2px 4px;
    border: 1px solid #e4e7ee;
    border-radius: 999px;
    transition: background-color .15s ease, border-color .15s ease;
}

    .reissue-reject.is-on {
        border-color: #fecaca;
        background-color: #fef2f2;
    }

    .reissue-reject .mud-switch {
        margin: 0;
    }

.dark-main .reissue-pax-name > span,
.dark-main .reissue-compare td:nth-child(3),
.dark-main .reissue-pax-docs-title {
    color: #e5e7eb;
}

.dark-main .reissue-compare tbody th {
    border-color: rgba(255, 255, 255, .08);
    color: #94a3b8;
}

.dark-main .reissue-compare tr.is-changed th,
.dark-main .reissue-compare tr.is-changed td {
    background-color: rgba(245, 158, 11, .1);
}

.dark-main .reissue-pax-count {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

    .dark-main .reissue-pax-count.is-changed {
        background-color: rgba(245, 158, 11, .18);
        color: #fcd34d;
    }

.dark-main .reissue-reject {
    border-color: rgba(255, 255, 255, .12);
}

    .dark-main .reissue-reject.is-on {
        border-color: rgba(248, 113, 113, .4);
        background-color: rgba(220, 38, 38, .12);
    }

/* ---- Data / log viewer dialog (DataShowDialog) ---- */
.data-dialog-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-dialog-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .data-dialog-header-icon .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

.data-dialog-header-title {
    font-size: 16px;
    font-weight: 700;
}

.data-dialog-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.data-dialog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.data-dialog-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #f8fafc;
}

    .data-dialog-tabs button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 30px;
        padding: 0 14px;
        border: 0;
        border-radius: 7px;
        background: transparent;
        color: #475569;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color .15s ease, color .15s ease;
    }

        .data-dialog-tabs button:hover {
            background-color: #eef2f7;
        }

        .data-dialog-tabs button.is-active {
            background-color: #fff;
            color: #2563eb;
            box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
        }

        .data-dialog-tabs button .mud-icon-root {
            width: 16px;
            height: 16px;
            font-size: 16px;
        }

.data-dialog-single-title {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.data-dialog-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.data-dialog-type,
.data-dialog-size {
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 22px;
}

.data-dialog-type {
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
    letter-spacing: .4px;
}

.data-dialog-size {
    background-color: #f1f5f9;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.data-dialog-code {
    flex: 1 1 auto;
    max-height: 62vh;
    margin: 0;
    padding: 14px 16px;
    overflow: auto;
    border: 1px solid #1e293b;
    border-radius: 12px;
    background-color: #0f172a;
    color: #e2e8f0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 12.5px;
    line-height: 1.6;
    direction: ltr;
    text-align: left;
    white-space: pre;
    tab-size: 2;
}

    .data-dialog-code.is-wrapped {
        white-space: pre-wrap;
        word-break: break-word;
    }

    .data-dialog-code code {
        color: inherit;
        background: none;
        font: inherit;
    }

.data-dialog-html,
.data-dialog-text {
    max-height: 62vh;
    padding: 14px 16px;
    overflow: auto;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.data-dialog-text {
    white-space: pre-wrap;
}

.data-dialog-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid #eef1f6;
}

.dark-main .data-dialog-tabs {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .04);
}

    .dark-main .data-dialog-tabs button {
        color: #cbd5e1;
    }

        .dark-main .data-dialog-tabs button:hover {
            background-color: rgba(255, 255, 255, .06);
        }

        .dark-main .data-dialog-tabs button.is-active {
            background-color: rgba(255, 255, 255, .1);
            color: #93c5fd;
        }

.dark-main .data-dialog-single-title {
    color: #e5e7eb;
}

.dark-main .data-dialog-size {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

.dark-main .data-dialog-html,
.dark-main .data-dialog-text {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

.dark-main .data-dialog-footer {
    border-color: rgba(255, 255, 255, .1);
}

/* ---- Previous passengers dialog ---- */
.old-pax-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

    .old-pax-search .old-pax-search-btn {
        min-width: 110px;
        height: 40px;
    }

.old-pax-grid table tbody tr.old-pax-row {
    transition: background-color .15s ease;
}

    .old-pax-grid table tbody tr.old-pax-row:hover {
        background-color: #f8fafc;
    }

    .old-pax-grid table tbody tr.old-pax-row.is-selected,
    .old-pax-grid table tbody tr.old-pax-row.is-selected:hover {
        background-color: #eff6ff;
        box-shadow: inset 3px 0 0 #2563eb;
    }

.old-pax-person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.old-pax-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
}

    .old-pax-avatar.is-male {
        background-color: rgba(37, 99, 235, .12);
        color: #2563eb;
    }

    .old-pax-avatar.is-female {
        background-color: rgba(219, 39, 119, .12);
        color: #db2777;
    }

.old-pax-name {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

    .old-pax-name > span {
        color: #0f172a;
        font-size: 14px;
        font-weight: 700;
    }

    .old-pax-name small {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 3px;
        color: #64748b;
        font-size: 11.5px;
    }

        .old-pax-name small .mud-icon-root {
            width: 13px;
            height: 13px;
            font-size: 13px;
        }

.old-pax-dot {
    margin: 0 2px;
}

.old-pax-surname {
    color: #0f172a;
    font-weight: 600;
}

.old-pax-id {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.old-pax-check .mud-checkbox {
    margin: 0;
}

@media (max-width: 767.98px) {
    .old-pax-search {
        grid-template-columns: minmax(0, 1fr);
    }
}

.dark-main .old-pax-grid table tbody tr.old-pax-row:hover {
    background-color: rgba(255, 255, 255, .03);
}

.dark-main .old-pax-grid table tbody tr.old-pax-row.is-selected {
    background-color: rgba(96, 165, 250, .12);
}

.dark-main .old-pax-name > span,
.dark-main .old-pax-surname {
    color: #e5e7eb;
}

.dark-main .old-pax-id {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

/* ---- Grid pager inside dialogs: the three fixed thirds are too narrow there, so lay it out as a wrapping flex row ---- */
fluent-dialog .dataTables_wrapper {
    padding: 0;
}

    fluent-dialog .dataTables_wrapper > .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 16px;
        margin: 8px 0 0;
    }

        fluent-dialog .dataTables_wrapper > .row > [class*="col-"] {
            flex: 0 1 auto;
            width: auto;
            max-width: 100%;
            padding: 0;
        }

    fluent-dialog .dataTables_wrapper .dataTables_length label {
        margin: 0;
        white-space: nowrap;
    }

    fluent-dialog .dataTables_wrapper .pagination {
        flex-wrap: wrap;
        margin: 0;
    }

    fluent-dialog .dataTables_wrapper .pagination-marginfix {
        margin: 0 !important;
    }

/* Previous passengers: name block reads left to right */
.old-pax-name {
    text-align: start;
}

/* ---- Flight admin ticket change dialog (TicketChangeAdmin) ---- */
.change-ticket .ct-list,
.change-ticket .ct-legs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.change-ticket .ct-block,
.change-ticket .ct-leg {
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background-color: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.change-ticket .ct-list > .ct-block,
.change-ticket .ct-leg {
    padding: 8px 12px;
}

.change-ticket .dn-form-section.ct-block {
    padding: 10px 16px;
    border-radius: 14px;
}

.change-ticket .ct-block.is-on,
.change-ticket .ct-leg.is-on {
    border-color: rgba(37, 99, 235, .45);
    box-shadow: inset 3px 0 0 #2563eb;
    background-color: #fbfdff;
}

.change-ticket .ct-leg {
    background-color: #f8fafc;
}

.change-ticket .ct-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
}

    .change-ticket .ct-head .mud-checkbox {
        margin: 0;
    }

.change-ticket .ct-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .change-ticket .ct-head-icon .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

.change-ticket .ct-head-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

    .change-ticket .ct-head-text b {
        color: #0f172a;
        font-size: 14px;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .change-ticket .ct-head-text small {
        color: #64748b;
        font-size: 12px;
        font-variant-numeric: tabular-nums;
    }

.change-ticket .ct-route {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: .3px;
}

    .change-ticket .ct-route .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #94a3b8;
    }

.change-ticket .ct-tag {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 6px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-size: 11.5px;
    font-weight: 700;
    direction: ltr;
}

.change-ticket .ct-tag--soft {
    background-color: #eef2f7;
    color: #475569;
}

.change-ticket .ct-state {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.change-ticket .ct-body {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed #e4e7ee;
}

.change-ticket .ct-legs.ct-body {
    padding-bottom: 4px;
}

.change-ticket .ct-baggage {
    padding: 12px;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background-color: #f8fafc;
}

.change-ticket .ct-baggage-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

    .change-ticket .ct-baggage-title .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

.change-ticket .validation-errors:empty {
    display: none;
}

@media (max-width: 767.98px) {
    .change-ticket .dn-grid--3,
    .change-ticket .dn-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.dark-main .change-ticket .ct-block,
.dark-main .change-ticket .ct-leg,
.dark-main .change-ticket .ct-baggage {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

    .dark-main .change-ticket .ct-block.is-on,
    .dark-main .change-ticket .ct-leg.is-on {
        border-color: rgba(96, 165, 250, .5);
        background-color: rgba(96, 165, 250, .06);
    }

.dark-main .change-ticket .ct-head-text b,
.dark-main .change-ticket .ct-baggage-title {
    color: #e5e7eb;
}

.dark-main .change-ticket .ct-tag--soft {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

.dark-main .change-ticket .ct-body {
    border-color: rgba(255, 255, 255, .1);
}

/* ---- Reissue insert dialogs: passenger card + baggage editor ---- */
.change-ticket .ct-pax {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .change-ticket .ct-pax.is-on {
        border-color: rgba(37, 99, 235, .35);
    }

.change-ticket .ct-pax-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f6;
}

.change-ticket .ct-pax > .ct-block {
    padding: 8px 12px;
}

.rb-editor .dn-field .mud-input-control {
    margin: 0 !important;
}

.rb-apply {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.rb-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e4e7ee;
}

.rb-summary-item {
    padding: 8px 10px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #f8fafc;
}

.rb-summary-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

    .rb-summary-head b {
        color: #0f172a;
        font-size: 13px;
        letter-spacing: .3px;
    }

.rb-tag {
    padding: 1px 7px;
    border-radius: 6px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
}

.rb-tag--soft {
    background-color: #eef2f7;
    color: #475569;
}

.rb-summary-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #475569;
    font-size: 12.5px;
    line-height: 1.6;
}

    .rb-summary-lines li::before {
        content: "•";
        margin-inline-end: 6px;
        color: #94a3b8;
    }

@media (max-width: 767.98px) {
    .rb-editor .dn-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.dark-main .change-ticket .ct-pax-head,
.dark-main .rb-summary {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .rb-summary-item {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

.dark-main .rb-summary-head b {
    color: #e5e7eb;
}

.dark-main .rb-tag--soft {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

.dark-main .rb-summary-lines {
    color: #cbd5e1;
}

/* ---- TicketView: Helpdesk tasks of an order item ---- */
.ticket-task {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-task-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.ticket-task-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .ticket-task-title b {
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
    }

.ticket-task-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .ticket-task-icon .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

.ticket-task-count {
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background-color: #eef2f7;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.ticket-task-grid {
    overflow: hidden;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background-color: #fff;
}

    .ticket-task-grid table thead th {
        background-color: #f8fafc;
        color: #475569;
        font-size: 12.5px;
        font-weight: 700;
        white-space: nowrap;
    }

    .ticket-task-grid table tbody td {
        vertical-align: middle;
        white-space: nowrap;
    }

    .ticket-task-grid table tbody tr {
        transition: background-color .15s ease;
    }

        .ticket-task-grid table tbody tr:hover {
            background-color: #f8fafc;
        }

    .ticket-task-grid .dataTables_wrapper > .row {
        margin: 0;
        padding: 8px 12px;
    }

    .ticket-task-grid .dn-empty {
        margin: 0 12px 12px;
    }

.ticket-task-id {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ticket-task-time {
    color: #475569;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    direction: ltr;
    unicode-bidi: isolate;
}

.ticket-task-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
    letter-spacing: .5px;
}

.ticket-task-person {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0f172a;
    font-weight: 600;
}

    .ticket-task-person .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
        color: #94a3b8;
    }

    .ticket-task-person.is-support .mud-icon-root {
        color: #2563eb;
    }

.ticket-task-empty {
    color: #cbd5e1;
}

.dark-main .ticket-task-title b,
.dark-main .ticket-task-person {
    color: #e5e7eb;
}

.dark-main .ticket-task-count,
.dark-main .ticket-task-id {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

.dark-main .ticket-task-grid {
    border-color: rgba(255, 255, 255, .1);
    background-color: transparent;
}

    .dark-main .ticket-task-grid table thead th {
        background-color: rgba(255, 255, 255, .04);
        color: #cbd5e1;
    }

    .dark-main .ticket-task-grid table tbody tr:hover {
        background-color: rgba(255, 255, 255, .03);
    }

.dark-main .ticket-task-time {
    color: #94a3b8;
}

.dark-main .ticket-task-empty {
    color: #475569;
}

/* ---- Flight TicketView ---- */
/* Toolbar: send on the left, print options on the right */
.tv-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.tv-toolbar-alert {
    margin: 0;
}

.tv-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.tv-toolbar-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.tv-toolbar-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.tv-send {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 4px 0 10px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #f8fafc;
}

    .tv-send.is-whatsapp > .mud-icon-root {
        color: #16a34a;
    }

    .tv-send.is-mail > .mud-icon-root {
        color: #dc2626;
    }

    .tv-send .tv-send-field {
        width: 190px;
    }

    .tv-send .tv-send-field::part(root) {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .tv-send .tv-send-btn {
        min-width: 64px;
        border-radius: 8px;
        box-shadow: none;
    }

/* Toolbar controls: same height, radius, border and typography */
.tv-toolbar-group--end {
    align-items: center;
}

.tv-chip.mud-chip {
    margin: 0;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

    .tv-chip.mud-chip.mud-chip-outlined {
        border: 1px solid #d0d7e2;
        border-style: solid;
        background-color: #fff;
        color: #334155;
    }

    .tv-chip.mud-chip.mud-chip-filled {
        border: 1px solid transparent;
    }

.tv-language {
    min-width: 150px;
    margin: 0;
}

    .tv-language.mud-input-control,
    .tv-language .mud-input-control {
        margin: 0 !important;
    }

    .tv-language .mud-input.mud-input-outlined {
        height: 40px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 500;
        color: #334155;
    }

    .tv-language .mud-input-outlined-border {
        border-radius: 10px;
        border-color: #d0d7e2;
    }

    .tv-language .mud-input-slot {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        height: 40px;
        display: flex;
        align-items: center;
    }

.tv-pdf-btn.mud-button-root {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
}

/* Section cards */
.ticket-view > .row > fluent-card,
.ticket-view > .row > .fluent-card {
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
}

.ticket-view .card-header.card-header-gap {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #eef1f6;
    background: transparent;
}

    .ticket-view .card-header.card-header-gap .mud-icon-root {
        box-sizing: content-box;
        padding: 7px;
        border-radius: 9px;
        background-color: rgba(37, 99, 235, .1);
    }

    .ticket-view .card-header.card-header-gap h6 {
        color: #0f172a;
        font-size: 15px;
    }

/* Action banner (pay created ticket / issue from reserve): a filled, eye-catching call to action */
.tv-action-banner {
    --tv-ab-from: #f59e0b;
    --tv-ab-to: #ea580c;
    --tv-ab-tone: #c2410c;
    --tv-ab-glow: rgba(234, 88, 12, .35);
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 0 0 18px;
    padding: 18px 22px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(120deg, var(--tv-ab-from), var(--tv-ab-to));
    color: #fff;
    box-shadow: 0 10px 24px -8px var(--tv-ab-glow);
    animation: tvAbIn .35s ease-out;
}

    /* soft decorative circle */
    .tv-action-banner::after {
        content: "";
        position: absolute;
        inset-inline-end: -40px;
        top: -60px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .1);
        pointer-events: none;
    }

.tv-action-banner--pay {
    --tv-ab-from: #3b82f6;
    --tv-ab-to: #1d4ed8;
    --tv-ab-tone: #1d4ed8;
    --tv-ab-glow: rgba(29, 78, 216, .4);
}

.tv-action-banner-icon {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

    .tv-action-banner-icon .mud-icon-root {
        font-size: 28px;
    }

    /* pulsing ring to draw the eye */
    .tv-action-banner-icon::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, .6);
        animation: tvAbPulse 1.8s ease-out infinite;
    }

.tv-action-banner-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tv-action-banner-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.tv-action-banner-hint {
    font-size: 13px;
    line-height: 1.5;
    opacity: .92;
}

.tv-action-banner-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.tv-action-banner-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: 12.5px;
    white-space: nowrap;
}

    .tv-action-banner-chip .mud-icon-root {
        font-size: 16px;
    }

    .tv-action-banner-chip b {
        font-weight: 800;
    }

    .tv-action-banner-chip small {
        font-size: 11px;
        font-weight: 600;
        opacity: .85;
    }

.tv-action-banner-chip--strong {
    background: #fff;
    color: var(--tv-ab-tone);
    font-size: 13.5px;
}

.tv-action-banner-btn {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

    .tv-action-banner-btn::part(control) {
        height: 42px;
        padding: 0 20px;
        border: 0;
        border-radius: 10px;
        background: #fff;
        color: var(--tv-ab-tone);
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
        transition: transform .12s ease, box-shadow .12s ease;
    }

    .tv-action-banner-btn:hover::part(control) {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    }

    .tv-action-banner-btn svg {
        fill: var(--tv-ab-tone) !important;
        color: var(--tv-ab-tone) !important;
    }

@keyframes tvAbPulse {
    0% {
        transform: scale(1);
        opacity: .9;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes tvAbIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tv-action-banner,
    .tv-action-banner-icon::before {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .tv-action-banner {
        flex-wrap: wrap;
        padding: 16px;
    }

    .tv-action-banner-btn {
        width: 100%;
    }

        .tv-action-banner-btn::part(control) {
            width: 100%;
        }
}

.dark-main .tv-action-banner {
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
}

/* Issue summary */
.tv-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tv-summary-main {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e4e7ee;
}

.tv-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

    .tv-summary-grid .tv-summary-item {
        padding: 12px 14px;
        border: 1px solid #eef1f6;
        border-radius: 12px;
        background-color: #f8fafc;
    }

.tv-summary-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.tv-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

    .tv-summary-label .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
        color: #94a3b8;
    }

.tv-summary-value {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tv-summary-value--id {
    font-size: 18px;
    font-variant-numeric: tabular-nums;
}

.tv-summary-value--code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    letter-spacing: .6px;
}

.tv-summary-value--time {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    direction: ltr;
    unicode-bidi: isolate;
}

.tv-summary-value--amount {
    font-size: 17px;
    font-variant-numeric: tabular-nums;
}

    .tv-summary-value--amount small {
        margin-inline-start: 2px;
        color: #64748b;
        font-size: 11.5px;
        font-weight: 700;
    }

    .tv-summary-value--amount.is-paid {
        color: #16a34a;
    }

/* Order tabs at the bottom */
.tv-orders .card-body {
    padding: 16px;
}

.tv-tabs > .mud-tabs-tabbar,
.tv-subtabs > .mud-tabs-tabbar {
    border-radius: 10px;
}

.tv-tabs > .mud-tabs-panels {
    padding-top: 14px;
}

.tv-subtabs {
    border: 1px solid #e8edf5;
    border-radius: 12px;
    overflow: hidden;
}

    .tv-subtabs > .mud-tabs-tabbar {
        border-bottom: 1px solid #eef1f6;
        border-radius: 0;
        background-color: #f8fafc;
    }

        .tv-subtabs > .mud-tabs-tabbar .mud-tab {
            min-height: 44px;
            font-weight: 600;
            text-transform: none;
            letter-spacing: 0;
        }

    .tv-subtabs > .mud-tabs-panels {
        padding: 16px;
    }

.tv-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    border: 1px dashed #dbe3ef;
    border-radius: 12px;
    background-color: #f8fafc;
}

    .tv-admin-actions .tv-admin-btn {
        border-radius: 10px;
    }

.tv-errors {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tv-error-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(220, 38, 38, .25);
    border-radius: 12px;
    background-color: rgba(220, 38, 38, .05);
    color: #7f1d1d;
    font-size: 13.5px;
    overflow-wrap: anywhere;
}

    .tv-error-item > .mud-icon-root {
        flex: 0 0 auto;
        color: #dc2626;
    }

@media (max-width: 991.98px) {
    .tv-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .tv-send {
        width: 100%;
    }

        .tv-send .tv-send-field {
            flex: 1 1 auto;
            width: auto;
        }

    .tv-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Dark */
.dark-main .tv-toolbar,
.dark-main .ticket-view > .row > fluent-card {
    border-color: rgba(255, 255, 255, .1) !important;
    background-color: var(--bg-dark-secondary, #1f2937);
}

.dark-main .tv-chip.mud-chip.mud-chip-outlined {
    border-color: rgba(255, 255, 255, .15);
    background-color: rgba(255, 255, 255, .04);
    color: inherit;
}

.dark-main .tv-language .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, .15);
}

.dark-main .tv-language .mud-input.mud-input-outlined {
    color: inherit;
}

.dark-main .tv-send,
.dark-main .tv-summary-grid .tv-summary-item,
.dark-main .tv-admin-actions,
.dark-main .tv-subtabs > .mud-tabs-tabbar {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .tv-subtabs,
.dark-main .tv-summary-main,
.dark-main .ticket-view .card-header.card-header-gap {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .tv-summary-value,
.dark-main .ticket-view .card-header.card-header-gap h6 {
    color: #e5e7eb;
}

.dark-main .tv-summary-value--amount.is-paid {
    color: #4ade80;
}

.dark-main .tv-error-item {
    color: #fecaca;
}

/* ---- Ticket / payment status pills (StatusChipHelper) ----
   The status filter's .status-chip rule above repaints every chip white,
   so the read-only status pills get their tone back here. */
.status-chip.status-chip-ok,
.status-chip.status-chip-error,
.status-chip.status-chip-info,
.status-chip.status-chip-warn {
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
    background-color: color-mix(in srgb, var(--tone) 12%, transparent);
    color: var(--tone);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: default;
    box-shadow: none;
    transform: none;
}

    .status-chip.status-chip-ok::before,
    .status-chip.status-chip-error::before,
    .status-chip.status-chip-info::before,
    .status-chip.status-chip-warn::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background-color: currentColor;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 20%, transparent);
    }

.status-chip.status-chip-ok { --tone: #16a34a; }
.status-chip.status-chip-error { --tone: #dc2626; }
.status-chip.status-chip-info { --tone: #2563eb; }
.status-chip.status-chip-warn { --tone: #d97706; }

.dark-main .status-chip.status-chip-ok { --tone: #4ade80; }
.dark-main .status-chip.status-chip-error { --tone: #f87171; }
.dark-main .status-chip.status-chip-info { --tone: #60a5fa; }
.dark-main .status-chip.status-chip-warn { --tone: #fbbf24; }

/* Data dialog: long payloads must not push the body past the dialog width */
.data-dialog-body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    contain: inline-size;
}

.data-dialog-toolbar,
.data-dialog-code,
.data-dialog-html,
.data-dialog-text {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

    .data-dialog-code.is-wrapped {
        overflow-wrap: anywhere;
        word-break: break-all;
    }

.data-dialog-footer {
    box-sizing: border-box;
    max-width: 100%;
}

/* ---- Itinerary reissue details: legs inside a flight card ---- */
.reissue-leg {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    background-color: #fbfcfe;
}

    .reissue-leg + .reissue-leg {
        margin-top: 10px;
    }

    .reissue-leg .reissue-pax-docs-title .reissue-pax-count {
        margin-inline-start: auto;
    }

.reissue-leg-tag {
    padding: 1px 8px;
    border-radius: 6px;
    background-color: #eef2f7;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    direction: ltr;
}

.reissue-route {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: .3px;
}

    .reissue-route .mud-icon-root,
    .reissue-pax-docs-title .reissue-route .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #94a3b8;
    }

.reissue-pax-avatar .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.dark-main .reissue-leg {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

.dark-main .reissue-leg-tag {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

/* ==== Flight search page ==== */
/* Search form */
.box-search.fs-search {
    padding: 18px 20px;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05) !important;
}

    .fs-search .search-box-header h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
        color: #0f172a;
        font-size: 18px;
        font-weight: 700;
    }

        .fs-search .search-box-header h3 .mud-icon-root {
            box-sizing: content-box;
            padding: 7px;
            border-radius: 10px;
            background-color: rgba(37, 99, 235, .1);
            color: #2563eb;
        }

    .fs-search .mud-toggle-group {
        border-radius: 12px;
        overflow: hidden;
    }

    .fs-search .toggle-group-btn {
        min-height: 40px;
        font-weight: 600;
        text-transform: none;
    }

    .fs-search .passenger-count-box {
        padding: 10px 12px 2px;
        border: 1px solid #eef1f6;
        border-radius: 12px;
        background-color: #f8fafc;
    }

    .fs-search .swap-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border-color: #dbe3ef;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(15, 23, 42, .08);
        cursor: pointer;
        transition: transform .2s ease, background-color .15s ease;
    }

        .fs-search .swap-btn:hover {
            background-color: #eff6ff;
            transform: rotate(180deg);
        }

.fs-multi-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 6px;
}

.fs-search-submit {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e4e7ee;
}

    .fs-search-submit .fs-search-btn {
        min-width: 240px;
        height: 44px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 700;
        text-transform: none;
        box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
    }

/* Previous / next day */
.fs-daynav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

    .fs-daynav .fs-daynav-btn {
        min-width: 130px;
        border-radius: 999px;
        background-color: #fff;
        font-weight: 600;
        text-transform: none;
    }

.fs-daynav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

/* Result header: count + sort */
.fs-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 12px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.fs-results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 14px;
}

    .fs-results-count b {
        color: #0f172a;
        font-size: 20px;
        font-variant-numeric: tabular-nums;
    }

.fs-results-count-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

.fs-sort {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background-color: #f8fafc;
}

.fs-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

    .fs-sort-btn .mud-icon-root {
        width: 17px;
        height: 17px;
        font-size: 17px;
    }

    .fs-sort-btn:hover {
        background-color: #eef2f7;
    }

    .fs-sort-btn.is-active {
        background-color: #2563eb;
        color: #fff;
        box-shadow: 0 3px 10px rgba(37, 99, 235, .3);
    }

/* Filter sidebar */
.fs-sidebar .filter-searchBar .mud-expand-panel {
    border: 1px solid #e8edf5;
    border-radius: 14px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.fs-sidebar .filter-searchBar .mud-expand-panel-header {
    min-height: 52px;
    border-bottom: 1px solid #eef1f6;
    background-color: #f8fafc;
}

    .fs-sidebar .filter-searchBar .mud-expand-panel-header .mud-icon-root {
        margin-inline-end: 8px;
        color: #2563eb;
    }

    .fs-sidebar .filter-searchBar .mud-expand-panel-header .mud-typography {
        font-weight: 700;
    }

.fs-sidebar .sidebar-subTitle {
    color: #334155;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.fs-sidebar .searchBar-single {
    padding-inline: 4px;
    border-color: #eef1f6 !important;
}

.fs-sidebar .frm-slicing {
    padding: 4px 6px;
    border-radius: 8px;
    transition: background-color .15s ease;
}

    .fs-sidebar .frm-slicing:hover {
        background-color: #f8fafc;
    }

/* Flight result cards */
.fs-results .flights-accordion {
    border: 1px solid #e8edf5;
    border-radius: 16px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05) !important;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}

    .fs-results .flights-accordion:hover {
        border-color: rgba(37, 99, 235, .35);
        box-shadow: 0 8px 24px rgba(15, 23, 42, .08) !important;
        transform: translateY(-1px);
    }

.fs-results .flights-list-item {
    padding: 16px 18px !important;
}

    .fs-results .flights-list-item > .row > .col-md-3 {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-inline-start: 1px dashed #e4e7ee;
    }

.fs-results .flights-accordion .label.bg-light-primary {
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
}

.fs-results .flights-accordion .fl-pic img {
    object-fit: contain;
}

.fs-results .flights-accordion .fw-bold.fs-6 {
    color: #0f172a;
    font-size: 17px !important;
}

.fs-results .flight-button-wrap .mud-button-root {
    height: 38px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: none;
}

/* Empty / loading */
.fs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 36px 20px;
    border: 1px dashed #dbe3ef;
    border-radius: 16px;
    background-color: #fff;
    text-align: center;
}

    .fs-empty h3 {
        margin: 0;
        color: #334155;
        font-size: 17px;
        font-weight: 700;
    }

.fs-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background-color: #f1f5f9;
}

    .fs-empty-icon img {
        width: 52px;
        height: auto;
    }

.fs-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
}

.fs-loading-plane {
    display: inline-flex;
    color: #2563eb;
    animation: fs-plane 1.6s ease-in-out infinite;
}

    .fs-loading-plane .mud-icon-root {
        width: 30px;
        height: 30px;
        font-size: 30px;
        transform: rotate(90deg);
    }

@keyframes fs-plane {
    0%, 100% { transform: translateX(-14px); opacity: .5; }
    50% { transform: translateX(14px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .fs-loading-plane { animation: none; }
}

@media (max-width: 767.98px) {
    .fs-results-head {
        flex-direction: column;
        align-items: stretch;
    }

    .fs-sort {
        justify-content: space-between;
    }

    .fs-sort-btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0 8px;
    }

    .fs-results .flights-list-item > .row > .col-md-3 {
        border-inline-start: 0;
        border-top: 1px dashed #e4e7ee;
        padding-top: 12px;
    }

    .fs-search-submit .fs-search-btn {
        width: 100%;
    }
}

/* Dark */
.dark-main .box-search.fs-search,
.dark-main .fs-results-head,
.dark-main .fs-empty,
.dark-main .fs-sidebar .filter-searchBar .mud-expand-panel,
.dark-main .fs-results .flights-accordion {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .fs-results-head,
.dark-main .fs-empty,
.dark-main .fs-daynav .fs-daynav-btn {
    background-color: var(--bg-dark-secondary, #1f2937);
}

.dark-main .fs-search .passenger-count-box,
.dark-main .fs-sort,
.dark-main .fs-sidebar .filter-searchBar .mud-expand-panel-header {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .fs-search .search-box-header h3,
.dark-main .fs-results-count b,
.dark-main .fs-empty h3,
.dark-main .fs-sidebar .sidebar-subTitle,
.dark-main .fs-results .flights-accordion .fw-bold.fs-6 {
    color: #e5e7eb;
}

.dark-main .fs-results-count,
.dark-main .fs-sort-btn {
    color: #cbd5e1;
}

    .dark-main .fs-sort-btn:hover,
    .dark-main .fs-sidebar .frm-slicing:hover {
        background-color: rgba(255, 255, 255, .06);
    }

.dark-main .fs-empty-icon {
    background-color: rgba(255, 255, 255, .06);
}

.dark-main .fs-search-submit,
.dark-main .fs-results .flights-list-item > .row > .col-md-3 {
    border-color: rgba(255, 255, 255, .1);
}

/* ==== Flight search: result card (FlightDetailBox / FlightDetailBoxMulti) ==== */
.fr-card {
    border: 1px solid #e8edf5;
    border-radius: 16px !important;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05) !important;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .2s ease;
}

    .fr-card:hover {
        border-color: rgba(37, 99, 235, .35);
        box-shadow: 0 10px 28px rgba(15, 23, 42, .08) !important;
    }

.fs-results .fr-card:hover {
    transform: none;
}

.fr-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
}

/* Itinerary column */
.fr-itinerary {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fr-flight {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px 16px;
}

    .fr-flight + .fr-flight {
        border-top: 1px dashed #e4e7ee;
    }

.fr-flight-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.fr-provider,
.fr-date,
.fr-charter,
.fr-codeshare {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.fr-provider {
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

.fr-date {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
}

    .fr-date .mud-icon-root {
        width: 13px;
        height: 13px;
        font-size: 13px;
    }

.fr-charter {
    background-color: rgba(22, 163, 74, .12);
    color: #15803d;
}

.fr-codeshare {
    background-color: rgba(220, 38, 38, .1);
    color: #dc2626;
}

.fr-flight-main {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.fr-airline {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

    .fr-airline .fr-logo {
        flex: 0 0 auto;
        border: 1px solid #eef1f6;
        background-color: #fff;
    }

.fr-logo--img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

    .fr-logo--img img {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }

.fr-airline-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

    .fr-airline-text b {
        color: #0f172a;
        font-size: 14px;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fr-airline-text small {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
        color: #64748b;
        font-size: 11.5px;
        text-transform: capitalize;
    }

.fr-fareclass {
    padding: 0 6px;
    border-radius: 5px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}

/* Departure — path — arrival */
.fr-route {
    display: grid;
    grid-template-columns: auto minmax(90px, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.fr-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
}

.fr-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.fr-code {
    margin-top: 3px;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .6px;
}

.fr-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.fr-path-duration {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.fr-path-line {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 14px;
}

    .fr-path-line::before {
        content: "";
        position: absolute;
        inset-inline: 0 14px;
        top: 50%;
        border-top: 2px dashed #cbd5e1;
    }

    .fr-path-line::after {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 50%;
        width: 8px;
        height: 8px;
        border: 2px solid #94a3b8;
        border-radius: 50%;
        background-color: #fff;
        transform: translateY(-50%);
    }

.fr-path-stop {
    position: relative;
    z-index: 1;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: #f59e0b;
    box-shadow: 0 0 0 1px #f59e0b;
}

.fr-path-plane.mud-icon-root {
    position: absolute;
    inset-inline-end: -4px;
    top: 50%;
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: #2563eb;
    transform: translateY(-50%) rotate(90deg);
}

.fr-path-stops {
    color: #b45309;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
}

    .fr-path-stops.is-direct {
        color: #15803d;
    }

.fr-path-layover {
    color: #94a3b8;
    font-weight: 600;
}

/* Price column */
.fr-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-inline-start: 1px dashed #e4e7ee;
    background: linear-gradient(180deg, #fbfcfe 0%, #f6f8fc 100%);
}

.fr-price-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.fr-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

    .fr-tag .mud-icon-root {
        width: 13px;
        height: 13px;
        font-size: 13px;
    }

.fr-tag--success {
    background-color: rgba(22, 163, 74, .12);
    color: #15803d;
}

.fr-price-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    text-align: center;
}

.fr-price-label {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
}

.fr-price-amount {
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

    .fr-price-amount small {
        color: #64748b;
        font-size: 11px;
        font-weight: 700;
    }

.fr-price-total {
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
}

    .fr-price-total b {
        color: #334155;
        font-variant-numeric: tabular-nums;
    }

.fr-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.fr-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #fff;
    color: #475569;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

    .fr-action .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

    .fr-action:hover {
        border-color: rgba(37, 99, 235, .4);
        background-color: #eff6ff;
        color: #2563eb;
    }

    .fr-action.is-active {
        border-color: #2563eb;
        background-color: #2563eb;
        color: #fff;
    }

    .fr-action.is-warning {
        border-color: rgba(220, 38, 38, .3);
        background-color: rgba(220, 38, 38, .06);
        color: #dc2626;
    }

.fr-seats {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

    .fr-seats .mud-icon-root {
        width: 17px;
        height: 17px;
        font-size: 17px;
        color: #64748b;
    }

.fr-book.mud-button-root {
    height: 40px;
    border-radius: 11px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .22);
}

.fr-fares {
    max-height: 400px;
    overflow: auto;
    padding: 14px 18px;
    border-top: 1px solid #eef1f6;
    background-color: #fbfcfe;
}

@media (max-width: 991.98px) {
    .fr-card-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .fr-price {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        border-inline-start: 0;
        border-top: 1px dashed #e4e7ee;
    }

    .fr-price-tags,
    .fr-price-main {
        grid-column: 1;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: start;
    }

    .fr-actions {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .fr-price .flight-button-wrap {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .fr-flight-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .fr-time {
        font-size: 18px;
    }
}

/* ==== Flight search: dialogs (pre-book, baggage, rules) ==== */
.pb-dialog {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pb-flight {
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background-color: #fff;
    overflow: hidden;
}

.pb-flight-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eef1f6;
    background-color: #f8fafc;
}

.pb-flight-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background-color: #2563eb;
    color: #fff;
    font-weight: 800;
}

.pb-flight-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .pb-flight-title b {
        color: #0f172a;
        font-size: 15px;
    }

    .pb-flight-title small {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

.pb-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background-color: #eef2f7;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: capitalize;
}

    .pb-chip .mud-icon-root {
        width: 13px;
        height: 13px;
        font-size: 13px;
    }

    .pb-chip.is-direct {
        background-color: rgba(22, 163, 74, .12);
        color: #15803d;
    }

.pb-legs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 14px 16px;
    list-style: none;
}

.pb-leg {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid #eef1f6;
    border-radius: 12px;
}

.pb-leg-airline {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

    .pb-leg-airline img {
        flex: 0 0 auto;
        width: 36px;
        height: 36px;
        padding: 4px;
        border: 1px solid #eef1f6;
        border-radius: 50%;
        object-fit: contain;
    }

    .pb-leg-airline div {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.25;
    }

    .pb-leg-airline b {
        color: #0f172a;
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pb-leg-airline small {
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
    }

.pb-leg-route {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-inline-start: 18px;
}

    .pb-leg-route::before {
        content: "";
        position: absolute;
        inset-inline-start: 5px;
        top: 10px;
        bottom: 10px;
        border-inline-start: 2px dashed #cbd5e1;
    }

.pb-leg-point {
    position: relative;
    display: flex;
    flex-direction: column;
}

    .pb-leg-point b {
        color: #0f172a;
        font-size: 13.5px;
    }

    .pb-leg-point small {
        color: #64748b;
        font-size: 12px;
    }

.pb-leg-dot {
    position: absolute;
    inset-inline-start: -18px;
    top: 4px;
    width: 12px;
    height: 12px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    background-color: #fff;
}

    .pb-leg-dot.is-end {
        border-color: #2563eb;
        background-color: #2563eb;
    }

.pb-leg-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
}

    .pb-leg-duration .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
        color: #94a3b8;
        transform: rotate(180deg);
    }

.pb-leg-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .pb-leg-info > span {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 90px;
        padding: 4px 8px;
        border-radius: 8px;
        background-color: #f8fafc;
    }

    .pb-leg-info small {
        display: inline-flex;
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
    }

        .pb-leg-info small .mud-icon-root {
            width: 15px;
            height: 15px;
            font-size: 15px;
        }

    .pb-leg-info b {
        color: #0f172a;
        font-size: 13px;
    }

.pb-layover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px dashed #fcd34d;
    border-radius: 999px;
    background-color: #fffbeb;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
}

    .pb-layover .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
    }

.pb-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 700;
}

    .pb-section-title .mud-icon-root {
        color: #2563eb;
    }

.pb-baggage {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pb-baggage-flight {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background-color: #fff;
}

.pb-baggage-flight-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
}

    .pb-baggage-flight-title .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

.pb-bag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background-color: #f8fafc;
}

.pb-bag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

.pb-bag.is-none .pb-bag-icon {
    background-color: rgba(220, 38, 38, .08);
    color: #dc2626;
}

.pb-bag-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

    .pb-bag-text b {
        color: #0f172a;
        font-size: 13px;
    }

    .pb-bag-text small {
        color: #64748b;
        font-size: 12px;
    }

.pb-bag-included {
    padding: 2px 10px;
    border-radius: 999px;
    background-color: rgba(22, 163, 74, .12);
    color: #15803d;
    font-size: 11.5px;
    font-weight: 700;
}

.pb-total {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .25);
}

.pb-total-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .pb-total-text small {
        opacity: .85;
        font-size: 12px;
        font-weight: 600;
    }

    .pb-total-text b {
        font-size: 24px;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
    }

        .pb-total-text b span {
            font-size: 13px;
            font-weight: 700;
            opacity: .85;
        }

.pb-book.mud-button-root {
    min-width: 170px;
    height: 42px;
    border-radius: 11px;
    background-color: #fff;
    color: #1d4ed8;
    font-weight: 800;
    text-transform: none;
}

    .pb-book.mud-button-root:hover {
        background-color: #eff6ff;
    }

.pb-dialog-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid #eef1f6;
}

.pb-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 0;
    color: #64748b;
}

.pb-rules {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.pb-rule {
    padding: 12px 14px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background-color: #fff;
}

.pb-rule-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

    .pb-rule-head .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

    .pb-rule-head b {
        color: #0f172a;
        font-size: 14px;
    }

.pb-rule-code {
    margin-inline-start: auto;
    padding: 1px 8px;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
}

.pb-rule-note {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12.5px;
}

.pb-rule-text {
    padding: 8px 10px;
    border-radius: 8px;
    background-color: #f8fafc;
    color: #334155;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

    .pb-rule-text + .pb-rule-text {
        margin-top: 6px;
    }

@media (max-width: 767.98px) {
    .pb-leg {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .pb-leg-info {
        flex-direction: row;
    }
}

/* ==== Flight search: filter panel (FilterSection) ==== */
.fs-filter .mud-expand-panel {
    border: 1px solid #e8edf5;
    border-radius: 14px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
    overflow: hidden;
}

.fs-filter .mud-expand-panel-header {
    min-height: 54px;
    border-bottom: 1px solid #eef1f6;
    background-color: #f8fafc;
}

.fs-filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .fs-filter-title .mud-typography {
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
    }

.fs-filter-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .fs-filter-title-icon .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

.fs-filter .filter-searchBar-head {
    padding: 12px 4px 8px;
}

.fs-filter-clear.mud-button-root {
    height: 36px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: none;
}

.fs-filter .searchBar-single {
    padding: 12px 4px !important;
    border-bottom: 1px solid #eef1f6 !important;
}

    .fs-filter .searchBar-single:last-child {
        border-bottom: 0 !important;
    }

.fs-filter .searchBar-single-title {
    margin-bottom: 8px !important;
}

.fs-filter .sidebar-subTitle {
    color: #334155;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.fs-filter .fs-filter-reset.mud-icon-button {
    padding: 4px;
    border-radius: 8px;
    color: #94a3b8;
}

    .fs-filter .fs-filter-reset.mud-icon-button:hover {
        background-color: rgba(220, 38, 38, .08);
        color: #dc2626;
    }

.fs-filter .searchBar-single-wrap ul {
    margin: 0 !important;
    --bs-gutter-y: 6px;
}

.fs-filter .form-check {
    margin: 0;
    padding: 0;
    min-height: 0;
}

.fs-filter .frm-slicing {
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

    .fs-filter .frm-slicing:hover {
        border-color: rgba(37, 99, 235, .3);
        background-color: #f8fbff;
    }

    .fs-filter .frm-slicing:has(.form-check-input:checked) {
        border-color: #2563eb;
        background-color: #eff6ff;
    }

        .fs-filter .frm-slicing:has(.form-check-input:checked) .text-muted-2 {
            color: #1d4ed8 !important;
            font-weight: 700;
        }

.fs-filter .form-check-label {
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
}

.fs-filter .frm-slicing-end {
    padding-inline-start: 0 !important;
}

.fs-filter .frm-slicing-title {
    padding-inline-start: 6px !important;
}

    .fs-filter .frm-slicing-title .text-muted-2 {
        color: #334155 !important;
        font-size: 13px;
    }

.fs-filter .frm-slicing-img img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.fs-filter .form-check-input {
    float: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    cursor: pointer;
}

    .fs-filter .form-check-input:checked {
        border-color: #2563eb;
        background-color: #2563eb;
    }

    .fs-filter .form-check-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
    }

/* Time-of-day slots as a 2 × 2 grid */
.fs-filter .searchBar-single-wrap ul:has(.filter-check-TakeOffTime),
.fs-filter .searchBar-single-wrap ul:has(.filter-check-TakeOffTimeReturn),
.fs-filter .searchBar-single-wrap ul:has(.filter-check-landingTime),
.fs-filter .searchBar-single-wrap ul:has(.filter-check-landingTimeReturn) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0 !important;
}

    .fs-filter .searchBar-single-wrap ul:has(.filter-check-TakeOffTime) > li,
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-TakeOffTimeReturn) > li,
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-landingTime) > li,
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-landingTimeReturn) > li {
        width: auto;
        margin: 0 !important;
        padding: 0;
    }

        .fs-filter .searchBar-single-wrap ul:has(.filter-check-TakeOffTime) .text-muted-2,
        .fs-filter .searchBar-single-wrap ul:has(.filter-check-TakeOffTimeReturn) .text-muted-2,
        .fs-filter .searchBar-single-wrap ul:has(.filter-check-landingTime) .text-muted-2,
        .fs-filter .searchBar-single-wrap ul:has(.filter-check-landingTimeReturn) .text-muted-2 {
            font-size: 12px;
            font-variant-numeric: tabular-nums;
            direction: ltr;
            white-space: nowrap;
        }

.fs-filter .mud-input-control {
    margin: 0 !important;
}

/* Search form selects */
.fs-search fluent-select {
    width: 100%;
}

    .fs-search fluent-select::part(control) {
        min-height: 40px;
        border-radius: 10px;
    }

/* ==== Dark ==== */
.dark-main .fr-card,
.dark-main .pb-flight,
.dark-main .pb-baggage-flight,
.dark-main .pb-rule,
.dark-main .fs-filter .frm-slicing,
.dark-main .fs-filter .mud-expand-panel {
    border-color: rgba(255, 255, 255, .1);
    background-color: transparent;
}

.dark-main .fr-price,
.dark-main .fr-fares,
.dark-main .pb-flight-head,
.dark-main .pb-bag,
.dark-main .pb-leg-info > span,
.dark-main .pb-rule-text,
.dark-main .fs-filter .mud-expand-panel-header {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
}

.dark-main .fr-flight + .fr-flight,
.dark-main .pb-leg,
.dark-main .pb-dialog-actions,
.dark-main .fs-filter .searchBar-single {
    border-color: rgba(255, 255, 255, .1) !important;
}

.dark-main .fr-airline-text b,
.dark-main .fr-time,
.dark-main .fr-price-amount,
.dark-main .fr-price-total b,
.dark-main .pb-flight-title b,
.dark-main .pb-leg-airline b,
.dark-main .pb-leg-point b,
.dark-main .pb-leg-info b,
.dark-main .pb-baggage-flight-title,
.dark-main .pb-bag-text b,
.dark-main .pb-rule-head b,
.dark-main .pb-rule-text,
.dark-main .fs-filter-title .mud-typography,
.dark-main .fs-filter .sidebar-subTitle,
.dark-main .fs-filter .frm-slicing-title .text-muted-2 {
    color: #e5e7eb !important;
}

.dark-main .fr-date,
.dark-main .fr-fareclass,
.dark-main .fr-action,
.dark-main .fr-seats,
.dark-main .pb-chip,
.dark-main .pb-rule-code {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, .06);
    color: #cbd5e1;
}

.dark-main .fr-path-line::after,
.dark-main .pb-leg-dot {
    background-color: #1f2937;
}

.dark-main .fs-filter .frm-slicing:has(.form-check-input:checked) {
    border-color: #60a5fa;
    background-color: rgba(96, 165, 250, .12);
}

.dark-main .pb-layover {
    border-color: rgba(251, 191, 36, .4);
    background-color: rgba(251, 191, 36, .08);
    color: #fbbf24;
}

/* Loading: keep the linear progress bar full width under the plane */
.fs-loading fluent-progress,
.pb-loading fluent-progress {
    align-self: stretch;
    width: 100%;
}

.fs-loading p,
.pb-loading p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

/* ---- Flight search tweaks ---- */
/* Result card: a little narrower / more compact */
.fr-card-body {
    grid-template-columns: minmax(0, 1fr) 210px;
}

.fr-flight {
    gap: 8px;
    padding: 10px 16px 12px;
}

.fr-flight-main {
    grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
    gap: 14px;
}

.fr-route {
    max-width: 560px;
    gap: 10px;
}

.fr-time {
    font-size: 18px;
}

.fr-price {
    gap: 8px;
    padding: 12px 14px;
}

.fr-price-amount {
    font-size: 20px;
}

.fr-book.mud-button-root {
    height: 36px;
}

/* Fare grid inside a result card: light table instead of the black one */
.fr-fares {
    padding: 12px 16px;
}

    .fr-fares .fare-table-dark {
        border-collapse: separate;
        border-spacing: 0;
        overflow: hidden;
        border: 1px solid #e4e7ee;
        border-radius: 12px;
        background-color: #fff;
        color: #334155;
        font-size: 13px;
    }

    .fr-fares .fare-header-dark {
        background-color: #f1f5f9;
        color: #334155;
    }

        .fr-fares .fare-header-dark th,
        .fr-fares .fare-header-dark td {
            padding: 9px 12px;
            border: 0;
            border-bottom: 1px solid #e4e7ee;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .2px;
        }

    .fr-fares tfoot .fare-header-dark {
        background-color: #eff6ff;
        color: #1d4ed8;
    }

        .fr-fares tfoot .fare-header-dark th,
        .fr-fares tfoot .fare-header-dark td {
            border-top: 1px solid #dbeafe;
            border-bottom: 0;
            font-size: 13px;
            font-weight: 800;
        }

    .fr-fares .fare-row-dark {
        border: 0;
        background-color: #fff;
    }

        .fr-fares .fare-row-dark td {
            padding: 9px 12px;
            border: 0;
            border-bottom: 1px solid #f1f5f9;
            font-variant-numeric: tabular-nums;
        }

        .fr-fares .fare-row-dark:hover {
            background-color: #f8fafc;
        }

/* Filters: airlines / airports / aircraft lists without item borders */
.fs-filter .searchBar-single-wrap ul:has(.filter-check-airline) .frm-slicing,
.fs-filter .searchBar-single-wrap ul:has(.filter-check-airline-return) .frm-slicing,
.fs-filter .searchBar-single-wrap ul:has(.filter-check-airport) .frm-slicing,
.fs-filter .searchBar-single-wrap ul:has(.filter-check-aircraft) .frm-slicing {
    border-color: transparent;
    background-color: transparent;
}

    .fs-filter .searchBar-single-wrap ul:has(.filter-check-airline) .frm-slicing:hover,
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-airline-return) .frm-slicing:hover,
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-airport) .frm-slicing:hover,
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-aircraft) .frm-slicing:hover {
        background-color: #f8fafc;
    }

    .fs-filter .searchBar-single-wrap ul:has(.filter-check-airline) .frm-slicing:has(.form-check-input:checked),
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-airline-return) .frm-slicing:has(.form-check-input:checked),
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-airport) .frm-slicing:has(.form-check-input:checked),
    .fs-filter .searchBar-single-wrap ul:has(.filter-check-aircraft) .frm-slicing:has(.form-check-input:checked) {
        border-color: transparent;
        background-color: #eff6ff;
    }

/* Filters: flight-number search field */
.fs-filter .fs-filter-input .mud-input.mud-input-outlined {
    height: 38px;
    border-radius: 10px;
    background-color: #fff;
}

.fs-filter .fs-filter-input .mud-input-outlined-border {
    border-color: #e4e7ee;
    border-radius: 10px;
}

.fs-filter .fs-filter-input .mud-input:hover .mud-input-outlined-border {
    border-color: #94a3b8;
}

.fs-filter .fs-filter-input .mud-input.mud-input-outlined.mud-input-adorned-start {
    padding-inline-start: 10px;
}

.fs-filter .fs-filter-input .mud-input-adornment .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: #94a3b8;
}

.fs-filter .fs-filter-input input.mud-input-root {
    padding: 8px 8px 8px 4px;
    font-size: 13px;
    direction: ltr;
}

    .fs-filter .fs-filter-input input.mud-input-root::placeholder {
        color: #cbd5e1;
        opacity: 1;
    }

.dark-main .fr-fares .fare-table-dark,
.dark-main .fr-fares .fare-row-dark {
    border-color: rgba(255, 255, 255, .1);
    background-color: transparent;
    color: #e5e7eb;
}

.dark-main .fr-fares .fare-header-dark {
    background-color: rgba(255, 255, 255, .06);
    color: #e5e7eb;
}

.dark-main .fr-fares tfoot .fare-header-dark {
    background-color: rgba(96, 165, 250, .12);
    color: #93c5fd;
}

.dark-main .fr-fares .fare-header-dark th,
.dark-main .fr-fares .fare-row-dark td {
    border-color: rgba(255, 255, 255, .08);
}

.dark-main .fs-filter .fs-filter-input .mud-input.mud-input-outlined {
    background-color: transparent;
}

.fr-tag small {
    font-size: 10px;
    font-weight: 700;
    opacity: .8;
}

/* ==== Flight price detail: traveler form (TravelerData) ==== */
.td-form {
    gap: 16px;
}

.td-locked {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 16px;
    border: 1px solid rgba(217, 119, 6, .35);
    border-radius: 14px;
    background-color: #fffbeb;
    color: #92400e;
}

.td-locked-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgba(217, 119, 6, .15);
    color: #d97706;
}

.td-locked-text {
    flex: 1 1 260px;
    font-size: 13.5px;
    font-weight: 600;
}

.td-passengers {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .td-passengers.is-locked {
        opacity: .7;
    }

/* Passenger card */
.td-pax {
    --td-tone: #2563eb;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

    .td-pax::before {
        content: "";
        position: absolute;
        inset-block: 0;
        inset-inline-start: 0;
        width: 4px;
        background-color: var(--td-tone);
    }

.td-pax--child { --td-tone: #7c3aed; }
.td-pax--infant { --td-tone: #db2777; }

.td-pax-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

.td-pax-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--td-tone) 12%, transparent);
    color: var(--td-tone);
}

.td-pax-title {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

    .td-pax-title b {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
    }

    .td-pax-title small {
        color: #64748b;
        font-size: 12.5px;
        font-weight: 600;
    }

.td-pax-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: var(--td-tone);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.td-pax-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .td-pax-tools .mud-file-upload {
        margin: 0;
    }

.td-tool-btn.mud-button-root {
    height: 34px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: none;
}

.td-pax-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .td-pax-group + .td-pax-group {
        padding-top: 12px;
        border-top: 1px dashed #e4e7ee;
    }

.td-pax-group-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

    .td-pax-group-title .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
        color: var(--td-tone);
    }

.td-gender {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 0 6px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #fff;
}

    .td-gender .mud-radio {
        margin: 0;
    }

    .td-gender .mud-typography {
        font-size: 13px;
        font-weight: 600;
    }

/* OCR in progress */
.td-ocr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 16px;
    border: 1px dashed #bfdbfe;
    border-radius: 12px;
    background-color: #f8fbff;
    text-align: center;
}

    .td-ocr b {
        color: #1e3a8a;
        font-size: 14px;
    }

.td-ocr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, .12);
    color: #2563eb;
    animation: td-pulse 1.4s ease-in-out infinite;
}

.td-ocr .td-ocr-bar {
    width: min(420px, 100%);
    margin: 0;
}

@keyframes td-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .35); }
    50% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
}

/* Contact + submit */
.td-contact .dn-grid {
    align-items: end;
}

.td-submit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e4e7ee;
}

.td-reserve {
    margin-inline-end: auto;
    padding: 2px 14px 2px 4px;
    border: 1px solid #e4e7ee;
    border-radius: 999px;
    transition: background-color .15s ease, border-color .15s ease;
}

    .td-reserve.is-on {
        border-color: rgba(217, 119, 6, .45);
        background-color: #fffbeb;
    }

    .td-reserve.is-disabled {
        opacity: .6;
    }

    .td-reserve .mud-switch {
        margin: 0;
    }

.td-pay-btn.mud-button-root {
    min-width: 220px;
    height: 44px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
}

@media (max-width: 991.98px) {
    .td-form .dn-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .td-form .dn-grid--4,
    .td-form .dn-grid--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .td-pax-tools,
    .td-pay-btn.mud-button-root {
        width: 100%;
    }

    .td-reserve {
        margin-inline-end: 0;
    }
}

/* ==== Issue waiting splash ==== */
fluent-dialog:has(.issue-splash)::part(control) {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}

.issue-splash {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 360px;
    padding: 28px 24px;
    text-align: center;
    user-select: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 162, 39, .14), transparent 60%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

/* Logo with a gold spinner around it */
.issue-splash-visual {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 148px;
    margin-bottom: 6px;
}

.issue-splash-glow {
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .28), transparent 70%);
    animation: issue-glow 2.4s ease-in-out infinite;
}

.issue-splash-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(201, 162, 39, .14);
    border-top-color: #c9a227;
    border-right-color: #e5c869;
    animation: issue-spin 1.2s linear infinite;
}

.issue-splash-ring--inner {
    inset: 12px;
    border-width: 2px;
    border-color: rgba(37, 99, 235, .1);
    border-bottom-color: #2563eb;
    animation-duration: 1.8s;
    animation-direction: reverse;
}

.issue-splash-logo {
    position: relative;
    z-index: 1;
    width: 92px;
    height: auto;
}

.issue-splash-title {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .2px;
}

.issue-splash-sub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
}

/* Animated "..." after the status text */
.issue-splash-dots {
    display: inline-flex;
    gap: 3px;
    margin-inline-start: 2px;
}

    .issue-splash-dots i {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
        animation: issue-dot 1.2s ease-in-out infinite;
    }

        .issue-splash-dots i:nth-child(2) {
            animation-delay: .15s;
        }

        .issue-splash-dots i:nth-child(3) {
            animation-delay: .3s;
        }

/* Indeterminate progress bar */
.issue-splash-bar {
    position: relative;
    width: min(320px, 100%);
    height: 6px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

    .issue-splash-bar span {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40%;
        border-radius: 999px;
        background: linear-gradient(90deg, #c9a227, #2563eb);
        animation: issue-bar 1.4s ease-in-out infinite;
    }

.issue-splash-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12.5px;
    font-weight: 600;
}

@keyframes issue-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes issue-glow {
    0%, 100% {
        opacity: .6;
        transform: scale(.92);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes issue-dot {
    0%, 80%, 100% {
        opacity: .25;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@keyframes issue-bar {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

.dark-main .issue-splash {
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 162, 39, .16), transparent 60%),
        linear-gradient(180deg, #1f2937 0%, #111827 100%);
}

.dark-main .issue-splash-sub {
    color: #93c5fd;
}

.dark-main .issue-splash-bar {
    background: rgba(255, 255, 255, .1);
}

.dark-main .issue-splash-note {
    background: rgba(234, 88, 12, .15);
    color: #fdba74;
}

@media (prefers-reduced-motion: reduce) {
    .issue-splash-ring,
    .issue-splash-glow,
    .issue-splash-dots i,
    .td-ocr-icon {
        animation: none;
    }
}

/* ==== Dark ==== */
.dark-main .td-pax-head,
.dark-main .td-pax-group + .td-pax-group,
.dark-main .td-submit {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .td-pax-title b,
.dark-main .issue-splash-title {
    color: #e5e7eb;
}

.dark-main .td-gender,
.dark-main .td-reserve {
    border-color: rgba(255, 255, 255, .12);
    background-color: transparent;
}

    .dark-main .td-reserve.is-on {
        background-color: rgba(251, 191, 36, .1);
    }

.dark-main .td-locked {
    border-color: rgba(251, 191, 36, .35);
    background-color: rgba(251, 191, 36, .08);
    color: #fde68a;
}

.dark-main .td-ocr {
    border-color: rgba(96, 165, 250, .35);
    background-color: rgba(96, 165, 250, .06);
}

    .dark-main .td-ocr b {
        color: #bfdbfe;
    }

/* ==== Flight price page (Prices) + shared itinerary list ==== */
.pd-card {
    padding: 16px 18px;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}

.pd-card-head,
.pd-summary-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

    .pd-card-head h6,
    .pd-summary-head h6 {
        margin: 0;
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
    }

.pd-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .pd-card-icon .mud-icon-root {
        width: 19px;
        height: 19px;
        font-size: 19px;
    }

    .pd-card-icon.is-soft {
        background-color: rgba(22, 163, 74, .1);
        color: #16a34a;
    }

.pd-flight-card {
    box-shadow: none !important;
}

    .pd-flight-card:hover {
        box-shadow: none !important;
    }

/* Itinerary list (ItineraryListDetail) */
.itn-list {
    display: flex;
    flex-direction: column;
}

.itn-flight + .itn-flight {
    border-top: 1px solid #e4e7ee;
}

/* Return flight: light gray so it stands apart from the outbound one */
.itn-flight--return {
    background-color: #f4f5f7;
}

.itn-leg + .itn-leg,
.itn-layover + .itn-leg {
    border-top: 0;
}

.itn-main {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

    .itn-main .fr-route {
        max-width: none;
    }

.itn-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.itn-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 130px;
    padding: 6px 10px;
    border-radius: 10px;
    background-color: #f8fafc;
}

    .itn-info-item > .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

    .itn-info-item > span {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .itn-info-item small {
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
    }

    .itn-info-item b {
        color: #0f172a;
        font-size: 13px;
        text-transform: capitalize;
    }

.itn-layover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 18px;
    padding: 5px 12px;
    border: 1px dashed #fcd34d;
    border-radius: 999px;
    background-color: #fffbeb;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
}

    .itn-layover .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
    }

.itn-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .3px;
    white-space: nowrap;
}

    .itn-status .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }

    .itn-status .xs-progress {
        width: 12px !important;
        height: 12px !important;
    }

    .itn-status.is-success {
        background-color: rgba(22, 163, 74, .12);
        color: #15803d;
    }

    .itn-status.is-error {
        background-color: rgba(220, 38, 38, .1);
        color: #dc2626;
    }

    .itn-status.is-warning {
        background-color: rgba(217, 119, 6, .12);
        color: #b45309;
    }

/* Price details accordion */
.pd-accordion fluent-accordion {
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.pd-accordion fluent-accordion-item {
    border: 0;
}

    .pd-accordion fluent-accordion-item::part(heading) {
        min-height: 54px;
        padding: 0 8px;
        font-size: 15px;
        font-weight: 700;
    }

.pd-fares {
    padding: 4px 6px 12px;
    background: transparent;
    max-height: none;
}

    .pd-fares .table-responsive {
        margin: 0;
    }

/* Sidebar */
.pd-aside {
    position: sticky;
    top: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-summary {
    padding: 16px;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}

.pd-currency {
    margin-inline-start: auto;
    padding: 2px 8px;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 800;
}

.pd-summary-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pd-summary-list li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px dashed #eef1f6;
        color: #64748b;
        font-size: 13px;
    }

        .pd-summary-list li b {
            color: #0f172a;
            font-size: 13.5px;
            font-variant-numeric: tabular-nums;
        }

        .pd-summary-list li.is-discount b {
            color: #16a34a;
        }

.pd-total {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .22);
}

    .pd-total span {
        font-size: 12px;
        font-weight: 600;
        opacity: .85;
    }

    .pd-total b {
        font-size: 22px;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

        .pd-total b small {
            font-size: 12px;
            font-weight: 700;
            opacity: .85;
        }

.pd-extra-input {
    position: relative;
    display: flex;
    align-items: center;
}

    .pd-extra-input input {
        width: 100%;
        height: 42px;
        padding: 0 56px 0 12px;
        border: 1px solid #e4e7ee;
        border-radius: 10px;
        background-color: #fff;
        font-size: 14px;
        font-variant-numeric: tabular-nums;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .pd-extra-input input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
        }

        .pd-extra-input input:disabled {
            background-color: #f8fafc;
            color: #94a3b8;
        }

    .pd-extra-input span {
        position: absolute;
        inset-inline-end: 12px;
        color: #94a3b8;
        font-size: 12px;
        font-weight: 700;
        pointer-events: none;
    }

/* Traveler form inside the page card: passengers no longer need their own outer padding */
.pd-card .td-form {
    gap: 14px;
}

@media (max-width: 1199.98px) {
    .itn-main {
        grid-template-columns: minmax(0, 1fr) auto;
    }

        .itn-main .fr-route {
            grid-column: 1 / -1;
            grid-row: 2;
        }
}

@media (max-width: 991.98px) {
    .pd-aside {
        position: static;
        margin-top: 16px;
    }
}

@media (max-width: 575.98px) {
    .itn-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .itn-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Dark */
.dark-main .pd-card,
.dark-main .pd-summary,
.dark-main .pd-accordion fluent-accordion {
    border-color: rgba(255, 255, 255, .1);
    background-color: var(--bg-dark-secondary, #1f2937);
}

.dark-main .pd-card-head h6,
.dark-main .pd-summary-head h6,
.dark-main .pd-summary-list li b,
.dark-main .itn-info-item b {
    color: #e5e7eb;
}

.dark-main .pd-summary-list li {
    border-color: rgba(255, 255, 255, .08);
}

.dark-main .itn-info-item,
.dark-main .pd-currency {
    background-color: rgba(255, 255, 255, .06);
    color: #cbd5e1;
}

.dark-main .itn-flight + .itn-flight {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .itn-flight--return {
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .itn-layover {
    border-color: rgba(251, 191, 36, .4);
    background-color: rgba(251, 191, 36, .08);
    color: #fbbf24;
}

.dark-main .pd-extra-input input {
    border-color: rgba(255, 255, 255, .12);
    background-color: transparent;
    color: #e5e7eb;
}

/* Contact info: country-code autocomplete at the same height as the dense fields beside it */
.td-contact .dn-grid {
    align-items: start;
}

.td-contact .mud-autocomplete,
.td-contact .mud-autocomplete .mud-input-control {
    width: 100%;
    margin: 0 !important;
}

    .td-contact .mud-autocomplete .mud-input.mud-input-outlined {
        min-height: 0;
        height: 40px;
    }

    .td-contact .mud-autocomplete input.mud-input-root {
        padding-top: 10.5px;
        padding-bottom: 10.5px;
        font-size: 14px;
    }

    .td-contact .mud-autocomplete .mud-input-adornment {
        margin-top: 0;
    }

/* DNDateInput: typeable date picker at the same height as the dense fields beside it */
.dn-date-input,
.dn-date-input .mud-input-control {
    width: 100%;
    margin: 0 !important;
}

    .dn-date-input .mud-input.mud-input-outlined {
        min-height: 0;
        height: 40px;
        border-radius: 8px;
    }

    .dn-date-input input.mud-input-root {
        padding-top: 10.5px;
        padding-bottom: 10.5px;
        font-size: 14px !important;
        letter-spacing: .4px;
        font-variant-numeric: tabular-nums;
        cursor: text;
    }

        .dn-date-input input.mud-input-root::placeholder {
            color: var(--mud-palette-text-disabled);
            opacity: 1;
        }

    .dn-date-input .mud-input-adornment {
        margin-top: 0;
    }

        .dn-date-input .mud-input-adornment .mud-icon-button {
            padding: 6px;
            color: var(--mud-palette-primary);
        }

    .dn-date-input .mud-input-control-helper-container {
        padding-inline: 2px;
    }

    .dn-date-input .mud-input-helper-text {
        font-size: 11.5px;
        line-height: 1.3;
        margin-top: 4px;
    }

/* ==== Hotel search (same language as the flight search) ==== */
/* Search form */
.hs-search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 14px;
}

.hs-search-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .hs-search-field .mud-input-control {
        margin: 0 !important;
    }

    .hs-search-field .mud-input.mud-input-outlined {
        border-radius: 10px;
    }

.hs-rooms {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #c4c4c4;
    border-radius: 10px;
    background-color: #fff;
    color: #334155;
    font-size: 13px;
    text-align: start;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .hs-rooms:hover {
        border-color: #334155;
    }

    .hs-rooms:focus-visible {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
    }

    .hs-rooms:disabled {
        opacity: .6;
        cursor: default;
    }

    .hs-rooms > .mud-icon-root {
        flex: 0 0 auto;
        width: 19px;
        height: 19px;
        font-size: 19px;
        color: #64748b;
    }

.hs-rooms-text {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

    .hs-rooms-text b {
        color: #0f172a;
        font-weight: 800;
    }

    .hs-rooms-text i {
        width: 4px;
        height: 4px;
        margin: 0 3px;
        border-radius: 50%;
        background-color: #cbd5e1;
    }

.hs-rooms-caret.mud-icon-root {
    margin-inline-start: auto;
}

/* Rooms dialog */
.hs-rooms-dialog {
    gap: 12px;
}

.hs-room {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hs-room-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .hs-room-head b {
        color: #0f172a;
        font-size: 14px;
    }

.hs-room-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background-color: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.hs-room-sum {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
    padding: 2px 10px;
    border-radius: 999px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

    .hs-room-sum .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
        color: #94a3b8;
    }

.hs-room-ages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e4e7ee;
}

.hs-room-note {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 12.5px;
}

    .hs-room-note .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }

.hs-room-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Result header */
.hs-filtered {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #f8fafc;
    color: #475569;
    font-size: 13px;
}

    .hs-filtered b {
        color: #2563eb;
        font-size: 14px;
    }

    .hs-filtered .mud-icon-root {
        width: 17px;
        height: 17px;
        font-size: 17px;
        color: #2563eb;
    }

.hs-loading-icon .mud-icon-root {
    transform: none !important;
}

/* Hotel result card */
.hc-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 220px;
    align-items: stretch;
}

    .hc-card.hotel-result-card:hover {
        transform: none;
    }

.hc-photo {
    position: relative;
    min-height: 200px;
    margin: 10px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f1f5f9;
}

    .hc-photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

.hc-card:hover .hc-photo img {
    transform: scale(1.05);
}

.hc-type {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, .65);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: capitalize;
    backdrop-filter: blur(4px);
}

.hc-score.hotel-score-badge {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    min-width: 38px;
    height: 32px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .25);
}

.hc-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 14px 16px 14px 6px;
}

.hc-info-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hc-stars .mud-rating-item {
    padding: 0 1px;
}

.hc-stars .mud-icon-root {
    width: 17px;
    height: 17px;
    font-size: 17px;
    color: #f59e0b;
}

.hc-name {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.hc-address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    color: #64748b;
    font-size: 12.5px;
}

    .hc-address .mud-icon-root {
        flex: 0 0 auto;
        width: 16px;
        height: 16px;
        font-size: 16px;
        color: #2563eb;
    }

.hc-amenities .amenity-chip {
    border: 1px solid #eef1f6;
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
}

.hc-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #eef1f6;
    color: #64748b;
    font-size: 12px;
}

    .hc-contact > span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
    }

    .hc-contact .mud-icon-root {
        flex: 0 0 auto;
        width: 15px;
        height: 15px;
        font-size: 15px;
        color: #94a3b8;
    }

    .hc-contact a {
        color: #2563eb;
        text-decoration: none;
    }

.hc-price {
    border-inline-start: 1px dashed #e4e7ee;
}

.hc-stay {
    display: flex;
    justify-content: center;
    gap: 6px;
}

    .hc-stay span {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        padding: 2px 8px;
        border-radius: 999px;
        background-color: #fff;
        border: 1px solid #e4e7ee;
        color: #475569;
        font-size: 11.5px;
        font-weight: 700;
    }

    .hc-stay .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
        color: #94a3b8;
    }

.hc-price .fr-actions:empty {
    display: none;
}

/* Hotel filter extras */
.hs-map-selected {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 12.5px;
}

    .hs-map-selected .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }

.hs-map {
    position: relative;
    overflow: hidden;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
}

    .hs-map img {
        display: block;
        width: 100%;
    }

    .hs-map .hs-map-btn {
        position: absolute;
        bottom: 8px;
        left: 8px;
        right: 8px;
        width: auto !important;
        border-radius: 10px;
        font-weight: 700;
        text-transform: none;
    }

.hs-price-range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 6px 0 10px;
    padding: 6px 10px;
    border-radius: 10px;
    background-color: #f8fafc;
    color: #64748b;
    font-size: 12px;
}

    .hs-price-range b {
        color: #0f172a;
        font-size: 12.5px;
        font-variant-numeric: tabular-nums;
    }

.fs-filter .filter-sub-accordion .mud-expand-panel {
    border: 0;
    box-shadow: none !important;
}

.fs-filter .filter-sub-accordion .mud-expand-panel-header {
    min-height: 0;
    border-bottom: 0;
    background: transparent;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .hs-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hc-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .hc-price {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        border-inline-start: 0;
        border-top: 1px dashed #e4e7ee;
    }

        .hc-price .fr-price-main {
            align-items: flex-start;
            text-align: start;
        }

        .hc-price .flight-button-wrap {
            grid-column: 1 / -1;
        }
}

@media (max-width: 575.98px) {
    .hs-search-grid,
    .hc-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .hc-photo {
        min-height: 180px;
    }

    .hc-info {
        padding: 4px 16px 12px;
    }
}

/* Dark */
.dark-main .hs-rooms,
.dark-main .hs-filtered,
.dark-main .hc-stay span,
.dark-main .hs-room-sum,
.dark-main .hs-price-range,
.dark-main .hc-amenities .amenity-chip {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, .05);
    color: #cbd5e1;
}

.dark-main .hs-rooms-text b,
.dark-main .hc-name,
.dark-main .hs-room-head b,
.dark-main .hs-price-range b {
    color: #e5e7eb;
}

.dark-main .hc-contact,
.dark-main .hs-room-ages,
.dark-main .hc-price {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .hs-map-selected {
    background-color: rgba(96, 165, 250, .12);
    color: #93c5fd;
}

/* Hotel filters: option rows without borders */
.hs-results .fs-filter .frm-slicing {
    border-color: transparent;
    background-color: transparent;
}

    .hs-results .fs-filter .frm-slicing:hover {
        background-color: #f8fafc;
    }

    .hs-results .fs-filter .frm-slicing:has(.form-check-input:checked) {
        border-color: transparent;
        background-color: #eff6ff;
    }

.dark-main .hs-results .fs-filter .frm-slicing:hover {
    background-color: rgba(255, 255, 255, .05);
}

/* ==== Hotel rooms view (RoomView / RoomDetailsList) ==== */
.rv-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Stay summary strip */
.rv-stay {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.rv-stay-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

    .rv-stay-item > div {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.25;
    }

    .rv-stay-item small {
        color: #64748b;
        font-size: 11.5px;
        font-weight: 600;
    }

    .rv-stay-item b {
        color: #0f172a;
        font-size: 13.5px;
        font-variant-numeric: tabular-nums;
    }

.rv-stay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

/* Hotel + gallery */
.rv-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 16px;
}

.rv-hotel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rv-hotel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.rv-hotel-name {
    margin: 4px 0 8px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.rv-score.hotel-score-badge {
    min-width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 16px;
}

.rv-score-sm.hotel-score-badge {
    min-width: 32px;
    height: 26px;
    border-radius: 8px;
    font-size: 12px;
}

.rv-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px dashed #eef1f6;
    list-style: none;
}

    .rv-contact li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        color: #475569;
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .rv-contact .mud-icon-root {
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

    .rv-contact a {
        color: #2563eb;
        text-decoration: none;
    }

.rv-map-btn.mud-button-root,
.rv-change-btn.mud-button-root {
    align-self: flex-start;
    border-radius: 10px;
    font-weight: 600;
    text-transform: none;
}

.rv-gallery {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f1f5f9;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}

    .rv-gallery .rv-carousel {
        height: 100% !important;
        min-height: 300px;
    }

    .rv-gallery .RoomCarImg-container,
    .rv-gallery .RoomCarImg-container a {
        width: 100%;
        height: 100%;
    }

    .rv-gallery .RoomCarImg {
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: cover;
    }

.rv-gallery-count {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, .65);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

    .rv-gallery-count .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
    }

.rv-noimage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
    min-height: 300px;
    color: #94a3b8;
    font-weight: 600;
}

.rv-desc {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .rv-desc li {
        position: relative;
        padding-inline-start: 14px;
        color: #475569;
        font-size: 13px;
    }

        .rv-desc li::before {
            content: "";
            position: absolute;
            inset-inline-start: 0;
            top: 7px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: #2563eb;
        }

/* Room packages */
.rv-rooms-row {
    --bs-gutter-y: 16px;
}

.rv-packages {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rv-package.hotel-result-card:hover {
    transform: none;
}

.rv-package-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
}

.rv-rooms {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
}

.rv-room {
    display: flex;
    gap: 12px;
}

    .rv-room + .rv-room {
        padding-top: 12px;
        border-top: 1px dashed #eef1f6;
    }

.rv-room-thumb {
    flex: 0 0 auto;
    width: 92px;
    height: 76px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f1f5f9;
}

    .rv-room-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.rv-room-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.rv-room-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .rv-room-title b {
        color: #0f172a;
        font-size: 14.5px;
        font-weight: 800;
    }

.rv-room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .rv-room-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 2px 9px;
        border: 1px solid #eef1f6;
        border-radius: 999px;
        background-color: #f8fafc;
        color: #475569;
        font-size: 12px;
        font-weight: 600;
    }

    .rv-room-meta .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
        color: #94a3b8;
    }

.rv-room-notes {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .rv-room-notes li {
        display: flex;
        align-items: flex-start;
        gap: 5px;
        color: #64748b;
        font-size: 12px;
    }

        .rv-room-notes li b {
            color: #334155;
            font-weight: 700;
        }

    .rv-room-notes .mud-icon-root {
        flex: 0 0 auto;
        width: 14px;
        height: 14px;
        font-size: 14px;
        color: #16a34a;
    }

.rv-policies {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .rv-policies .cancel-policy-badge {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        margin: 0;
        padding: 6px 10px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 600;
    }

    .rv-policies .cancel-policy-ok {
        background-color: rgba(22, 163, 74, .08);
        color: #15803d;
    }

    .rv-policies .cancel-policy-warn {
        background-color: rgba(217, 119, 6, .08);
        color: #b45309;
    }

.rv-price {
    border-inline-start: 1px dashed #e4e7ee;
}

.rv-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.rv-flag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

    .rv-flag .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }

    .rv-flag.is-ok {
        background-color: rgba(22, 163, 74, .12);
        color: #15803d;
    }

    .rv-flag.is-bad {
        background-color: rgba(220, 38, 38, .1);
        color: #dc2626;
    }

.rv-fares-btn.mud-button-root {
    text-transform: none;
    font-weight: 600;
}

/* Hotel fare grid uses table-bordered: light look inside cards */
.fr-fares .table {
    margin: 0;
    overflow: hidden;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

    .fr-fares .table > :not(caption) > * > * {
        border-width: 0 0 1px;
        border-color: #f1f5f9;
    }

/* Price view: selected hotel */
.rv-selected {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.rv-selected-photo {
    overflow: hidden;
    height: 180px;
    border-radius: 12px;
    background-color: #f1f5f9;
}

    .rv-selected-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.rv-selected-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

    .rv-selected-info .rv-hotel-name {
        margin: 0;
        font-size: 18px;
    }

.rv-selected-rooms {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    background-color: #f8fafc;
}

.rv-selected-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

    .rv-selected-title .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

.rv-selected-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .rv-selected-list li {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #0f172a;
        font-size: 13px;
        font-weight: 600;
    }

/* Responsive */
@media (max-width: 1199.98px) {
    .rv-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .rv-selected {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .rv-selected-rooms {
        grid-column: 1 / -1;
    }

    .rv-package-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .rv-price {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        border-inline-start: 0;
        border-top: 1px dashed #e4e7ee;
    }

        .rv-price .rv-flags {
            grid-column: 1 / -1;
            justify-content: flex-start;
        }

        .rv-price .fr-price-main {
            align-items: flex-start;
        }
}

@media (max-width: 575.98px) {
    .rv-selected {
        grid-template-columns: minmax(0, 1fr);
    }

    .rv-room-thumb {
        display: none;
    }

    .rv-price {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Dark */
.dark-main .rv-stay-item,
.dark-main .rv-selected-rooms {
    border-color: rgba(255, 255, 255, .1);
    background-color: var(--bg-dark-secondary, #1f2937);
}

.dark-main .rv-stay-item b,
.dark-main .rv-hotel-name,
.dark-main .rv-room-title b,
.dark-main .rv-selected-list li,
.dark-main .rv-room-notes li b {
    color: #e5e7eb;
}

.dark-main .rv-contact li,
.dark-main .rv-desc li {
    color: #cbd5e1;
}

.dark-main .rv-room-meta span {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .05);
    color: #cbd5e1;
}

.dark-main .rv-contact,
.dark-main .rv-room + .rv-room,
.dark-main .rv-price {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .rv-gallery,
.dark-main .rv-room-thumb,
.dark-main .rv-selected-photo {
    background-color: rgba(255, 255, 255, .05);
}

/* ---- Dual-handle price range (hotel filters) ---- */
.hs-range {
    position: relative;
    height: 28px;
    margin: 6px 10px 4px;
    direction: ltr;
}

.hs-range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 999px;
    background-color: #e2e8f0;
    transform: translateY(-50%);
}

.hs-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--from, 0%);
    right: calc(100% - var(--to, 100%));
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.hs-range-input {
    position: absolute;
    top: 0;
    left: -10px;
    width: calc(100% + 20px);
    height: 28px;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

    .hs-range-input:focus {
        outline: none;
    }

    .hs-range-input::-webkit-slider-runnable-track {
        height: 28px;
        background: transparent;
    }

    .hs-range-input::-moz-range-track {
        height: 28px;
        background: transparent;
    }

    .hs-range-input::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
        margin-top: 4px;
        border: 3px solid #fff;
        border-radius: 50%;
        background-color: #2563eb;
        box-shadow: 0 0 0 1px #2563eb, 0 2px 6px rgba(37, 99, 235, .35);
        cursor: grab;
        pointer-events: auto;
        -webkit-appearance: none;
        appearance: none;
        transition: transform .12s ease;
    }

    .hs-range-input::-moz-range-thumb {
        width: 14px;
        height: 14px;
        border: 3px solid #fff;
        border-radius: 50%;
        background-color: #2563eb;
        box-shadow: 0 0 0 1px #2563eb, 0 2px 6px rgba(37, 99, 235, .35);
        cursor: grab;
        pointer-events: auto;
    }

    .hs-range-input:active::-webkit-slider-thumb {
        cursor: grabbing;
        transform: scale(1.12);
    }

    .hs-range-input:focus-visible::-webkit-slider-thumb {
        box-shadow: 0 0 0 1px #2563eb, 0 0 0 5px rgba(37, 99, 235, .2);
    }

.hs-range-labels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 10px;
}

    .hs-range-labels span {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: 6px 10px;
        border: 1px solid #eef1f6;
        border-radius: 10px;
        background-color: #f8fafc;
        line-height: 1.25;
    }

        .hs-range-labels span:last-child {
            text-align: end;
        }

    .hs-range-labels small {
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
    }

    .hs-range-labels b {
        color: #0f172a;
        font-size: 12.5px;
        font-variant-numeric: tabular-nums;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.dark-main .hs-range-track {
    background-color: rgba(255, 255, 255, .12);
}

.dark-main .hs-range-labels span {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .05);
}

.dark-main .hs-range-labels b {
    color: #e5e7eb;
}

/* Hotel search: date-range picker at the same 40px height as the other fields */
.hs-search-grid .dnd-datepicker-wrapper,
.hs-search-grid .dnd-datepicker-wrapper .clickable-field,
.hs-search-grid .dnd-datepicker-wrapper .mud-input-control {
    width: 100%;
    margin: 0 !important;
}

    .hs-search-grid .dnd-datepicker-wrapper .mud-input.mud-input-outlined {
        height: 40px;
        min-height: 0;
        border-radius: 10px;
    }

    .hs-search-grid .dnd-datepicker-wrapper input.mud-input-root {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 14px;
    }

    .hs-search-grid .dnd-datepicker-wrapper .mud-input-adornment .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

.hs-search-grid .display-table {
    display: flex;
}

/* Missing hotel photo */
.hc-photo img.is-fallback,
.rv-selected-photo img.is-fallback {
    object-fit: cover;
    opacity: .9;
}

/* Hotel search date field: the end-adornment icon button (12px padding) made the box taller than 40px */
.hs-search-grid .dnd-datepicker-wrapper .mud-input-control,
.hs-search-grid .dnd-datepicker-wrapper .mud-input-control-input-container,
.hs-search-grid .dnd-datepicker-wrapper .mud-input.mud-input-outlined {
    height: 40px !important;
    min-height: 0 !important;
    max-height: 40px;
}

.hs-search-grid .dnd-datepicker-wrapper .mud-input-adornment .mud-icon-button {
    padding: 4px;
}

.hs-search-grid .dnd-datepicker-wrapper .mud-input-outlined-border {
    top: 0;
}

.hs-search-grid .dnd-datepicker-wrapper .mud-input-control-helper-container {
    display: none;
}

/* ---- Hotel price slider: no frame around the range inputs ---- */
.hs-range-input,
.hs-range-input:hover,
.hs-range-input:focus,
.hs-range-input:focus-visible,
.hs-range-input:active {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* ---- Hotels on map (filter sidebar) ---- */
.hs-map {
    cursor: pointer;
    border-color: #dbe4f0;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .hs-map img {
        height: 150px;
        object-fit: cover;
        transition: transform .3s ease;
    }

    .hs-map::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, .45) 100%);
        pointer-events: none;
    }

    .hs-map:hover,
    .hs-map:focus-visible {
        border-color: #93c5fd;
        box-shadow: 0 6px 16px rgba(37, 99, 235, .15);
        outline: none;
    }

        .hs-map:hover img {
            transform: scale(1.04);
        }

    .hs-map .hs-map-btn {
        z-index: 2;
    }

.hs-map-pin {
    position: absolute;
    top: 38%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 3px solid #fff;
    border-radius: 50%;
    background-color: #2563eb;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .4);
    transform: translate(-50%, -50%);
}

    .hs-map-pin .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

.hs-map-count {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .92);
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .15);
}

    .hs-map-count .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
        color: #2563eb;
    }

.hs-map-selected {
    border: 1px solid #bfdbfe;
}

.hs-map-selected-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

    .hs-map-selected-text small {
        color: #64748b;
        font-size: 10.5px;
        font-weight: 600;
    }

    .hs-map-selected-text b {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.hs-map-clear {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, .1);
    color: #1d4ed8;
    cursor: pointer;
}

    .hs-map-clear:hover {
        background-color: #fee2e2;
        color: #dc2626;
    }

    .hs-map-clear .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
    }

/* ---- Map dialog ---- */
.hm-dialog {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.hm-count,
.hm-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12.5px;
}

.hm-count {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.hm-hint {
    background-color: #f8fafc;
    color: #64748b;
}

    .hm-count .mud-icon-root,
    .hm-hint .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }

.hm-map {
    overflow: hidden;
    border: 1px solid #e4e7ee;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}

/* marker popup */
#popup-marker.hm-popup {
    min-width: 180px;
    max-width: 260px;
    height: auto;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
}

    #popup-marker.hm-popup:empty {
        display: none;
    }

    #popup-marker.hm-popup:before {
        right: auto;
        bottom: -7px;
        left: 50%;
        width: 14px;
        height: 14px;
        border: 0;
        background: #fff;
        transform: translateX(-50%) rotate(45deg);
    }

.hm-popup-title {
    margin-bottom: 4px;
    overflow: hidden;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-popup-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hm-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    background-color: #16a34a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.hm-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background-color: #eff6ff;
}

    .hm-selected.is-empty {
        border-style: dashed;
        border-color: #cbd5e1;
        background-color: #f8fafc;
    }

.hm-selected-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: #2563eb;
    color: #fff;
}

.hm-selected.is-empty .hm-selected-icon {
    background-color: #e2e8f0;
    color: #64748b;
}

.hm-selected-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

    .hm-selected-body small {
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
    }

    .hm-selected-body b {
        overflow: hidden;
        color: #0f172a;
        font-size: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hm-selected-body span {
        color: #94a3b8;
        font-size: 13px;
    }

.hm-actions {
    margin-top: 0;
}

.dark-main .hm-count,
.dark-main .hm-selected {
    border-color: rgba(96, 165, 250, .3);
    background-color: rgba(96, 165, 250, .12);
    color: #93c5fd;
}

.dark-main .hm-hint,
.dark-main .hm-selected.is-empty {
    border-color: rgba(255, 255, 255, .15);
    background-color: rgba(255, 255, 255, .05);
}

.dark-main .hm-map {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .hm-selected-body b {
    color: #e5e7eb;
}


/* ==== Flight results: responsive layout (must stay after the "Flight search tweaks" block) ==== */
@media (max-width: 991.98px) {
    .fr-card-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .fr-price {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "tags actions"
            "main actions"
            "book book";
        align-items: center;
        gap: 8px 12px;
        padding: 12px 16px;
        border-inline-start: 0;
        border-top: 1px dashed #e4e7ee;
    }

    .fr-price-tags {
        grid-area: tags;
        justify-content: flex-start;
    }

    .fr-price-main {
        grid-area: main;
        align-items: flex-start;
        text-align: start;
    }

    .fr-actions {
        grid-area: actions;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .fr-price .flight-button-wrap {
        grid-area: book;
    }

    .fr-route {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .fs-daynav {
        gap: 8px;
    }

        .fs-daynav .fs-daynav-btn {
            flex: 1 1 0;
            min-width: 0;
        }

    .fs-sort {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .fs-sort::-webkit-scrollbar {
            display: none;
        }

    .fs-sort-btn {
        flex: 1 0 auto;
        white-space: nowrap;
        font-size: 12.5px;
    }

    .fr-fares {
        padding: 10px;
    }

        .fr-fares table {
            min-width: 520px;
        }
}

@media (max-width: 575.98px) {
    .fs-results .detailbox-container {
        --bs-gutter-x: 0;
    }

    .fr-flight {
        gap: 10px;
        padding: 12px;
    }

    .fr-flight-meta {
        flex-wrap: wrap;
        gap: 6px;
    }

    .fr-flight-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .fr-airline {
        padding-bottom: 10px;
        border-bottom: 1px solid #f1f5f9;
    }

    .fr-route {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
    }

    .fr-time {
        font-size: 17px;
    }

    .fr-code {
        font-size: 12px;
    }

    .fr-path-duration,
    .fr-path-stops {
        font-size: 11px;
    }

    .fr-path-stops {
        line-height: 1.3;
    }

    .fr-path-layover {
        display: block;
    }

    .fr-price {
        padding: 12px;
    }

    .fr-price-amount {
        font-size: 19px;
    }

    .fr-action,
    .fr-seats {
        height: 32px;
    }

    .fr-action {
        width: 32px;
    }
}

.dark-main .fr-airline {
    border-color: rgba(255, 255, 255, .08);
}

@media (max-width: 991.98px) {
    .dark-main .fr-price {
        border-color: rgba(255, 255, 255, .1);
    }
}

/* ==== Previous passengers dialog: mobile ==== */
@media (max-width: 767.98px) {
    fluent-dialog::part(control) {
        max-width: calc(100vw - 16px) !important;
    }

    .old-pax-dialog .old-pax-search {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }

        .old-pax-dialog .old-pax-search .old-pax-search-btn {
            grid-column: 1 / -1;
            width: 100%;
        }

    /* rows become cards instead of a wide table */
    .old-pax-grid .table-responsive {
        overflow-x: visible !important;
    }

    .old-pax-grid table {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0;
    }

        .old-pax-grid table thead {
            display: none;
        }

        .old-pax-grid table tbody {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

            .old-pax-grid table tbody tr.old-pax-row {
                display: grid;
                grid-template-columns: auto minmax(0, 1fr) auto;
                grid-template-areas:
                    "person person check"
                    "surname id check";
                align-items: center;
                gap: 6px 8px;
                padding: 10px 12px;
                border: 1px solid #e4e7ee;
                border-radius: 12px;
                background-color: #fff;
            }

                .old-pax-grid table tbody tr.old-pax-row.is-selected,
                .old-pax-grid table tbody tr.old-pax-row.is-selected:hover {
                    border-color: #93c5fd;
                    box-shadow: inset 3px 0 0 #2563eb;
                }

                .old-pax-grid table tbody tr.old-pax-row > td {
                    display: block;
                    padding: 0;
                    border: 0;
                    background: transparent;
                }

                    .old-pax-grid table tbody tr.old-pax-row > td:first-child {
                        grid-area: person;
                        min-width: 0;
                    }

    .old-pax-grid .old-pax-surname {
        grid-area: surname;
        padding-inline-start: 46px !important;
        font-size: 13px;
    }

    .old-pax-grid table tbody tr.old-pax-row > td:has(.old-pax-id) {
        grid-area: id;
        justify-self: end;
    }

    .old-pax-grid .old-pax-check {
        grid-area: check;
        align-self: center;
    }

    .old-pax-grid .old-pax-name > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .old-pax-dialog .dn-list-actions {
        gap: 8px;
    }

        .old-pax-dialog .dn-list-actions .dn-list-count {
            flex: 1 0 100%;
        }

        .old-pax-dialog .dn-list-actions .dn-form-secondary,
        .old-pax-dialog .dn-list-actions .dn-form-submit {
            flex: 1 1 0;
            min-width: 0;
        }

    .dark-main .old-pax-grid table tbody tr.old-pax-row {
        border-color: rgba(255, 255, 255, .1);
        background-color: rgba(255, 255, 255, .03);
    }
}

@media (max-width: 399.98px) {
    .old-pax-dialog .old-pax-search {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==== Complete process dialog (flight TicketView) ==== */
.complete-process .cp-row {
    margin-top: 12px;
}

.complete-process .dn-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cp-changed {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    background-color: #fef3c7;
    color: #b45309;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .2px;
}

.complete-process .cp-is-changed .mud-input-outlined-border {
    border-color: #f59e0b !important;
}

.complete-process .cp-is-changed .mud-input {
    background-color: #fffbeb;
}

.complete-process .cp-traveler {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.complete-process .cp-eticket {
    max-width: 50%;
}

.complete-process .ct-head {
    min-height: 0;
}

.cp-errors {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background-color: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
}

    .cp-errors .mud-icon-root {
        flex: 0 0 auto;
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

    .cp-errors ul {
        margin: 0;
        padding-inline-start: 16px;
    }

@media (max-width: 767.98px) {
    .complete-process .cp-eticket {
        max-width: none;
    }
}

.dark-main .cp-changed {
    background-color: rgba(245, 158, 11, .15);
    color: #fbbf24;
}

.dark-main .complete-process .cp-is-changed .mud-input {
    background-color: rgba(245, 158, 11, .06);
}

.dark-main .cp-errors {
    border-color: rgba(248, 113, 113, .3);
    background-color: rgba(248, 113, 113, .08);
    color: #fca5a5;
}

/* ==== Flight search: this user's recent searches (under Start Search) ==== */
.fs-recent {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e4e7ee;
}

.fs-recent-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

    .fs-recent-title .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #2563eb;
    }

.fs-recent-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fs-recent-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e4e7ee;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: inherit;
    text-align: start;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .fs-recent-item:hover:not(:disabled),
    .fs-recent-item:focus-visible {
        border-color: rgba(37, 99, 235, .5);
        box-shadow: 0 8px 20px rgba(37, 99, 235, .12);
        transform: translateY(-1px);
        outline: none;
    }

    .fs-recent-item:disabled {
        cursor: default;
        opacity: .6;
    }

.fs-recent-type {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
}

    .fs-recent-type .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }

.fs-recent-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
}

    .fs-recent-route.is-multi {
        display: block;
        overflow: hidden;
        color: #0f172a;
        font-size: 13.5px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.fs-recent-point {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

    .fs-recent-point.is-end {
        align-items: flex-end;
        text-align: end;
    }

    .fs-recent-point b {
        color: #0f172a;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .5px;
    }

    .fs-recent-point small {
        max-width: 100%;
        overflow: hidden;
        color: #64748b;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.fs-recent-arrow.mud-icon-root {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #94a3b8;
}

.fs-recent-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #eef1f6;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

    .fs-recent-meta > span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
        white-space: nowrap;
    }

    .fs-recent-meta .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
        color: #94a3b8;
    }

.fs-recent-go {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #2563eb;
    color: #fff;
    opacity: 0;
    transform: scale(.85);
    transition: opacity .15s ease, transform .15s ease;
}

    .fs-recent-go .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
    }

.fs-recent-item:hover:not(:disabled) .fs-recent-go,
.fs-recent-item:focus-visible .fs-recent-go {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1199.98px) {
    .fs-recent-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .fs-recent-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .fs-recent-go {
        opacity: 1;
        transform: none;
    }
}

.dark-main .fs-recent {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .fs-recent-title {
    color: #cbd5e1;
}

.dark-main .fs-recent-item {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .03);
}

.dark-main .fs-recent-type {
    background-color: rgba(96, 165, 250, .12);
    color: #93c5fd;
}

.dark-main .fs-recent-point b,
.dark-main .fs-recent-route.is-multi {
    color: #e5e7eb;
}

.dark-main .fs-recent-meta {
    border-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

/* ==== Hotel search: this user's recent searches (uses the flight fs-recent boxes) ==== */
.hs-recent-city {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

    .hs-recent-city > .mud-icon-root {
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        padding: 6px;
        border-radius: 10px;
        background-color: rgba(37, 99, 235, .1);
        color: #2563eb;
        font-size: 18px;
    }

    .hs-recent-city > span {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.2;
    }

    .hs-recent-city b {
        overflow: hidden;
        color: #0f172a;
        font-size: 15px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hs-recent-city small {
        overflow: hidden;
        color: #64748b;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.dark-main .hs-recent-city b {
    color: #e5e7eb;
}

/* ==== Flight cancelation request dialog (TicketView → Insert cancelation) ==== */
.cancel-form .cx-row {
    margin-top: 12px;
}

.cancel-form .dn-check.is-checked {
    border-color: rgba(37, 99, 235, .45);
    background-color: #f5f9ff;
}

.cx-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #64748b;
    font-size: 12px;
}

    .cx-note .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
        color: #2563eb;
    }

.cancel-form .ct-block.is-disabled {
    background-color: #f8fafc;
    opacity: .7;
}

.cx-blocked {
    margin-inline-start: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background-color: #fef3c7;
    color: #b45309;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.cx-legs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cx-leg {
    display: inline-flex;
    align-items: center;
    padding: 0 10px 0 2px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #fff;
    font-size: 12.5px;
}

    .cx-leg.is-on {
        border-color: rgba(37, 99, 235, .5);
        background-color: #eff6ff;
    }

    .cx-leg.is-disabled {
        border-style: dashed;
        opacity: .6;
    }

    .cx-leg .mud-checkbox {
        margin: 0;
    }

.cx-desc-title {
    justify-content: space-between;
}

    .cx-desc-title > span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .cx-desc-title .cx-generate {
        border-radius: 10px;
        text-transform: none;
        font-weight: 600;
    }

.cx-result {
    padding: 14px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background-color: #f0fdf4;
}

.cx-result-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

    .cx-result-head > div {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }

    .cx-result-head b {
        color: #166534;
        font-size: 14px;
    }

    .cx-result-head small {
        color: #4d7c0f;
        font-size: 12px;
    }

.cx-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #16a34a;
    color: #fff;
}

.cx-result-table {
    overflow-x: auto;
    border: 1px solid #dcfce7;
    border-radius: 10px;
    background-color: #fff;
}

    .cx-result-table table {
        min-width: 560px;
        width: 100%;
        font-size: 12.5px;
    }

    .cx-result-table th {
        padding: 8px 10px;
        border-bottom: 1px solid #e8edf5;
        background-color: #f8fafc;
        color: #475569;
        font-size: 11.5px;
        font-weight: 700;
        white-space: nowrap;
    }

    .cx-result-table td {
        padding: 8px 10px;
        border-bottom: 1px solid #f1f5f9;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

        .cx-result-table td small {
            color: #64748b;
        }

    .cx-result-table tfoot td {
        border-bottom: 0;
        background-color: #f8fafc;
        font-weight: 800;
    }

    .cx-result-table .is-penalty {
        color: #b91c1c;
    }

    .cx-result-table .is-refund {
        color: #15803d;
        font-weight: 700;
    }

.dark-main .cancel-form .dn-check.is-checked,
.dark-main .cx-leg.is-on {
    border-color: rgba(96, 165, 250, .4);
    background-color: rgba(96, 165, 250, .1);
}

.dark-main .cancel-form .ct-block.is-disabled,
.dark-main .cx-leg {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

.dark-main .cx-result {
    border-color: rgba(74, 222, 128, .3);
    background-color: rgba(22, 163, 74, .08);
}

.dark-main .cx-result-head b {
    color: #86efac;
}

.dark-main .cx-result-table {
    border-color: rgba(255, 255, 255, .1);
    background-color: transparent;
}

    .dark-main .cx-result-table th,
    .dark-main .cx-result-table tfoot td {
        background-color: rgba(255, 255, 255, .04);
        color: #cbd5e1;
    }

    .dark-main .cx-result-table td {
        border-color: rgba(255, 255, 255, .06);
    }

/* ==== Cancelation view details dialog ==== */
.cvd {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cvd-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cvd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background-color: #fff;
}

    .cvd-item > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        line-height: 1.3;
    }

    .cvd-item small {
        color: #64748b;
        font-size: 11.5px;
        font-weight: 600;
    }

    .cvd-item b {
        max-width: 100%;
        overflow: hidden;
        color: #0f172a;
        font-size: 13.5px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cvd-item.is-expired {
        border-color: #fecaca;
        background-color: #fef2f2;
    }

        .cvd-item.is-expired b {
            color: #b91c1c;
        }

.cvd-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .cvd-icon .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

.cvd-item.is-expired .cvd-icon {
    background-color: rgba(220, 38, 38, .12);
    color: #dc2626;
}

.cvd-flag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    margin-top: 2px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

    .cvd-flag.is-yes {
        background-color: #dcfce7;
        color: #15803d;
    }

    .cvd-flag.is-no {
        background-color: #f1f5f9;
        color: #64748b;
    }

.cvd-section .dn-form-section-title {
    margin-bottom: 10px;
}

.cvd-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
}

.cvd-table {
    border-color: #e8edf5;
}

    .cvd-table table {
        min-width: 720px;
    }

.cvd-airline {
    padding: 1px 6px;
    border-radius: 5px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.cvd-arrow {
    color: #94a3b8;
}

@media (max-width: 575.98px) {
    .cvd-summary {
        grid-template-columns: minmax(0, 1fr);
    }
}

.dark-main .cvd-item {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

    .dark-main .cvd-item b {
        color: #e5e7eb;
    }

    .dark-main .cvd-item.is-expired {
        border-color: rgba(248, 113, 113, .35);
        background-color: rgba(220, 38, 38, .1);
    }

.dark-main .cvd-flag.is-yes {
    background-color: rgba(34, 197, 94, .15);
    color: #86efac;
}

.dark-main .cvd-flag.is-no,
.dark-main .cvd-airline {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

.dark-main .cvd-count {
    background-color: rgba(96, 165, 250, .15);
    color: #93c5fd;
}

/* ==== Shared confirm dialog (ConfirmDialog) ==== */
/* A confirmation does not need the 800px most callers pass: keep it compact. */
fluent-dialog:has(.cd-box) {
    --dialog-width: 460px !important;
}

    fluent-dialog:has(.cd-box)::part(control) {
        max-width: calc(100vw - 24px);
        border-radius: 18px;
    }

.cd-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.cd-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .cd-head-icon .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }

.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 4px 4px;
    text-align: center;
}

.cd-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, .1);
}

    .cd-icon .mud-icon-root {
        width: 32px;
        height: 32px;
        font-size: 32px;
    }

.cd-title {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
    white-space: pre-line;
}

.cd-text {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.cd-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

    .cd-actions .cd-btn {
        height: 42px;
        border-radius: 12px;
        font-weight: 700;
        text-transform: none;
    }

    .cd-actions .cd-btn--cancel {
        border-color: #e2e8f0;
        color: #475569;
    }

        .cd-actions .cd-btn--cancel:hover {
            border-color: #fecaca;
            background-color: #fef2f2;
            color: #dc2626;
        }

    .cd-actions .cd-btn--confirm {
        box-shadow: 0 6px 14px rgba(37, 99, 235, .25);
    }

.dark-main .cd-head {
    color: #cbd5e1;
}

.dark-main .cd-title {
    color: #e5e7eb;
}

.dark-main .cd-icon {
    background: rgba(245, 158, 11, .15);
    color: #fbbf24;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, .06);
}

.dark-main .cd-actions .cd-btn--cancel {
    border-color: rgba(255, 255, 255, .15);
    color: #cbd5e1;
}

/* ==== Cancelation quote decision dialog (uses the cvd / cx-result-table styles) ==== */
.cqd-totals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cqd-total {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background-color: #f8fafc;
}

    .cqd-total small {
        color: #64748b;
        font-size: 11.5px;
        font-weight: 600;
    }

    .cqd-total b {
        overflow: hidden;
        color: #0f172a;
        font-size: 17px;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .cqd-total b span {
            color: #94a3b8;
            font-size: 11px;
            font-weight: 700;
        }

    .cqd-total.is-penalty {
        border-color: #fecaca;
        background-color: #fef2f2;
    }

        .cqd-total.is-penalty b {
            color: #b91c1c;
        }

    .cqd-total.is-refund {
        border-color: #bbf7d0;
        background-color: #f0fdf4;
    }

        .cqd-total.is-refund b {
            color: #15803d;
        }

.cqd-actions .cqd-btn {
    min-width: 130px;
    height: 40px;
    border-radius: 11px;
    font-weight: 700;
    text-transform: none;
}

.cqd-actions .cqd-btn--accept {
    box-shadow: 0 6px 14px rgba(22, 163, 74, .25);
}

@media (max-width: 575.98px) {
    .cqd-totals {
        grid-template-columns: minmax(0, 1fr);
    }

    .cqd-actions .cqd-btn {
        flex: 1 1 0;
        min-width: 0;
    }
}

.dark-main .cqd-total {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
}

    .dark-main .cqd-total b {
        color: #e5e7eb;
    }

    .dark-main .cqd-total.is-penalty {
        border-color: rgba(248, 113, 113, .3);
        background-color: rgba(220, 38, 38, .08);
    }

        .dark-main .cqd-total.is-penalty b {
            color: #fca5a5;
        }

    .dark-main .cqd-total.is-refund {
        border-color: rgba(74, 222, 128, .3);
        background-color: rgba(22, 163, 74, .08);
    }

        .dark-main .cqd-total.is-refund b {
            color: #86efac;
        }


/* ==========================================================================
   Sidebar navigation (MainMenu)
   Desktop (>= 992px): sticky sidebar, collapsible to an icon rail.
   Tablet / mobile (<= 991px): off-canvas drawer opened by #navmenu-toggle.
   ========================================================================== */

.navmenu {
    --nav-bg: #ffffff;
    --nav-border: #e6ebf2;
    --nav-text: #475569;
    --nav-text-strong: #0f172a;
    --nav-muted: #94a3b8;
    --nav-hover: #f1f5f9;
    --nav-chip: #f1f5f9;
    --nav-line: #e2e8f0;
    --nav-group-bg: #f8fafc;
    --nav-accent: #4497ff;
    --nav-accent-strong: #1f6fe5;
    --nav-accent-soft: rgba(68, 151, 255, .12);
    --nav-accent-text: #1f6fe5;
    --nav-shadow: 0 8px 18px -8px rgba(31, 111, 229, .55);
    --nav-backdrop: rgba(15, 23, 42, .45);
    flex-shrink: 0;
    background: var(--nav-bg);
    border-inline-end: 1px solid var(--nav-border);
    padding: 0;
}

.dark-main .navmenu {
    --nav-bg: #2a2a2a;
    --nav-border: #3a3a3a;
    --nav-text: #c3cad5;
    --nav-text-strong: #ffffff;
    --nav-muted: #8a93a3;
    --nav-hover: rgba(255, 255, 255, .06);
    --nav-chip: rgba(255, 255, 255, .06);
    --nav-line: #414141;
    --nav-group-bg: rgba(255, 255, 255, .03);
    --nav-accent-soft: rgba(68, 151, 255, .18);
    --nav-accent-text: #7db6ff;
    --nav-shadow: 0 8px 18px -8px rgba(0, 0, 0, .7);
    --nav-backdrop: rgba(0, 0, 0, .6);
}

/* Toggle checkbox, mobile hamburger, drawer header and backdrop are mobile-only */
.navmenu-icon,
.navmenu-drawer-head,
.navmenu-backdrop {
    display: none;
}

nav.sitenav {
    position: sticky;
    top: 0;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px 10px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--nav-line) transparent;
}

    nav.sitenav::-webkit-scrollbar {
        width: 6px;
    }

    nav.sitenav::-webkit-scrollbar-thumb {
        background: var(--nav-line);
        border-radius: 6px;
    }

#main-menu {
    padding: 0;
    font-size: 14px;
    color: var(--nav-text);
    transition: width .2s ease;
}

    /* ---------- Items ---------- */
    #main-menu .fluent-nav-item {
        margin: 2px 0;
    }

    #main-menu .fluent-nav-link {
        color: inherit;
        justify-content: flex-start;
        border-radius: 10px;
        outline: none;
    }

    #main-menu .fluent-nav-item .positioning-region {
        min-height: 42px;
        padding: 4px 8px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: var(--nav-text);
        transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
    }

        #main-menu .fluent-nav-item .positioning-region:hover {
            background: var(--nav-hover);
            color: var(--nav-text-strong);
        }

        #main-menu .fluent-nav-item .positioning-region::before {
            display: none;
        }

    #main-menu .content-region {
        gap: 12px;
        margin: 0;
        padding-inline-start: 0;
        min-width: 0;
        outline: none;
    }

    #main-menu .fluent-nav-text {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        margin: 0;
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: .1px;
    }

    /* Top-level icons sit in a soft square "chip" */
    #main-menu .fluent-nav-icon {
        box-sizing: content-box;
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        padding: 6px;
        border-radius: 9px;
        background: var(--nav-chip);
        fill: var(--nav-muted) !important;
        transition: background-color .15s ease, fill .15s ease;
    }

    #main-menu .positioning-region:hover .fluent-nav-icon {
        fill: var(--nav-accent) !important;
    }

    /* Keyboard focus */
    #main-menu .fluent-nav-link:focus-visible .positioning-region,
    #main-menu .content-region:focus-visible {
        box-shadow: 0 0 0 2px var(--nav-accent);
    }

    /* ---------- Group chevron ---------- */
    #main-menu .expand-collapse-button {
        inset-inline-end: 6px;
        width: 24px;
        height: 24px;
        border-radius: 6px;
        background: transparent;
    }

        #main-menu .expand-collapse-button svg {
            width: 14px;
            height: 14px;
            fill: var(--nav-muted);
            transition: transform .2s ease;
        }

    #main-menu .fluent-nav-group > .positioning-region .fluent-nav-text {
        padding-inline-end: 26px;
    }

    /* ---------- Active link (top level, e.g. Home) ---------- */
    #main-menu .fluent-nav-item a.active .positioning-region {
        background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-strong) 100%);
        color: #fff;
        box-shadow: var(--nav-shadow);
    }

        #main-menu .fluent-nav-item a.active .positioning-region .fluent-nav-icon {
            background: rgba(255, 255, 255, .18);
            fill: #fff !important;
        }

        #main-menu .fluent-nav-item a.active .positioning-region .fluent-nav-text {
            font-weight: 600;
        }

    /* ---------- Expanded group / group that holds the current page ---------- */
    #main-menu .fluent-nav-group-parent.expanded {
        background: var(--nav-group-bg);
        border-radius: 12px;
        padding-bottom: 4px;
    }

    #main-menu .fluent-nav-group.expanded > .positioning-region,
    #main-menu .fluent-nav-group:has(a.active) > .positioning-region {
        color: var(--nav-text-strong);
    }

        #main-menu .fluent-nav-group.expanded > .positioning-region .fluent-nav-text,
        #main-menu .fluent-nav-group:has(a.active) > .positioning-region .fluent-nav-text {
            font-weight: 600;
        }

    #main-menu .fluent-nav-group-parent.expanded > .positioning-region .fluent-nav-icon,
    #main-menu .fluent-nav-group-parent:has(a.active) > .positioning-region .fluent-nav-icon {
        background: var(--nav-accent-soft);
        fill: var(--nav-accent) !important;
    }

    #main-menu .fluent-nav-group.expanded > .positioning-region .expand-collapse-button svg {
        fill: var(--nav-accent);
    }

    /* ---------- Nested items: tree line, no chip ---------- */
    #main-menu .items {
        position: relative;
        margin-block: 2px;
        margin-inline: 23px 0;
        padding-inline: 8px 0;
        border-inline-start: 1px solid var(--nav-line);
    }

#main-menu .items .items {
    margin-inline-start: 16px;
}

#main-menu .items .fluent-nav-item .positioning-region {
    min-height: 36px;
    padding: 2px 8px;
    font-size: 13.5px;
}

#main-menu .items .content-region {
    gap: 10px;
    padding-inline-start: 0;
}

#main-menu .items .fluent-nav-text {
    font-weight: 400;
}

#main-menu .items .fluent-nav-icon {
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
}

#main-menu .items .fluent-nav-item a.active .positioning-region {
    background: var(--nav-accent-soft);
    color: var(--nav-accent-text);
    box-shadow: none;
}

    #main-menu .items .fluent-nav-item a.active .positioning-region .fluent-nav-icon {
        background: transparent;
        fill: var(--nav-accent) !important;
    }

    #main-menu .items .fluent-nav-item a.active .positioning-region::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        inset-inline-start: -10px;
        width: 3px;
        height: 20px;
        margin: 0;
        border-radius: 3px;
        background: var(--nav-accent);
        transform: translateY(-50%);
    }

/* ---------- Built-in expander (hamburger row on desktop) ---------- */
#main-menu > .expander {
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--nav-border);
}

    #main-menu > .expander .fluent-nav-icon {
        background: transparent;
    }

/* ---------- Desktop collapsed rail ---------- */
@media (min-width: 992px) {
    #main-menu.collapsed {
        width: 56px !important;
        min-width: 56px !important;
    }

        #main-menu.collapsed .positioning-region {
            justify-content: center;
            padding: 4px;
        }

        #main-menu.collapsed .content-region {
            justify-content: center;
            width: auto;
        }

        #main-menu.collapsed .fluent-nav-text,
        #main-menu.collapsed .expand-collapse-button,
        #main-menu.collapsed .items {
            display: none !important;
        }

        #main-menu.collapsed .fluent-nav-group-parent.expanded {
            background: transparent;
            padding-bottom: 0;
        }
}

/* Small laptops / landscape tablets: slightly narrower sidebar */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #main-menu:not(.collapsed) {
        width: 232px !important;
        min-width: 232px !important;
    }
}

/* ---------- Tablet & mobile: off-canvas drawer ---------- */
@media (max-width: 991.98px) {
    .navmenu {
        width: 0;
        min-width: 0;
        border: 0;
        background: transparent;
    }

    .header-gutters {
        margin-inline-end: 3.75rem !important;
    }

    /* Hamburger button inside the header area */
    #navmenu-toggle {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
        appearance: none;
    }

    label.navmenu-icon {
        position: absolute;
        top: 8px;
        inset-inline-end: 14px;
        z-index: 10;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .1);
        cursor: pointer;
        transition: background-color .15s ease;
        -webkit-tap-highlight-color: transparent;
    }

        label.navmenu-icon:hover,
        label.navmenu-icon:active {
            background: rgba(255, 255, 255, .2);
        }

        label.navmenu-icon svg {
            fill: #fff !important;
        }

    #navmenu-toggle:focus-visible + label.navmenu-icon {
        box-shadow: 0 0 0 2px var(--nav-accent);
    }

    /* Drawer panel */
    nav.sitenav {
        position: fixed;
        top: 0;
        bottom: 0;
        inset-inline-start: 0;
        z-index: 1250;
        width: min(310px, 86vw);
        max-height: none;
        padding: 0 12px 24px;
        background: var(--nav-bg);
        box-shadow: 0 0 40px rgba(15, 23, 42, .25);
        transform: translateX(-104%);
        visibility: hidden;
        transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .28s;
        overscroll-behavior: contain;
    }

    [dir="rtl"] nav.sitenav {
        transform: translateX(104%);
    }

    #navmenu-toggle:checked ~ nav.sitenav {
        transform: none;
        visibility: visible;
        transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility 0s;
    }

    .navmenu-drawer-head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 -12px 8px;
        padding: 14px 16px;
        background: var(--nav-bg);
        border-bottom: 1px solid var(--nav-border);
    }

    .navmenu-drawer-logo {
        max-width: 34px;
        max-height: 34px;
    }

    .navmenu-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--nav-chip);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

        .navmenu-drawer-close svg {
            fill: var(--nav-text) !important;
        }

        .navmenu-drawer-close:hover svg {
            fill: var(--nav-accent) !important;
        }

    .navmenu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1240;
        background: var(--nav-backdrop);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .28s ease;
    }

    #navmenu-toggle:checked ~ .navmenu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body:has(#navmenu-toggle:checked) {
        overflow: hidden !important;
    }

    /* Inside the drawer the menu is always shown fully expanded */
    #main-menu,
    #main-menu.collapsed {
        width: 100% !important;
        min-width: 0 !important;
    }

        #main-menu > .expander {
            display: none;
        }

        #main-menu.collapsed .fluent-nav-text {
            display: block;
        }

        #main-menu.collapsed .expand-collapse-button {
            display: flex;
        }

        #main-menu.collapsed .items .fluent-nav-item {
            display: block;
        }

        /* Larger touch targets */
        #main-menu .fluent-nav-item .positioning-region {
            min-height: 46px;
        }

        #main-menu .items .fluent-nav-item .positioning-region {
            min-height: 40px;
        }
}

@media (prefers-reduced-motion: reduce) {
    nav.sitenav,
    .navmenu-backdrop,
    #main-menu,
    #main-menu .positioning-region,
    #main-menu .expand-collapse-button svg {
        transition: none !important;
    }
}

/* ==========================================================================
   Visa (Products/Visa): search, request form, my requests, request details.
   Built on the shared dn-form / td-pax / pd-* / fs-* pieces; vs-* adds the visa-only parts.
   ========================================================================== */

/* ---- Booking steps ---- */
.vs-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    padding: 8px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background-color: #fff;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

    .vs-steps::-webkit-scrollbar {
        display: none;
    }

.vs-step {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    padding: 6px 10px;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

    .vs-step + .vs-step::before {
        content: "";
        flex: 0 0 18px;
        height: 2px;
        margin-inline-end: 4px;
        border-radius: 2px;
        background-color: #e2e8f0;
    }

.vs-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 800;
}

.vs-step.is-active {
    background-color: rgba(37, 99, 235, .08);
    color: #1d4ed8;
}

    .vs-step.is-active .vs-step-no {
        background-color: #2563eb;
        color: #fff;
        box-shadow: 0 4px 10px rgba(37, 99, 235, .3);
    }

.vs-step.is-done {
    color: #16a34a;
}

    .vs-step.is-done .vs-step-no {
        background-color: rgba(22, 163, 74, .12);
        color: #16a34a;
    }

    .vs-step.is-done + .vs-step::before {
        background-color: rgba(22, 163, 74, .45);
    }

/* ---- Chips, statuses, notes ---- */
.vs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vs-chip {
    --vs-tone: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--vs-tone) 10%, transparent);
    color: var(--vs-tone);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

    .vs-chip .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }

    .vs-chip.is-success { --vs-tone: #16a34a; }
    .vs-chip.is-warning { --vs-tone: #d97706; }
    .vs-chip.is-danger { --vs-tone: #dc2626; }

.vs-status {
    --vs-tone: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--vs-tone) 12%, transparent);
    color: var(--vs-tone);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

    .vs-status::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: currentColor;
    }

    /* Same tones as the status filter chips */
    .vs-status--new { --vs-tone: #2563eb; }
    .vs-status--missed_data { --vs-tone: #d97706; }
    .vs-status--checking { --vs-tone: #0284c7; }
    .vs-status--register { --vs-tone: #7c3aed; }
    .vs-status--document { --vs-tone: #0d9488; }
    .vs-status--used { --vs-tone: #16a34a; }
    .vs-status--flow { --vs-tone: #475569; }

.vs-note {
    --vs-tone: #0284c7;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--vs-tone) 28%, transparent);
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--vs-tone) 7%, #fff);
    color: #334155;
    font-size: 13px;
    line-height: 1.55;
}

    .vs-note > .mud-icon-root {
        flex: 0 0 auto;
        width: 20px;
        height: 20px;
        font-size: 20px;
        color: var(--vs-tone);
    }

    .vs-note b {
        display: block;
        margin-bottom: 2px;
        color: color-mix(in srgb, var(--vs-tone) 70%, #0f172a);
        font-size: 13.5px;
    }

    .vs-note p {
        margin: 0;
    }

    /* Bootstrap colour names coming from the visa notes (ClassName) */
    .vs-note--primary { --vs-tone: #2563eb; }
    .vs-note--secondary,
    .vs-note--light,
    .vs-note--dark { --vs-tone: #64748b; }
    .vs-note--success { --vs-tone: #16a34a; }
    .vs-note--danger { --vs-tone: #dc2626; }
    .vs-note--warning { --vs-tone: #d97706; }
    .vs-note--info { --vs-tone: #0284c7; }

.vs-notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Image placeholder (most countries have no photo) */
.vs-media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .25) 0, transparent 45%),
        linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #38bdf8 100%);
    color: rgba(255, 255, 255, .9);
}

    .vs-media-fallback .mud-icon-root {
        width: 34px;
        height: 34px;
        font-size: 34px;
        opacity: .75;
    }

    .vs-media-fallback b {
        font-size: 22px;
        font-weight: 800;
        letter-spacing: 3px;
    }

/* ---- Search: filter form ---- */
.vs-filter {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto auto;
    align-items: end;
    gap: 12px 14px;
}

.vs-filter-switch {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #e4e7ee;
    border-radius: 10px;
    background-color: #fff;
}

.vs-search .vs-filter-submit .fs-search-btn {
    min-width: 150px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
}

/* Filter row: one label above every field, every control 40px high, all aligned to the bottom */
.vs-filter > div {
    min-width: 0;
}

.vs-filter .fluent-input-label,
.vs-filter-label {
    display: block;
    margin: 0 0 6px 2px !important;
    color: #475569 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.vs-filter fluent-text-field {
    width: 100%;
}

    .vs-filter fluent-text-field::part(root) {
        height: 40px !important;
        border-radius: 10px !important;
    }

/* Mud selects: their own floating label is replaced by .vs-filter-label */
.vs-filter-select .mud-input-control {
    margin: 0 !important;
}

.vs-filter-select label.mud-input-label {
    display: none !important;
}

.vs-filter-select .mud-input.mud-input-outlined {
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 10px;
}

    .vs-filter-select .mud-input.mud-input-outlined > .mud-input-outlined-border {
        border-color: #d1d1d1;
        border-radius: 10px;
    }

        .vs-filter-select .mud-input.mud-input-outlined > .mud-input-outlined-border legend {
            width: 0 !important;
            padding: 0 !important;
        }

    .vs-filter-select .mud-input.mud-input-outlined div.mud-input-slot.mud-input-root {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 38px;
        height: 38px;
    }

.vs-filter-select .mud-input-control-helper-container {
    display: none;
}

.vs-filter-switch {
    height: 40px;
    min-height: 40px;
}

.vs-search .vs-filter-submit .fs-search-btn {
    height: 40px;
}

/* ---- Search: result cards ---- */
.vs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.vs-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .vs-card:hover {
        border-color: rgba(37, 99, 235, .35);
        box-shadow: 0 12px 28px -12px rgba(15, 23, 42, .25);
        transform: translateY(-3px);
    }

    .vs-card.is-inactive {
        opacity: .65;
    }

.vs-card-media {
    position: relative;
    height: 150px;
    overflow: hidden;
}

    .vs-card-media img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.vs-card:hover .vs-card-media img {
    transform: scale(1.05);
}

.vs-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 45%, rgba(15, 23, 42, .55) 100%);
    pointer-events: none;
}

.vs-card-media .country-label {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
}

[dir="rtl"] .vs-card-media .country-label {
    left: auto;
    right: 10px;
}

.vs-card-time {
    position: absolute;
    bottom: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .92);
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 700;
}

    .vs-card-time .mud-icon-root {
        width: 14px;
        height: 14px;
        font-size: 14px;
        color: #2563eb;
    }

.vs-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
}

.vs-card-title {
    margin: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vs-card-type {
    color: #64748b;
    font-size: 12.5px;
    font-weight: 600;
}

.vs-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e4e7ee;
}

.vs-card-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

    .vs-card-price > span {
        color: #94a3b8;
        font-size: 11.5px;
        font-weight: 600;
    }

    .vs-card-price b {
        color: #1d4ed8;
        font-size: 18px;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
    }

        .vs-card-price b small {
            color: #64748b;
            font-size: 11.5px;
            font-weight: 700;
        }

    .vs-card-price em {
        color: #64748b;
        font-size: 11.5px;
        font-style: normal;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
    }

.vs-card-btn.mud-button-root {
    flex: 0 0 auto;
    height: 34px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}

.vs-empty-icon {
    color: #64748b;
}

    .vs-empty-icon .mud-icon-root {
        width: 44px;
        height: 44px;
        font-size: 44px;
    }

/* ---- Search step 2: date + passengers ---- */
.vs-select {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vs-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef1f6;
}

.vs-hero-media {
    position: relative;
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    overflow: hidden;
    border-radius: 14px;
}

    .vs-hero-media img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .vs-hero-media .vs-media-fallback .mud-icon-root {
        width: 22px;
        height: 22px;
        font-size: 22px;
    }

    .vs-hero-media .vs-media-fallback b {
        font-size: 16px;
        letter-spacing: 2px;
    }

.vs-hero-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.vs-hero-country {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.vs-hero-title {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.vs-back-btn.mud-button-root {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: none;
}

[dir="rtl"] .vs-back-btn .mud-button-icon-start {
    transform: scaleX(-1);
}

.vs-select-form {
    gap: 14px;
}

.vs-pax-pick {
    width: 100%;
    text-align: start;
    cursor: pointer;
    font: inherit;
}

    .vs-pax-pick .dn-pick-title {
        display: block;
        font-size: 14px;
    }

.vs-pax-split {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
}

    .vs-pax-split b {
        color: #0f172a;
    }

.vs-pax-edit {
    color: #94a3b8;
}

.vs-pax-pick:hover .vs-pax-edit {
    color: #2563eb;
}

.vs-select-summary li:last-child {
    border-bottom: 0;
}

.vs-select .pd-total {
    margin-top: 0;
}

.vs-total-alt {
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.vs-continue-btn.mud-button-root {
    width: 100%;
    min-width: 0;
}

/* Requirements list */
.vs-req-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .vs-req-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
        border: 1px solid #eef1f6;
        border-radius: 12px;
        background-color: #f8fafc;
    }

        .vs-req-list li b {
            display: block;
            color: #0f172a;
            font-size: 13.5px;
        }

        .vs-req-list li p {
            margin: 2px 0 0;
            color: #64748b;
            font-size: 12.5px;
            line-height: 1.5;
        }

.vs-req-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .vs-req-icon .mud-icon-root {
        width: 17px;
        height: 17px;
        font-size: 17px;
    }

/* ---- Passenger count dialog ---- */
.vs-counter {
    --vs-tone: #2563eb;
}

.vs-counter--child { --vs-tone: #7c3aed; }
.vs-counter--infant { --vs-tone: #db2777; }

.vs-counter .counter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid #e4e7ee;
    border-top: 3px solid var(--vs-tone);
    border-radius: 12px;
    background-color: #fff;
    text-align: center;
}

.vs-counter .counter-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vs-counter .counter-label {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.vs-counter .counter-value {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.vs-counter .counter-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vs-counter .counter-display {
    min-width: 32px;
    color: var(--vs-tone);
    font-size: 22px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.vs-counter .counter-controls .mud-icon-button {
    border: 1px solid #e4e7ee;
    background-color: #f8fafc;
}

    .vs-counter .counter-controls .mud-icon-button:not(:disabled):hover {
        border-color: var(--vs-tone);
        color: var(--vs-tone);
    }

/* ---- Application form (PriceDetail + edit dialog) ---- */
.vs-passport {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 14px;
    padding: 14px 16px;
    border: 1.5px dashed #bfdbfe;
    border-radius: 14px;
    background-color: #f8fbff;
}

    .vs-passport.is-done {
        border-style: solid;
        border-color: rgba(22, 163, 74, .35);
        background-color: rgba(22, 163, 74, .05);
    }

    .vs-passport.is-rejected {
        border-color: rgba(220, 38, 38, .45);
        background-color: rgba(220, 38, 38, .04);
    }

    .vs-passport.is-busy {
        opacity: .75;
    }

.vs-passport-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-color: rgba(37, 99, 235, .12);
    color: #2563eb;
}

.vs-passport.is-done .vs-passport-icon {
    background-color: rgba(22, 163, 74, .12);
    color: #16a34a;
}

.vs-passport.is-rejected .vs-passport-icon {
    background-color: rgba(220, 38, 38, .12);
    color: #dc2626;
}

.vs-passport-text {
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

    .vs-passport-text b {
        color: #0f172a;
        font-size: 14px;
    }

        .vs-passport-text b small {
            color: #64748b;
            font-size: 12px;
            font-weight: 600;
        }

    .vs-passport-text > span {
        color: #64748b;
        font-size: 12.5px;
    }

.vs-passport-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.vs-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    color: #2563eb;
    cursor: zoom-in;
}

    .vs-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .vs-thumb.is-file {
        background-color: rgba(37, 99, 235, .08);
        cursor: default;
    }

    .vs-thumb.is-large {
        width: 100%;
        height: 120px;
        border-radius: 12px;
    }

        .vs-thumb.is-large.is-file .mud-icon-root {
            width: 40px;
            height: 40px;
            font-size: 40px;
        }

/* Gender radios as a single field row */
.vs-gender fluent-radio-group {
    width: 100%;
}

    .vs-gender fluent-radio-group::part(positioning-region) {
        display: flex;
        align-items: center;
        gap: 4px 14px;
        min-height: 40px;
        padding: 0 10px;
        border: 1px solid #e4e7ee;
        border-radius: 10px;
        background-color: #fff;
    }

/* Document tiles */
.vs-docs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.vs-doc {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background-color: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .vs-doc:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
    }

    .vs-doc.is-done {
        border-color: rgba(22, 163, 74, .35);
    }

    .vs-doc.is-rejected {
        border-color: rgba(220, 38, 38, .5);
        background-color: rgba(220, 38, 38, .03);
    }

.vs-doc-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.vs-doc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .vs-doc-icon .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

.vs-doc.is-done .vs-doc-icon {
    background-color: rgba(22, 163, 74, .12);
    color: #16a34a;
}

.vs-doc.is-rejected .vs-doc-icon {
    background-color: rgba(220, 38, 38, .12);
    color: #dc2626;
}

.vs-doc-title {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

    .vs-doc-title b {
        color: #0f172a;
        font-size: 13.5px;
    }

    .vs-doc-title > span {
        color: #64748b;
        font-size: 12px;
    }

.vs-doc-sample {
    flex: 0 0 auto;
    font-size: 12px;
}

.vs-doc-desc,
.vs-doc-review {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.vs-doc-review {
    padding: 6px 8px;
    border-radius: 8px;
    background-color: rgba(220, 38, 38, .07);
    color: #b91c1c;
}

.vs-doc-file {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
}

    .vs-doc-file .vs-doc-upload {
        flex: 1 1 auto;
    }

.vs-doc-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-doc-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.vs-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.vs-count {
    padding: 1px 7px;
    border-radius: 999px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11px;
    letter-spacing: 0;
}

/* Terms + submit */
.vs-terms {
    flex: 1 1 320px;
    min-height: 44px;
    padding: 6px 12px;
}

.vs-submit {
    margin-top: 0;
}

/* Price sidebar */
.vs-pax-counts {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

    .vs-pax-counts > span {
        display: inline-flex;
        flex: 1 1 0;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
        border-radius: 10px;
        background-color: #f8fafc;
        color: #64748b;
        font-size: 12.5px;
    }

    .vs-pax-counts .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
        color: #2563eb;
    }

    .vs-pax-counts b {
        margin-inline-start: auto;
        color: #0f172a;
        font-size: 15px;
    }

.vs-alt-price {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    text-align: end;
}

.vs-price-summary .pd-summary-list li b {
    text-align: end;
}

.vs-fares {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #f8fafc;
    font-size: 12px;
}

.vs-fare {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.vs-fare-type {
    color: #334155;
    font-weight: 700;
}

    .vs-fare-type em {
        color: #94a3b8;
        font-style: normal;
    }

.vs-fare-calc {
    color: #64748b;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

    .vs-fare-calc i {
        font-style: normal;
    }

        .vs-fare-calc i.is-discount {
            color: #16a34a;
        }

    .vs-fare-calc b {
        color: #0f172a;
    }

/* ---- My requests ---- */
.vs-page-head {
    margin-bottom: 14px;
}

    .vs-page-head h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #0f172a;
        font-size: 18px;
        font-weight: 700;
    }

        .vs-page-head h3 .mud-icon-root {
            box-sizing: content-box;
            padding: 7px;
            border-radius: 10px;
            background-color: rgba(37, 99, 235, .1);
            color: #2563eb;
        }

.vs-new-btn.mud-button-root {
    text-transform: none;
}

.vs-requests-status {
    margin-bottom: 14px;
}

.vs-filterbar {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    background-color: #f8fafc;
}

.vs-filterbar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 12px 14px;
}

.vs-filterbar .mud-input-control {
    margin-top: 0 !important;
}

.vs-filterbar-submit .dn-form-submit {
    text-transform: none;
}

.vs-cell-id {
    color: #2563eb;
    font-weight: 700;
}

.vs-cell-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    letter-spacing: .3px;
}

.vs-cell-amount {
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ---- Request details dialog ---- */
.vs-details-hero {
    align-items: center;
}

    .vs-details-hero .dn-hero-value small {
        color: #2563eb;
    }

.vs-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.vs-toolbar-close {
    margin-inline-start: auto;
}

.vs-action-list {
    margin: 4px 0 0;
    padding-inline-start: 18px;
}

    .vs-action-list li + li {
        margin-top: 2px;
    }

    .vs-action-list a {
        color: #b45309 !important;
        font-weight: 600;
        text-decoration: underline !important;
        text-underline-offset: 2px;
    }

.vs-sla {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

    .vs-sla > span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 10px;
        background-color: #f1f5f9;
        color: #64748b;
        font-size: 12.5px;
    }

    .vs-sla .mud-icon-root {
        width: 16px;
        height: 16px;
        font-size: 16px;
        color: #2563eb;
    }

    .vs-sla b {
        color: #0f172a;
    }

.vs-detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}

/* Status timeline */
.vs-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .vs-timeline li {
        position: relative;
        padding-inline-start: 24px;
        padding-bottom: 14px;
    }

        .vs-timeline li::before {
            content: "";
            position: absolute;
            top: 4px;
            inset-inline-start: 0;
            width: 12px;
            height: 12px;
            border: 3px solid #fff;
            border-radius: 50%;
            background-color: #2563eb;
            box-shadow: 0 0 0 1px #bfdbfe;
        }

        .vs-timeline li::after {
            content: "";
            position: absolute;
            top: 18px;
            bottom: 0;
            inset-inline-start: 5px;
            width: 2px;
            background-color: #e2e8f0;
        }

        .vs-timeline li.is-last {
            padding-bottom: 0;
        }

            .vs-timeline li.is-last::after {
                display: none;
            }

        .vs-timeline li.has-note::before {
            background-color: #dc2626;
            box-shadow: 0 0 0 1px #fecaca;
        }

.vs-timeline-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2px 10px;
}

    .vs-timeline-head b {
        color: #0f172a;
        font-size: 13.5px;
    }

    .vs-timeline-head time {
        color: #94a3b8;
        font-size: 11.5px;
        font-variant-numeric: tabular-nums;
    }

.vs-timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    color: #64748b;
    font-size: 12px;
}

.vs-timeline-note {
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    background-color: rgba(220, 38, 38, .07);
    color: #b91c1c;
    font-size: 12px;
}

.vs-details .td-pax-head .vs-status {
    margin-inline-start: auto;
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
    .vs-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vs-filter-country {
        grid-column: span 3;
    }
}

@media (max-width: 991.98px) {
    .vs-filterbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vs-filterbar-submit {
        grid-column: 1 / -1;
    }

        .vs-filterbar-submit .mud-button-root {
            width: 100%;
        }
}

@media (max-width: 767.98px) {
    .vs-step {
        flex: 0 0 auto;
    }

        .vs-step:not(.is-active) .vs-step-text {
            display: none;
        }

    .vs-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vs-filter-country,
    .vs-filter-submit {
        grid-column: 1 / -1;
    }

        .vs-search .vs-filter-submit .fs-search-btn {
            width: 100%;
        }

    .vs-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 14px;
    }

    .vs-hero {
        padding-top: 30px;
    }

    .vs-hero-media {
        width: 64px;
        height: 64px;
    }

    .vs-passport-actions,
    .vs-terms {
        width: 100%;
    }

    .vs-toolbar .mud-button-root {
        flex: 1 1 auto;
    }

    .vs-toolbar-close {
        margin-inline-start: 0;
    }
}

@media (max-width: 575.98px) {
    .vs-filter,
    .vs-filterbar-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-grid,
    .vs-docs {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vs-card-footer {
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-card,
    .vs-card-media img {
        transition: none;
    }

        .vs-card:hover {
            transform: none;
        }
}

/* ---- Dark ---- */
.dark-main .vs-steps,
.dark-main .vs-card,
.dark-main .vs-doc,
.dark-main .vs-counter .counter-card,
.dark-main .vs-filter-switch,
.dark-main .vs-gender fluent-radio-group::part(positioning-region) {
    border-color: rgba(255, 255, 255, .1);
    background-color: #393e46;
    box-shadow: none;
}

.dark-main .vs-step-no,
.dark-main .vs-count,
.dark-main .vs-sla > span {
    background-color: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

.dark-main .vs-step + .vs-step::before {
    background-color: rgba(255, 255, 255, .12);
}

.dark-main .vs-step.is-active {
    background-color: rgba(96, 165, 250, .14);
    color: #93c5fd;
}

.dark-main .vs-step.is-done {
    color: #4ade80;
}

.dark-main .vs-card-title,
.dark-main .vs-hero-title,
.dark-main .vs-req-list li b,
.dark-main .vs-passport-text b,
.dark-main .vs-doc-title b,
.dark-main .vs-counter .counter-label,
.dark-main .vs-pax-split b,
.dark-main .vs-pax-counts b,
.dark-main .vs-fare-calc b,
.dark-main .vs-page-head h3,
.dark-main .vs-sla b,
.dark-main .vs-timeline-head b {
    color: #fff;
}

.dark-main .vs-doc-name,
.dark-main .vs-fare-type,
.dark-main .vs-note {
    color: #e5e7eb;
}

.dark-main .vs-card-price b {
    color: #93c5fd;
}

.dark-main .vs-card-footer,
.dark-main .vs-hero {
    border-color: rgba(255, 255, 255, .1);
}

.dark-main .vs-note {
    background-color: color-mix(in srgb, var(--vs-tone) 12%, transparent);
}

    .dark-main .vs-note b {
        color: color-mix(in srgb, var(--vs-tone) 55%, #fff);
    }

.dark-main .vs-chip,
.dark-main .vs-status {
    background-color: color-mix(in srgb, var(--vs-tone) 22%, transparent);
    color: color-mix(in srgb, var(--vs-tone) 50%, #fff);
}

.dark-main .vs-req-list li,
.dark-main .vs-pax-counts > span,
.dark-main .vs-fares,
.dark-main .vs-filterbar {
    border-color: rgba(255, 255, 255, .08);
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .vs-passport {
    border-color: rgba(96, 165, 250, .35);
    background-color: rgba(96, 165, 250, .06);
}

    .dark-main .vs-passport.is-done {
        border-color: rgba(74, 222, 128, .35);
        background-color: rgba(74, 222, 128, .06);
    }

    .dark-main .vs-passport.is-rejected,
    .dark-main .vs-doc.is-rejected {
        border-color: rgba(248, 113, 113, .5);
        background-color: rgba(248, 113, 113, .06);
    }

.dark-main .vs-thumb {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .vs-doc-review,
.dark-main .vs-timeline-note {
    background-color: rgba(248, 113, 113, .12);
    color: #fca5a5;
}

.dark-main .vs-timeline li::before {
    border-color: #393e46;
}

.dark-main .vs-timeline li::after {
    background-color: rgba(255, 255, 255, .1);
}

.dark-main .vs-counter .counter-controls .mud-icon-button {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, .04);
}

.dark-main .vs-action-list a {
    color: #fbbf24 !important;
}

/* ==== Platform picker dialog (Insert provider -> Platform) ==== */
.pl-dialog .table td,
.pl-dialog .table th {
    white-space: nowrap;
    vertical-align: middle;
}

.pl-dialog tr.pl-row-pick {
    cursor: pointer;
}

    .pl-dialog tr.pl-row-pick:hover td {
        background-color: #f5f9ff !important;
    }

/* Chosen row: tinted, with an accent bar on the start side */
.pl-dialog .table tbody tr.selected td {
    background-color: rgba(37, 99, 235, .08) !important;
    color: #0f172a !important;
    font-weight: 600;
}

    .pl-dialog .table tbody tr.selected td:first-child {
        box-shadow: inset 3px 0 0 #2563eb;
    }

[dir="rtl"] .pl-dialog .table tbody tr.selected td:first-child {
    box-shadow: inset -3px 0 0 #2563eb;
}

.pl-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #94a3b8;
    transition: color .15s ease, background-color .15s ease;
}

.pl-row-pick:hover .pl-radio {
    color: #2563eb;
    background-color: rgba(37, 99, 235, .08);
}

.pl-radio.is-selected {
    color: #2563eb;
}

.pl-chosen {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-end: auto;
    padding: 4px 12px 4px 8px;
    border-radius: 999px;
    background-color: rgba(22, 163, 74, .1);
    color: #166534;
    font-size: 13px;
}

    .pl-chosen .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #16a34a;
    }

    .pl-chosen small {
        color: #64748b;
        font-weight: 600;
    }

/* Platform field in the provider form */
.pl-pick-field .dn-pick-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pl-pick-field .mud-button-root {
    flex: 0 0 auto;
    text-transform: none;
}

.dark-main .pl-dialog tr.pl-row-pick:hover td {
    background-color: rgba(255, 255, 255, .05) !important;
}

.dark-main .pl-dialog .table tbody tr.selected,
.dark-main .pl-dialog .table tbody tr.selected td {
    background-color: rgba(96, 165, 250, .16) !important;
    color: #fff !important;
}

.dark-main .pl-chosen {
    background-color: rgba(74, 222, 128, .12);
    color: #bbf7d0;
}

.dark-main .pl-radio.is-selected,
.dark-main .pl-row-pick:hover .pl-radio {
    color: #93c5fd;
}

/* Flight results: the departure → arrival route spans the whole column (no 560px cap leaving a gap on the right) */
.fr-route {
    max-width: none;
    width: 100%;
}

/* ==== System message inbox ==== */
.msg-inbox .msg-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-weight: 500;
}

.msg-inbox .msg-row-unread .msg-title {
    color: #0f172a;
    font-weight: 700;
}

.msg-inbox .msg-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.msg-inbox .msg-clip {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: #94a3b8;
}

.msg-inbox .msg-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #475569;
    font-size: 12.5px;
    white-space: nowrap;
}

    .msg-inbox .msg-time .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
        color: #94a3b8;
    }

.msg-inbox .msg-cat {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 7px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* ==== View message dialog ==== */
.msgv-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .07) 0%, #fff 70%);
}

.msgv-hero-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #2563eb;
    color: #fff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .25);
}

    .msgv-hero-icon .mud-icon-root {
        width: 22px;
        height: 22px;
        font-size: 22px;
    }

.msgv-hero-text {
    min-width: 0;
}

    .msgv-hero-text > b {
        display: block;
        color: #0f172a;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

.msgv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}

    .msgv-meta > span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .msgv-meta .mud-icon-root {
        width: 15px;
        height: 15px;
        font-size: 15px;
    }

.msgv-body {
    max-height: 50vh;
    overflow-y: auto;
    padding: 14px 16px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background-color: #f8fafc;
    color: #334155;
    font-size: 13.5px;
    line-height: 1.85;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.msgv-files {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.msgv-file {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 8px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background-color: #fff;
    color: #334155;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .msgv-file:hover {
        border-color: #93c5fd;
        box-shadow: 0 4px 12px rgba(37, 99, 235, .12);
    }

    .msgv-file img,
    .msgv-file .msgv-file-icon {
        width: 100%;
        height: 80px;
        border-radius: 8px;
        object-fit: cover;
    }

    .msgv-file .msgv-file-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f1f5f9;
        color: #64748b;
    }

        .msgv-file .msgv-file-icon .mud-icon-root {
            width: 30px;
            height: 30px;
            font-size: 30px;
        }

.msgv-file-name {
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cqd-actions .msgv-confirm {
    box-shadow: 0 6px 14px rgba(37, 99, 235, .25);
}

@media (max-width: 575.98px) {
    .msgv-hero {
        padding: 12px;
    }

    .msgv-files {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.dark-main .msg-inbox .msg-title,
.dark-main .msg-inbox .msg-time {
    color: #cbd5e1;
}

.dark-main .msg-inbox .msg-row-unread .msg-title {
    color: #f1f5f9;
}

.dark-main .msg-inbox .msg-cat {
    background-color: rgba(255, 255, 255, .06);
    color: #cbd5e1;
}

.dark-main .msgv-hero {
    border-color: rgba(96, 165, 250, .25);
    background: rgba(37, 99, 235, .08);
}

    .dark-main .msgv-hero-text > b {
        color: #f1f5f9;
    }

.dark-main .msgv-body,
.dark-main .msgv-file {
    border-color: rgba(255, 255, 255, .1);
    background-color: rgba(255, 255, 255, .03);
    color: #e5e7eb;
}

    .dark-main .msgv-file .msgv-file-icon {
        background-color: rgba(255, 255, 255, .06);
    }

/* ==== Airport autocomplete (flight search origin / destination) ==== */
.airport-ac div[role=listbox] {
    gap: 2px;
    max-height: 340px !important;
    padding: 6px !important;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 16px 36px -12px rgba(15, 23, 42, .28);
}

.airport-ac fluent-option {
    height: auto !important;
    min-height: 52px !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 10px;
    background: transparent;
    transition: background-color .12s ease;
}

    .airport-ac fluent-option::part(content) {
        width: 100%;
        overflow: visible;
    }

    .airport-ac fluent-option::before {
        display: none !important;
    }

    .airport-ac fluent-option:hover,
    .airport-ac fluent-option[selectable] {
        background-color: #f1f6ff !important;
        border-color: transparent !important;
    }

    .airport-ac fluent-option[selected],
    .airport-ac fluent-option[aria-selected="true"] {
        background-color: rgba(37, 99, 235, .1) !important;
        color: inherit !important;
    }

.ap-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 7px 10px;
    white-space: normal;
}

.ap-opt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, .1);
    color: #2563eb;
}

    .ap-opt-icon .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

.ap-opt.is-city .ap-opt-icon {
    background-color: rgba(124, 58, 237, .1);
    color: #7c3aed;
}

.ap-opt-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

    .ap-opt-body b {
        overflow: hidden;
        color: #0f172a;
        font-size: 14px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ap-opt-body small {
        overflow: hidden;
        color: #64748b;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .ap-opt-body small i {
            padding: 0 5px;
            border-radius: 4px;
            background-color: #f1f5f9;
            color: #475569;
            font-size: 10.5px;
            font-style: normal;
            font-weight: 700;
        }

.ap-opt-code {
    flex: 0 0 auto;
    min-width: 46px;
    padding: 4px 8px;
    border-radius: 8px;
    background-color: #0f172a;
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.ap-opt.is-city .ap-opt-code {
    background-color: #7c3aed;
}

/* Dark */
.dark-main .airport-ac div[role=listbox] {
    border-color: rgba(255, 255, 255, .1);
    background-color: #2f3238;
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .6);
}

.dark-main .airport-ac fluent-option:hover,
.dark-main .airport-ac fluent-option[selectable] {
    background-color: rgba(255, 255, 255, .06) !important;
}

.dark-main .ap-opt-body b {
    color: #fff;
}

.dark-main .ap-opt-body small {
    color: #94a3b8;
}

    .dark-main .ap-opt-body small i {
        background-color: rgba(255, 255, 255, .08);
        color: #cbd5e1;
    }

.dark-main .ap-opt-icon {
    background-color: rgba(96, 165, 250, .16);
    color: #93c5fd;
}

.dark-main .ap-opt-code {
    background-color: #e2e8f0;
    color: #0f172a;
}

/* ==== Hotel destination autocomplete popover (same item layout as the airport list) ==== */
.mud-popover.hotel-ac-popover {
    margin-top: 4px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    border-radius: 14px !important;
    background-color: #fff !important;
    box-shadow: 0 16px 36px -12px rgba(15, 23, 42, .28) !important;
}

    .mud-popover.hotel-ac-popover .mud-list {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 6px !important;
        background: transparent !important;
    }

    .mud-popover.hotel-ac-popover .mud-list-item {
        min-height: 52px;
        padding: 0 !important;
        border-radius: 10px;
        transition: background-color .12s ease;
    }

        .mud-popover.hotel-ac-popover .mud-list-item:hover,
        .mud-popover.hotel-ac-popover .mud-list-item.mud-selected-item {
            background-color: #f1f6ff !important;
        }

        .mud-popover.hotel-ac-popover .mud-list-item .mud-list-item-text {
            margin: 0;
        }

    /* "No results" / progress rows keep normal padding */
    .mud-popover.hotel-ac-popover .mud-autocomplete-no-items,
    .mud-popover.hotel-ac-popover .mud-progress-linear {
        padding: 10px 14px;
    }

    /* "More results, type more" hint under the 100 best matches */
    .mud-popover.hotel-ac-popover .hs-ac-more {
        padding: 10px 14px;
        font-size: 12px;
        color: #6b7280;
        text-align: center;
        border-top: 1px dashed #e8edf5;
    }

.dark-main .mud-popover.hotel-ac-popover {
    border-color: rgba(255, 255, 255, .1);
    background-color: #2f3238 !important;
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .6) !important;
}

    .dark-main .mud-popover.hotel-ac-popover .mud-list-item:hover,
    .dark-main .mud-popover.hotel-ac-popover .mud-list-item.mud-selected-item {
        background-color: rgba(255, 255, 255, .06) !important;
    }

    .dark-main .mud-popover.hotel-ac-popover .hs-ac-more {
        color: #9ca3af;
        border-top-color: rgba(255, 255, 255, .1);
    }

/* ==== Flight Prices page: itinerary summary + "all legs" link ==== */
.pd-legs-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 10px 14px;
    border: 1px dashed #c7d7f5;
    border-radius: 12px;
    background-color: #f8fbff;
    color: #1d4ed8;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

    .pd-legs-link:hover {
        border-color: #2563eb;
        background-color: #eff6ff;
    }

    .pd-legs-link:focus-visible {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }

    .pd-legs-link .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

.pd-legs-count {
    padding: 1px 8px;
    border-radius: 999px;
    background-color: rgba(37, 99, 235, .12);
    font-size: 12px;
    font-weight: 700;
}

.pd-legs-arrow {
    margin-inline-start: auto;
    transition: transform .15s ease;
}

.pd-legs-link:hover .pd-legs-arrow {
    transform: translateX(3px);
}

[dir="rtl"] .pd-legs-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .pd-legs-link:hover .pd-legs-arrow {
    transform: scaleX(-1) translateX(3px);
}

.legs-dialog {
    max-height: 70vh;
    overflow-y: auto;
}

.dark-main .pd-legs-link {
    border-color: rgba(96, 165, 250, .35);
    background-color: rgba(96, 165, 250, .06);
    color: #93c5fd;
}

    .dark-main .pd-legs-link:hover {
        background-color: rgba(96, 165, 250, .12);
    }

/* ==== Shared error dialog (ErrorDialog): ConfirmDialog layout, red tone (amber for missing fields) ==== */
/* The header gets focus when the dialog opens; no black focus frame around the title */
fluent-dialog:has(.cd-box) .fluent-dialog-header,
fluent-dialog:has(.cd-box) .fluent-dialog-header *:not(fluent-button):focus {
    outline: none !important;
}

.ed-head .cd-head-icon {
    background-color: rgba(220, 38, 38, .1);
    color: #dc2626;
}

.ed-head.is-warning .cd-head-icon {
    background-color: rgba(217, 119, 6, .12);
    color: #d97706;
}

.ed-box .ed-icon {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    box-shadow: 0 0 0 8px rgba(220, 38, 38, .08);
}

.ed-box.is-warning .ed-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, .1);
}

.ed-box .cd-title {
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ed-detail {
    width: 100%;
    margin: 4px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background-color: #f8fafc;
    color: #475569;
    font-size: 12.5px;
    line-height: 1.55;
    text-align: center;
    overflow-wrap: anywhere;
}

.ed-session {
    margin-top: 2px;
    padding: 2px 10px;
    border-radius: 999px;
    background-color: #f1f5f9;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px;
    user-select: all;
}

.ed-params {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
}

.ed-param {
    padding: 3px 10px;
    border: 1px solid rgba(217, 119, 6, .3);
    border-radius: 999px;
    background-color: #fffbeb;
    color: #92400e;
    font-size: 12.5px;
    font-weight: 600;
}

.cd-actions .ed-btn-support {
    box-shadow: 0 6px 14px rgba(37, 99, 235, .25);
}

.dark-main .ed-box .ed-icon {
    background: rgba(248, 113, 113, .15);
    color: #fca5a5;
    box-shadow: 0 0 0 8px rgba(248, 113, 113, .06);
}

.dark-main .ed-box.is-warning .ed-icon {
    background: rgba(245, 158, 11, .15);
    color: #fbbf24;
}

.dark-main .ed-detail,
.dark-main .ed-session {
    background-color: rgba(255, 255, 255, .06);
    color: #cbd5e1;
}

.dark-main .ed-param {
    border-color: rgba(251, 191, 36, .35);
    background-color: rgba(251, 191, 36, .08);
    color: #fde68a;
}

/* Error dialog: a little wider than the confirm dialog, button labels on one line */
fluent-dialog:has(.ed-box) {
    --dialog-width: 540px !important;
}

.ed-box + .cd-actions,
fluent-dialog:has(.ed-box) .cd-actions {
    margin-top: 6px;
}

fluent-dialog:has(.ed-box) .cd-actions .cd-btn {
    min-width: 0;
    padding-inline: 12px;
    white-space: nowrap;
}

    fluent-dialog:has(.ed-box) .cd-actions .cd-btn .mud-button-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Phones: stack the two buttons */
@media (max-width: 479.98px) {
    fluent-dialog:has(.ed-box) .cd-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== Passenger type tag (TicketView passengers) ===== */
.pax-type-tag {
    display: inline-block;
    margin-inline-start: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    vertical-align: middle;
    white-space: nowrap;
}
.pax-type-tag--adult { background: #eff6ff; color: #1d4ed8; }
.pax-type-tag--child { background: #ecfdf5; color: #047857; }
.pax-type-tag--infant { background: #fdf2f8; color: #be185d; }
body.dark-main .pax-type-tag--adult { background: rgba(59, 130, 246, .18); color: #93c5fd; }
body.dark-main .pax-type-tag--child { background: rgba(16, 185, 129, .18); color: #6ee7b7; }
body.dark-main .pax-type-tag--infant { background: rgba(236, 72, 153, .18); color: #f9a8d4; }

/* ===== Review booking details dialog ===== */
.rbd-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rbd-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 6px 14px -6px rgba(29, 78, 216, .55);
}

    .rbd-header-icon .mud-icon-root {
        color: #fff;
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

.rbd-header-title {
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
}

.rbd-section {
    margin-bottom: 18px;
}

.rbd-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

    .rbd-section-title .mud-icon-root {
        color: #3b82f6;
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

.rbd-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 700;
}

.rbd-flights {
    padding: 6px 8px;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    background: #f8fafc;
}

.rbd-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px 18px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: linear-gradient(120deg, #f0fdf4, #ecfdf5);
}

.rbd-total-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #166534;
    font-size: 14px;
    font-weight: 700;
}

    .rbd-total-label .mud-icon-root {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

.rbd-total-amount {
    color: #15803d;
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

    .rbd-total-amount small {
        margin-inline-start: 3px;
        color: #16a34a;
        font-size: 12px;
        font-weight: 700;
    }

.rbd-table-wrap {
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    overflow: hidden;
}

.rbd-table thead th {
    padding: 11px 12px !important;
    border-bottom: 1px solid #e6eaf2 !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.rbd-table tbody td {
    padding: 12px !important;
    border-color: #eef1f6 !important;
    color: #334155;
    font-size: 13px;
}

.rbd-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.rbd-table tbody tr:hover td {
    background: #f8fafc;
}

.rbd-strong {
    color: #0f172a !important;
    font-weight: 700;
}

.rbd-mono {
    font-variant-numeric: tabular-nums;
    direction: ltr;
    unicode-bidi: isolate;
}

.rbd-pax-type {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.rbd-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rbd-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e6eaf2;
    border-radius: 12px;
    background: #f8fafc;
}

.rbd-contact-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff6ff;
}

    .rbd-contact-icon .mud-icon-root {
        color: #3b82f6;
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

.rbd-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rbd-contact-label {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
}

.rbd-contact-value {
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-align: start;
}

.rbd-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

    .rbd-footer .rbd-btn {
        min-width: 120px;
        height: 38px;
        border-radius: 10px;
        font-weight: 600;
    }

@media (max-width: 991px) {
    .rbd-table-wrap {
        border: 0;
        border-radius: 0;
    }

    .rbd-table tbody tr {
        border-color: #e6eaf2 !important;
        border-radius: 12px !important;
        background: #f8fafc;
    }

    .rbd-table tbody td {
        padding: 6px 0 !important;
        background: transparent !important;
    }

    .rbd-table tbody td::before {
        color: #64748b;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .rbd-contact {
        grid-template-columns: 1fr;
    }

    .rbd-total-amount {
        font-size: 17px;
    }

    .rbd-footer .rbd-btn {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* Dark */
.dark-main .rbd-header-title,
.dark-main .rbd-section-title,
.dark-main .rbd-strong,
.dark-main .rbd-contact-value {
    color: #e5e7eb !important;
}

.dark-main .rbd-flights,
.dark-main .rbd-contact-item,
.dark-main .rbd-table-wrap {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
}

.dark-main .rbd-table thead th {
    border-color: rgba(255, 255, 255, .1) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #94a3b8 !important;
}

.dark-main .rbd-table tbody td {
    border-color: rgba(255, 255, 255, .08) !important;
    background: transparent;
    color: #cbd5e1;
}

.dark-main .rbd-table tbody tr:hover td {
    background: rgba(255, 255, 255, .03);
}

.dark-main .rbd-total {
    border-color: rgba(74, 222, 128, .25);
    background: rgba(34, 197, 94, .08);
}

.dark-main .rbd-total-label,
.dark-main .rbd-total-amount,
.dark-main .rbd-total-amount small {
    color: #4ade80;
}

.dark-main .rbd-count,
.dark-main .rbd-pax-type,
.dark-main .rbd-contact-icon {
    background: rgba(59, 130, 246, .15);
    color: #93c5fd;
}

.dark-main .rbd-contact-label,
.dark-main .rbd-table tbody td::before {
    color: #94a3b8;
}

@media (max-width: 991px) {
    .dark-main .rbd-table tbody tr {
        border-color: rgba(255, 255, 255, .1) !important;
        background: rgba(255, 255, 255, .04);
    }

    .dark-main .rbd-table-wrap {
        background: transparent;
    }
}

/* Error dialog: tracking code on its own line with a copy button */
.ed-tracking {
    display: flex;
    justify-content: center;
    width: 100%;
}

    .ed-tracking .tracked-toast-code {
        justify-content: center;
        margin-top: 2px;
    }

/* Flight ticket: "Print PDF" options (layout + passengers) */
.pdf-layout-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pdf-layout-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--dn-border, #eceff4);
    border-radius: 12px;
    background-color: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: start;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

    .pdf-layout-option:hover {
        border-color: #93c5fd;
    }

    .pdf-layout-option.is-selected {
        border-color: var(--dn-accent, #2563eb);
        background-color: #eff6ff;
        color: #1e3a8a;
    }

    .pdf-layout-option .mud-icon-root {
        color: var(--dn-accent, #2563eb);
    }

.pdf-pax-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pdf-pax-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
}

.pdf-pax-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--dn-border, #eceff4);
    border-radius: 10px;
}

    .pdf-pax-item.is-selected {
        border-color: #bfdbfe;
        background-color: #f8fbff;
    }

.pdf-pax-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.pdf-pax-type {
    padding: 2px 8px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
}

.dark-main .pdf-layout-option,
.dark-main .pdf-pax-item {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, .03);
    color: #cbd5e1;
}

.dark-main .pdf-layout-option.is-selected,
.dark-main .pdf-pax-item.is-selected {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, .12);
    color: #e5e7eb;
}

.dark-main .pdf-pax-name {
    color: #e5e7eb;
}

@media (max-width: 600px) {
    .pdf-layout-options {
        grid-template-columns: 1fr;
    }
}

.pdf-ticket-options.is-printing .pdf-layout-options,
.pdf-ticket-options.is-printing .pdf-pax-list {
    opacity: .55;
    pointer-events: none;
}

.pdf-layout-option:disabled {
    cursor: default;
}

.pdf-printing-notice {
    align-items: center;
}

.pdf-printing-bar {
    margin-top: -6px;
    border-radius: 999px;
}

.dn-form-submit .pdf-btn-spinner {
    width: 16px !important;
    height: 16px !important;
    margin-inline-end: 8px;
    color: currentColor;
}

.dn-form-submit .pdf-btn-icon {
    margin-inline-end: 6px;
}

/* MoneyField wrapper: carries the data for money-field.js, takes no part in layout */
.money-field-host {
    display: contents;
}

