@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600;700;800&display=swap');

:root {
    --vtb-primary: #0f2f5f;
    --vtb-success: #15845f;
    --vtb-pending: #b66a00;
    --vtb-danger: #b42318;
    --vtb-border: #d9e1ec;
    --vtb-bg: #f6f8fb;
    --vtb-text: #172033;
}

body.vtb-portal-page {
    background: #f7f9fc !important;
}

body.vtb-modal-open {
    overflow: hidden;
}

body.vtb-portal-page .entry-title,
body.vtb-portal-page .page-title,
body.vtb-portal-page .page-header {
    display: none !important;
}

body.vtb-portal-page .site,
body.vtb-portal-page .site-content,
body.vtb-portal-page .content-area,
body.vtb-portal-page .site-main,
body.vtb-portal-page article,
body.vtb-portal-page .entry-content,
body.vtb-portal-page .page-content,
body.vtb-portal-page .container,
body.vtb-portal-page .site-container,
body.vtb-portal-page .content,
body.vtb-portal-page .elementor,
body.vtb-portal-page .elementor-section,
body.vtb-portal-page .elementor-container,
body.vtb-portal-page .elementor-widget-wrap,
body.vtb-portal-page .elementor-widget-container {
    max-width: none !important;
}

body.vtb-portal-page .entry-content,
body.vtb-portal-page .page-content,
body.vtb-portal-page .elementor,
body.vtb-portal-page .elementor-section,
body.vtb-portal-page .elementor-container,
body.vtb-portal-page .e-flexbox-base,
body.vtb-portal-page .elementor-widget-wrap,
body.vtb-portal-page .elementor-widget-container {
    background: #f7f9fc !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vtb-app,
.vtb-token-page {
    color: var(--vtb-text);
    font-family: "Roboto Slab", Georgia, serif;
}

.vtb-app {
    background: #fff;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 100vh;
    padding: clamp(8px, 1.2vw, 16px);
    width: 100vw;
}

.vtb-app *,
.vtb-token-page * {
    box-sizing: border-box;
}

.vtb-app-header,
.vtb-stats,
.vtb-panel,
.vtb-list,
.vtb-tabs {
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
}

.vtb-app-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.vtb-header-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.vtb-settlement-note {
    color: #405775;
    font-size: 13px;
    font-weight: 800;
    margin: -12px auto 6px;
    max-width: 1120px;
    text-align: right;
}

.vtb-account-status-row {
    align-items: center;
    color: #405775;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    justify-content: flex-end;
    margin: 0 auto 18px;
    max-width: 1120px;
}

.vtb-account-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    padding: 7px 10px;
}

.vtb-account-active {
    background: #e7f6ef;
    color: #0f7a4a;
}

.vtb-account-blocked {
    background: #fff3df;
    color: #a45700;
}

.vtb-account-terminated {
    background: #fdeceb;
    color: #b42318;
}

.vtb-icon-button {
    gap: 8px;
}

.vtb-login-app {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(15, 47, 95, 0.04), rgba(23, 166, 115, 0.04)),
        #f7f9fc;
    display: flex;
    justify-content: center;
}

.vtb-home-app {
    background: #f7f9fc;
    display: block;
    min-height: auto;
    overflow-x: hidden;
    padding-bottom: 8px;
}

.vtb-language-switcher {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    z-index: 5;
}

.vtb-language-switcher a {
    align-items: center;
    background: #fff;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    color: var(--vtb-primary);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    min-height: 34px;
    min-width: 42px;
    text-decoration: none;
}

.vtb-language-switcher a.is-active {
    background: var(--vtb-primary);
    border-color: var(--vtb-primary);
    color: #fff;
}

.vtb-home-shell {
    display: grid;
    gap: 10px;
    margin: 0 auto;
    max-width: none;
    min-height: auto;
    padding-top: 0;
    width: 100%;
}

.vtb-home-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 38px;
    width: 100%;
}

.vtb-portal-topbar {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 0 auto 26px;
    max-width: 1120px;
    width: 100%;
}

.vtb-portal-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.vtb-logout-button {
    min-height: 34px;
    padding: 8px 14px;
}

.vtb-logout-icon {
    display: none;
}

.vtb-home-hero {
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(23, 32, 51, 0.06);
    display: grid;
    gap: clamp(18px, 2vw, 28px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 0;
    padding: clamp(18px, 1.8vw, 24px);
}

.vtb-home-hero.no-image {
    grid-template-columns: 1fr;
}

.vtb-home-hero.no-image .vtb-home-copy {
    max-width: 1180px;
}

.vtb-desktop-break {
    display: inline;
}

@media (min-width: 721px) {
    .vtb-home-hero {
        margin-top: 45px;
    }

    .vtb-home-copyright {
        margin-top: 35px;
    }
}

.vtb-home-brand {
    align-content: start;
    align-items: center;
    display: flex;
    gap: 12px;
}

.vtb-home-brand p,
.vtb-home-brand strong,
.vtb-home-copy h1,
.vtb-home-copy p,
.vtb-entry-panel h2,
.vtb-entry-panel p,
.vtb-registration-copy h2,
.vtb-registration-copy p,
.vtb-home-footer {
    margin: 0;
}

.vtb-home-brand p,
.vtb-home-copy p,
.vtb-entry-panel p,
.vtb-registration-copy p,
.vtb-home-footer {
    color: #5f6f86;
}

.vtb-home-brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.vtb-home-logo {
    display: block;
    height: auto;
    max-height: 46px;
    max-width: 160px;
    object-fit: contain;
}

.vtb-home-copy {
    align-content: start;
    display: grid;
    gap: 12px;
    padding: clamp(8px, 1vw, 16px) clamp(12px, 1.6vw, 28px);
}

.vtb-home-copy span,
.vtb-entry-kicker,
.vtb-registration-copy span {
    color: var(--vtb-success);
    font-size: 13px;
    font-weight: 800;
}

.vtb-home-copy h1 {
    font-size: clamp(29px, 2.7vw, 42px);
    line-height: 1.12;
    margin-bottom: 8px;
    max-width: 100%;
}

.vtb-home-visual {
    align-self: stretch;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    height: clamp(300px, 22vw, 390px);
    min-height: 0;
    overflow: hidden;
}

.vtb-home-visual img,
.vtb-home-visual-placeholder {
    display: block;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    width: 100%;
}

.vtb-home-visual-placeholder {
    background:
        linear-gradient(135deg, rgba(15, 47, 95, 0.08), rgba(23, 166, 115, 0.08)),
        #fff;
}

.vtb-home-copy p {
    font-size: clamp(15px, 1.12vw, 17px);
    line-height: 1.58;
    max-width: 100%;
}

.vtb-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.vtb-entry-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vtb-entry-panel,
.vtb-registration-banner {
    background: #fff;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(23, 32, 51, 0.06);
}

.vtb-entry-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: clamp(16px, 1.7vw, 22px);
}

.vtb-home-app > .vtb-notice,
.vtb-home-shell > .vtb-notice {
    margin: 0;
    max-width: none;
}

.vtb-entry-panel h2 {
    font-size: clamp(22px, 2vw, 29px);
    align-items: center;
    display: flex;
    gap: 10px;
    line-height: 1.12;
}

.vtb-entry-panel .vtb-button,
.vtb-home-actions .vtb-button,
.vtb-registration-banner .vtb-button {
    align-self: flex-start;
    margin-top: 8px;
    min-width: 210px;
    width: 210px;
}

.vtb-registration-banner {
    align-items: center;
    background: var(--vtb-primary);
    border-radius: 8px;
    color: #fff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 12px 18px;
}

.vtb-registration-banner strong,
.vtb-registration-banner p {
    margin: 0;
}

.vtb-registration-banner p {
    color: rgba(255, 255, 255, 0.78);
    margin-top: 4px;
}

.vtb-registration-banner .vtb-button {
    background: #fff;
    color: var(--vtb-primary);
    flex: 0 0 auto;
}

.vtb-registration-banner .vtb-button:hover {
    background: #e7f6ef;
    color: var(--vtb-primary);
}

.vtb-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 99999;
}

.vtb-modal.is-open {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.vtb-modal-backdrop {
    background: rgba(15, 47, 95, 0.42);
    inset: 0;
    position: absolute;
}

.vtb-modal-panel {
    background: #fff;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(23, 32, 51, 0.22);
    max-height: min(760px, calc(100vh - 40px));
    max-width: 860px;
    overflow: auto;
    padding: clamp(20px, 3vw, 28px);
    position: relative;
    width: min(100%, 860px);
}

.vtb-modal-close {
    align-items: center;
    background: #eef3f8;
    border: 0;
    border-radius: 8px;
    color: var(--vtb-primary);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 26px;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 40px;
}

.vtb-modal-close:hover {
    background: var(--vtb-primary);
    color: #fff;
}

.vtb-calendar-panel {
    max-width: 980px;
}

.vtb-calendar-header {
    margin-bottom: 16px;
    padding-right: 46px;
}

.vtb-calendar-header span {
    color: var(--vtb-success);
    font-size: 13px;
    font-weight: 800;
}

.vtb-calendar-header h3 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    margin: 6px 0 0;
}

.vtb-calendar-tabs {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 16px;
}

.vtb-calendar-tabs button {
    background: #eef3f8;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    color: var(--vtb-primary);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 38px;
    padding: 8px 14px;
}

.vtb-calendar-tabs button.is-active {
    background: var(--vtb-primary);
    border-color: var(--vtb-primary);
    color: #fff;
}

.vtb-calendar-view {
    display: none;
}

.vtb-calendar-view.is-active {
    display: block;
}

.vtb-calendar-toolbar {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 44px 1fr 44px;
    margin-bottom: 12px;
}

.vtb-calendar-toolbar strong {
    font-size: 20px;
    text-align: center;
    text-transform: capitalize;
}

.vtb-calendar-weekdays,
.vtb-calendar-grid {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.vtb-calendar-weekdays {
    color: #5f6f86;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
    text-align: center;
}

.vtb-calendar-day {
    background: #fbfcfe;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    color: var(--vtb-text);
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 5px;
    min-height: 72px;
    padding: 8px;
    text-align: left;
}

.vtb-calendar-day.is-empty {
    background: transparent;
    border-color: transparent;
    cursor: default;
}

.vtb-calendar-day.has-items {
    background: #eef7ff;
    border-color: #b9d8f7;
}

.vtb-calendar-day.is-today {
    box-shadow: inset 0 0 0 2px rgba(15, 47, 95, 0.18);
}

.vtb-calendar-day.is-selected {
    background: var(--vtb-primary);
    border-color: var(--vtb-primary);
    color: #fff;
}

.vtb-calendar-day span {
    align-self: end;
    background: rgba(15, 47, 95, 0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    justify-self: start;
    padding: 3px 7px;
}

.vtb-calendar-day.is-selected span {
    background: rgba(255, 255, 255, 0.22);
}

.vtb-calendar-day-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.vtb-calendar-day-list h4,
.vtb-calendar-list-group h4,
.vtb-calendar-booking h4 {
    margin: 0;
}

.vtb-calendar-list-group {
    display: grid;
    gap: 10px;
}

.vtb-calendar-list-group + .vtb-calendar-list-group {
    margin-top: 20px;
}

.vtb-calendar-list-group h4,
.vtb-calendar-day-list > h4 {
    color: var(--vtb-primary);
    font-size: 18px;
}

.vtb-calendar-booking {
    background: #fff;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    display: grid;
    gap: 7px;
    padding: 12px;
}

.vtb-calendar-booking h4 {
    font-size: 16px;
    line-height: 1.25;
}

.vtb-calendar-booking p {
    color: #5f6f86;
    margin: 0;
}

.vtb-calendar-widget .vtb-empty {
    margin: 0;
    max-width: none;
}

.vtb-notification-center {
    font-family: "Roboto Slab", Georgia, serif;
}

body.vtb-notification-open {
    background: #fff;
    overflow: hidden;
}

.vtb-notification-trigger {
    align-items: center;
    background: var(--vtb-primary);
    border: 0;
    border-radius: 999px;
    bottom: 24px;
    box-shadow: 0 18px 45px rgba(15, 47, 95, 0.24);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    height: 58px;
    justify-content: center;
    line-height: 1;
    position: fixed;
    right: 24px;
    width: 58px;
    z-index: 9998;
}

.vtb-bell-icon {
    color: #fff;
    display: block;
    fill: #fff;
    flex: 0 0 auto;
    height: 34px;
    width: 34px;
}

.vtb-bell-icon path {
    fill: #fff;
}

.vtb-notification-trigger strong {
    align-items: center;
    background: var(--vtb-danger);
    border: 2px solid #fff;
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    min-width: 24px;
    padding: 0 5px;
    position: absolute;
    right: -4px;
    top: -5px;
}

.vtb-notification-trigger strong[hidden] {
    display: none !important;
}

.vtb-notification-backdrop {
    background: transparent;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    z-index: 9998;
}

.vtb-notification-drawer {
    background: #fff;
    border-left: 1px solid var(--vtb-border);
    box-shadow: -18px 0 50px rgba(23, 32, 51, 0.16);
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100vh;
    min-height: 100dvh;
    max-width: 420px;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(104%);
    transition: transform 180ms ease;
    width: min(420px, 92vw);
    z-index: 9999;
    -webkit-overflow-scrolling: touch;
}

.vtb-notification-center.is-open .vtb-notification-backdrop {
    pointer-events: auto;
}

.vtb-notification-center.is-open .vtb-notification-drawer {
    transform: translateX(0);
}

.vtb-notification-drawer header {
    align-items: start;
    border-bottom: 1px solid var(--vtb-border);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.vtb-notification-drawer header span {
    color: var(--vtb-success);
    font-size: 13px;
    font-weight: 800;
}

.vtb-notification-drawer header h3 {
    font-size: 24px;
    line-height: 1.12;
    margin: 4px 0 0;
}

.vtb-notification-drawer header button {
    align-items: center;
    background: #eef3f8;
    border: 0;
    border-radius: 8px;
    color: var(--vtb-primary);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.vtb-notification-header-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.vtb-notification-header-actions [data-vtb-notification-clear-all] {
    font-size: 13px;
    font-weight: 800;
    min-width: 96px;
    padding: 0 10px;
    width: auto;
}

.vtb-notification-list {
    align-content: start;
    display: grid;
    gap: 10px;
    grid-auto-rows: max-content;
    overflow: auto;
    padding-right: 2px;
}

.vtb-notification-item {
    align-self: start;
    background: #fff;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 12px;
}

.vtb-notification-item.is-unread {
    background: #eef7ff;
    border-color: #b9d8f7;
}

.vtb-notification-item > div {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.vtb-notification-meta {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.vtb-notification-item time {
    color: #6d7b90;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.vtb-notification-meta button {
    align-items: center;
    background: #eef3f8;
    border: 0;
    border-radius: 7px;
    color: var(--vtb-primary);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    line-height: 1;
    width: 22px;
}

.vtb-notification-meta button:hover,
.vtb-notification-drawer header button:hover {
    background: var(--vtb-primary);
    color: #fff;
}

.vtb-notification-item p {
    color: #5f6f86;
    margin: 0;
}

.vtb-notification-empty {
    color: #5f6f86;
    padding: 12px 0;
}

.vtb-registration-copy {
    display: grid;
    gap: 10px;
    align-content: start;
}

.vtb-registration-copy h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
}

.vtb-registration-form {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.vtb-registration-form label {
    display: grid;
    gap: 7px;
}

.vtb-registration-form label span {
    color: #25344d;
    font-size: 14px;
    font-weight: 800;
}

.vtb-registration-form input,
.vtb-registration-form select,
.vtb-registration-form textarea {
    background: #fbfcfe;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    color: var(--vtb-text);
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.vtb-registration-form textarea {
    min-height: 86px;
}

.vtb-registration-wide {
    grid-column: 1 / -1;
}

.vtb-home-footer {
    font-size: 13px;
    padding-bottom: 10px;
    text-align: center;
}

.vtb-home-copyright {
    color: #6d7b90;
    font-size: 11px;
    line-height: 1.4;
    padding: 10px 0;
    text-align: center;
}

.vtb-hp-field {
    display: none !important;
}

.vtb-login-shell {
    width: min(100%, 440px);
}

.vtb-login-panel {
    background: #fff;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(23, 32, 51, 0.08);
    padding: clamp(22px, 4vw, 34px);
}

.vtb-login-language {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 18px;
}

.vtb-login-brand {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.vtb-login-brand p,
.vtb-login-copy p,
.vtb-login-footer {
    color: #5f6f86;
}

.vtb-login-brand p,
.vtb-login-brand h1,
.vtb-login-copy h2,
.vtb-login-copy p {
    margin: 0;
}

.vtb-login-brand h1 {
    font-size: 18px;
    line-height: 1.2;
}

.vtb-login-logo {
    display: block;
    height: auto;
    max-height: 64px;
    max-width: 180px;
    object-fit: contain;
}

.vtb-login-mark {
    background: var(--vtb-primary);
    border-radius: 8px;
    display: grid;
    flex: 0 0 44px;
    gap: 4px;
    height: 44px;
    padding: 10px;
}

.vtb-login-mark span {
    background: #fff;
    border-radius: 99px;
    display: block;
}

.vtb-login-mark span:last-child {
    background: var(--vtb-secondary, #17a673);
    margin-left: 10px;
}

.vtb-login-copy {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}

.vtb-login-copy span {
    color: var(--vtb-success);
    font-size: 13px;
    font-weight: 800;
}

.vtb-login-copy h2 {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.08;
}

.vtb-login-form {
    display: grid;
    gap: 15px;
}

.vtb-login-form label {
    display: grid;
    gap: 7px;
}

.vtb-login-form label > span,
.vtb-checkbox span {
    color: #25344d;
    font-size: 14px;
    font-weight: 800;
}

.vtb-login-form input[type="text"],
.vtb-login-form input[type="password"] {
    background: #fbfcfe;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    color: var(--vtb-text);
    font: inherit;
    min-height: 48px;
    padding: 12px 13px;
    width: 100%;
}

.vtb-login-form input:focus {
    border-color: var(--vtb-primary);
    box-shadow: 0 0 0 3px rgba(15, 47, 95, 0.12);
    outline: none;
}

.vtb-login-options {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.vtb-login-options a {
    color: var(--vtb-primary);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.vtb-checkbox {
    align-items: center;
    display: flex !important;
    gap: 8px !important;
}

.vtb-checkbox input {
    accent-color: var(--vtb-primary);
    height: 16px;
    width: 16px;
}

.vtb-login-submit {
    margin-top: 4px;
    width: 100%;
}

.vtb-login-error {
    background: #fdeceb;
    border: 1px solid #f0aaa4;
    border-radius: 8px;
    color: var(--vtb-danger);
    font-weight: 800;
    margin-bottom: 16px;
    padding: 12px 14px;
}

.vtb-login-footer {
    border-top: 1px solid var(--vtb-border);
    font-size: 13px;
    margin-top: 22px;
    padding-top: 16px;
}

.vtb-app-header p {
    color: #5f6f86;
    margin: 0 0 4px;
}

.vtb-app-header h2 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0;
}

.vtb-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 20px;
}

.vtb-metrics {
    margin: 0 auto 20px;
    max-width: 1120px;
}

.vtb-metrics h3 {
    font-size: 20px;
    margin: 0 0 10px;
}

.vtb-metrics > div {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.vtb-stats article,
.vtb-metrics article,
.vtb-card,
.vtb-panel,
.vtb-token-panel,
.vtb-notice,
.vtb-empty {
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    background: #fff;
}

.vtb-stats article {
    padding: 16px;
}

.vtb-metrics article {
    min-height: 82px;
    padding: 16px;
    position: relative;
}

.vtb-stats span,
.vtb-metrics span,
.vtb-card p,
.vtb-help {
    color: #5f6f86;
}

.vtb-metrics strong {
    display: block;
    font-size: 24px;
    margin-top: 8px;
}

.vtb-metrics strong em {
    color: #5f6f86;
    display: inline;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    margin-left: 4px;
}

.vtb-metrics small {
    color: #6d7b90;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
}

.vtb-credit-low {
    border-color: #f4b2b2;
    background: #fff7f7;
}

.vtb-metric-icon-button {
    align-items: center;
    background: #e9edf4;
    border: 1px solid var(--vtb-border);
    border-radius: 999px;
    color: var(--vtb-primary);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
}

.vtb-metric-icon-button:hover,
.vtb-metric-icon-button:focus {
    background: var(--vtb-primary);
    color: #fff;
}

.vtb-payment-panel {
    max-width: 560px;
}

.vtb-bank-accounts {
    background: #f3f6fa;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    color: var(--vtb-primary);
    font: inherit;
    line-height: 1.55;
    margin: 16px 0 0;
    padding: 14px;
    white-space: pre-wrap;
}

.vtb-payment-form,
.vtb-billing-form {
    margin-top: 18px;
}

.vtb-billing-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vtb-form-wide {
    grid-column: 1 / -1;
}

.vtb-stats strong {
    display: block;
    font-size: 30px;
    margin-top: 6px;
}

.vtb-panel {
    margin-bottom: 20px;
    padding: 18px;
}

.vtb-form {
    display: grid;
    gap: 18px;
}

.vtb-form-step {
    display: grid;
    gap: 12px;
}

.vtb-form-step h3 {
    font-size: 18px;
    margin: 0;
}

.vtb-form label {
    display: grid;
    font-weight: 700;
    gap: 6px;
}

.vtb-form input,
.vtb-form textarea,
.vtb-form select {
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
}

.vtb-form textarea {
    min-height: 78px;
}

.vtb-form-actions,
.vtb-action-row,
.vtb-token-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vtb-token-price {
    display: grid;
    flex: 1 1 100%;
    font-weight: 800;
    gap: 6px;
}

.vtb-token-price input {
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
}

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

.vtb-load-more-row {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.vtb-card {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 16px;
    position: relative;
}

.vtb-card.is-processing {
    overflow: hidden;
}

.vtb-card-loading {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    color: var(--vtb-primary);
    display: flex;
    gap: 12px;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: absolute;
    text-align: center;
    z-index: 4;
}

.vtb-spinner {
    animation: vtb-spin 800ms linear infinite;
    border: 3px solid #dbe6f2;
    border-top-color: var(--vtb-primary);
    border-radius: 999px;
    height: 26px;
    width: 26px;
}

@keyframes vtb-spin {
    to {
        transform: rotate(360deg);
    }
}

.vtb-card h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 8px 0;
}

.vtb-card p {
    margin: 4px 0;
}

.vtb-card-urgent {
    border-color: #f0bd74;
}

.vtb-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
}

.vtb-status-pending,
.vtb-status-pending_agency,
.vtb-status-agency_notified {
    background: #fff3df;
    color: var(--vtb-pending);
}

.vtb-status-quoted,
.vtb-status-agency_quoted {
    background: #edf2ff;
    color: #174ea6;
}

.vtb-status-confirmed,
.vtb-status-accepted {
    background: #e7f6ef;
    color: var(--vtb-success);
}

.vtb-quote-line {
    color: var(--vtb-primary);
    font-weight: 800;
}

.vtb-driver-line {
    color: #405775;
    font-weight: 700;
}

.vtb-driver-select {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    min-width: 0;
}

.vtb-driver-actions {
    align-items: center;
    justify-content: flex-end;
}

.vtb-quote-actions {
    align-self: stretch;
    flex: 0 0 200px;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
}

.vtb-quote-actions .vtb-button {
    height: 56px;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.vtb-driver-select span {
    font-size: 13px;
    white-space: nowrap;
}

.vtb-driver-select select {
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    font: inherit;
    min-height: 44px;
    min-width: 220px;
    padding: 9px 10px;
}

.vtb-drivers-panel {
    max-width: 760px;
}

.vtb-driver-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.vtb-driver-form footer {
    grid-column: 1 / -1;
}

.vtb-driver-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.vtb-driver-item {
    align-items: center;
    border: 1px solid var(--vtb-border);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px;
}

.vtb-driver-item p {
    color: #5f6f86;
    margin: 4px 0 0;
}

.vtb-status-completed {
    background: #e8f2ff;
    color: #0f4f91;
}

.vtb-status-rejected,
.vtb-status-rejected_by_all,
.vtb-status-no_local_agency,
.vtb-status-cancelled,
.vtb-status-expired {
    background: #fdeceb;
    color: var(--vtb-danger);
}

.vtb-button {
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.vtb-button:disabled,
.vtb-button[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
}

.vtb-button-primary {
    background: var(--vtb-primary);
    color: #fff;
}

.vtb-button-primary:hover,
.vtb-button-primary:focus {
    background: var(--vtb-success);
    color: #fff;
}

.vtb-button-success {
    background: var(--vtb-success);
    color: #fff;
}

.vtb-button-danger {
    background: var(--vtb-danger);
    color: #fff;
}

.vtb-button-muted {
    background: #e9edf4;
    color: #25344d;
}

.vtb-button-muted:hover,
.vtb-button-muted:focus {
    background: var(--vtb-primary);
    color: #fff;
}

.vtb-button-muted:disabled:hover,
.vtb-button-muted:disabled:focus {
    background: #e9edf4;
    color: #25344d;
}

.vtb-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.vtb-tabs a {
    border-bottom: 2px solid var(--vtb-primary);
    color: var(--vtb-primary);
    font-weight: 800;
    padding: 8px 0;
    text-decoration: none;
}

.vtb-notice,
.vtb-empty {
    margin: 20px auto;
    max-width: 760px;
    padding: 16px;
}

.vtb-notice-error {
    border-color: #f0aaa4;
    color: var(--vtb-danger);
}

.vtb-notice-success {
    border-color: #9ed8be;
    color: var(--vtb-success);
}

.vtb-notice-warning {
    border-color: #f0bd74;
    color: var(--vtb-pending);
}

.is-hidden {
    display: none;
}

.vtb-token-body {
    background: var(--vtb-bg);
    margin: 0;
}

.vtb-token-page {
    align-items: center;
    display: flex;
    min-height: 100vh;
    padding: 20px;
}

.vtb-token-panel {
    margin: 0 auto;
    max-width: 560px;
    padding: 24px;
    width: 100%;
}

.vtb-summary {
    display: grid;
    gap: 8px;
    margin: 20px 0;
}

.vtb-summary p {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

@media (max-width: 720px) {
    .vtb-app {
        padding: 16px;
    }

    .vtb-app-header,
    .vtb-card {
        align-items: stretch;
        flex-direction: column;
    }

    .vtb-header-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .vtb-settlement-note {
        margin: -6px auto 6px;
        text-align: left;
    }

    .vtb-account-status-row {
        justify-content: flex-start;
        margin-bottom: 16px;
    }

    .vtb-header-actions .vtb-button,
    .vtb-app-header > .vtb-icon-button {
        width: 100%;
    }

    .vtb-agency-dashboard .vtb-app-header {
        gap: 10px;
        margin-bottom: 10px;
    }

    .vtb-agency-dashboard .vtb-app-header h2 {
        font-size: 28px;
        line-height: 1.15;
        margin: 4px 0 0;
    }

    .vtb-agency-dashboard .vtb-header-actions {
        align-items: center;
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .vtb-agency-dashboard .vtb-header-actions .vtb-button {
        flex-direction: column;
        font-size: 11px;
        gap: 5px;
        height: 58px;
        line-height: 1.1;
        min-height: 0;
        padding: 6px 4px;
        text-align: center;
        width: 100%;
    }

    .vtb-agency-dashboard .vtb-header-actions .vtb-button > span[aria-hidden="true"] {
        font-size: 16px;
        line-height: 1;
    }

    .vtb-agency-dashboard .vtb-settlement-note {
        font-size: 12px;
        margin-top: 0;
    }

    .vtb-agency-dashboard .vtb-account-status-row {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .vtb-agency-dashboard .vtb-tabs {
        margin-bottom: 10px;
    }

    .vtb-agency-dashboard .vtb-metrics {
        margin-bottom: 14px;
    }

    .vtb-agency-dashboard .vtb-metrics h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .vtb-stats {
        grid-template-columns: 1fr;
    }

    .vtb-metrics > div {
        grid-template-columns: 1fr;
    }

    .vtb-agency-dashboard .vtb-metrics > div {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vtb-agency-dashboard .vtb-metrics article {
        min-height: 72px;
        padding: 10px;
    }

    .vtb-agency-dashboard .vtb-metrics span {
        font-size: 12px;
        line-height: 1.25;
    }

    .vtb-agency-dashboard .vtb-metrics strong {
        font-size: 20px;
        margin-top: 6px;
    }

    .vtb-agency-dashboard .vtb-metrics strong em {
        display: block;
        font-size: 11px;
        margin-left: 0;
        margin-top: 2px;
    }

    .vtb-agency-dashboard .vtb-metric-icon-button {
        height: 30px;
        right: 8px;
        top: auto;
        bottom: 8px;
        width: 30px;
    }

    .vtb-action-row .vtb-button,
    .vtb-form-actions .vtb-button,
    .vtb-token-actions .vtb-button {
        width: 100%;
    }

    .vtb-login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .vtb-language-switcher {
        justify-content: flex-end;
    }

    .vtb-home-shell {
        min-height: auto;
        padding-top: 0;
    }

    .vtb-home-top {
        min-height: 0;
        gap: 12px;
    }

    .vtb-portal-topbar {
        align-items: center;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 18px;
    }

    .vtb-portal-actions {
        flex: 0 0 auto;
        gap: 6px;
        justify-content: flex-end;
        margin-left: auto;
        width: auto;
    }

    .vtb-portal-topbar .vtb-home-brand {
        flex: 1 1 auto;
        gap: 8px;
        min-width: 0;
    }

    .vtb-portal-topbar .vtb-login-mark {
        flex-basis: 38px;
        height: 38px;
        width: 38px;
    }

    .vtb-portal-topbar .vtb-home-logo {
        max-height: 38px;
        max-width: 118px;
    }

    .vtb-portal-topbar .vtb-home-brand strong {
        font-size: 17px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vtb-portal-topbar .vtb-home-brand p {
        display: none;
    }

    .vtb-portal-actions .vtb-language-switcher a {
        min-height: 34px;
        min-width: 38px;
    }

    .vtb-logout-button {
        min-height: 34px;
        min-width: 38px;
        padding: 8px;
        width: 38px;
    }

    .vtb-logout-icon {
        display: inline-flex;
        font-size: 18px;
        line-height: 1;
        transform: rotate(180deg);
    }

    .vtb-logout-text {
        display: none;
    }

    .vtb-home-hero,
    .vtb-entry-grid,
    .vtb-registration-form {
        grid-template-columns: 1fr;
    }

    .vtb-desktop-break {
        display: none;
    }

    .vtb-home-copy h1 {
        font-size: clamp(28px, 8.4vw, 34px);
        line-height: 1.18;
    }

    .vtb-home-visual {
        height: 220px;
        min-height: 180px;
        order: 0;
    }

    .vtb-modal.is-open {
        align-items: stretch;
        padding: 12px;
    }

    .vtb-modal-panel {
        max-height: calc(100vh - 24px);
    }

    .vtb-calendar-toolbar {
        grid-template-columns: 38px 1fr 38px;
    }

    .vtb-calendar-weekdays,
    .vtb-calendar-grid {
        gap: 4px;
    }

    .vtb-calendar-weekdays {
        font-size: 10px;
    }

    .vtb-calendar-day {
        border-radius: 6px;
        min-height: 52px;
        padding: 6px;
    }

    .vtb-calendar-day span {
        font-size: 10px;
        padding: 2px 5px;
    }

    .vtb-notification-trigger {
        bottom: 16px;
        height: 56px;
        right: 16px;
        width: 56px;
        z-index: 9997;
    }

    .vtb-bell-icon {
        height: 31px;
        width: 31px;
    }

    .vtb-notification-backdrop {
        background: transparent;
    }

    .vtb-notification-drawer {
        border-left: 0;
        box-shadow: none;
        height: 100dvh;
        max-width: none;
        padding: calc(18px + env(safe-area-inset-top, 0px)) 20px calc(18px + env(safe-area-inset-bottom, 0px));
        width: 100vw;
    }

    .vtb-notification-drawer header {
        align-items: flex-start;
        flex-direction: row;
    }

    .vtb-notification-header-actions {
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .vtb-notification-drawer header h3 {
        font-size: 24px;
    }

    .vtb-notification-header-actions [data-vtb-notification-clear-all] {
        min-width: 84px;
        padding: 0 8px;
    }

    .vtb-entry-panel .vtb-button,
    .vtb-home-actions .vtb-button,
    .vtb-registration-banner .vtb-button,
    .vtb-registration-form .vtb-button {
        min-width: 0;
        width: 100%;
    }

    .vtb-registration-banner,
    .vtb-home-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .vtb-driver-form,
    .vtb-billing-form {
        grid-template-columns: 1fr;
    }

    .vtb-driver-item {
        align-items: stretch;
        flex-direction: column;
    }

    .vtb-driver-select {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .vtb-driver-select select {
        min-width: 0;
        width: 100%;
    }

    .vtb-driver-actions {
        align-items: stretch;
        width: 100%;
    }
}
