﻿
.ltr {
    direction: ltr;
    text-align: left;
}
h6{
    font-size:13px;
}
h5{
    font-size:15px;
}
.hidden{
    display:none;
}

.form-group {
    text-align: right;
    margin-bottom: 15px;
}
small, .small {
    font-size: 0.75em;
}

.input-validation-error {
    border: solid 1px var(--fimobile-red) !important;
}
.valid {
    border: solid 1px var(--fimobile-green) !important;
}
.field-validation-error {
    font-size: 11px;
    margin-top: 3px;
    color: var(--fimobile-red);
}

label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

.has-success .form-floating:before {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    height: 68%;
    top: 16%;
    width: 3px;
    border-radius: 2px;
    background-color: var(--fimobile-green);
}

.has-error .form-floating:before {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    height: 68%;
    top: 16%;
    width: 3px;
    border-radius: 2px;
    background-color: var(--fimobile-red);
}

.has-error .input-group {
    border-radius: var(--fimobile-input-rounded);
    border: solid 1px var(--fimobile-red);
}

.has-error .form-floating .form-control {
    border: solid 1px var(--fimobile-red);
}

.has-success .input-group {
    border-radius: var(--fimobile-input-rounded);
    border: solid 1px var(--fimobile-green);
}

.has-success .form-floating .form-control {
    border: solid 1px var(--fimobile-green);
}

.ui-pnotify-text {
    font-size: 13px;
}

body > .ui-pnotify {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
}

@media (max-width: 480px) {
    .ui-pnotify-mobile-able.ui-pnotify {
        top: calc(env(safe-area-inset-top, 0px) + 8px) !important;
        right: 0 !important;
        left: 0 !important;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }

    .ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft,
    .ui-pnotify-mobile-able.ui-pnotify.stack-bottomright {
        top: auto !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
    }
}

.jconfirm .jconfirm-holder {
    padding-top: calc(50px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px));
}

.swal2-container {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

form .form-control {
    border-color: var(--fimobile-theme-bordercolor);
    border-radius: var(--fimobile-input-rounded);
    padding: var(--fimobile-padding);
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;
    line-height: 32px;
    color: var(--tb-text, #0f172a);
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-control:focus,
form .form-control:focus {
    border-color: var(--fimobile-theme-color);
    box-shadow: 0 0 0 4px var(--fimobile-theme-color-light);
}

form > .form-control {
    padding: 1rem 0.75rem;
}

form > .form-control, form > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.input-group-text {
    border-top-left-radius: var(--fimobile-input-rounded);
    border-bottom-left-radius: var(--fimobile-input-rounded);
}

.select2-container .select2-selection--single {
    height: 55px;
    border-color: var(--fimobile-theme-bordercolor);
    border-radius: var(--fimobile-input-rounded);
    -webkit-box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}
    .select2-container .select2-selection--single .select2-selection__rendered {
        margin-top: 10px;
    }
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 55px;
    top: 0px;
    width: 25px;
}
.select2-search--dropdown .select2-search__field {
    outline: solid 1px var(--fimobile-theme-color);
    border-radius: 7px;
    font-family: var(--tb-font, "Vazirmatn", Tahoma, sans-serif);
}

.tb-picker-input {
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.tb-picker-input .form-control,
.custom-date-picker,
.custom-time-picker,
.custom-date-picker[readonly],
.custom-time-picker[readonly] {
    cursor: pointer;
    pointer-events: auto !important;
}

.tb-picker-input .form-control {
    padding-inline-start: 2.75rem;
    background: rgba(15, 23, 42, 0.035);
}

.tb-picker-input-icon {
    position: absolute;
    inset-inline-start: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--fimobile-theme-color);
    font-size: 1.1rem;
    line-height: 1;
}

.custom-date-picker,
.custom-time-picker {
    cursor: pointer;
}

.tb-picker-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overscroll-behavior: contain;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.tb-picker-overlay.is-open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tb-picker-sheet {
    width: 100%;
    max-width: 460px;
    max-height: min(92vh, 720px);
    background: var(--fimobile-card-color, #fff);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
    padding: 0 18px calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateY(24px);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.tb-picker-overlay.is-open .tb-picker-sheet {
    transform: translateY(0);
}

.tb-picker-handle {
    width: 48px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 99px;
    background: var(--fimobile-theme-bordercolor);
}

.tb-picker-head {
    text-align: center;
    padding: 12px 8px 4px;
}

.tb-picker-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--tb-text);
}

.tb-picker-preview {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--fimobile-theme-color);
}

.tb-picker-wheels {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 16px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.04);
    user-select: none;
    -webkit-user-select: none;
}

.tb-picker-wheels-ltr {
    direction: ltr;
}

.tb-picker-wheel-col {
    flex: 0 0 84px;
    min-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tb-picker-wheel-col-wide {
    flex: 1 1 132px;
    min-width: 118px;
    max-width: 160px;
}

.tb-picker-wheel-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--tb-text-muted);
    margin-bottom: 6px;
}

.tb-picker-colon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 22px;
    font-size: 28px;
    font-weight: 800;
    color: var(--tb-text);
    line-height: 1;
}

.tb-picker-wheel {
    --tb-picker-item-height: 44px;
    --tb-picker-visible-rows: 5;
    position: relative;
    width: 100%;
    height: calc(var(--tb-picker-item-height) * var(--tb-picker-visible-rows));
    overflow: hidden;
    touch-action: none;
    user-select: none;
    cursor: grab;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.tb-picker-wheel:active {
    cursor: grabbing;
}

.tb-picker-wheel-highlight {
    position: absolute;
    top: 50%;
    right: 4px;
    left: 4px;
    height: var(--tb-picker-item-height);
    margin-top: calc(var(--tb-picker-item-height) / -2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(15, 23, 42, 0.05);
    pointer-events: none;
    z-index: 0;
}

.tb-picker-wheel-list {
    position: relative;
    z-index: 1;
    margin: 0;
    list-style: none;
    will-change: transform;
}

.tb-picker-wheel-item,
.picker-item {
    height: var(--tb-picker-item-height, 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--tb-text-muted);
    opacity: 0.32;
    transform: scale(0.92);
    transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.tb-picker-wheel-item.is-near {
    opacity: 0.55;
    transform: scale(0.96);
}

.tb-picker-wheel-item.is-selected {
    opacity: 1;
    transform: scale(1);
    color: var(--tb-text);
    font-weight: 800;
}

.tb-picker-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 4px;
}

.tb-picker-actions .btn {
    min-height: 48px;
}

.tb-picker-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

body.tb-picker-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .tb-picker-overlay {
        align-items: center;
        padding: 24px;
    }

    .tb-picker-sheet {
        border-radius: 24px;
        transform: translateY(12px) scale(0.98);
    }

    .tb-picker-overlay.is-open .tb-picker-sheet {
        transform: none;
    }

    .tb-picker-handle {
        display: none;
    }
}

.dark-mode .tb-picker-sheet {
    background: #121826;
}

.dark-mode .tb-picker-wheels {
    background: rgba(255, 255, 255, 0.04);
}

.dark-mode .tb-picker-wheel-highlight {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dark-mode .tb-picker-input .form-control {
    background: rgba(255, 255, 255, 0.06);
}

.fullscreen-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(45deg, var(--fimobile-page-bg-2) 0%, var(--fimobile-page-bg-1) 100%);
    z-index: 40;
}

.fullscreen-modal.show {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.fullscreen-modal-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    background: inherit;
}

.fullscreen-modal-handle {
    display: none;
}

.fullscreen-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 12px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.fullscreen-modal-title {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.fullscreen-modal-title h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.fullscreen-modal-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
}

.fullscreen-modal-spinner {
    display: flex;
    justify-content: center;
    padding: 48px 0;
}

.fullscreen-modal.is-sheet {
    background: rgba(15, 23, 42, 0.45);
    justify-content: flex-end;
}

.fullscreen-modal.is-sheet .fullscreen-modal-panel {
    height: auto;
    max-height: min(92vh, 760px);
    width: 100%;
    margin: 0 auto;
    background: var(--fimobile-card-color);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
}

.fullscreen-modal.is-sheet .fullscreen-modal-handle {
    display: block;
    width: 48px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 99px;
    background: var(--fimobile-theme-bordercolor);
}

.fullscreen-modal.is-sheet .fullscreen-modal-bar {
    background: transparent;
    box-shadow: none;
    padding-top: 4px;
}

.fullscreen-modal.is-sheet .fullscreen-modal-scroll {
    padding-top: 4px;
}

@media (min-width: 768px) {
    .fullscreen-modal.is-sheet {
        align-items: center;
        justify-content: center;
        padding: 24px;
    }

    .fullscreen-modal.is-sheet .fullscreen-modal-panel {
        max-width: 460px;
        border-radius: 24px;
        max-height: min(86vh, 720px);
    }
}

.form-check .form-check-input {
    float: initial;
}
.form-check .form-check-label {
    margin-right: 48px;
}

#ajax-busy {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 99;
    display: none;
}
    #ajax-busy.busy {
        display: block;
    }

.btn-loader {
    vertical-align: middle;
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
}

    .btn-loader div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 24px;
        height: 24px;
        margin: 3px;
        border: 4px solid #fff;
        border-radius: 50%;
        animation: btnloader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #ffffff transparent transparent transparent;
    }

        .btn-loader div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .btn-loader div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .btn-loader div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes btnloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

:root {
    --tb-font: "Vazirmatn", Tahoma, sans-serif;
    --tb-radius: 22px;
    --tb-radius-sm: 14px;
    --tb-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    --tb-shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.05);
    --tb-text: #0f172a;
    --tb-text-muted: #64748b;
    --tb-success: #059669;
    --tb-danger: #e11d48;
    --tb-warning: #d97706;
}

html {
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    min-height: 100%;
    min-height: 100vh;
    min-height: 100lvh;
    font-family: var(--tb-font);
    color: var(--tb-text);
    letter-spacing: -0.011em;
    line-height: 1.7;
}

body,
button,
input,
select,
textarea,
.form-control,
.form-select,
.btn,
.select2-container,
.select2-results,
.jconfirm,
.swal2-popup,
.ui-pnotify,
.picker-item,
.tb-picker-wheel-item,
.tb-picker-title,
.tb-picker-preview {
    font-family: var(--tb-font);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--tb-font);
    color: var(--tb-text);
    letter-spacing: -0.022em;
    line-height: 1.45;
}

p {
    color: inherit;
}

.text-muted {
    color: var(--tb-text-muted) !important;
    opacity: 1;
}

.btn {
    text-transform: none;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 14px;
}

.btn-default:hover,
.btn-default:focus {
    background-color: var(--fimobile-theme-color-2);
    color: #fff;
}

.btn-light {
    color: var(--tb-text);
}

.btn-light:hover,
.btn-light:focus {
    color: var(--tb-text);
}

main.h-100 {
    min-height: 100%;
    min-height: 100vh;
    min-height: 100lvh;
}

.main-container {
    min-height: 100%;
}

.page-auth .main-container {
    padding-bottom: 32px;
}

.header {
    padding-top: calc(var(--fimobile-padding) + constant(safe-area-inset-top));
    padding-top: calc(var(--fimobile-padding) + env(safe-area-inset-top));
    padding-left: calc(var(--fimobile-padding) + constant(safe-area-inset-left));
    padding-left: calc(var(--fimobile-padding) + env(safe-area-inset-left));
    padding-right: calc(var(--fimobile-padding) + constant(safe-area-inset-right));
    padding-right: calc(var(--fimobile-padding) + env(safe-area-inset-right));
}

.header:after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    width: auto;
}

.header.position-fixed:after {
    opacity: 0.95;
}

.header .logo-small img {
    max-height: 36px;
}

.header h5 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.brand-mark img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand-mark span {
    font-size: 13px;
    color: var(--tb-text-muted);
}

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.page-head h5 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
}

.page-head .page-head-desc {
    margin: 0;
    color: var(--tb-text-muted);
    font-size: 13.5px;
    line-height: 1.8;
}

.page-head .btn {
    white-space: nowrap;
}

.welcome-card,
.hero-card,
.action-card,
.item-card,
.setup-banner,
.auth-panel {
    border: 0;
    border-radius: var(--tb-radius);
    box-shadow: var(--tb-shadow-sm);
    background: var(--fimobile-card-color);
}

.hero-card {
    overflow: hidden;
    background: linear-gradient(135deg, var(--fimobile-theme-color) 0%, var(--fimobile-theme-color-2) 100%);
    color: #fff;
    box-shadow: var(--tb-shadow);
}

.hero-card .card-body {
    padding: 24px 20px;
}

    .hero-card h1 {
        font-size: 23px;
        font-weight: 800;
        margin-bottom: 10px;
        letter-spacing: -0.03em;
        color: inherit;
    }

    .hero-card p {
        margin-bottom: 20px;
        opacity: 0.94;
        line-height: 1.9;
        font-size: 14px;
        text-align: justify;
        font-weight: 400;
    }

.hero-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    opacity: 0.88;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 18px;
}

.hero-chips span {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.hero-note {
    margin: 14px 0 0;
    font-size: 12px;
    opacity: 0.9;
}

.hero-note a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.welcome-card .card-body {
    padding: 16px;
}

.welcome-name {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 2px;
    color: var(--fimobile-theme-color);
}

.welcome-meta {
    margin: 0;
    color: var(--tb-text-muted);
    font-size: 13px;
}

.welcome-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fimobile-theme-color);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.welcome-guide-link i {
    font-size: 13px;
}

.quick-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 576px) {
    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .quick-grid.cols-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tb-shadow);
    color: inherit;
}

.action-card .action-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.action-card h6 {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 700;
}

.action-card p {
    margin: 0;
    font-size: 13px;
    color: var(--tb-text-muted);
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 22px 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.feature-card i {
    font-size: 28px;
    color: var(--fimobile-theme-color);
    display: block;
    margin-bottom: 10px;
}

.feature-card h3,
.feature-card h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    margin: 0;
    font-size: 13px;
    color: var(--tb-text-muted);
    line-height: 1.8;
}

.setup-banner {
    background: linear-gradient(135deg, #fff7e6, #fff);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.setup-banner .setup-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.2);
    color: #d97706;
    font-size: 22px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 14px;
}

.section-title h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.item-card {
    margin-bottom: 12px;
}

.customer-search {
    position: relative;
}

.customer-search i {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--tb-text-muted);
    pointer-events: none;
}

.customer-search .form-control {
    padding-right: 44px;
    border-radius: 16px;
    min-height: 48px;
    border: 0;
    box-shadow: var(--tb-shadow-sm);
    background: var(--fimobile-card-color);
}

.customer-search .form-control:focus {
    box-shadow: var(--tb-shadow);
}

.customer-dossier-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.customer-dossier-head h5 {
    font-size: 18px;
    font-weight: 800;
}

.customer-dossier-layout {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.customer-dossier-history {
    min-width: 0;
}

.customer-history {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    max-height: min(36vh, 280px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 2px 2px 4px 0;
}

.customer-history-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: var(--fimobile-theme-color-light);
    flex-shrink: 0;
}

.customer-dossier textarea {
    min-height: 140px;
}

@media (min-width: 768px) {
    .customer-dossier-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 24px;
        align-items: start;
    }

    .customer-dossier-history {
        position: sticky;
        top: 0;
    }

    .customer-history {
        max-height: min(52vh, 420px);
    }
}

.item-card.is-inactive {
    opacity: 0.72;
}

.item-card .card-body {
    padding: 16px;
}

.item-meta {
    margin: 0;
    color: var(--tb-text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.item-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
}

.recent-companies {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-company-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.recent-company-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tb-shadow);
    color: inherit;
}

.recent-company-avatar,
.recent-company-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-company-avatar {
    display: block;
    overflow: hidden;
    background: var(--fimobile-theme-color-light);
}

.recent-company-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.recent-company-copy strong {
    font-size: 14px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-company-copy span {
    font-size: 12px;
    color: var(--tb-text-muted);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-company-arrow {
    color: var(--tb-text-muted);
    font-size: 16px;
    flex-shrink: 0;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-badge.is-on {
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
}

.status-badge.is-off {
    background: rgba(244, 63, 94, 0.12);
    color: #e11d48;
}

.status-badge.is-pending {
    background: rgba(245, 158, 11, 0.18);
    color: #d97706;
}

.status-badge.is-canceled {
    background: rgba(100, 116, 139, 0.16);
    color: #475569;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex: 0 0 auto;
    border: 0;
    background: var(--fimobile-card-color);
    color: var(--tb-text-muted);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--tb-shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-chip.active {
    background: var(--fimobile-theme-color);
    color: #fff;
}

.filter-chip i {
    font-size: 13px;
}

.advanced-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    flex-wrap: wrap;
}

.advanced-filter-panel {
    display: none;
    margin-bottom: 14px;
    padding: 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.advanced-filter-panel.is-open {
    display: block;
}

.advanced-filter-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.advanced-filter-field {
    margin-bottom: 12px;
}

.advanced-filter-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--tb-text-muted);
}

.advanced-filter-date-input {
    position: relative;
}

.advanced-filter-date-input .form-control {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.04);
    padding-left: 38px;
    cursor: pointer;
}

.advanced-filter-clear-date {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--tb-text-muted);
    display: none;
    align-items: center;
    justify-content: center;
}

.advanced-filter-date-input.has-value .advanced-filter-clear-date {
    display: inline-flex;
}

.advanced-filter-customer-results {
    margin-top: 8px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.advanced-filter-customer-item {
    display: block;
    width: 100%;
    text-align: right;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    border-bottom: 1px solid var(--fimobile-theme-bordercolor);
    cursor: pointer;
}

.advanced-filter-customer-item:last-child {
    border-bottom: 0;
}

.advanced-filter-customer-item strong {
    display: block;
    font-size: 13px;
}

.advanced-filter-customer-item span {
    display: block;
    font-size: 12px;
    color: var(--tb-text-muted);
}

.advanced-filter-customer-empty {
    padding: 12px 14px;
    font-size: 12px;
    color: var(--tb-text-muted);
}

.advanced-filter-selected {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.advanced-filter-selected.is-visible {
    display: flex;
}

.advanced-filter-selected strong {
    font-size: 13px;
}

.advanced-filter-selected button {
    border: 0;
    background: transparent;
    color: inherit;
    width: 28px;
    height: 28px;
}

.advanced-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.advanced-filter-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.advanced-filter-summary .chip {
    gap: 4px;
    cursor: pointer;
    border: 0;
}

.advanced-filter-summary .chip i {
    font-size: 11px;
}

@media (max-width: 420px) {
    .advanced-filter-dates {
        grid-template-columns: 1fr;
    }
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
}

.stat-card {
    text-align: center;
    padding: 12px 8px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

a.stat-card {
    text-decoration: none;
    color: inherit;
}

.stat-card .stat-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--fimobile-theme-color);
}

.stat-card.is-pending .stat-value {
    color: #d97706;
}

.stat-card.is-confirmed .stat-value {
    color: #059669;
}

.stat-card .stat-label {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tb-text-muted);
}

.reservation-card {
    position: relative;
    overflow: hidden;
}

.reservation-card.is-clickable {
    cursor: pointer;
}

.reservation-card.is-clickable:active {
    transform: scale(0.995);
}

.reservation-card::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    right: 0;
    width: 3px;
    border-radius: 3px;
    background: rgba(108, 117, 125, 0.35);
}

.reservation-card.is-pending::before {
    background: #f59e0b;
}

.reservation-card.is-on::before {
    background: #10b981;
}

.reservation-card.is-off::before {
    background: #f43f5e;
}

.reservation-card.is-pending .card-body {
    background: linear-gradient(270deg, rgba(245, 158, 11, 0.08), transparent 42%);
}

.reservation-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.reservation-time-block {
    min-width: 0;
}

.reservation-time {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    direction: ltr;
    text-align: right;
    color: var(--fimobile-theme-color);
}

.reservation-time-meta {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tb-text-muted);
}

.reservation-card-title {
    margin-bottom: 2px;
    font-size: 15px;
}

.reservation-services {
    margin: 0;
    color: var(--tb-text-muted);
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reservation-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.reservation-price {
    font-size: 13px;
    font-weight: 700;
}

.reservation-card-actions {
    display: flex;
    gap: 6px;
}

.reservation-card-actions .btn {
    min-width: 0;
    padding: 6px 12px;
}

.reservation-detail-hero {
    text-align: center;
    padding: 8px 12px 18px;
    margin-bottom: 14px;
    border-radius: 20px;
    background: var(--fimobile-theme-color-light);
}

.reservation-detail-hero.is-pending {
    background: rgba(245, 158, 11, 0.16);
}

.reservation-detail-hero.is-on {
    background: rgba(16, 185, 129, 0.14);
}

.reservation-detail-hero.is-off,
.reservation-detail-hero.is-canceled {
    background: rgba(108, 117, 125, 0.12);
}

.reservation-detail-hero .status-badge {
    margin-bottom: 10px;
}

.reservation-detail-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    direction: ltr;
    color: var(--fimobile-theme-color);
}

.reservation-detail-time i {
    font-size: 16px;
    opacity: 0.7;
}

.reservation-detail-when {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--tb-text-muted);
}

.reservation-detail-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: var(--fimobile-theme-color-light);
}

.reservation-detail-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--fimobile-card-color);
    color: var(--fimobile-theme-color);
    font-size: 22px;
}

.reservation-detail-person-copy {
    flex: 1;
    min-width: 0;
}

.reservation-detail-person-copy strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.reservation-detail-person-copy span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--tb-text-muted);
    direction: ltr;
    text-align: right;
}

.reservation-detail-call {
    flex-shrink: 0;
}

.reservation-detail-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.reservation-detail-facts > div {
    padding: 12px;
    border-radius: 16px;
    background: var(--fimobile-theme-color-light);
}

.reservation-detail-facts .is-wide {
    grid-column: 1 / -1;
}

.reservation-detail-facts span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    color: var(--tb-text-muted);
}

.reservation-detail-facts strong {
    font-size: 14px;
    font-weight: 800;
}

.reservation-detail-services {
    margin-bottom: 8px;
    padding: 4px 14px;
    border-radius: 16px;
    background: var(--fimobile-theme-color-light);
}

.reservation-detail-services .reservation-service-row:last-child {
    border-bottom: 0;
}

.reservation-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.reservation-detail-actions .btn {
    flex: 1 1 140px;
    min-height: 46px;
}

.reservation-detail-note {
    margin: 16px 0 0;
    padding: 12px;
    border-radius: 14px;
    background: rgba(108, 117, 125, 0.12);
    color: var(--tb-text-muted);
    font-size: 13px;
    text-align: center;
}

.dark-mode .fullscreen-modal-bar,
.dark-mode .reservation-detail-avatar,
.dark-mode .reservation-detail-facts > div,
.dark-mode .reservation-detail-services {
    background: rgba(255, 255, 255, 0.08);
}

.dark-mode .fullscreen-modal.is-sheet .fullscreen-modal-panel {
    background: #121826;
}

.dark-mode .reservation-detail-person {
    background: rgba(255, 255, 255, 0.08);
}

.reservation-service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--fimobile-theme-bordercolor);
}

.reservation-service-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 12px;
    color: var(--tb-text-muted);
    white-space: nowrap;
}

.reservation-service-meta strong {
    color: inherit;
    font-size: 13px;
}

.section-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--fimobile-theme-color);
    text-decoration: none;
}

.detail-list {
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--fimobile-theme-bordercolor);
    font-size: 13px;
}

.detail-row span {
    color: var(--tb-text-muted);
}

.detail-link {
    font-weight: 700;
    color: var(--fimobile-theme-color);
    direction: ltr;
}

.item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.item-actions .btn {
    min-width: 40px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.empty-state i {
    font-size: 36px;
    color: var(--fimobile-theme-color);
    display: block;
    margin-bottom: 12px;
}

.empty-state h6 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.empty-state p {
    margin: 0 0 16px;
    color: var(--tb-text-muted);
    font-size: 14px;
    line-height: 1.9;
}

.fab-btn {
    position: fixed;
    left: 18px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 8;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.back-to-top {
    position: fixed;
    right: 16px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: var(--fimobile-theme-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    z-index: 8;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

body:has(.footer) .back-to-top {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
    background: var(--fimobile-theme-color-2);
    color: #fff;
}

.page-nearby-map .back-to-top {
    display: none;
}

.avatar-upload {
    position: relative;
    display: inline-block;
}

.avatar-upload img {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 28px;
    cursor: pointer;
    box-shadow: var(--tb-shadow);
}

.avatar-upload .avatar-edit {
    position: absolute;
    left: 6px;
    bottom: 6px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--fimobile-theme-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.form-section-title {
    font-size: 14px;
    font-weight: 800;
    margin: 8px 0 12px;
}

.form-sticky-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    padding-left: calc(16px + env(safe-area-inset-left, 0px));
    padding-right: calc(16px + env(safe-area-inset-right, 0px));
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.1);
    border-radius: 22px 22px 0 0;
}

body:has(.footer) .form-sticky-actions:not(.is-modal) {
    bottom: var(--app-footer-height, calc(60px + env(safe-area-inset-bottom, 0px)));
    padding-bottom: 20px;
    border-radius: 0;
}

.fullscreen-modal .form-sticky-actions:not(.is-modal) {
    z-index: 42;
    bottom: 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.form-sticky-actions-inner {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.form-sticky-actions-inner > * {
    margin: 0 !important;
    min-width: 0;
    flex: 1 1 0;
}

.form-sticky-actions-inner > .btn,
.form-sticky-actions-inner > a.btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    box-shadow: none;
    white-space: nowrap;
}

.form-sticky-actions-inner > .btn-default,
.form-sticky-actions-inner > [type="submit"] {
    flex: 1.7 1 0;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}

.form-sticky-actions-inner > .btn-light,
.form-sticky-actions-inner > a.btn:not(.btn-default) {
    flex: 0.85 1 0;
    background: rgba(15, 23, 42, 0.06);
    border: 0;
    color: var(--tb-text);
}

form:has(> .form-sticky-actions),
.form-has-sticky-actions {
    padding-bottom: calc(var(--form-sticky-bar-height, 76px) + 8px);
}

.form-has-sticky-actions.form-sticky-in-modal {
    padding-bottom: 8px;
}

.form-sticky-actions.is-modal {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    flex-shrink: 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
}

.fullscreen-modal.is-sheet .form-sticky-actions.is-modal {
    border-radius: 0 0 24px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

body:has(.form-sticky-actions:not(.is-modal)) .back-to-top {
    bottom: calc(var(--app-footer-height, 70px) + var(--form-sticky-bar-height, 76px) + 12px);
}

.dark-mode .form-sticky-actions {
    background: rgba(18, 24, 38, 0.9);
    border-top-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.32);
}

.dark-mode .form-sticky-actions-inner > .btn-light,
.dark-mode .form-sticky-actions-inner > a.btn:not(.btn-default) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.auth-screen {
    min-height: 100%;
    padding-bottom: 32px;
}

.auth-panel {
    padding: 8px 4px 0;
}

.nav-segment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    box-shadow: inset 0 0 0 1px var(--fimobile-theme-bordercolor);
}

.nav-segment .nav-item {
    width: 100%;
    margin: 0;
}

.nav-segment .nav-link {
    border-radius: 12px;
    text-align: center;
    color: var(--tb-text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 8px;
    width: 100%;
}

.nav-segment .nav-link.active {
    background: var(--fimobile-theme-color);
    color: #fff;
}

.auth-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--tb-text-muted);
    text-align: right;
}

.auth-switch {
    margin-top: 8px;
    font-size: 13px;
}

.otp-input {
    text-align: center;
    letter-spacing: 10px;
    font-size: 24px !important;
    font-weight: 700;
    direction: ltr;
    height: 64px !important;
    line-height: 1.2 !important;
}

.fullscreen-modal {
    z-index: 40;
}

body:has(.fullscreen-modal.show) .footer,
body:has(.fullscreen-modal.show) .fab-btn,
body:has(.fullscreen-modal.show) .back-to-top,
body:has(.fullscreen-modal.show) main .form-sticky-actions {
    visibility: hidden;
    pointer-events: none;
}

.footer {
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: constant(safe-area-inset-left);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: constant(safe-area-inset-right);
    padding-right: env(safe-area-inset-right, 0px);
    background-color: var(--fimobile-footer);
    box-shadow:
        0 -5px 10px rgba(0, 0, 0, 0.07),
        0 50vh 0 0 var(--fimobile-footer);
}

.footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 50vh;
    background-color: var(--fimobile-footer);
    pointer-events: none;
}

.footer .nav-text {
    font-size: 11px;
    font-weight: 600;
}

.footer-icon-wrap {
    position: relative;
    display: inline-block;
}

.footer-badge {
    position: absolute;
    top: -5px;
    left: -9px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #f43f5e;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--fimobile-footer, #fff);
}

.pending-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--tb-radius);
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, #fff7e6, #fff);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: var(--tb-shadow-sm);
}

.pending-notice-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.22);
    color: #d97706;
    font-size: 20px;
    flex-shrink: 0;
}

.pending-notice-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.pending-notice-copy strong {
    font-size: 14px;
    font-weight: 800;
}

.pending-notice-copy span {
    font-size: 12px;
    color: var(--tb-text-muted);
}

.pending-notice-arrow {
    color: #d97706;
    font-size: 16px;
}

.dark-mode .pending-notice {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
    color: inherit;
}

.sidebar-wrap .closemenu {
    font-size: 13px;
}

.sidebar-user {
    padding: 4px 0 12px;
}

.sidebar .nav-link .col {
    font-size: 14px;
    font-weight: 500;
}

.public-page-card {
    padding: 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.public-page-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.public-page-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
    font-size: 20px;
    flex-shrink: 0;
}

.public-page-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.public-page-text strong {
    font-size: 14px;
    font-weight: 800;
}

.public-page-text span {
    font-size: 12px;
    color: var(--tb-text-muted);
    line-height: 1.7;
}

.public-page-url {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 12px;
    border-radius: 14px;
    background: var(--fimobile-theme-color-light);
    direction: ltr;
}

.public-page-link {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    color: var(--fimobile-theme-color);
    text-align: left;
    text-decoration: none;
}

.public-page-link:hover {
    color: var(--fimobile-theme-color-2);
}

.public-page-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: var(--fimobile-theme-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.public-page-copy-btn i {
    font-size: 14px;
}

.public-page-copy-btn:hover,
.public-page-copy-btn:focus {
    color: #fff;
    background: var(--fimobile-theme-color-2);
}

.public-page-copy-btn.is-copied,
.public-page-copy-btn.is-copied:hover,
.public-page-copy-btn.is-copied:focus {
    background: #059669;
}

.dark-mode {
    --tb-text: #f1f5f9;
    --tb-text-muted: #94a3b8;
}

.dark-mode label {
    color: #cbd5e1;
}

.dark-mode form .form-control {
    background-color: rgba(255, 255, 255, 0.06);
    color: inherit;
    box-shadow: none;
}

.dark-mode .hero-card,
.dark-mode .setup-banner,
.dark-mode .feature-card,
.dark-mode .empty-state,
.dark-mode .auth-panel,
.dark-mode .item-card,
.dark-mode .action-card,
.dark-mode .welcome-card,
.dark-mode .stat-card,
.dark-mode .filter-chip,
.dark-mode .public-page-card,
.dark-mode .recent-company-card,
.dark-mode .package-card,
.dark-mode .account-status-card,
.dark-mode .customer-search .form-control {
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
}

.dark-mode .hero-card {
    background: linear-gradient(135deg, var(--fimobile-theme-color) 0%, var(--fimobile-theme-color-2) 100%);
    color: #fff;
}

.dark-mode .public-page-url {
    background: rgba(255, 255, 255, 0.08);
}

.dark-mode .customer-history-row {
    background: rgba(255, 255, 255, 0.08);
}

.dark-mode .filter-chip.active {
    background: var(--fimobile-theme-color);
    color: #fff;
}

.dark-mode .advanced-filter-panel,
.dark-mode .advanced-filter-customer-results {
    background: rgba(255, 255, 255, 0.06);
}

.dark-mode .advanced-filter-selected {
    background: rgba(37, 99, 235, 0.28);
    color: #fff;
}

.dark-mode .advanced-filter-date-input .form-control {
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
}

.dark-mode .reservation-card.is-pending .card-body {
    background: linear-gradient(270deg, rgba(245, 158, 11, 0.12), transparent 42%);
}

.dark-mode .setup-banner {
    border-color: rgba(245, 158, 11, 0.2);
}

.page-company .main-container {
    padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
}

.company-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--tb-radius);
    margin-bottom: 22px;
    color: #fff;
    box-shadow: var(--tb-shadow);
}

.company-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--fimobile-theme-color) 0%, var(--fimobile-theme-color-2, #1d4ed8) 100%);
}

.company-hero-body {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 24px 20px;
}

.company-avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    background: #fff;
}

.company-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-hero-copy h1 {
    font-size: 23px;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.03em;
    color:white;
}

.company-handle {
    margin: 0 0 8px;
    font-size: 12px;
    opacity: 0.85;
    direction: ltr;
    text-align: right;
}

.chip-light {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.company-address {
    margin: 10px 0 0;
    font-size: 12px;
    opacity: 0.9;
}

.company-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.company-action {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
}

.company-action:hover,
.company-action:focus {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.company-action-light {
    background: rgba(37, 99, 235, 0.08);
    color: var(--fimobile-theme-color);
}

.company-action-light:hover,
.company-action-light:focus {
    background: rgba(37, 99, 235, 0.14);
    color: var(--fimobile-theme-color);
}

.company-bio-card {
    margin: -8px 0 22px;
}

.company-bio {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: var(--tb-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-bio.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.company-bio-toggle {
    border: 0;
    background: none;
    padding: 0;
    margin-top: 4px;
    color: var(--fimobile-theme-color);
    font-size: 12px;
    font-weight: 700;
}

.company-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.company-map-head h5 {
    margin-bottom: 0;
}

.company-map-view #companyMap {
    height: 240px;
}

.company-hero-copy {
    min-width: 0;
}

.booking-section {
    margin-bottom: 24px;
}

.section-hint {
    font-size: 11px;
    color: var(--tb-text-muted);
}

.service-list {
    display: grid;
    gap: 10px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: right;
    border: 1px solid transparent;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
    padding: 12px;
    color: inherit;
    position: relative;
}

.service-card.is-selected {
    border-color: var(--fimobile-theme-color);
    box-shadow: 0 0 0 3px var(--fimobile-theme-color-light);
}

.service-card-media {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-body {
    flex: 1;
    min-width: 0;
}

.service-card-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--fimobile-theme-bordercolor);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    flex-shrink: 0;
}

.service-card.is-selected .service-check {
    background: var(--fimobile-theme-color);
    border-color: var(--fimobile-theme-color);
    color: #fff;
}

.staff-scroller,
.date-scroller {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 2px 10px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.staff-scroller::-webkit-scrollbar,
.date-scroller::-webkit-scrollbar {
    display: none;
}

.staff-chip,
.date-chip,
.slot-chip {
    border: 1px solid transparent;
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
    color: inherit;
}

.staff-chip {
    flex: 0 0 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 18px;
}

.staff-chip-avatar,
.staff-chip-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.staff-chip-avatar.any {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
    font-size: 20px;
}

.staff-chip-name {
    font-size: 12px;
    font-weight: 700;
}

.staff-chip-title {
    font-size: 10px;
    color: var(--tb-text-muted);
}

.date-chip {
    flex: 0 0 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    border-radius: 18px;
}

.date-chip-name,
.date-chip-month {
    font-size: 11px;
    color: var(--tb-text-muted);
}

.date-chip-num {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.staff-chip.is-selected,
.date-chip.is-selected,
.slot-chip.is-selected {
    background: var(--fimobile-theme-color);
    color: #fff;
    border-color: var(--fimobile-theme-color);
}

.staff-chip.is-selected .staff-chip-title,
.date-chip.is-selected .date-chip-name,
.date-chip.is-selected .date-chip-month {
    color: rgba(255, 255, 255, 0.8);
}

.slot-caption {
    font-size: 12px;
    color: var(--tb-text-muted);
    margin-bottom: 10px;
}

.slot-period-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    margin-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.slot-period-scroller::-webkit-scrollbar {
    display: none;
}

.slot-period {
    flex: 1 0 96px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
    color: inherit;
    text-align: right;
}

.slot-period-title {
    font-size: 13px;
    font-weight: 800;
}

.slot-period-meta {
    font-size: 10px;
    color: var(--tb-text-muted);
    white-space: nowrap;
}

.slot-period.is-selected {
    background: var(--fimobile-theme-color);
    border-color: var(--fimobile-theme-color);
    color: #fff;
}

.slot-period.is-selected .slot-period-meta {
    color: rgba(255, 255, 255, 0.8);
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    /*max-height: 280px;*/
    overflow-y: auto;
    padding-bottom: 4px;
}

@media (min-width: 768px) {
    .slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: 320px;
    }
}

.slot-chip {
    padding: 10px 6px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
}

.slot-chip-time {
    display: block;
    direction: ltr;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.empty-state-sm {
    padding: 24px 16px;
}

.booking-bar {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
    background: var(--fimobile-card-color);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

.booking-bar-copy {
    flex: 1;
    min-width: 0;
}

.booking-bar-title,
.booking-bar-meta {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-bar-title {
    font-size: 13px;
    font-weight: 800;
}

.booking-bar-meta {
    font-size: 11px;
    color: var(--tb-text-muted);
}

.booking-bar .btn {
    flex-shrink: 0;
    min-width: 108px;
}

.booking-sheet {
    position: fixed;
    inset: 0;
    z-index: 30;
}

.booking-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.booking-sheet-panel {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    background: var(--fimobile-card-color);
    border-radius: 28px 28px 0 0;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
}

.booking-sheet-handle {
    width: 48px;
    height: 5px;
    border-radius: 99px;
    background: var(--fimobile-theme-bordercolor);
    margin: 4px auto 16px;
}

.booking-sheet-panel h5 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.auth-sheet-lead {
    color: var(--tb-text-muted);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.success-mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 8px auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.16);
    color: #059669;
    font-size: 32px;
}

body.sheet-open {
    overflow: hidden;
}

.dark-mode .service-card,
.dark-mode .staff-chip,
.dark-mode .date-chip,
.dark-mode .slot-chip,
.dark-mode .slot-period,
.dark-mode .booking-bar,
.dark-mode .booking-sheet-panel {
    background: rgba(255, 255, 255, 0.06);
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .package-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.package-card {
    position: relative;
    padding: 22px 18px 18px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
    border: 1px solid transparent;
}

.package-card.is-recommended {
    border-color: var(--fimobile-theme-color);
    box-shadow: var(--tb-shadow);
}

.package-card.is-current {
    border-color: #059669;
}

.package-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--fimobile-theme-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 10px;
}

.package-badge.is-free {
    background: #059669;
}

.package-card h5 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px;
}

.package-duration {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--tb-text-muted);
}

.package-price {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--fimobile-theme-color);
}

.package-price-block {
    margin: 0 0 10px;
}

.package-price-block .package-price {
    margin: 0;
}

.package-price-old {
    margin: 0 0 2px;
    font-size: 13px;
    color: var(--tb-text-muted);
    text-decoration: line-through;
}

.package-discount {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    padding: 3px 8px;
    margin-bottom: 6px;
}

.package-sms-quota {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #059669;
}

.package-sms-quota i {
    margin-left: 4px;
}

.package-grid-sms {
    grid-template-columns: 1fr 1fr;
}

.section-hint {
    margin: -8px 0 0;
    font-size: 12px;
    color: var(--tb-text-muted);
    line-height: 1.8;
}

#sms-packages {
    scroll-margin-top: 88px;
}

.package-desc {
    margin: 0 0 16px;
    font-size: 12px;
    color: var(--tb-text-muted);
    line-height: 1.8;
}

.setup-banner.account-status-active {
    background: linear-gradient(135deg, #e8f8f1, #fff);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.dark-mode .setup-banner.account-status-active {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
}

.account-status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--tb-radius);
    text-decoration: none;
    color: inherit;
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
    border: 1px solid transparent;
}

.account-status-card:hover {
    color: inherit;
}

.account-status-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.account-status-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.account-status-copy strong {
    font-size: 14px;
    font-weight: 800;
}

.account-status-copy span {
    font-size: 12px;
    color: var(--tb-text-muted);
    line-height: 1.7;
}

.account-status-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.account-status-days {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.account-status-go {
    font-size: 11px;
    font-weight: 700;
    color: var(--fimobile-theme-color);
    white-space: nowrap;
}

.account-status-card.is-active {
    background: linear-gradient(135deg, #e8f8f1, #fff);
    border-color: rgba(16, 185, 129, 0.28);
}

.account-status-card.is-active .account-status-icon {
    background: rgba(16, 185, 129, 0.16);
    color: #059669;
}

.account-status-card.is-active .account-status-days,
.account-status-card.is-active .account-status-go {
    color: #059669;
}

.account-status-card.is-active .account-status-days {
    background: rgba(16, 185, 129, 0.14);
}

.account-status-card.is-expiring,
.account-status-card.is-empty,
.account-status-card.is-expired {
    background: linear-gradient(135deg, #fff7e6, #fff);
    border-color: rgba(245, 158, 11, 0.4);
}

.account-status-card.is-expiring .account-status-icon,
.account-status-card.is-empty .account-status-icon,
.account-status-card.is-expired .account-status-icon {
    background: rgba(245, 158, 11, 0.22);
    color: #d97706;
}

.account-status-card.is-expiring .account-status-days,
.account-status-card.is-expiring .account-status-go,
.account-status-card.is-empty .account-status-go,
.account-status-card.is-expired .account-status-go {
    color: #d97706;
}

.account-status-card.is-expiring .account-status-days {
    background: rgba(245, 158, 11, 0.22);
}

.dark-mode .account-status-card.is-active {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
}

.dark-mode .account-status-card.is-expiring,
.dark-mode .account-status-card.is-empty,
.dark-mode .account-status-card.is-expired {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
}

.sms-status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--tb-radius);
    text-decoration: none;
    color: inherit;
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
    border: 1px solid transparent;
}

.sms-status-card:hover {
    color: inherit;
}

.sms-status-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.sms-status-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.sms-status-copy strong {
    font-size: 14px;
    font-weight: 800;
}

.sms-status-copy span {
    font-size: 12px;
    color: var(--tb-text-muted);
    line-height: 1.7;
}

.sms-status-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.sms-status-stats {
    display: flex;
    gap: 8px;
}

.sms-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
    padding: 4px 8px;
    border-radius: 10px;
    background: var(--fimobile-theme-color-light);
}

.sms-stat em {
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
    color: var(--fimobile-theme-color);
    line-height: 1.2;
}

.sms-stat small {
    font-size: 10px;
    color: var(--tb-text-muted);
}

.sms-stat.is-sent {
    background: rgba(15, 23, 42, 0.06);
}

.sms-stat.is-sent em {
    color: inherit;
}

.sms-status-go {
    font-size: 11px;
    font-weight: 700;
    color: var(--fimobile-theme-color);
    white-space: nowrap;
}

.sms-status-card.is-ok {
    background: linear-gradient(135deg, #eef6ff, #fff);
    border-color: rgba(37, 99, 235, 0.22);
}

.sms-status-card.is-ok .sms-status-icon {
    background: rgba(37, 99, 235, 0.14);
    color: #2563eb;
}

.sms-status-card.is-low,
.sms-status-card.is-empty {
    background: linear-gradient(135deg, #fff7e6, #fff);
    border-color: rgba(245, 158, 11, 0.4);
}

.sms-status-card.is-low .sms-status-icon,
.sms-status-card.is-empty .sms-status-icon {
    background: rgba(245, 158, 11, 0.22);
    color: #d97706;
}

.sms-status-card.is-low .sms-status-go,
.sms-status-card.is-empty .sms-status-go {
    color: #d97706;
}

.dark-mode .sms-status-card.is-ok {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.28);
}

.dark-mode .sms-status-card.is-low,
.dark-mode .sms-status-card.is-empty {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
}

.dark-mode .sms-stat.is-sent {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 420px) {
    .sms-status-card {
        flex-wrap: wrap;
    }

    .sms-status-meta {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer .nav .nav-item.centerbutton .nav-link .nav-menu-popover {
    flex-wrap: wrap;
    width: 300px;
    gap: 8px;
    justify-content: center;
}

.seo-landing {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
}

.seo-landing .section-heading {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .feature-grid-wide {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.step-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

@media (min-width: 768px) {
    .step-list {
        grid-template-columns: 1fr 1fr;
    }
}

.step-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.step-card h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
}

.step-card p {
    margin: 0;
    font-size: 13px;
    color: var(--tb-text-muted);
    line-height: 1.8;
}

.audience-card {
    padding: 18px 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.audience-card > p {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--tb-text-muted);
    line-height: 1.9;
}

.audience-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.audience-chips li {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.landing-trial .landing-trial-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
}

.landing-trial p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--tb-text-muted);
    line-height: 1.9;
}

.seo-article {
    padding: 20px 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.seo-article h2 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.seo-article h3 {
    margin: 16px 0 6px;
    font-size: 14px;
    font-weight: 700;
}

.seo-article p {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--tb-text-muted);
    line-height: 2;
}

.seo-article p:last-child {
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
    padding: 4px 16px 4px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:after {
    content: "+";
    float: left;
    font-weight: 700;
    color: var(--fimobile-theme-color);
}

.faq-item[open] summary:after {
    content: "–";
}

.faq-item p {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--tb-text-muted);
    line-height: 1.9;
}

.landing-slider {
    margin-top: 0;
}

.landing-swiper {
    position: relative;
    overflow: hidden;
    border-radius: var(--tb-radius);
    box-shadow: var(--tb-shadow);
}

.landing-swiper .swiper-slide {
    position: relative;
    height: 210px;
}

.landing-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-slide-caption {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    padding: 40px 16px 36px;
    background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.9) 100%);
    color: #fff;
    pointer-events: none;
}

.landing-slide-caption h2,
.landing-slide-caption .landing-slide-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.landing-slide-caption p {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    opacity: 0.92;
}

.landing-swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px !important;
    width: 100%;
    z-index: 2;
}

.landing-swiper-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.45;
}

.landing-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

@media (min-width: 768px) {
    .landing-swiper .swiper-slide {
        height: 300px;
    }

    .landing-slide-caption {
        padding: 56px 22px 40px;
    }

    .landing-slide-caption h2,
    .landing-slide-caption .landing-slide-title {
        font-size: 20px;
    }

    .landing-slide-caption p {
        font-size: 14px;
    }
}

.landing-bottom-cta {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.landing-bottom-cta h2 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
}

.landing-bottom-cta p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--tb-text-muted);
    line-height: 1.9;
}

.dark-mode .step-card,
.dark-mode .audience-card,
.dark-mode .seo-article,
.dark-mode .faq-item,
.dark-mode .landing-bottom-cta {
    background: rgba(255, 255, 255, 0.06);
}

.legal-page {
    border: 0;
    border-radius: var(--tb-radius);
    box-shadow: var(--tb-shadow-sm);
}

.legal-page .card-body {
    padding: 24px 20px;
}

.legal-page h1 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 800;
}

.legal-page section {
    margin-bottom: 24px;
}

.legal-page h2 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
}

.legal-page p {
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 2.05;
    color: var(--tb-text-muted);
}

.legal-page p:last-child {
    margin-bottom: 0;
}

.legal-page a {
    font-weight: 700;
}

.legal-signoff {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: inherit;
}

.dark-mode .legal-page {
    background: rgba(255, 255, 255, 0.06);
}

.contact-card.instagram .action-icon {
    background: rgba(225, 48, 108, 0.12);
    color: #e1306c;
}

.contact-card.whatsapp .action-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.contact-card.phone .action-icon {
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.pwa-install-toast {
    z-index: 1090;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: min(92vw, 420px);
    display: none;
}

.pwa-install-toast.is-visible {
    display: block;
}

.schedule-host {
    position: relative;
    min-width: 0;
    max-width: 100%;
    min-height: 160px;
    margin-bottom: 8px;
}

.schedule-host.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: var(--tb-radius);
    background: rgba(255, 255, 255, 0.45);
}

.schedule-host-loading {
    display: flex;
    justify-content: center;
    padding: 36px 0;
}

.schedule-calendar {
    margin-bottom: 4px;
    min-width: 0;
    max-width: 100%;
}

.schedule-date-scroller {
    margin-bottom: 4px;
}

.schedule-date-chip {
    position: relative;
    flex: 0 0 64px;
    padding: 8px 6px 10px;
}

.schedule-date-chip .date-chip-name {
    white-space: nowrap;
    font-size: 10px;
}

.schedule-date-chip .date-chip-num {
    font-size: 18px;
    line-height: 1.2;
}

.schedule-date-chip .date-chip-month {
    font-size: 10px;
}

.schedule-date-chip.is-empty:not(.is-selected) {
    opacity: 0.78;
}

.schedule-date-chip.has-pending::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
}

.schedule-date-chip.is-selected.has-pending::after {
    background: #ffe08a;
}

.schedule-date-count {
    min-width: 18px;
    height: 16px;
    margin-top: 2px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.schedule-date-count.is-empty {
    min-width: 8px;
    height: 3px;
    padding: 0;
    background: rgba(108, 117, 125, 0.28);
}

.schedule-date-chip.is-selected .schedule-date-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.schedule-date-chip.is-selected .schedule-date-count.is-empty {
    background: rgba(255, 255, 255, 0.35);
}

.schedule-date-chip.is-today:not(.is-selected) {
    border-color: var(--fimobile-theme-color);
}

.schedule-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 4px 0 10px;
}

.schedule-day-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
}

.schedule-day-summary {
    margin: 2px 0 0;
    font-size: 11px;
    color: var(--tb-text-muted);
}

.schedule-day-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.schedule-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.schedule-pill.is-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #d97706;
}

.schedule-pill.is-confirmed {
    background: rgba(16, 185, 129, 0.16);
    color: #059669;
}

.schedule-day-body {
    margin-bottom: 16px;
}

.schedule-day-body .empty-state-sm {
    margin: 0;
    padding: 20px 14px;
}

.schedule-timeline {
    position: relative;
    max-height: min(42vh, 360px);
    overflow-y: auto;
    padding: 2px 0 4px 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.schedule-timeline-inner {
    position: relative;
}

.schedule-timeline-inner::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 42px;
    width: 2px;
    background: var(--fimobile-theme-bordercolor);
}

.schedule-slot {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 6px;
}

.schedule-slot.is-clickable {
    cursor: pointer;
}

.schedule-slot.is-clickable:active .schedule-slot-card {
    transform: scale(0.995);
}

.schedule-slot.is-past {
    opacity: 0.68;
}

.schedule-slot-time {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
}

.schedule-slot-start {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    direction: ltr;
    color: var(--fimobile-theme-color);
}

.schedule-slot-end {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    direction: ltr;
    color: var(--tb-text-muted);
}

.schedule-slot-time::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -8px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--fimobile-card-color);
    border: 2px solid rgba(108, 117, 125, 0.45);
    box-shadow: 0 0 0 3px var(--fimobile-page-bg-1);
}

.schedule-slot.is-pending .schedule-slot-time::after {
    border-color: #f59e0b;
}

.schedule-slot.is-on .schedule-slot-time::after {
    border-color: #10b981;
}

.schedule-slot-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    overflow: hidden;
    padding: 8px 10px 8px 12px;
    border-radius: 14px;
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.schedule-slot-card::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    right: 0;
    width: 3px;
    border-radius: 3px;
    background: rgba(108, 117, 125, 0.35);
}

.schedule-slot.is-pending .schedule-slot-card::before {
    background: #f59e0b;
}

.schedule-slot.is-on .schedule-slot-card::before {
    background: #10b981;
}

.schedule-slot.is-pending .schedule-slot-card {
    background: linear-gradient(270deg, rgba(245, 158, 11, 0.1), var(--fimobile-card-color) 48%);
}

.schedule-slot-main {
    flex: 1;
    min-width: 0;
}

.schedule-slot-name {
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.schedule-slot-services {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--tb-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-slot-card .status-badge {
    flex-shrink: 0;
}

.schedule-now {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 0 0 6px;
}

.schedule-now span {
    grid-column: 2;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e11d48;
    font-size: 10px;
    font-weight: 800;
}

.schedule-now span::before {
    content: "";
    flex: 1;
    height: 2px;
    background: #f43f5e;
    border-radius: 2px;
    opacity: 0.7;
}

.dark-mode .schedule-host.is-loading::after {
    background: rgba(0, 0, 0, 0.28);
}

.dark-mode .schedule-slot-card,
.dark-mode .schedule-date-count {
    background: rgba(255, 255, 255, 0.06);
}

.dark-mode .schedule-slot.is-pending .schedule-slot-card {
    background: linear-gradient(270deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.06) 48%);
}

.dark-mode .schedule-date-chip.is-selected .schedule-date-count {
    background: rgba(255, 255, 255, 0.22);
}

.dark-mode .schedule-slot-time::after {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px var(--fimobile-page-bg-1);
}

.map-view {
    position: relative;
}

.map-view #map {
    width: 100%;
    height: 400px;
    background: #eee;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    direction: ltr;
}

.map-my-location {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 999999;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    touch-action: manipulation;
}

.map-center-pin {
    background: transparent;
    border: none;
}

.map-center-pin i {
    font-size: 32px;
    color: #f43f5e;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.page-nearby-map {
    overflow: hidden;
}

.page-nearby-map .nearby-map-main {
    padding: 0 !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.nearby-map-stage {
    position: fixed;
    top: calc(72px + env(safe-area-inset-top, 0px));
    right: 0;
    left: 0;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    background: #e8eef5;
}

.nearby-map-stage #nearbyMap {
    width: 100%;
    height: 100%;
    direction: ltr;
}

.nearby-map-filters {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    z-index: 500;
    min-width: 0;
}

.nearby-map-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 4px 2px 2px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.nearby-map-chips .filter-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.nearby-map-stage .map-my-location {
    bottom: 16px;
    z-index: 500;
}

.nearby-map-stage.has-popup .map-my-location {
    bottom: 168px;
}

.nearby-map-status {
    position: absolute;
    top: 62px;
    right: 16px;
    left: 16px;
    z-index: 500;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    color: var(--tb-text, #0f172a);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.nearby-map-status.is-error {
    color: #e11d48;
}

.nearby-map-status.is-action {
    cursor: pointer;
}

.nearby-user-pin {
    background: transparent;
    border: none;
}

.nearby-user-pin span {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #fff;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.22);
}

.leaflet-div-icon.nearby-company-marker {
    background: transparent;
    border: none;
}

.nearby-company-marker-bubble {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28), 0 0 0 2px #2563eb;
}

.nearby-company-marker-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nearby-company-marker-caret {
    display: block;
    width: 0;
    height: 0;
    margin: -1px auto 0;
    border: 8px solid transparent;
    border-top-color: #2563eb;
}

.nearby-company-marker.is-active {
    z-index: 700 !important;
}

.nearby-company-marker.is-active .nearby-company-marker-bubble {
    transform: scale(1.12);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35), 0 0 0 3px #2563eb;
}

.nearby-map-popup {
    position: absolute;
    right: 12px;
    left: 12px;
    bottom: 16px;
    z-index: 600;
    background: var(--fimobile-card-color, #fff);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.nearby-map-popup-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--fimobile-theme-color-light, #eef4ff);
    color: var(--tb-text-muted, #64748b);
}

.nearby-map-popup-body {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-left: 28px;
}

.nearby-map-popup-body img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}

.nearby-map-popup-copy {
    min-width: 0;
}

.nearby-map-popup-copy strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.nearby-map-popup-copy span,
.nearby-map-popup-copy p {
    display: block;
    font-size: 12px;
    color: var(--tb-text-muted, #64748b);
    margin: 0;
}

.nearby-map-popup-copy p {
    margin-top: 4px;
    line-height: 1.6;
}

.dark-mode .nearby-map-status,
.dark-mode .nearby-map-popup {
    background: rgba(20, 24, 36, 0.94);
}

.dark-mode .nearby-map-popup-close {
    background: rgba(255, 255, 255, 0.08);
}

.leaflet-top .leaflet-control {
    margin-top: 110px !important;
}
.leaflet-container .leaflet-control-attribution{
    display:none;
}
.main-container{
    padding-bottom:25px;
}

.card-transfer-intro p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: var(--tb-text-muted);
}

.bank-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 22px 20px 20px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 32%),
        linear-gradient(135deg, #1e3a8a 0%, #2563eb 52%, #1d4ed8 100%);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}

.bank-card:before {
    content: "";
    position: absolute;
    inset: auto -40px -70px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.bank-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.bank-card-brand {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.92;
}

.bank-card-chip {
    width: 42px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg, #f5d76e, #c9a227 55%, #e8c547);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.bank-card-number-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.bank-card-number {
    margin: 0;
    flex: 1;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: left;
}

.bank-card-copy {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
}

.bank-card-copy:active {
    transform: scale(0.96);
}

.bank-card-copy:hover {
    background: rgba(255, 255, 255, 0.26);
}

.bank-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.bank-card-meta span {
    display: block;
    font-size: 11px;
    opacity: 0.78;
    margin-bottom: 4px;
}

.bank-card-meta strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.card-transfer-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.card-transfer-steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.card-transfer-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
    font-size: 13px;
    font-weight: 800;
}

.card-transfer-steps strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.card-transfer-steps p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--tb-text-muted);
}

.dark-mode .card-transfer-steps li {
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 420px) {
    .bank-card-number {
        font-size: 16px;
        letter-spacing: 0.04em;
    }
}

/* Payment verify / result */
.payment-result {
    margin: 12px auto 24px;
    max-width: 520px;
    padding: 28px 22px 24px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow);
    text-align: center;
    border: 1px solid transparent;
}

.payment-result.is-success {
    border-color: rgba(5, 150, 105, 0.22);
}

.payment-result.is-error {
    border-color: rgba(225, 29, 72, 0.2);
}

.payment-result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.payment-result.is-success .payment-result-icon {
    background: rgba(5, 150, 105, 0.14);
    color: var(--tb-success);
}

.payment-result.is-error .payment-result-icon {
    background: rgba(225, 29, 72, 0.12);
    color: var(--tb-danger);
}

.payment-result-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
}

.payment-result.is-success .payment-result-title {
    color: var(--tb-success);
}

.payment-result.is-error .payment-result-title {
    color: var(--tb-danger);
}

.payment-result-message {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--tb-text-muted);
}

.payment-result-meta {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: var(--tb-radius-sm);
    background: rgba(15, 23, 42, 0.04);
    text-align: right;
}

.payment-result-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.payment-result-meta-row + .payment-result-meta-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.payment-result-meta dt {
    margin: 0;
    font-size: 12px;
    color: var(--tb-text-muted);
    font-weight: 600;
}

.payment-result-meta dd {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--tb-text);
    letter-spacing: 0.02em;
}

.payment-result-actions {
    display: grid;
    gap: 10px;
}

.payment-result-hint {
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--tb-text-muted);
}

.dark-mode .payment-result {
    background: rgba(255, 255, 255, 0.06);
}

.dark-mode .payment-result-meta {
    background: rgba(255, 255, 255, 0.06);
}

.dark-mode .payment-result-meta-row + .payment-result-meta-row {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.setup-check-card {
    padding: 18px 16px 16px;
    border-radius: var(--tb-radius);
    background: var(--fimobile-card-color);
    box-shadow: var(--tb-shadow-sm);
}

.setup-check-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.setup-check-head h6 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
}

.setup-check-head p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--tb-text-muted);
}

.setup-check-count {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: var(--fimobile-theme-color);
    background: var(--fimobile-theme-color-light);
}

.setup-check-progress {
    height: 8px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(37, 99, 235, 0.12);
    margin-bottom: 14px;
}

.setup-check-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--fimobile-theme-color);
}

.setup-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.setup-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: rgba(15, 23, 42, 0.03);
}

.setup-check-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: inherit;
}

.setup-check-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    background: var(--fimobile-theme-color-light);
    color: var(--fimobile-theme-color);
}

.setup-check-list .is-done .setup-check-icon {
    background: rgba(5, 150, 105, 0.14);
    color: var(--tb-success);
}

.setup-check-copy {
    flex: 1;
    min-width: 0;
}

.setup-check-copy strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.setup-check-copy strong em {
    margin-right: 6px;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: var(--tb-text-muted);
}

.setup-check-copy span {
    display: block;
    font-size: 12px;
    line-height: 1.7;
    color: var(--tb-text-muted);
}

.setup-check-go {
    margin-top: 10px;
    color: var(--tb-text-muted);
    font-size: 14px;
}

.setup-check-list .is-done .setup-check-copy strong,
.setup-check-list .is-done .setup-check-copy span {
    color: var(--tb-text-muted);
}

.setup-check-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.setup-guide-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(15, 23, 42, 0.45);
    align-items: flex-end;
    justify-content: center;
}

.setup-guide-overlay.is-open {
    display: flex !important;
}

.setup-guide-panel {
    width: 100%;
    max-height: min(92vh, 760px);
    display: flex;
    flex-direction: column;
    background: var(--fimobile-card-color);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
}

.setup-guide-handle {
    display: block;
    width: 48px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 99px;
    background: var(--fimobile-theme-bordercolor);
}

.setup-guide-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 8px 0;
}

.setup-guide-bar h5 {
    margin: 0;
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
}

.setup-guide-skip {
    color: var(--tb-text-muted);
    text-decoration: none;
    font-weight: 700;
}

.setup-guide-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--tb-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.setup-guide-body {
    min-height: 0;
    overflow-y: auto;
    padding: 8px 20px 4px;
}

.setup-guide-slide {
    display: none;
    text-align: center;
    padding: 8px 0 12px;
}

.setup-guide-slide.is-active {
    display: block;
}

.setup-guide-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--fimobile-theme-color);
    background: var(--fimobile-theme-color-light);
}

.setup-guide-badge.is-done {
    color: var(--tb-success);
    background: rgba(5, 150, 105, 0.14);
}

.setup-guide-badge.is-optional {
    color: var(--tb-text-muted);
    background: rgba(15, 23, 42, 0.06);
}

.setup-guide-icon {
    width: 64px;
    height: 64px;
    margin: 16px auto 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--fimobile-theme-color);
    background: var(--fimobile-theme-color-light);
}

.setup-guide-slide h6 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.setup-guide-slide p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--tb-text-muted);
}

.setup-guide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.04);
    color: var(--tb-text);
    text-decoration: none;
}

.setup-guide-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px 0;
}

.setup-guide-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(37, 99, 235, 0.22);
    cursor: pointer;
}

.setup-guide-dot.is-active {
    width: 18px;
    background: var(--fimobile-theme-color);
}

.setup-guide-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}

body:has(.setup-guide-overlay.is-open) .footer,
body:has(.setup-guide-overlay.is-open) .fab-btn,
body:has(.setup-guide-overlay.is-open) .back-to-top {
    visibility: hidden;
    pointer-events: none;
}

@media (min-width: 768px) {
    .setup-guide-overlay.is-open {
        align-items: center;
        padding: 24px;
    }

    .setup-guide-panel {
        max-width: 460px;
        border-radius: 24px;
        max-height: min(86vh, 720px);
    }
}

.dark-mode .setup-check-card,
.dark-mode .setup-guide-panel {
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
}

.dark-mode .setup-check-item,
.dark-mode .setup-guide-link,
.dark-mode .setup-guide-badge.is-optional {
    background: rgba(255, 255, 255, 0.06);
}

.dark-mode .setup-check-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-desktop,
.footer-desktop,
.auth-aside {
    display: none;
}

.landing-trial-btn {
    width: 100%;
}

/* Desktop: website chrome, capped width, no stretched mobile UI */
@media (min-width: 992px) {
    :root {
        --tb-desktop-width: 1120px;
        --tb-header-height: 76px;
    }

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: var(--tb-desktop-width);
    }

    body.tb-site {
        background:
            radial-gradient(1200px 520px at 100% -10%, rgba(37, 99, 235, 0.16), transparent 55%),
            radial-gradient(900px 420px at -10% 110%, rgba(79, 70, 229, 0.12), transparent 50%),
            var(--fimobile-page-bg-1);
    }

    body.tb-site main {
        background: transparent;
    }

    .header {
        padding: 10px 24px;
        line-height: 1.4;
    }

    .header:after {
        border-radius: 0;
        opacity: 1;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
        -webkit-backdrop-filter: blur(16px) saturate(1.3);
        backdrop-filter: blur(16px) saturate(1.3);
    }

    .header.position-fixed:after {
        opacity: 1;
    }

    .header-mobile {
        display: none;
    }

    .header-desktop {
        display: flex;
        align-items: center;
        gap: 20px 28px;
        width: 100%;
        max-width: var(--tb-desktop-width);
        margin: 0 auto;
        min-height: 56px;
    }

    .header-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--tb-text);
        text-decoration: none;
        font-weight: 800;
        font-size: 18px;
        letter-spacing: -0.03em;
        flex-shrink: 0;
    }

    .header-brand:hover {
        color: var(--fimobile-theme-color);
    }

    .header-brand img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        border-radius: 12px;
    }

    .header-nav {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
        min-width: 0;
    }

    .header-nav a {
        padding: 8px 12px;
        border-radius: 999px;
        color: var(--tb-text-muted);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

    .header-nav a:hover,
    .header-nav a.is-active {
        color: var(--fimobile-theme-color);
        background: var(--fimobile-theme-color-light);
    }

    .header-page-title {
        margin: 0;
        flex: 1;
        min-width: 0;
        font-size: 16px;
        font-weight: 800;
        text-align: center;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-inline-start: auto;
        flex-shrink: 0;
    }

    .header-btn {
        min-height: 40px;
        padding: 8px 16px;
        border-radius: 12px;
        font-size: 13px;
    }

    .header-actions .btn-44 {
        width: 40px;
        height: 40px;
    }

    .footer {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        z-index: 1;
        margin-top: 28px;
        padding: 28px 24px 32px;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.86);
        box-shadow: 0 -1px 0 rgba(15, 23, 42, 0.06);
    }

    .footer::after {
        display: none;
    }

    .footer > .container > .nav {
        display: none;
    }

    .footer-desktop {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px 24px;
        flex-wrap: wrap;
        max-width: var(--tb-desktop-width);
        margin: 0 auto;
        padding: 0;
    }

    .footer-desktop-brand {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--tb-text);
        text-decoration: none;
        font-weight: 800;
    }

    .footer-desktop-brand img {
        width: 32px;
        height: 32px;
        object-fit: contain;
        border-radius: 9px;
    }

    .footer-desktop-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .footer-desktop-nav a {
        color: var(--tb-text-muted);
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
    }

    .footer-desktop-nav a:hover {
        color: var(--fimobile-theme-color);
    }

    .footer-desktop-copy {
        margin: 0;
        width: 100%;
        text-align: center;
        font-size: 12px;
        color: var(--tb-text-muted);
    }

    body:has(.footer) .back-to-top,
    .back-to-top,
    .fab-btn {
        bottom: 28px;
        z-index: 30;
    }

    body:has(.form-sticky-actions:not(.is-modal)) .back-to-top {
        bottom: calc(var(--form-sticky-bar-height, 76px) + 20px);
    }

    body:has(.footer) .form-sticky-actions:not(.is-modal) {
        bottom: 0;
        border-radius: 22px 22px 0 0;
    }

    .main-container {
        padding-bottom: 40px;
    }

    .page-company .main-container {
        padding-bottom: 120px;
    }

    .page-head h5 {
        font-size: 24px;
    }

    .welcome-card .card-body {
        padding: 20px 24px;
    }

    .hero-card {
        position: relative;
        isolation: isolate;
    }

    .hero-card::before {
        content: "";
        position: absolute;
        inset: auto -80px -90px auto;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        z-index: 0;
    }

    .hero-card .card-body {
        position: relative;
        z-index: 1;
        padding: 40px 36px;
    }

    .hero-card h1 {
        font-size: 34px;
        line-height: 1.35;
        /*max-width: 18ch;*/
    }

    .hero-card p {
        font-size: 15px;
        /*max-width: 46ch;*/
        text-align: right;
    }

    .seo-landing {
        padding-bottom: 12px;
    }

    .page-auth .brand-mark {
        margin-bottom: 18px;
    }

    .hero-actions {
        display: flex;
        grid-template-columns: none;
        justify-content: flex-start;
    }

    .hero-actions .btn {
        width: auto;
        min-width: 168px;
        min-height: 48px;
        padding: 12px 20px;
    }

    .landing-hero-stage {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 24px;
        align-items: stretch;
        margin-bottom: 28px;
    }

    .landing-hero-stage .hero-card {
        margin-bottom: 0;
        min-height: 0;
    }

    .landing-hero-stage .landing-slider {
        position: relative;
        margin-bottom: 0;
        min-height: 380px;
        height: auto;
        overflow: hidden;
        border-radius: var(--tb-radius);
        box-shadow: var(--tb-shadow);
    }

    .landing-hero-stage .landing-swiper {
        position: absolute;
        inset: 0;
        height: 100% !important;
        min-height: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .landing-hero-stage .landing-swiper .swiper-wrapper,
    .landing-hero-stage .landing-swiper .swiper-slide {
        height: 100% !important;
        min-height: 0;
    }

    .landing-hero-stage .landing-swiper img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .landing-slide-caption {
        padding: 72px 28px 48px;
    }

    .landing-slide-caption h2,
    .landing-slide-caption .landing-slide-title {
        font-size: 24px;
    }

    .landing-slide-caption p {
        font-size: 15px;
    }

    .seo-landing .stat-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .stat-card {
        padding: 22px 16px;
    }

    .stat-card .stat-value {
        font-size: 32px;
    }

    .feature-grid,
    .feature-grid-wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .feature-card {
        padding: 28px 22px;
        text-align: center;
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--tb-shadow);
    }

    .feature-card i {
        margin-bottom: 14px;
    }

    .step-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .seo-article,
    .legal-page .card-body,
    .landing-bottom-cta,
    .audience-card {
        padding: 28px 28px;
    }

    .faq-list {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .landing-trial .card-body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 32px;
    }

    .landing-trial-btn {
        width: auto;
        min-width: 240px;
    }

    .landing-bottom-cta .hero-actions {
        justify-content: center;
    }

    .company-home-board {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
        gap: 24px;
        align-items: start;
    }

    .company-home-board > .schedule-host {
        grid-column: 1;
        grid-row: 1 / span 6;
        min-width: 0;
        min-height: 520px;
        margin-bottom: 0;
        padding: 18px 18px 8px;
        border-radius: var(--tb-radius);
        background: var(--fimobile-card-color);
        box-shadow: var(--tb-shadow-sm);
        overflow: hidden;
    }

    .company-home-board .schedule-calendar,
    .company-home-board .date-scroller {
        min-width: 0;
        max-width: 100%;
    }

    .date-scroller,
    .staff-scroller,
    .slot-period-scroller {
        scrollbar-width: thin;
        scrollbar-color: rgba(37, 99, 235, 0.35) transparent;
    }

    .staff-scroller::-webkit-scrollbar,
    .date-scroller::-webkit-scrollbar,
    .slot-period-scroller::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .staff-scroller::-webkit-scrollbar-thumb,
    .date-scroller::-webkit-scrollbar-thumb,
    .slot-period-scroller::-webkit-scrollbar-thumb {
        background: rgba(37, 99, 235, 0.35);
        border-radius: 99px;
    }

    .company-home-board > .pending-notice,
    .company-home-board > .public-page-card,
    .company-home-board > .company-home-manage {
        grid-column: 2;
        margin-bottom: 0;
    }

    .company-home-manage .quick-grid {
        grid-template-columns: 1fr;
        margin-bottom: 0 !important;
    }

    .customer-home-board {
        display: grid;
        grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
        gap: 24px;
        align-items: start;
    }

    .contact-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .contact-list .action-card {
        margin-bottom: 0 !important;
    }

    .schedule-timeline {
        max-height: min(62vh, 560px);
    }

    .company-booking-layout:has(.company-booking-flow) {
        display: grid;
        grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
        gap: 28px;
        align-items: start;
    }

    .company-booking-flow {
        min-width: 0;
    }

    .company-booking-intro {
        position: sticky;
        top: 96px;
        min-width: 0;
    }

    .company-hero-body {
        padding: 28px 24px;
    }

    .company-hero-copy h1 {
        font-size: 28px;
    }

    .company-booking-intro .setup-banner .btn {
        width: auto;
        min-width: 180px;
        display: inline-flex;
        margin-left: 8px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .slot-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        max-height: 380px;
    }

    .booking-bar {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: min(var(--tb-desktop-width), calc(100% - 48px));
        padding: 14px 16px;
    }

    .booking-sheet-panel {
        right: 50%;
        left: auto;
        transform: translateX(50%);
        width: min(480px, calc(100% - 48px));
        border-radius: 24px;
        bottom: 24px;
    }

    .auth-aside {
        display: flex;
        align-items: center;
    }

    .page-auth .auth-screen {
        display: flex;
        flex-direction: column;
    }

    .auth-desktop-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: var(--tb-desktop-width);
        width: calc(100% - 48px);
        margin: 12px auto 48px;
        min-height: 560px;
        background: var(--fimobile-card-color);
        border-radius: 28px;
        overflow: hidden;
        box-shadow: var(--tb-shadow);
    }

    .auth-aside-inner {
        padding: 48px 40px;
        height: 100%;
        color: #fff;
        background:
            radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 36%),
            linear-gradient(145deg, var(--fimobile-theme-color) 0%, var(--fimobile-theme-color-2) 100%);
    }

    .auth-aside-inner img {
        width: 56px;
        height: 56px;
        object-fit: contain;
        margin-bottom: 18px;
        border-radius: 16px;
        padding: 0;
        background: transparent;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    }

    .auth-aside-kicker {
        margin: 0 0 8px;
        font-size: 13px;
        font-weight: 700;
        opacity: 0.86;
    }

    .auth-aside-inner h2 {
        margin: 0 0 12px;
        font-size: 28px;
        font-weight: 800;
        color: #fff;
        line-height: 1.4;
    }

    .auth-aside-inner > p {
        margin: 0 0 22px;
        font-size: 14px;
        line-height: 1.9;
        opacity: 0.92;
        color: #fff;
    }

    .auth-aside-points {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 10px;
    }

    .auth-aside-points li {
        position: relative;
        padding-right: 18px;
        font-size: 13px;
        font-weight: 600;
    }

    .auth-aside-points li::before {
        content: "";
        position: absolute;
        right: 0;
        top: 9px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
    }

    .auth-form-col {
        margin: 0;
        width: 100%;
        max-width: none;
        align-content: center;
    }

    .auth-form-col > [class*="col-"] {
        width: 100%;
        max-width: 400px;
        flex: 0 0 auto;
        padding: 40px 28px;
        margin: 0 auto;
    }

    .page-auth .brand-mark img {
        width: 48px;
        height: 48px;
    }

    .page-nearby-map .footer {
        display: none;
    }

    .page-nearby-map .nearby-map-stage {
        top: var(--tb-header-height);
        bottom: 0;
        right: 0;
        left: 0;
    }

    .nearby-map-filters {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }

    .nearby-map-chips {
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.94);
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
        scrollbar-width: thin;
        scrollbar-color: rgba(37, 99, 235, 0.35) transparent;
    }

    .nearby-map-chips::-webkit-scrollbar,
    .filter-tabs.nearby-map-chips::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .nearby-map-chips::-webkit-scrollbar-thumb {
        background: rgba(37, 99, 235, 0.35);
        border-radius: 99px;
    }

    .nearby-map-status {
        top: 76px;
        right: auto;
        left: 50%;
        width: min(480px, calc(100% - 48px));
        transform: translateX(-50%);
    }

    .nearby-map-popup {
        right: auto;
        left: 24px;
        bottom: 24px;
        width: 380px;
    }

    .nearby-map-stage .map-my-location {
        bottom: 24px;
/*        left: 24px;
        right: auto;*/
    }

    .nearby-map-stage.has-popup .map-my-location {
        bottom: 24px;
        left: 420px;
        right: auto;
    }

    .dark-mode .nearby-map-chips {
        background: rgba(20, 24, 36, 0.94);
    }

    .form-sticky-actions-inner {
        max-width: var(--tb-desktop-width);
    }

    .quick-grid.cols-3 {
        grid-template-columns: 1fr 1fr;
    }

    .package-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .package-grid-sms {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .item-card .card-body {
        padding: 18px 20px;
    }

    .dark-mode .header:after,
    .dark-mode .footer {
        background: rgba(18, 24, 38, 0.92);
    }

    .dark-mode.tb-site {
        background:
            radial-gradient(1000px 480px at 100% -10%, rgba(37, 99, 235, 0.18), transparent 55%),
            #0b1220;
    }

    .dark-mode .auth-desktop-layout {
        background: #121826;
    }

    .dark-mode .company-home-board > .schedule-host {
        background: rgba(255, 255, 255, 0.06);
    }
}

@media (min-width: 1200px) {
    .seo-landing .section-heading {
        font-size: 20px;
    }

    .legal-page {
        max-width: 780px;
        margin-right: auto;
        margin-left: auto;
    }

    .company-home-manage .quick-grid.cols-3 {
        grid-template-columns: 1fr;
    }
}