@font-face {
    font-family: 'Eina03-Regular';
    src: url('/fonts/Eina03-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Eina03-SemiBold';
    src: url('/fonts/Eina03-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --visana-red: #E61F2B;
    --visana-red-dark: #9F040D;
    --visana-red-hover: #9f040d;
    --visana-red-button: #E30613;
    --visana-grey-button: #F2F2F2;
    --visana-grey-button-text: #757575;

    --gradient-visana: linear-gradient(89deg, #E61F2B -1.95%, #9F040D 146.45%);

    --visana-warning: #AB6600;
    --visana-warning-bg: #FFF5E5;
    --visana-warning-border: #F0A500;

    --visana-blue-circle: #D7E5FB;
    --visana-blue-text: #00317E;
    --visana-blue-check: #C5D5EE;

    --visana-yellow-bg: #FFFCBE;
    --visana-contact-bg: #D7E5FB;

    --visana-text-dark: #1A1A2E; 
    --visana-text-mid: #404040;
    --visana-text-light: #FFFFFF;

    --visana-border-radius: 10px;
    --visana-border-radius-pill: 50px;
    --visana-border-radius-middle: 25px;

    --visana-font: 'Eina03-Regular', 'Helvetica Neue', Arial, sans-serif;
    --visana-font-semibold: 'Eina03-SemiBold', 'Helvetica Neue', Arial, sans-serif;

    --visana-max-width: 1200px;
    --visana-section-padding: 60px 40px;

    --vrd-header-height: 110px;
    --vrd-navbar-height: 40px;
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--visana-font);
    font-size: 16px;
    color: var(--visana-text-dark);
    background-color: #FFFFFF;
    line-height: 1.6;
}

body.container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

[v-cloak] {
    display: none;
}

/* ------------------------------------------------------------
   HEADER (logo_rental_deposit_visana.ejs)
   ------------------------------------------------------------ */
.vrd-header {
    background: var(--gradient-visana);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px 40px 60px;
    top: 0;
}

.vrd-header__left {
    display: flex;
    align-items: center;
}

.vrd-header__right {
    display: flex;
    align-items: center;
}

.vrd-header__logo img {
    height: 35px;
    width: 122px;
}

.vrd-navbar__lang {
    position: relative;
    cursor: pointer;
}

.vrd-navbar__lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--visana-text-light);
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    user-select: none;
}

.vrd-navbar__lang-current:hover {
    text-decoration: none;
}

.vrd-navbar__lang-arrow {
    font-size: 20px;
    line-height: 0.5;
    margin-top: -5px;
}

.vrd-navbar__lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background-color: #FFFFFF;
    border-radius: 0.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1005;
    list-style: none;
}

.vrd-navbar__lang-menu-item {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--visana-text-dark);
    cursor: pointer;
    transition: color 0.15s ease;
    position: relative;
    display: inline-block;
}

.vrd-navbar__lang-menu-item--active {
    font-weight: 700;
    color: var(--visana-red);
}

.vrd-navbar__lang-arrow-icon {
    width: 18px;
    height: 18px;
    margin-left: 4px;
    transition: transform 0.2s ease;
    filter: brightness(0) invert(1);
}

.vrd-navbar__lang-arrow-icon--open {
    transform: rotate(180deg);
}

.vrd-navbar__lang-menu-item:hover {
    color: var(--visana-red);
    text-decoration: none;
}

.vrd-navbar__lang-menu-item:hover::after {
    background-color: var(--visana-red);
}

.vrd-navbar__lang-menu-item--active {
    font-family: var(--visana-font-semibold);
    color: var(--visana-red);
    text-decoration: none;
}

.vrd-navbar__lang-menu-item--active::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--visana-red);
}

.vrd-header__separator {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 20px;
    flex-shrink: 0;
}



/* -------------------------------------------------------
   HERO
------------------------------------------------------- */
.vrd-hero {
    position: relative;
    width: 100%;
    height: 680px;
}

.vrd-hero__img {
    height: 680px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.vrd-hero__circle {
    position: absolute;
    top: 20px;
    right: 80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--visana-blue-circle);
    color: var(--visana-blue-text);
    font-family: var(--visana-font-semibold);
    font-size: 17px;
    line-height: 1.45;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    white-space: pre-line;
    transform: rotate(15deg);
}

.vrd-hero__card {
    position: absolute;
    bottom: -106px;
    left: 280px;
    width: 600px;
    height: auto;
    background-color: var(--visana-yellow-bg);
    border-radius: var(--visana-border-radius);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    
}

.vrd-hero__card-title {
    font-family: var(--visana-font-semibold);
    font-size: 26px;
    color: var(--visana-text-dark);
}

.vrd-hero__card-desc {
    font-size: 16px;
    color: var(--visana-text-mid);
    line-height: 1.6;
}

/* -------------------------------------------------------
   SUBNAV
------------------------------------------------------- */
.vrd-subnav {
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    height: 56px;
    margin-top: 80px;
    z-index: 999;
    margin-top: 150px;
}

.vrd-subnav--sticky {
    position: sticky;
}

.vrd-subnav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    height: 100%;
}

.vrd-subnav__link {
    font-size: 14px;
    color: var(--visana-text-dark);
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}

.vrd-subnav__link:hover {
    text-decoration: none;
    border-bottom-color: var(--visana-text-dark);
}

.vrd-subnav__link--active {
    border-bottom-color: var(--visana-text-dark);
    font-family: var(--visana-font-semibold);
}

.vrd-subnav__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--visana-red-button);
    color: var(--visana-text-light);
    font-family: var(--visana-font-semibold);
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--visana-border-radius-pill);
    text-decoration: none;
    white-space: nowrap;
}

.vrd-subnav__cta:hover {
    opacity: 0.9;
    text-decoration: none;
    color: var(--visana-text-light);
}

.vrd-subnav__cta-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* -------------------------------------------------------
   SECTIONS
------------------------------------------------------- */
.vrd-section {
    padding: var(--visana-section-padding);
}

.vrd-section__inner {
    max-width: var(--visana-max-width);
    margin: 0 auto;
}

.vrd-section__title {
    font-family: var(--visana-font-semibold);
    font-size: 24px;
    color: var(--visana-text-dark);
    margin-bottom: 12px;
}

.vrd-section__subtitle {
    font-size: 17px;
    color: var(--visana-text-mid);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 800px;
}

.vrd-page__title {
    font-size: 28px;
    margin-bottom: 45px;
    color: #000000;
}
/* -------------------------------------------------------
   CHECKLIST
------------------------------------------------------- */
.vrd-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.vrd-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--visana-text-mid);
    line-height: 1.6;
}

.vrd-checklist__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--visana-blue-check);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.vrd-checklist__icon img {
    width: 13px;
    height: 13px;
}

/* -------------------------------------------------------
   CONTACT CARD
------------------------------------------------------- */
.vrd-contact-card {
    background-color: var(--visana-contact-bg);
    border-radius: var(--visana-border-radius);
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 36px;
    max-width: 800px;
}

.vrd-contact-card__photo {
    width: 165px;
    height: 165px;
    border-radius: 24px;
    object-fit: cover;
    flex-shrink: 0;
}

.vrd-contact-card__title {
    font-family: var(--visana-font-semibold);
    font-size: 17px;
    color: var(--visana-text-dark);
    margin-bottom: 8px;
}

.vrd-contact-card__line {
    font-size: 14px;
    color: var(--visana-text-mid);
    line-height: 1.8;
}

.vrd-contact-card__link {
    color: var(--visana-blue-text);
    text-decoration: underline;
    font-weight: 600;
}

.vrd-contact-card__link:hover {
    color: var(--visana-red);
}

/* -------------------------------------------------------
   BUTTON COMPONENT
------------------------------------------------------- */
.vrd-btn {
    align-items: center;
    gap: 5px;
    font-family: var(--visana-font-semibold);
    font-size: 14px;
    padding: 16px 26px 16px 26px;
    border-radius: var(--visana-border-radius-pill);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    /* transition: background-color 0.2s ease, padding-right 0.2s ease, box-shadow 0.2s ease; */
    text-decoration: none;
    display: flex;
    justify-content: center;
}

.vrd-btn:hover {
    text-decoration: none;
}

.vrd-btn--red {
    background: var(--visana-red-button);
    color: var(--visana-text-light);
}

.vrd-btn--border-red {
    border: 1px solid var(--visana-red-button);
    color: var(--visana-red);
    background: white;
}

.vrd-btn--red:hover {
    background-color: var(--visana-red-dark);
}

.vrd-btn--grey {
    background: var(--visana-grey-button);
    color: var(--visana-grey-button-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.vrd-btn--grey:hover {
    background: var(--visana-grey-button);
    color: var(--visana-grey-button-text);
}

.vrd-btn--border-red:hover {
    background: white;
    border-color: var(--visana-red-dark);
    color: var(--visana-red-dark);
    box-shadow: 0 0 0 0.0625rem var(--visana-red-dark);
}

.vrd-btn--border-red:hover .vrd-btn__icon {
    filter: brightness(0.7);
}

.vrd-btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.vrd-btn__icon {
    width: auto;
    height: auto;
    align-items: center;
}

.vrd-btn__icon--end {
    margin-left: 8px;
    margin-right: 0;
    filter: brightness(0) invert(1);
    /* ← transition removed entirely */
}

.vrd-btn:hover .vrd-btn__icon--end {
    transform: none; /* ← no movement */
}

.vrd-btn--red .vrd-btn__icon {
    filter: brightness(0) invert(1);
}

/* -------------------------------------------------------
   YELLOW SECTION
------------------------------------------------------- */
.vrd-section--yellow {
    background-color: var(--visana-yellow-bg);
}

.vrd-section__factsheet {
    font-size: 15px;
    color: var(--visana-text-mid);
    margin-top: 32px;
    line-height: 1.6;
}

.vrd-section__factsheet-link {
    color: var(--visana-text-dark);
    text-decoration: underline;
}

.vrd-section__factsheet-link:hover {
    color: var(--visana-red);
}

/* -------------------------------------------------------
   CALCULATOR
------------------------------------------------------- */
.vrd-calculator {
    display: flex;
    flex-direction: column;
    margin-top: 32px;

}

.vrd-calculator__row {
    display: flex;
    gap: 35px;
    justify-content: space-between;
    width: 100%;

}

.vrd-calculator__row--center {
    justify-content: center;
}

.vrd-calculator__input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 0;
}

.vrd-calculator__row--action {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vrd-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vrd-spinner__circle {
    width: 24px;
    height: 24px;
    border: 3px solid var(--visana-grey-button);
    border-top-color: var(--visana-red);
    border-radius: 50%;
    animation: vrd-spin 0.7s linear infinite;
}

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

.vrd-calculator__input-group .vrd-form__error {
    position: static;
    bottom: unset;
    left: unset;
    margin-bottom: 4px;
    white-space: nowrap;
}

.vrd-calculator__label {
    font-size: 14px;
    color: var(--visana-text-dark);
    font-family: var(--visana-font-semibold);
    display: flex;
    align-items: flex-start;
    gap: 4px;
    white-space: normal;
    word-break: normal;
    min-height: 36px;
}

.vrd-calculator__label--big-line-height {
    font-size: 14px;
    color: var(--visana-text-dark);
    font-family: var(--visana-font-semibold);
    display: flex;
    align-items: flex-start;
    gap: 4px;
    white-space: normal;
    word-break: normal;
    min-height: 36px;
    margin-bottom: 25px;
}

.vrd-calculator__required {
    color: var(--visana-red);
}

.vrd-calculator__info-icon img {
    width: 15px;
    height: 15px;
    opacity: 0.6;
    cursor: help;
}

.vrd-calculator__input {
    height: 48px;
    border: 1px solid #DEDEDE;
    border-radius: var(--visana-border-radius);
    padding: 0 20px;
    font-family: var(--visana-font);
    font-size: 14px;
    color: var(--visana-text-dark);
    outline: none;
    transition: border-color 0.2s ease;
}

.vrd-calculator__input--half {
     height: 48px;
    border: 1px solid #DEDEDE;
    border-radius: var(--visana-border-radius);
    padding: 0 20px;
    font-family: var(--visana-font);
    font-size: 14px;
    color: var(--visana-text-dark);
    outline: none;
    transition: border-color 0.2s ease;
    width: 50%;
}

.vrd-calculator__input:focus {
    border-color: var(--visana-red);
}

.vrd-calculator__input::placeholder {
    color: #AAAAAA;
    font-size: 13px;
}

/* hide number input arrows */
.vrd-calculator__input::-webkit-outer-spin-button,
.vrd-calculator__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.vrd-calculator__action {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    
}

.vrd-calculator__result {
    display: flex;
    flex-direction: column;
    align-self: start;
}

.vrd-calculator__result-label {
    font-family: var(--visana-font-semibold);
    font-size: 14px;
    color: var(--visana-text-dark);
    line-height: 1.4;
    min-height: 36px;
}

.vrd-calculator__result-value {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.vrd-calculator__result-currency {
    font-family: var(--visana-font);
    font-size: 15px;
    color: var(--visana-red-button);
    line-height: 1.3;
    white-space: pre-line;
}

.vrd-calculator__result-currency strong {
    font-family: var(--visana-font-semibold);
    display: block;
}

.vrd-calculator__result-amount {
    font-family: var(--visana-font-semibold);
    font-size: 56px;
    color: var(--visana-red);
    line-height: 1;
}

.vrd-calculator__result-amount--placeholder {
    font-size: 56px;
    color: var(--visana-red-button);
    letter-spacing: 2px;
}

.vrd-calculator__apply {
    display: flex;
    align-items: center;
}

.vrd-calculator__select-wrapper {
    position: relative;
}

.vrd-calculator__select {
    width: 280px;
    height: 48px;
    border: 1px solid #DEDEDE;
    border-radius: var(--visana-border-radius);
    padding: 0 20px;
    font-family: var(--visana-font);
    font-size: 14px;
    color: var(--visana-text-dark);
    outline: none;
    appearance: none;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.vrd-calculator__select:focus {
    border-color: var(--visana-red);
}

.vrd-calculator__error {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    color: var(--visana-warning);
    line-height: 1.4;
    white-space: nowrap;
}

/* -------------------------------------------------------
   INFO BAR
------------------------------------------------------- */
.vrd-info-bar {
    background-color: #FFFFFF;
    border-radius: var(--visana-border-radius) 0% 0% var(--visana-border-radius);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1001;
    margin-right: -40px;
    font-size: 16px;
    top: -25px;
    margin-bottom: 30px;
}

.vrd-page {
    padding: 40px 0;
}

.vrd-page-wrapper {
    padding: 0 40px;
    background-color: #F7F7F7;
    min-height: 100vh;
    padding-bottom: 80px;
}

.vrd-page-wrapper--white {
    background-color: #ffffff !important;
}

.vrd-info-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.vrd-info-bar__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vrd-info-bar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vrd-info-bar__separator {
    width: 1px;
    height: 20px;
    background-color: #DEDEDE;
    flex-shrink: 0;
}

.vrd-info-bar__label {
    color: var(--visana-text-mid);
}

.vrd-info-bar__step {
    color: var(--visana-text-dark);
    position: relative;
    display: inline-block;
    cursor: default;
}

.vrd-info-bar__step strong {
    font-family: var(--visana-font-semibold);
}

.vrd-info-bar__step::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--visana-red-hover);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.vrd-info-bar__step:hover {
    color: var(--visana-text-dark);
}

.vrd-info-bar__step:hover::after {
    opacity: 0;
}

.vrd-info-bar__amount {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vrd-info-bar__amount-label {
    font-size: 14px;
    color: var(--visana-text-mid);
}

.vrd-info-bar__amount-value {
    font-family: var(--visana-font-semibold);
    font-size: 20px;
    color: var(--visana-text-dark);
    letter-spacing: -0.5px;
}

.vrd-info-bar__premium {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.vrd-info-bar__premium-label {
    font-size: 14px;
    color: var(--visana-text-mid);
}

.vrd-info-bar__premium-value {
    font-family: var(--visana-font-semibold);
    font-size: 20px;
    color: var(--visana-red);
}

.vrd-info-bar__premium-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.vrd-info-bar__premium-arrow--open {
    transform: rotate(180deg);
}

/* PREMIUM DETAIL DROPDOWN */
.vrd-info-bar__premium-detail {
    border-top: 1px solid #F0F0F0;
    padding: 16px 28px;
}

.vrd-info-bar__premium-detail-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 300px;
    margin-left: auto;
}

.vrd-info-bar__premium-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--visana-text-mid);
}

.vrd-info-bar__premium-detail-row--total {
    font-family: var(--visana-font-semibold);
    color: var(--visana-text-dark);
    border-top: 1px solid #DEDEDE;
    padding-top: 8px;
    margin-top: 4px;
}

/* -------------------------------------------------------
   PREMIUM POPOVER
------------------------------------------------------- */
.vrd-info-bar__premium-wrapper {
    position: relative;
}

.vrd-info-bar__popover {
    position: absolute;
    top: calc(117% + 12px);
    right: 0;
    width: 330px;
    background-color: #FFFFFF;
    border-radius: 0% 0% var(--visana-border-radius) var(--visana-border-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
    padding: 20px;
}

.vrd-info-bar__popover-title {
    font-size: 13px;
    color: var(--visana-text-mid);
    margin-bottom: 12px;
    line-height: 1.4;
}

.vrd-info-bar__popover-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.vrd-info-bar__popover-label {
    font-family: var(--visana-font-semibold);
    font-size: 13px;
    color: var(--visana-text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
}

.vrd-info-bar__popover-required {
    color: var(--visana-red);
}

.vrd-info-bar__popover-tooltip img {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    cursor: help;
}

.vrd-info-bar__popover-input {
    height: 44px;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    padding: 0 14px;
    font-family: var(--visana-font);
    font-weight: 600;
    font-size: 14px;
    color: var(--visana-text-dark);
    outline: none;
    width: 100%;
    transition: border-color 0.2s ease;
}

.vrd-info-bar__popover-input:focus {
    border-color: var(--visana-blue-text);
}

/* hide number input arrows */
.vrd-info-bar__popover-input::-webkit-outer-spin-button,
.vrd-info-bar__popover-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.vrd-info-bar__popover-action {
    display: flex;
    justify-content: flex-end;
}

.vrd-info-bar__popover-btn {
    background: transparent;
    border: 1px solid var(--visana-red-button);
    color: var(--visana-red-button);
    font-family: var(--visana-font-semibold);
    font-size: 14px;
    padding: 4px 24px;
    border-radius: var(--visana-border-radius-pill);
    cursor: pointer;
    transition: box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vrd-info-bar__popover-btn:hover {
    border-color: transparent;
    box-shadow: inset 0 0 0 2px var(--visana-red-hover);
    color: var(--visana-red-hover);
}

.vrd-info-bar__popover-btn--loading {
    opacity: 0.6;
    cursor: not-allowed;
}

/* -------------------------------------------------------
   TOOLTIP COMPONENT
------------------------------------------------------- */
.vrd-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.vrd-tooltip__icon-wrapper {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    background-color: transparent;
    transition: background-color 0.2s ease;
    overflow: hidden;
}

.vrd-tooltip__icon-wrapper:hover {
    background-color: var(--visana-red);
}

.vrd-tooltip__icon {
    width: 16px;
    height: 16px;
    display: block;
    mix-blend-mode: multiply;
    transition: filter 0.2s ease;
}

.vrd-tooltip__icon-wrapper:hover .vrd-tooltip__icon {
    filter: brightness(0) invert(1);
}

.vrd-tooltip__popup {
    position: absolute;
    bottom: calc(100% + 8px);
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    background-color: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 12px 14px;
    z-index: 600;
}

.vrd-tooltip__popup::before {
    content: '';
    position: absolute;
    bottom: -6px;
    top: auto;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #FFFFFF;
    border-right: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
    transform: translateX(-50%) rotate(45deg);
}

.vrd-tooltip__popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.vrd-tooltip__popup-title {
    font-family: var(--visana-font-semibold);
    font-size: 13px;
    color: var(--visana-text-dark);
}

.vrd-tooltip__popup-close {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--visana-text-mid);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-left: 8px;
    flex-shrink: 0;
}

.vrd-tooltip__popup-close:hover {
    color: var(--visana-red);
}

.vrd-tooltip__popup-content {
    font-size: 12px;
    color: var(--visana-text-mid);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .vrd-tooltip__popup {
        bottom: calc(100% + 8px);
        top: auto;
        left: 0;
        transform: none;
        width: 220px;
    }

    .vrd-tooltip__popup::before {
        bottom: -6px;
        top: auto;
        left: 8px;
        transform: translateX(0) rotate(45deg);
    }
}

/* -------------------------------------------------------
   PROGRESS BAR — #FAFAFA background, continuous line
------------------------------------------------------- */
.vrd-progress {
    background-color: #FAFAFA;
    padding: 40px 0 32px 0;
    /* extra top padding to clear the info bar overlap */
}

.vrd-progress__inner {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 40px;
}

.vrd-progress__intro {
    font-size: 15px;
    color: var(--visana-text-mid);
    margin-bottom: 25px;
    font-weight: 600;
}

.vrd-progress__step-label {
    font-size: 13px;
    color: var(--visana-blue-text);
}

.vrd-progress__step-label strong {
    font-family: var(--visana-font-semibold);
    color: var(--visana-blue-text);
}

.vrd-progress__steps {
    display: flex;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.vrd-progress__steps::before {
    display: none;
}

.vrd-progress__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    z-index: 1;
    padding-right: 0;
}

.vrd-progress__step-underline {
    height: 3px;
    width: 100%;
    background-color: #D7E5FB;
    margin-top: 0;
}

.vrd-progress__step--active .vrd-progress__step-underline {
    background-color: var(--visana-blue-text);
}

.vrd-progress__step--done .vrd-progress__step-underline {
    background-color: var(--visana-blue-text);
    border-color: var(--visana-blue-text);
}

.vrd-progress__step-name {
    font-size: 13px;
    color: var(--visana-blue-text);
    font-family: var(--visana-font);
    white-space: nowrap;
}

.vrd-progress__step--active .vrd-progress__step-name {
    font-family: var(--visana-font-semibold);
}

/* icon circle */
.vrd-progress__step-icon-wrapper {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    border: 2px solid #D7E5FB;
    background-color: #D7E5FB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vrd-progress__step--active .vrd-progress__step-icon-wrapper {
    background-color: var(--visana-blue-text);
    border-color: var(--visana-blue-text);
}

.vrd-progress__step--done .vrd-progress__step-icon-wrapper {
    background-color: var(--visana-blue-text);
    border-color: var(--visana-blue-text);
}

.vrd-progress__step--done .vrd-progress__step-icon {
    filter: brightness(0) invert(1);
    /* ← make check icon white */
}

.vrd-progress__step-icon {
    width: 18px;
    height: 18px;
    filter: none;
}

.vrd-progress__step--active .vrd-progress__step-icon {
    filter: brightness(0) invert(1);
}

.vrd-form__label-optional {
    font-family: var(--visana-font);
    font-size: 12px;
    color: var(--visana-text-mid);
    margin-left: 4px;
}

/* -------------------------------------------------------
   PAGE WRAPPER — white background for the form area
------------------------------------------------------- */
.vrd-page-wrapper {
    background-color: #FAFAFA;
    min-height: 100vh;
    padding-bottom: 80px;
}

.vrd-page {
    background-color: #FFFFFF;
    padding: 40px 0;
}

.vrd-page__inner {
    max-width: 940px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: var(--visana-border-radius);
    padding: 0 40px;
}

/* -------------------------------------------------------
   FORM ELEMENTS
------------------------------------------------------- */
.vrd-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
    position: relative;
}

.vrd-form__group--indent {
    margin-top: 16px;
    padding-left: 24px;
}

.vrd-form__row {
    display: flex;
    gap: 35px;
    margin-bottom: 0;
}

.vrd-form__row .vrd-form__group {
    flex: 1;
}

.vrd-form__row--zip .vrd-form__group--zip {
    flex: 0 0 140px;
}

.vrd-form__row--zip .vrd-form__group--city {
    flex: 1;
}

.vrd-form__label {
    font-size: 14px;
    color: var(--visana-text-dark);
    font-family: var(--visana-font-semibold);
}

.vrd-form__label--required::after {
    content: ' *';
    color: var(--visana-red);
}

.vrd-form__input {
    height: 48px;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    padding: 0 16px;
    font-family: var(--visana-font);
    font-size: 14px;
    color: var(--visana-text-dark);
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
    background-color: #FFFFFF;
}

.vrd-form__alert--warning {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #FFF3CD;
    border: 1px solid #FFC107;
    color: #856404;
    font-size: 14px;
    font-family: var(--visana-font);
}

.vrd-form__input:focus {
    border-color: var(--visana-blue-text);
}

.vrd-form__input--error {
    color: var(--visana-warning);
}

.vrd-form__input--narrow {
    max-width: 280px;
}

.vrd-form__input-icon-wrapper {
    position: relative;
}

.vrd-form__input-icon-wrapper .vrd-form__input {
    padding-right: 44px;
}

.vrd-form__input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0.5;
}

/* SELECT */
.vrd-form__select-wrapper {
    position: relative;
}

.vrd-form__select-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url('/css/visana_rental_deposit/img/arrow-down.png');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.vrd-form__select {
    height: 48px;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    padding: 0 40px 0 16px;
    font-family: var(--visana-font);
    font-size: 14px;
    color: var(--visana-text-dark);
    outline: none;
    appearance: none;
    width: 100%;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.vrd-form__select:focus {
    border-color: var(--visana-blue-text);
}

/* RADIO */
.vrd-form__radio-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.vrd-form__radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--visana-text-dark);
    cursor: pointer;
    user-select: none;
}

.vrd-form__radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vrd-form__radio-custom {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #DEDEDE;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease;
}

.vrd-form__radio:checked+.vrd-form__radio-custom {
    border-color: var(--visana-text-dark);
}

.vrd-form__radio:checked+.vrd-form__radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--visana-text-dark);
}

/* AUTOCOMPLETE */
.vrd-form__autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
}

.vrd-form__autocomplete-item {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--visana-text-dark);
    cursor: pointer;
}

.vrd-form__autocomplete-item:hover {
    background-color: #F5F5F5;
    color: var(--visana-red);
}

/* ADD LINK */
.vrd-form__add-link {
    font-family: var(--visana-font-semibold);
    font-size: 15px;
    color: var(--visana-red-button);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    align-self: flex-start;
}

.vrd-form__add-link::after {
    content: '';
    position: absolute;
    top: 23px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--visana-red);
}

.vrd-form__add-link:hover {
    color: var(--visana-red-dark);
    text-decoration: none;
}

.vrd-form__add-link:hover::after {
    background-color: var(--visana-red-dark);
    height:2px;
}

/* CO-TENANTS */
.vrd-form__co-tenants {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vrd-form__co-tenant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--visana-blue-circle);
    border-radius: 8px;
    font-size: 14px;
    color: var(--visana-text-dark);
}

.vrd-form__co-tenant-actions {
    display: flex;
    gap: 16px;
}

.vrd-form__co-tenant-actions a {
    font-size: 13px;
    color: var(--visana-blue-text);
    text-decoration: underline;
}

.vrd-form__co-tenant-actions a:hover {
    color: var(--visana-red);
}

.vrd-form__input--half {
    max-width: 460px;
}

.vrd-page__title--section {
    margin-top: 32px;
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid #F0F0F0;
    font-weight: 600;
}

/* CHECKBOX */
.vrd-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--visana-text-mid);
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.vrd-form__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vrd-form__checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #DEDEDE;
    flex-shrink: 0;
    position: relative;
    margin-top: 2px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.vrd-form__checkbox:checked+.vrd-form__checkbox-custom {
    border-color: var(--visana-text-dark);
    background-color: var(--visana-text-dark);
}

.vrd-form__checkbox:checked+.vrd-form__checkbox-custom::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 5px;
    height: 9px;
    border: 2px solid #FFFFFF;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* BACK LINK */
.vrd-header__back-link {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--visana-text-light);
    font-family: var(--visana-font);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 28px;
    padding-left: 28px;
    position: relative;
}

.vrd-header__back-link--no-indent {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--visana-text-light);
    font-family: var(--visana-font);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0;
    padding-left: 0;
    position: relative;
}

.vrd-header__back-link span,
.vrd-header__back-link--no-indent span {
    position: relative;
    display: inline-block;
}

.vrd-header__back-link span::after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--visana-text-light);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.vrd-header__back-link:hover {
    text-decoration: none;
    color: var(--visana-text-light);
}

.vrd-header__back-link:hover span::after {
    opacity: 1;
}

.vrd-header__back-link--no-indent span::after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--visana-text-light);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.vrd-header__back-link--no-indent:hover {
    text-decoration: none;
    color: var(--visana-text-light);
}

.vrd-header__back-link--no-indent:hover span::after {
    opacity: 1;
}

/* ERROR message text */
.vrd-form__error {
    font-size: 12px;
    color: var(--visana-warning);
    margin-bottom: 4px;
    line-height: 1.4;
    display: block;
}

.vrd-form__error.with_margin, .vrd-form__error--half.with_margin {
    margin-bottom: 6px;
}


.vrd-form__error--half {
    font-size: 12px;
    color: var(--visana-warning);
    margin-top: 4px;
    line-height: 1.4;
    width: 50%;
    margin-bottom: 10px;
}

/* ERROR input state */
.vrd-form__input--error {
    border-color: var(--visana-warning-border);
    background-color: var(--visana-warning-bg);

}

/* ERROR select state — select uses the same class */
.vrd-form__select.vrd-form__input--error {
    border-color: var(--visana-warning-border);
    background-color: var(--visana-warning-bg);
}

/* ALERT box at bottom */
.vrd-form__alert {
    background-color: var(--visana-warning-bg);
    border: 1px solid var(--visana-warning-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--visana-warning);
    margin-bottom: 24px;
}

/* NAVIGATION */
.vrd-form__navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #F0F0F0;
}

.vrd-form__navigation--end {
    justify-content: flex-end;
}
/* -------------------------------------------------------
   MODAL
------------------------------------------------------- */
.vrd-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.vrd-modal__content {
    background-color: #FFFFFF;
    border-radius: var(--visana-border-radius);
    width: 100%;
    max-width: 480px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.vrd-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #F0F0F0;
}

.vrd-modal__header h3 {
    font-family: var(--visana-font-semibold);
    font-size: 16px;
    color: var(--visana-text-dark);
}

.vrd-modal__close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--visana-text-mid);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.vrd-modal__close:hover {
    color: var(--visana-red);
}

.vrd-modal__body {
    padding: 24px;
}

.vrd-modal__footer {
    padding: 16px 24px;
    border-top: 1px solid #F0F0F0;
    display: flex;
    justify-content: flex-end;
}

/* -------------------------------------------------------
   CUSTOM DATEPICKER
------------------------------------------------------- */
.vrd-datepicker {
    position: relative;
}

.vrd-form__input-icon--clickable {
    cursor: pointer;
    pointer-events: all;
    /* override the none from original */
}

.vrd-calendar {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 320px;
    background-color: #FFFFFF;
    border-radius: var(--visana-border-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
    padding: 16px;
    z-index: 500;
}

/* HEADER */
.vrd-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vrd-calendar__nav {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--visana-text-dark);
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
}

.vrd-calendar__nav:hover {
    color: var(--visana-red);
}

.vrd-calendar__title {
    font-family: var(--visana-font-semibold);
    font-size: 15px;
    color: var(--visana-text-dark);
}

.vrd-calendar__title--clickable {
    cursor: pointer;
    text-decoration: underline;
}

.vrd-calendar__title--clickable:hover {
    color: var(--visana-red);
}

/* YEAR RANGE */
.vrd-calendar__year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.vrd-calendar__year-item {
    background: none;
    border: none;
    border-radius: 6px;
    padding: 8px 4px;
    font-family: var(--visana-font);
    font-size: 14px;
    color: var(--visana-text-dark);
    cursor: pointer;
    text-align: center;
    transition: background-color 0.15s ease;
}

.vrd-calendar__year-item:hover {
    background-color: #F5F5F5;
    color: var(--visana-red);
}

.vrd-calendar__year-item--out-of-range {
    color: #BBBBBB;
}

.vrd-calendar__year-item--disabled {
    color: #CCCCCC;
    cursor: not-allowed;
    pointer-events: none;
}

/* MONTH GRID */
.vrd-calendar__month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.vrd-calendar__month-item {
    background: none;
    border: none;
    border-radius: 6px;
    padding: 10px 4px;
    font-family: var(--visana-font);
    font-size: 14px;
    color: var(--visana-text-dark);
    cursor: pointer;
    text-align: center;
    transition: background-color 0.15s ease;
}

.vrd-calendar__month-item:hover {
    background-color: #F5F5F5;
    color: var(--visana-red);
}

.vrd-calendar__month-item--selected {
    background-color: #F0F4FB;
    font-family: var(--visana-font-semibold);
    color: var(--visana-blue-text);
}

/* DAY GRID */
.vrd-calendar__day-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.vrd-calendar__day-name {
    font-family: var(--visana-font-semibold);
    font-size: 12px;
    color: var(--visana-text-mid);
    text-align: center;
    padding: 4px 0;
}

.vrd-calendar__day-item {
    background: none;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-family: var(--visana-font);
    font-size: 13px;
    color: var(--visana-text-dark);
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
    margin: 0 auto;
}

.vrd-calendar__day-item:hover {
    background-color: #F5F5F5;
    color: var(--visana-red);
}

.vrd-calendar__day-item--other-month {
    color: #CCCCCC;
    cursor: default;
}

.vrd-calendar__day-item--disabled {
    color: #CCCCCC;
    cursor: not-allowed;
    pointer-events: none;
}

.vrd-calendar__day-item--selected {
    background-color: var(--visana-red-button);
    color: #FFFFFF;
    font-family: var(--visana-font-semibold);
}

.vrd-calendar__day-item--selected:hover {
    background-color: var(--visana-red-dark);
    color: #FFFFFF;
}

/* -------------------------------------------------------
   TERMS LINKS
------------------------------------------------------- */
.vrd-terms__link {
    color: var(--visana-text-dark);
    font-family: var(--visana-font-semibold);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.vrd-terms__link::after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--visana-text-dark);
}

.vrd-terms__link:hover {
    color: var(--visana-red);
    text-decoration: none;
}

.vrd-terms__link:hover::after {
    background-color: var(--visana-red);
}

/* CHECKBOX ERROR STATE */
.vrd-form__checkbox-custom--error {
    border-color: var(--visana-warning-border);
    background-color: var(--visana-warning-bg);
}

/* -------------------------------------------------------
   UPLOAD AREA
------------------------------------------------------- */
.vrd-upload {
    border: 2px dashed #DEDEDE;
    border-radius: var(--visana-border-radius);
    background-color: #FAFAFA;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    min-height: 160px;
}

.vrd-upload:hover {
    border-color: var(--visana-blue-text);
    background-color: #F0F4FB;
}

.vrd-upload--drag-over {
    border-color: var(--visana-blue-text);
    background-color: #E8F0FB;
}

.vrd-upload--error {
    border-color: var(--visana-warning-border);
    background-color: var(--visana-warning-bg);
}

.vrd-upload__icon-wrapper {
    width: 68px;
    height: 52px;
    border-radius: 45px;
    background-color: var(--visana-blue-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vrd-upload__icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.vrd-upload__text {
    font-size: 14px;
    color: var(--visana-text-mid);
    text-align: center;
}

.vrd-upload__select-link {
    font-family: var(--visana-font-semibold);
    color: var(--visana-blue-text);
    text-decoration: none;
    position: relative;
}

.vrd-upload__select-link::after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--visana-blue-text);
}

.vrd-upload__select-link:hover {
    color: var(--visana-blue-text);
}

.vrd-upload__select-link:hover::after {
    background-color: var(--visana-blue-text);
}

.vrd-upload__allowed-types {
    font-size: 12px;
    color: var(--visana-blue-text);
    text-align: center;
}

.vrd-upload__input {
    display: none;
}

/* PROGRESS */
.vrd-upload__progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.vrd-upload__progress-bar {
    flex: 1;
    height: 6px;
    background-color: #DEDEDE;
    border-radius: 3px;
    overflow: hidden;
}

.vrd-upload__progress-fill {
    height: 100%;
    background-color: var(--visana-blue-text);
    border-radius: 3px;
    transition: width 0.2s ease;
}

.vrd-upload__progress-label {
    font-size: 12px;
    color: var(--visana-text-mid);
    white-space: nowrap;
}

/* FILES TABLE */
.vrd-upload__files {
    margin-top: 20px;
}

.vrd-upload__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.vrd-upload__table th {
    font-family: var(--visana-font-semibold);
    font-size: 13px;
    color: var(--visana-text-mid);
    text-align: left;
    padding: 8px 12px;
    border-bottom: 2px solid #F0F0F0;
}

.vrd-upload__table td {
    padding: 10px 12px;
    color: var(--visana-text-dark);
    border-bottom: 1px solid #F0F0F0;
}

.vrd-upload__file-link {
    color: var(--visana-blue-text);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.vrd-upload__file-link::after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--visana-blue-text);
}

.vrd-upload__file-link:hover {
    color: var(--visana-red);
}

.vrd-upload__file-link:hover::after {
    background-color: var(--visana-red);
}

.vrd-upload__delete-link {
    color: var(--visana-red);
    font-size: 13px;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.vrd-upload__delete-link::after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--visana-red);
}

.vrd-upload__delete-link:hover {
    color: var(--visana-red-dark);
}

.vrd-upload__delete-link:hover::after {
    background-color: var(--visana-red-dark);
}

/* PAGE SUBTITLE */
.vrd-page__subtitle {
    font-size: 14px;
    color: var(--visana-text-mid);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* -------------------------------------------------------
   SUCCESS PAGE
------------------------------------------------------- */
.vrd-success {
    padding: 60px 40px;
    background-color: #FFFFFF;
}

.vrd-success__inner {
    max-width: 940px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: var(--visana-border-radius);
    padding: 60px 48px;
}

.vrd-success__badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--visana-blue-text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.vrd-success__badge-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.vrd-success__heading {
    font-family: var(--visana-font-semibold);
    font-size: 24px;
    color: var(--visana-text-dark);
    margin-bottom: 40px;
}

.vrd-success__section {
    margin-bottom: 36px;
    padding-bottom: 36px;
}

.vrd-success__section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.vrd-success__section-title {
    font-family: var(--visana-font-semibold);
    font-size: 18px;
    color: var(--visana-text-dark);
    margin-bottom: 12px;
}

.vrd-success__section-text {
    font-size: 15px;
    color: var(--visana-text-mid);
    line-height: 1.7;
}

.vrd-success__cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}


/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
.vrd-footer {
    background: var(--gradient-visana);
    width: 100%;
    padding: 32px 40px 0 40px;
}

.vrd-footer__top {
    padding-bottom: 24px;
}

.vrd-footer__logo {
    height: 35px;
    width: 122px;
}

.vrd-footer__bottom {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 16px 0 50px 0;
    flex-wrap: wrap;
}

.vrd-footer__copy {
    font-size: 13px;
    color: var(--visana-text-light);
    white-space: nowrap;
}

.vrd-footer__links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    flex: 1;
    flex-wrap: wrap;
}

.vrd-footer__link {
    font-size: 12px;
    color: var(--visana-text-light);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.vrd-footer__link::after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--visana-text-light);
}

.vrd-footer__link:hover {
    text-decoration: none;
}

.vrd-footer__link:hover::after {
    height: 2px;
}

/* LANGUAGE SWITCHER */
.vrd-footer__lang-switcher {
    position: relative;
    margin-left: auto;
    cursor: pointer;
}

.vrd-footer__lang-current {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--visana-text-light);
    user-select: none;
}

.vrd-footer__lang-current::after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--visana-text-light);
}

.vrd-footer__lang-current:hover {
    text-decoration: none;
}

.vrd-footer__lang-arrow {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.vrd-footer__lang-arrow--open {
    transform: rotate(180deg);
}

.vrd-footer__lang-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background-color: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    overflow: hidden;
    z-index: 1001;
    list-style: none;
}

.vrd-footer__lang-menu-item {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--visana-text-dark);
    cursor: pointer;
    transition: color 0.15s ease;
    position: relative;
    display: inline-block;
}

.vrd-footer__lang-menu-item--active {
    font-weight: 700;
    color: var(--visana-red);
}

.vrd-footer__lang-menu-item:hover {
    color: var(--visana-red);
    text-decoration: none;
}

.vrd-footer__lang-menu-item:hover::after {
    background-color: var(--visana-red);
}

.vrd-footer__lang-menu-item--active {
    font-family: var(--visana-font-semibold);
    color: var(--visana-red);
    text-decoration: none;
}

.vrd-footer__lang-menu-item--active::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--visana-red);
}


/* -------------------------------------------------------
   MOBILE — max-width 768px
------------------------------------------------------- */
@media (max-width: 768px) {

    /* HEADER */
    .vrd-header {
        padding: 16px 20px;
        flex-wrap: nowrap;
        align-items: center;
        position: relative;
        /* ← no longer absolute on mobile */
    }

    .vrd-header__logo img {
        height: 28px;
        width: 98px;
    }

    /* hide separator and page title on mobile */
    .vrd-header__separator {
        display: none;
    }

    .vrd-header__back-link--no-indent {
        display: none;
    }

    /* back link — smaller text */
    .vrd-header__back-link {
        font-size: 13px;
        margin-left: 12px;
        padding-left: 12px;
    }

    .vrd-header__back-link img {
        display: none;
    }

    /* language switcher — smaller */
    .vrd-navbar__lang-current {
        font-size: 12px;
        padding: 4px 4px;
    }

    .vrd-navbar__lang-arrow-icon {
        width: 14px;
        height: 14px;
        filter: brightness(0) invert(1);
        transition: transform 0.2s ease;
    }

    .vrd-navbar__lang {
        display: none;
    }

    .vrd-footer__lang-menu {
        right: -63px;
    }

    /* INFO BAR */
    .vrd-info-bar {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
        left: auto;
        top: 0;
        margin-bottom: 0;
    }

    .vrd-info-bar__inner {
        padding: 12px 16px;
        gap: 8px;
    }

    .vrd-info-bar__left {
        gap: 10px;
        flex-wrap: wrap;
    }

    .vrd-info-bar__right {
        gap: 10px;
    }

    /* CALCULATE BUTTON SPACING */
    .vrd-calculator__row--action {
        width: 100%;
        padding: 50px 0 15px;
        justify-content: center;
    }

    .vrd-calculator__action {
        padding-bottom: 0;
    }

    /* hide deposit on mobile — show only premium */
    .vrd-info-bar__amount {
        display: none;
    }

    .vrd-info-bar__separator:last-of-type {
        display: none;
    }

    .vrd-info-bar__label {
        font-size: 11px;
    }

    .vrd-info-bar__step {
        font-size: 11px;
    }

    .vrd-info-bar__premium-value {
        font-size: 18px;
    }

    /* POPOVER — full width on mobile */
    .vrd-info-bar__popover {
        position: fixed;
        top: 150px;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        border-radius: var(--visana-border-radius) var(--visana-border-radius) 0 0;
        z-index: 2000;
    }

    /* PAGE WRAPPER */
    .vrd-page-wrapper {
        padding: 0 16px;
        padding-bottom: 60px;
    }

    /* PROGRESS BAR */
    .vrd-progress {
        padding: 20px 0;
    }

    .vrd-progress__inner {
        padding: 0 12px;
    }

    .vrd-progress__intro {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .vrd-progress__step-label {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .vrd-progress__steps {
        display: flex;
        width: 100%;
        overflow: visible;
    }

    .vrd-progress__step {
        flex: 1 1 0;
        min-width: 0;
        align-items: center;
        gap: 6px;
        padding: 0;
    }

    .vrd-progress__step-name {
        display: -webkit-box;
        width: 100%;
        min-height: 24px;
        padding: 0 2px;
        overflow: hidden;
        color: var(--visana-blue-text);
        font-size: 10px;
        line-height: 12px;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .vrd-progress__step--active .vrd-progress__step-name {
        font-size: 10px;
        line-height: 12px;
    }

    .vrd-progress__step-icon-wrapper {
        width: 28px;
        height: 28px;
    }

    .vrd-progress__step-icon {
        width: 14px;
        height: 14px;
    }

    .vrd-progress__step-underline {
        width: 100%;
        min-width: 0;
    }


    /* FORM PAGE */
    .vrd-page {
        padding: 20px 0;
    }

    .vrd-page__inner {
        padding: 24px 16px;
        border-radius: 8px;
    }

    .vrd-page__title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    /* FORM ROWS — stack on mobile */
    .vrd-form__row {
        flex-direction: column;
        gap: 0;
    }

    .vrd-form__row--zip {
        flex-direction: row;
        gap: 12px;
    }

    .vrd-form__row--zip .vrd-form__group--zip {
        flex: 0 0 110px;
    }

    .vrd-form__input--half {
        max-width: 100%;
    }

    .vrd-calculator__input--half {
        width: 100%;
    }

    .vrd-form__error--half {
        width: 100%;
    }

    /* NAVIGATION */
    .vrd-form__navigation {
        flex-direction: column-reverse;
        gap: 16px;
        align-items: stretch;
    }

    .vrd-form__navigation .vrd-btn {
        width: 100%;
        justify-content: center;
    }


    /* MODAL */
    .vrd-modal__content {
        max-width: 100%;
        margin: 16px;
        border-radius: var(--visana-border-radius);
    }

    /* CALENDAR — full width on mobile */
    .vrd-calendar {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: var(--visana-border-radius) var(--visana-border-radius) 0 0;
        z-index: 2000;
        padding: 20px 16px;
    }

    /* UPLOAD TABLE — stack on mobile */
    .vrd-upload__table thead {
        display: none;
    }

    .vrd-upload__table tr {
        display: flex;
        flex-direction: column;
        padding: 12px 0;
        border-bottom: 1px solid #F0F0F0;
        gap: 4px;
    }

    .vrd-upload__table td {
        padding: 0;
        border: none;
        font-size: 13px;
    }

    /* SUCCESS PAGE */
    .vrd-success {
        padding: 24px 0;
    }

    .vrd-success__inner {
        padding: 32px 20px;
    }

    .vrd-success__heading {
        font-size: 20px;
    }

    /* FOOTER */
    .vrd-footer {
        padding: 24px 20px 0 20px;
        margin-top: 40px;
    }

    .vrd-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 0 40px 0;
    }

    .vrd-footer__links {
        gap: 16px;
    }

    .vrd-footer__lang-switcher {
        margin-left: 0;
    }

    /* LANDING PAGE CALCULATOR */
    .vrd-calculator__row {
        flex-direction: column;
        align-items: stretch;
    }

    .vrd-calculator__input {
        width: 100%;
    }

    .vrd-calculator__label {
        width: 100%;
    }

    .vrd-calculator__select {
        width: 100%;
    }

    /* HERO */
    .vrd-hero {
        height: 400px;
    }

    .vrd-hero__img {
        height: 400px;
    }

    .vrd-hero__circle {
        top: 20px;
        right: 16px;
        width: 140px;
        height: 140px;
        font-size: 12px;
    }

    .vrd-hero__card {
        left: 16px;
        right: 16px;
        width: auto;
        bottom: -80px;
        height: auto;
        padding: 24px 20px;
    }

    .vrd-hero__card-title {
        font-size: 20px;
    }

    /* SUBNAV */
    .vrd-subnav {
        padding: 0 16px;
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
        margin-top: 100px;
        justify-content: center;
    }

    .vrd-subnav__links {
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .vrd-subnav__link {
        font-size: 12px;
        white-space: nowrap;
    }

    .vrd-subnav__cta {
        font-size: 13px;
        padding: 8px 16px;
    }

    /* SECTIONS */
    .vrd-section {
        padding: 32px 20px;
    }

    .vrd-section__title {
        font-size: 20px;
    }

    /* CONTACT CARD */
    .vrd-contact-card {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .vrd-contact-card__photo {
        width: 80px;
        height: 80px;
    }
}

/* -------------------------------------------------------
   SMALL MOBILE — max-width 480px
------------------------------------------------------- */
@media (max-width: 480px) {

    .vrd-header__back-link span {
        display: none;
        /* hide text, show only arrow icon on very small screens */
    }

    .vrd-calculator__input--half {
        width: 100%;
    }

    .vrd-form__error--half {
        width: 100%;
    }

    .vrd-progress__step-name {
        display: -webkit-box;
        min-height: 24px;
        font-size: 9px;
        line-height: 11px;
        -webkit-line-clamp: 2;
    }

    .vrd-progress__step--active .vrd-progress__step-name {
        font-size: 9px;
        line-height: 11px;
    }

    .vrd-progress__inner {
        padding: 0 8px;
    }

    .vrd-progress__step {
        gap: 5px;
    }
}