
/* Rental Index custom styles */
/* DROPDOWN */
section[id] {
    scroll-margin-top: 80px;
}
.regulatory-tabs .tab-active{
  border-bottom: 3px solid #130F26;
  font-weight: 600;
}
.dropdown-rental,
.rental-dropdown {
  border: 1px solid #CED1D6;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.dropdown.input-error,
.dropdown-rental.input-error,
.rental-dropdown.input-error {
  border-color: #DF2C2C !important;
}

.dropdown-selected {
  color: #130F26;
  font-weight: 400;
}

.dropdown-selected.placeholder {
  color: #8C9099 !important;
}

.dropdown::after,
.dropdown-rental::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6c7281;
  border-bottom: 2px solid #6c7281;
  transform: rotate(45deg);
  right: 12px;
  top: 50%;
  margin-top: -5px;
  pointer-events: none;
}

.dropdown.open::after,
.dropdown-rental.open::after {
  transform: rotate(-135deg);
}

.dropdown, .dropdown-rental, .rental-calculator, .field {
  overflow: visible !important;
}

.dropdown-menu-rental::-webkit-scrollbar {
  display: none;
}

.dropdown.open .dropdown-menu-rental,
.dropdown-rental.open .dropdown-menu-rental {
  display: block;
}

.dropdown-item-rental {
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.dropdown-item-rental input[type="checkbox"],
.dropdown-item-rental input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.multi-dropdown .dropdown-item-rental input[type="checkbox"] {
  accent-color: #A4C89A;
  border: 1px solid #C2D1C4;
  border-radius: 3px;
}

.dropdown-item-rental span {
  user-select: none;
}


.field { position: relative; }

.input-error { border-color: #DF2C2C !important; }
.error, .error-text { color: #DF2C2C; font-size: 0.85rem; margin-top: 0.25rem; }
.helper-text { color: #3E3957; font-size: 14px !important; margin-top: 0.25rem; }
.dark .helper-text { color: #F5F5F5; }

.control-chip {
  cursor: pointer;
  position: absolute;
  display: none;
  align-items: center;
  justify-content: center;
}
.control-chip img {
  width: 18px;
  height: 18px;
}
.toast { transition: opacity .3s ease; opacity: 0; pointer-events: none; }

.dropdown, .dropdown-rental { padding-right: 62px; }
.toast.show { opacity: 1; pointer-events: auto; }
#result-card { 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  height: 100%;
  gap: 16px;
}

#result-status {
  font-size: 24px;
  font-weight: 700;
  color: #484456;
}

.dark #result-status , .dark #result-value-text , .dark #result-sub{
  color: #F5F5F5 !important;
}

.dark #rental-result-card.rental-result-standard .rental-result-standard-row > span:last-child {
  color: #F5F5F5 !important;
}
.dark #rental-result-card.rental-result-standard .rental-result-standard-row > span:first-child {
  color: #F5F5F5 !important;
}
#result-status2{
      font-size: 14px;
    font-weight: 300;
    color: #6C7281;
}

#rental-result-card.rental-result-standard {
  background: #edf4eb;
  color: #17152b;
  padding: 24px;
}

#rental-result-card.rental-result-standard #rental-result-header h3 {
  color: #4d4b58;
  font-size: 1.125rem;
  letter-spacing: .08em;
}

#rental-result-card.rental-result-standard #rental-result-header > div {
  border-radius: 12px;
  box-shadow: 0 1px 2px rgb(20 20 30 / 4%);
}

#rental-result-card.rental-result-standard #rental-case-message {
  width: 100%;
  color: #17152b;
}

#rental-result-card.rental-result-standard #rental-case-description {
  overflow-wrap: anywhere;
}

#rental-result-card.rental-result-standard #rental-case-link:hover {
  background: #edf4eb;
}
.dark #rental-result-card.rental-result-standard #rental-case-link:hover {
  background: #1a222c;
}
#rental-result-card.rental-result-standard #rental-result-hero {
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 0;
  margin-bottom: 24px;
  padding: 24px 28px;
  border-radius: 14px;
  background: #fff;
  text-align: left;
}
.dark #rental-result-card.rental-result-standard #rental-result-hero {
    background: #11191f;
}
.dark #rental-result-card.rental-result-standard #renewal-expired-date {
    color: #F5F5F5;
}
#rental-result-card.rental-result-standard #result-sub {
    color: #4A4857;
    font-size: 14px;
    line-height: 1.4;
}

#rental-result-card.rental-result-standard #rental-result-title-row {
  justify-content: flex-start;
  width: 100%;
  margin: 0 0 4px;
  text-align: left;
}

#rental-result-card.rental-result-standard #result-value {
  justify-content: flex-start;
  margin-top: 0;
  color: #17152b;
}

#rental-result-card.rental-result-standard #result-value-text {
  font-size: 32px !important;
  line-height: 150%;
}

#rental-result-card.rental-result-standard .rental-currency-icon {
  display: none;
}

#rental-result-card.rental-result-standard .rental-currency-code {
  display: inline-block !important;
  flex: 0 0 auto;
  margin-right: 8px;
  font-weight: 700;
  white-space: nowrap;
}

#rental-result-card.rental-result-standard #result-value .rental-currency-code {
  font-size: 32px;
}

#rental-result-card.rental-result-standard #renewal-expired-date {
    color: #4A4857;
    font-size: 14px;
    line-height: 1.4;
}

#rental-result-card.rental-result-standard #result-details {
  width: 100%;
  padding: 0;
  border: 0;
}

#rental-result-card.rental-result-standard .rental-result-standard-row {
  align-items: center;
  min-height: 50px;
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid #d8dfd6;
  gap: 16px;
}
.dark #rental-result-card.rental-result-standard .rental-result-standard-row {
  border-bottom: 1px solid #FFFFFF10;
}
#rental-result-card.rental-result-standard .rental-result-standard-row > span:first-child {
  color: #514f5d;
  font-size: 1rem;
  line-height: 1.4;
}

#rental-result-card.rental-result-standard .rental-result-standard-row > span:last-child {
  flex-shrink: 0;
  color: #17152b;
  font-size: 16px;
  text-align: right;
}
.dark .rental-calculator .inputField, .dark .rental-calculator input, .dark .rental-dropdown {
  background-color: #11191F !important;
  color: #F5F5F5 !important;
  border-color: #FFFFFF10 !important;
}
.dark #rental-result-card.rental-result-standard{
  background: #1a222c;
  color: #F5F5F5;
}
@media (max-width: 640px) {
  #rental-result-card.rental-result-standard {
    padding: 16px;
  }

  #rental-result-card.rental-result-standard #rental-result-header {
    align-items: flex-start;
    flex-direction: column;
  }

  #rental-result-card.rental-result-standard #rental-result-header > div {
    width: 100%;
  }

  #rental-result-card.rental-result-standard #rental-result-hero {
    padding: 20px 16px;
  }

  #rental-result-card.rental-result-standard #result-value-text {
    font-size: 22px !important;
  }

  #rental-result-card.rental-result-standard #rental-case-message {
    gap: 14px;
    padding: 18px 16px;
  }

  #rental-result-card.rental-result-standard #rental-case-description {
    font-size: 1rem;
  }

  #rental-result-card.rental-result-standard .rental-result-standard-row > span:first-child,
  #rental-result-card.rental-result-standard .rental-result-standard-row > span:last-child {
    font-size: .9rem;
  }
}

.dark #result-status2{
  color: #8C9099;
}

    .rental-calculator > div:last-child { min-height: 350px; }

.inputField {
  border-color: #CED1D6 !important;
  color: #8C9099;
  padding-right: 2.75rem !important;
}
.inputField option[value=""] {
  color: #8C9099;
  font-size: 14px;
}
.inputField option:not([value=""]) {
  color: #130F26;
}

/* Radio Button Styling */
.rental-calculator .radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.rental-calculator .radio-card input[type="radio"] {
  display: none;
}

.rental-calculator .custom-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid #D3DDE6;
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.dark .rental-calculator .custom-radio {
  border-color: #6C7281;
}

.rental-calculator .radio-card input[type="radio"]:checked + .custom-radio {
  border-color: #A4C89A;
}

.dark .rental-calculator .radio-card input[type="radio"]:checked + .custom-radio {
  border-color: #A4C89A;
}

.rental-calculator .custom-radio::after {
  content: '';
  display: none;
  width: 12px;
  height: 12px;
  background-color: #A4C89A;
  border-radius: 50%;
}

.rental-calculator .radio-card input[type="radio"]:checked + .custom-radio::after {
  display: block;
}

.rental-calculator .radio-text {
  font-size: 1rem;
  font-weight: 500;
}
.regulatory-tabs{
    white-space: nowrap;
    overflow: auto;
    border-bottom: 1px solid #EBEEF3;
    margin-bottom: 32px;
}
.dark .regulatory-tabs{
     border-bottom: 1px solid #FFFFFF1A;
}
    .regulatory-tabs {
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .regulatory-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
.renewal-timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: #D1D4DC;
    z-index: 0;
}
[dir="rtl"] .renewal-timeline::before {
    left: auto;
    right: 24px;
}

#welcome-guide::backdrop {
    background: rgba(0, 0, 0, 0.75);
}
#eligibility-contract-end {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 48px;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    vertical-align: middle;
}

#eligibility-contract-end::-webkit-date-and-time-value {
    text-align: start;
    line-height: normal;
    min-height: 1em;
}
#contract-expiry-date-rental-hub {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    height: 44px;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
        display: flex;
    align-items: center;
    vertical-align: middle;
}

#contract-expiry-date-rental-hub::-webkit-date-and-time-value {
    text-align: start;
    line-height: normal;
    min-height: 0;
}

#contract-expiry-date-rental-hub::-webkit-datetime-edit {
    padding: 0;
    line-height: normal;
}
.regulatory-tabs{
  gap:24px
}
@media(max-width:786px) {
  .rental-calculator .radio-card{
        flex-direction: row-reverse;
    justify-content: space-between
  }
  .rental-calculator {
    grid-template-columns: 1fr !important;
  }
  .rental-calculator > div:last-child {
    min-height: 240px;
  }
  #result-card {
    width: 100%;
  }
  .field {
    width: 100%;
  }
  .rental-calculator {
    margin-bottom: 32px;
  }
  .regulatory-tabs{
      gap:12px;
  }
}

@media (max-width: 480px) {
  .rental-calculator {
    gap: 12px;
  }
  .rental-calculator .radio-card {
    gap: 8px;
  }
  #result-value-text {
    font-size: 32px;
  }
}

.rental-calculator label {
  font-size: 14px;
  font-weight: 400;
  color: #130F26;
  text-transform: none !important;
}

.dark .rental-calculator label {
  color: #F5F5F5;
}

.rental-calculator .inputField , 
.rental-calculator input ,
.rental-dropdown {
  border: 1px solid #CED1D6;
  border-radius: 4px;
  padding: 12px;
  font-size: 14px;
  background-color: #ffffff;
  color: #130F26;
  width: 100%;
  margin-top: 6px;
}
#unit-class-building, #bedrooms-building{
  background-color: transparent !important;
}

.dark .rental-calculator .inputField , 
.dark .rental-calculator input ,
.dark .rental-dropdown {
  color: #F5F5F5;
  border-color: #FFFFFF10;
}

.rental-calculator .inputPlaceholder {
  color: #8C9099;
}

 /* custom dropdown image instead of default arrow
    select.inputField {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      background-color: #fff;
      background-image: url("./assets/images/rental-dropdown.svg");
      background-repeat: no-repeat;
      background-position: right .8rem center;
    }

    /* keep text color for empty values */
    select.inputField option[value=""] {
      color: #8C9099;
    } */

#unit-class-controls,
#features-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.45rem;
  margin-top: 0.5rem;
}

label.selection-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  border: 1px solid #d6d7db;
  border-radius: 0.6rem;
  padding: 0.45rem 0.72rem;
  min-height: 38px;
  background-color: #fff;
  color: #1f2937;
  font-size: 0.9rem !important;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  user-select: none;
}

label.selection-chip:hover {
  border-color: #94a3b8;
  box-shadow: 0 1px 6px rgba(24, 35, 50, 0.1);
}

label.selection-chip.selected {
  border-color: #7c3aed;
  background-color: #f5f3ff;
  color: #4c1d95;
}

label.selection-chip input[type="radio"],
label.selection-chip input[type="checkbox"] {
  accent-color: #7c3aed;
  width: 16px;
  height: 16px;
  margin: 0;
}


.rental-dropdown .select-icon {
  position: absolute;
  right: 4px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #6c7281;
  transition: transform 0.3s ease;
}

.rental-dropdown.open .select-icon {
  transform: translateY(-50%) rotate(180deg);
}

[dir="rtl"] .rental-dropdown .select-icon {
  right: auto;
  left: 4px;
}

[dir="rtl"] .rental-dropdown.open .select-icon {
  transform: translateY(-50%) rotate(180deg);
}

[dir="rtl"] .control-chip {
  right: auto !important;
  left: 40px !important;
}

[dir="rtl"] .control-textfield {
  right: auto !important;
  left: 8px !important;
}

[dir="rtl"] .control-calendar {
 right: auto !important;
  left: 8px !important;
}

[dir="rtl"] .control-calendar-close {
  right: auto !important;
  left: 40px !important;
}

[dir="rtl"] .dropdown {
  text-align: right;
}

[dir="rtl"] .dropdown-selected {
  text-align: right;
}

[dir="rtl"] .dropdown::after,
[dir="rtl"] .dropdown-rental::after {
  left: 12px;
  right: auto;
}

[dir="rtl"] .dropdown.open::after,
[dir="rtl"] .dropdown-rental.open::after {
  transform: rotate(-45deg);
}

.rental-dropdown::after {
  display: none;
}

/* .rental-dropdown .dropdown-selected {
  font-size: 0.95rem;
  line-height: 1.3;
  color: #1f2937;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  user-select: none;
} */

/* .rental-dropdown .dropdown-selected::after {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-left: 0.75rem;
  background-image: url("./assets/images/rental-dropdown.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.rental-dropdown.open .dropdown-selected::after {
  transform: rotate(180deg);
} */

.dropdown-menu-rental {
  display: none;
  position: absolute;
  top: calc(100% + 0.25rem);
  /* left/right are set in JS positioning for LTR/RTL correctly */
  z-index: 99999 !important;
  background: #ffffff;
  border: 1px solid #d6d7db;
  border-radius: 0.75rem;
  padding: 0.65rem 0.45rem;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  margin-top: 2px;
  max-height: 200px;
}

.dropdown-search-container {
  position: relative;
  margin-bottom: 0.65rem;
}

.dropdown-search-input {
  width: 100%;
  padding: 0.55rem 0.75rem 0.55rem 2.5rem;
  border: 1px solid #d6d7db;
  border-radius: 0.625rem;
  background: #f9fafb;
  color: #1f2937;
  font-size: 0.95rem;
}

.dropdown-search-icon {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.8;
}

[dir="rtl"] .dropdown-search-input {
  padding: 0.55rem 2.5rem 0.55rem 0.75rem;
}

[dir="rtl"] .dropdown-search-icon {
  left: auto;
  right: 0.9rem;
}

.dark .dropdown-search-input {
  border-color: #A4C89A !important;
  background: #11191F !important;
  background-color: #11191F !important;
  color: #F5F5F5;
}

.dark .dropdown-search-input::placeholder {
  color: #9CA3AF;
  opacity: 1;
}


[dir="rtl"] .dropdown-search-input {
  padding: 0.55rem 2.5rem 0.55rem 0.75rem;
  background-position: right 0.9rem center;
}

.dropdown-search-input:focus {
  outline: none;
  border-color: #a4c89a;
  box-shadow: 0 0 0 2px rgba(164, 200, 154, 0.16);
}

.dropdown-no-results {
  padding: 0.8rem 0.75rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
}

/* Ensure dropdown container higher than siblings and not clipped by ancestors. */
.rental-dropdown {
  position: relative;
  z-index: 10;
}

[dir="rtl"] .dropdown-menu-rental {
  direction: rtl;
  text-align: right;
}

/* If parent context uses overflow hidden, allow visible for dropdown menu */
.dropdown, .dropdown-rental, .rental-calculator, .field {
  overflow: visible !important;
  z-index: initial;
}


/* .rental-dropdown .dropdown-item-rental {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.8rem;
  border-radius: 0.65rem;
  margin: 0.15rem 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
} */


 .dropdown-item-rental input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  outline: none;
  position: relative;
  background: #ffffff;
  cursor: pointer;
}

.dropdown-item-rental input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #A4C89A;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.dropdown-item-rental input:checked {
  border-color: #A4C89A !important;
  background: #ffffff;
}

.dropdown-item-rental input:checked::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.dropdown-item-rental.selected input {
  border-color: #A4C89A !important;
  background: #ffffff;
}

.dropdown-item-rental.selected input[type="radio"]::before,
.dropdown-item-rental.selected input[type="checkbox"]::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.dark .dropdown-item-rental input {
  border-color: #d1d5db;
  background: transparent;
}

.dark .dropdown-item-rental input:checked,
.dark .dropdown-item-rental.selected input {
  border-color: #A4C89A !important;
  background: #11191F;
}

.dark .dropdown-item-rental input[type="radio"]:checked::before,
.dark .dropdown-item-rental.selected input[type="radio"]::before {
  background: #A4C89A;
}

.dropdown-item-rental span {
  font-size: 14px;
  color: #252f3f;
  line-height: 1.2;
}

.dropdown-item-rental input[type="checkbox"] {
  border-radius: 0.25rem;
}

.dropdown-item-rental input[type="checkbox"]::before {
  opacity: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12' fill='none'><path d='M2 6.5l3.2 3L14 1.5' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.dropdown-item-rental input[type="checkbox"]:checked::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.multi-dropdown .dropdown-item-rental input:checked {
  background-color: #A4C89A;
}

/* Keep dropdown content from being hidden by overflow parent in some layouts */
.rental-dropdown {
  overflow: visible;
}


/* maintain text colors if dark mode toggled */

.dark .rental-dropdown .dropdown-selected,
.dark .dropdown-item-rental span {
  color: #F5F5F5;
}

.dark .dropdown-menu-rental {
  background: #11191F;
    border-color: #FFFFFF10;
}


 .dropdown-item-rental input[type='radio'] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: transparent;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    position: relative;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    box-sizing: border-box;
}
.dropdown-item-rental {
 border-bottom: 1px solid #CED1D6; 
}
.dark .dropdown-item-rental {
 border-color: #FFFFFF10; 
}
.dropdown-item-rental:last-child{
  border-bottom: 0;
}

.rental-calculator .disabled {
  /* background: #CED1D6; */
    cursor: not-allowed;
    border: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
}

/* .dark .rental-calculator .disabled {
  background: #FFFFFF1A;
} */

.dark .rental-calculator input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px #11191f inset !important;
    -webkit-text-fill-color: #F5F5F5 !important;
}

.rental-index-buttons button{
font-size : 16px;
}

.rental-result-info p{
font-size : 12px !important;
}

.rental-index-buttons {
  margin-top: 24px !important;
}
.rental-toast-close-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
}

/* Rental calculator button responsive behavior */
@media (max-width: 767px) {
  .rental-index-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 16px !important;
    flex-wrap: wrap;
  }
  #rental-result-card.rental-result-standard #result-value .rental-currency-code {
  font-size: 22px;
}
  .rental-index-buttons button.hidden {
    display: none !important;
  }
  .rental-index-buttons button{
        font-size: 14px;
  }
    #rental-toast-container {
        top: 10px;
        left: 0 !important;
        right: 0 !important;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .rental-toast {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box;
    }
  
    .rental-calculator .inputField , 
    .rental-calculator input ,
    .rental-dropdown {

      font-size: 16px;
   
    }
}
#result-value img {
  width: 32px;
  height: 32px;
}
.currency-inline-ltr {
  display: inline-flex;
  align-items: center;
  direction: ltr;
  unicode-bidi: isolate-override;
}
.currency-inline-ltr img {
  margin-right: 4px;
  width: 18px;
  height: 18px;
}
.percent-inline-ltr {
  display: inline-flex;
  align-items: center;
  direction: ltr;
  unicode-bidi: isolate-override;
}


/* ================= TOAST STYLES ================= */
#rental-toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  max-width: calc(100% - 40px);
  align-self: center;
}

.rental-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 16px;
  border-radius: 50px;
  border: 1px solid #CED1D6;
  background-color: #FFFFFF;
  color: #130F26;
  line-height: 20px;
  max-width: 560px;
  word-break: break-word;
}

.dark .rental-toast {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: #11191F;
  color: #F5F5F5;
}

/* 3rd section starts ****/

/* Smooth transition */
#how-it-works .result-highlight,
#how-it-works .result-explanation {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Right-side explanation cards are clickable */
#how-it-works .result-explanation {
    cursor: pointer;
}

/* Active left-side calculator result */
#how-it-works .result-highlight.is-active {
    background-color: #FFFFFF;
    border: 1px solid #130F26 !important;
}
.dark #how-it-works .result-highlight.is-active {
    background-color: #11191F;
}
.dark #how-it-works .result-highlight.is-active .result-step-trigger {
    background-color: #2d3748 !important;
}
.dark #how-it-works .result-explanation.is-active{
    background-color: #2d3748 !important;
    border: 1px solid #2d3748 !important;
}
#how-it-works .result-explanation.is-active .result-step-trigger {
    background-color: #ffffff !important;
    color: #130F26 !important;
}
/* Active right-side explanation card */
#how-it-works .result-explanation.is-active {
    background-color: #130F26 !important;
    border: 1px solid #130F26 !important;
}

/* White text inside active right-side card */
#how-it-works .result-explanation.is-active h4,
#how-it-works .result-explanation.is-active p {
    color: #FFFFFF !important;
}

/* Active number buttons */
/* #how-it-works .result-step-trigger.is-active {
    background-color: #130F26 !important;
    color: #FFFFFF !important;
} */

/* Keyboard focus */
#how-it-works .result-step-trigger:focus-visible {
    outline: 2px solid #719B68;
    outline-offset: 3px;
}

/* Disable animation when reduced motion is preferred */
@media (prefers-reduced-motion: reduce) {
    #how-it-works .result-highlight,
    #how-it-works .result-explanation {
        transition: none;
    }
}

/* Existing hidden elements */
.rental-calculator #faq-pdf-download,
.rental-calculator #documents-block {
    display: none !important;
}

/* 3rd section ends  ****/

@media (max-width: 767px){
  .rental-toast {    
    padding: 12px;
  }
  .rental-toast-icon {
  width: 18px;
  height: 18px;
}
.rental-toast-close-icon {
  width: 16px;
  height: 16px;
}
.rental-toast-text {
  font-size: 14px;
}
}

.rental-toast-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rental-toast-text {
  flex: 1;
  margin-right: 8px;
}

.rental-toast-close-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

html[data-font-level='1'] .md-toast-message {
  font-size: 16px;
}

html[data-font-level='2'] .md-toast-message{
  font-size: 18px;
}

html[data-font-level='3'] .md-toast-message{
  font-size: 20px;
}


[dir="rtl"] .rental-calculator input {
    text-align: right;
}

[dir="rtl"] .date-picker-close {
    right: auto !important;
    left: 40px !important;
}

[dir="rtl"] .date-picker-icon {
    right: auto !important;
    left: 8px !important;
}
