:root {
  --amenli-mint: #68d8d4;
  --amenli-mint-dark: #48cbc7;
  --amenli-lime: #b8d70e;
  --ink: #050505;
  --navy: #17243d;
  --muted: #aeb3bc;
  --input: #f2f2f4;
  --line: #dedede;
  --danger: #ff3030;
  --page-width: 1440px;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-size: 20px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-frame {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #fff;
  border-right: 10px solid var(--amenli-mint);
  border-radius: 8px;
}

.floating-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--page-width), calc(100% - 240px));
  height: 90px;
  margin: 32px auto 0;
  padding: 0 22px;
  background: #fff;
  border-radius: 45px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.13);
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  width: 144px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 36px;
}

.language-toggle {
  padding: 10px 14px;
  background: transparent;
  border: 0;
  color: #000;
  font-weight: 800;
  line-height: 1;
}

.restart-button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--amenli-mint);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.restart-button span {
  position: relative;
  width: 23px;
  height: 23px;
  border: 3px solid #fff;
  border-left-color: transparent;
  border-radius: 50%;
}

.restart-button span::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(35deg);
}

.flow-shell {
  width: min(var(--page-width), calc(100% - 240px));
  margin: 0 auto;
  min-height: 760px;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.start-screen h1,
.question-screen>h1,
.plans-screen>h1 {
  margin: 68px 0 0;
  text-align: center;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
}

.start-content {
  margin-top: 96px;
  margin-left: 30px;
}

.muted-kicker,
.step-label {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.start-content h2 {
  margin: 4px 0 18px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
}

.start-offer {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin: 0 0 42px;
  padding: 0 22px;
  color: #001431;
  background: #fff5cf;
  border: 1px solid #f4d45b;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(244, 212, 91, 0.18);
}

.insurance-grid {
  display: grid;
  grid-template-columns: 300px;
  gap: 30px;
}

.insurance-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 300px;
  height: 200px;
  padding: 31px 32px 26px;
  text-align: left;
  color: #222;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.insurance-card svg {
  width: 38px;
  height: 38px;
  color: #2b2b2b;
}

.insurance-card span {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.08;
}

.insurance-card.selected {
  color: #000;
  background: #efffff;
  border-color: var(--amenli-mint);
}

.insurance-card.selected svg {
  color: var(--amenli-lime);
}

.insurance-card.selected span {
  font-weight: 800;
}

.question-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  margin-top: 102px;
  margin-left: 30px;
}

.step-label {
  font-size: 19px;
}

.question-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.back-button {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #222;
  background: transparent;
  border: 0;
  font-size: 38px;
  font-weight: 300;
  line-height: 0.45;
}

.question-title-row h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
}

.question-subtitle {
  min-height: 28px;
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.45;
}

.dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 18px;
}

.dot {
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--amenli-mint);
  border-radius: 50%;
}

.dot.filled {
  background: var(--amenli-mint);
}

.answer-area {
  min-height: 250px;
  margin-top: 52px;
  margin-left: 30px;
}

.personal-stack {
  display: grid;
  gap: 24px;
  width: 690px;
}

.car-details-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px 24px;
  width: min(960px, 100%);
}

.car-choice-group,
.car-field {
  min-width: 0;
}

.car-choice-group {
  grid-column: 1 / -1;
}

.compact-choice-row {
  gap: 16px;
}

.compact-choice {
  width: min(360px, 50%);
  height: 88px;
}

.car-field select {
  width: 100%;
  height: 60px;
  padding: 0 18px;
  color: var(--navy);
  background: var(--input);
  border: 0;
  border-radius: 8px;
  outline: none;
  font-size: 21px;
  font-weight: 800;
}

.car-field.price-block {
  width: 100%;
}

.car-price-error {
  display: none;
}

.choice-row {
  display: flex;
  gap: 20px;
}

.wide-choice {
  display: flex;
  align-items: center;
  width: 450px;
  height: 120px;
  padding: 0 32px;
  text-align: left;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  font-size: 22px;
  font-weight: 500;
}

.wide-choice.selected {
  background: #efffff;
  border-color: var(--amenli-mint);
  font-weight: 800;
}

.dropdown-block {
  width: min(1380px, calc(100vw - 360px));
}

.dropdown-control,
.text-input,
.phone-input {
  display: flex;
  align-items: center;
  height: 60px;
  background: var(--input);
  border: 0;
  border-radius: 8px;
}

.dropdown-control {
  width: 100%;
  padding: 0 16px;
}

.search-icon {
  width: 22px;
  height: 22px;
  margin-right: 14px;
  border: 2px solid #9aa4b5;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
}

.dropdown-value {
  flex: 1;
  color: var(--navy);
  font-size: 23px;
  font-weight: 500;
}

.dropdown-value.placeholder,
.input-placeholder {
  color: #b5b5b8;
  font-weight: 800;
}

.dropdown-arrow {
  color: #222;
  font-size: 32px;
  line-height: 1;
}

.dropdown-menu {
  display: none;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}

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

.dropdown-option {
  width: 100%;
  height: 61px;
  padding: 0 52px;
  text-align: left;
  color: var(--navy);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #d7d7d7;
  font-size: 22px;
  font-weight: 400;
}

.dropdown-option:last-child {
  border-bottom: 0;
}

.price-block,
.person-block {
  width: 690px;
}

.input-label {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.2;
}

.input-label.error,
.input-error {
  color: var(--danger);
}

.text-input,
.phone-input {
  width: 100%;
  padding: 0 20px;
  font-size: 21px;
  font-weight: 800;
  outline: none;
}

.text-input.error {
  background: #fff;
  border: 1.5px solid var(--danger);
}

.input-error {
  margin-top: 6px;
  font-size: 15px;
}

.currency-input {
  position: relative;
}

.currency-input .text-input {
  padding-right: 84px;
}

.currency {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
}

.birthday-row {
  display: flex;
  gap: 10px;
}

.birthday-field {
  width: 147px;
}

.birthday-field label {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.birthday-field input {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  color: #333;
  background: var(--input);
  border: 0;
  border-radius: 6px;
  font-size: 19px;
  font-weight: 800;
  outline: none;
}

.phone-input {
  gap: 22px;
}

.phone-code {
  font-weight: 800;
}

.phone-input input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  font: inherit;
  font-weight: 800;
}

.next-button {
  position: fixed;
  left: 50%;
  bottom: 125px;
  width: 300px;
  height: 58px;
  color: #fff;
  background: var(--amenli-mint);
  border: 0;
  border-radius: 29px;
  font-size: 19px;
  font-weight: 800;
  transform: translateX(-50%);
}

.next-button:disabled {
  background: #eeeeee;
}

.plans-screen>h1 {
  margin-top: 52px;
  font-size: 32px;
}

.plans-table {
  position: relative;
  display: grid;
  grid-template-columns: 34% 34% 32%;
  width: min(1600px, calc(100vw - 310px));
  margin: 26px auto 10px;
  padding: 20px 16px;
  background: #fafafa;
  border-radius: 18px;
}

.site-footer {
  width: min(1600px, calc(100% - 310px));
  margin: 190px auto 34px;
  padding-bottom: 6px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.footer-brand img {
  width: 181px;
  height: auto;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.9fr;
  gap: 70px;
  padding-bottom: 62px;
  border-bottom: 1px solid #dedede;
}

.footer-columns h2 {
  margin: 0 0 25px;
  color: #001431;
  font-size: 21px;
  font-weight: 800;
}

.footer-columns a,
.footer-columns p {
  display: block;
  margin: 0 0 8px;
  color: #9399a3;
  text-decoration: none;
  font-size: 21px;
  line-height: 1.25;
}

.footer-columns strong {
  display: block;
  margin-top: 26px;
  color: #001431;
  font-size: 21px;
}

.payment-strip {
  display: flex;
  align-items: center;
  gap: 58px;
  min-height: 160px;
  padding: 32px 28px;
  border-bottom: 1px solid #dedede;
}

.payment-strip img {
  max-width: 150px;
  max-height: 82px;
  object-fit: contain;
}

.paymob-card {
  display: grid;
  place-items: center;
  width: 174px;
  height: 70px;
  background: #fff;
  border: 1px solid #b6d6ff;
  border-radius: 5px;
}

.paymob-word {
  color: #236eff;
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.card-icons {
  color: #173056;
  font-size: 14px;
  font-weight: 800;
}

.sahoola-logo {
  min-width: 178px;
  color: #050505;
  font-size: 34px;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 34px;
  color: #000;
  font-size: 16px;
}

.footer-bottom p {
  margin: 12px 0;
}

.footer-bottom nav {
  display: flex;
  align-items: flex-end;
  gap: 50px;
  white-space: nowrap;
}

.footer-bottom a {
  color: #000;
  text-decoration: none;
  font-weight: 800;
}

.bank-screen,
.payment-screen,
.bank-loading-screen,
.bank-demo-screen {
  margin-top: 54px;
}

.payment-card {
  position: relative;
  width: min(760px, 100%);
  min-height: 680px;
  margin: 0 auto;
  padding: 34px 42px 42px;
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(8, 24, 54, 0.12);
}

.payment-back {
  position: absolute;
  top: 28px;
  inset-inline-start: 28px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: #f4f6fb;
  border: 0;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.payment-logo-row {
  display: flex;
  justify-content: center;
  margin: 6px 0 46px;
}

.payment-logo-row img {
  width: 150px;
  height: auto;
}

.payment-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}

.payment-card h1 {
  margin: 0;
  color: var(--amenli-mint);
  text-align: center;
  font-size: 36px;
  line-height: 1.15;
}

.payment-subtitle {
  margin: 44px 0 20px;
  color: var(--navy);
  text-align: center;
  font-size: 24px;
  font-weight: 800;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.payment-option {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 132px;
  padding: 20px;
  color: var(--navy);
  text-align: start;
  background: #fff;
  border: 2px solid #e1e5ed;
  border-radius: 18px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.payment-option:hover {
  transform: translateY(-2px);
  border-color: var(--amenli-mint);
}

.payment-option.selected {
  background: #f1ffff;
  border-color: var(--amenli-mint);
  box-shadow: 0 12px 30px rgba(104, 216, 212, 0.18);
}

.payment-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: linear-gradient(135deg, #1b65ff, #68d8d4);
  border-radius: 16px;
  font-size: 25px;
}

.payment-option strong {
  display: block;
  font-size: 21px;
  line-height: 1.25;
}

.payment-option small {
  display: block;
  grid-column: 2;
  margin-top: -16px;
  color: #8a94a6;
  font-size: 14px;
  line-height: 1.35;
}

.confirm-payment-button {
  display: block;
  width: min(420px, 100%);
  height: 64px;
  margin: 54px auto 0;
  color: #fff;
  background: #145cff;
  border: 0;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(20, 92, 255, 0.24);
}

.bank-phone-shell,
.secure-loader,
.bank-demo-card {
  min-height: 760px;
  margin: 0 auto;
  color: #fff;
  background:
    radial-gradient(circle at 50% 20%, rgba(62, 214, 140, 0.18), transparent 28%),
    linear-gradient(145deg, #07101d, #101935 58%, #060b14);
  border-radius: 36px;
  box-shadow: 0 28px 60px rgba(2, 9, 25, 0.34);
}

.bank-phone-shell {
  position: relative;
  width: min(1600px, calc(100vw - 240px));
  min-height: 720px;
  padding: 76px 78px 64px;
}

.bank-back {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
}

.bank-topline {
  width: min(900px, 100%);
  margin: 0 auto 46px;
  text-align: center;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 800;
}

.bank-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 24px;
}

.bank-card {
  display: grid;
  grid-template-rows: 86px auto;
  align-items: center;
  min-height: 185px;
  padding: 18px;
  color: #fff;
  background: rgba(34, 54, 95, 0.72);
  border: 1px solid rgba(129, 158, 232, 0.36);
  border-radius: 18px;
  box-shadow: inset 0 0 26px rgba(91, 132, 255, 0.08), 0 10px 22px rgba(0, 0, 0, 0.2);
}

.bank-logo-tile,
.selected-bank-card,
.demo-bank-logo {
  display: grid;
  place-items: center;
  width: 128px;
  height: 78px;
  margin: 0 auto;
  color: #fff;
  border-radius: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.bank-logo-tile small,
.selected-bank-card small,
.demo-bank-logo small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.86;
}

.bank-card strong {
  text-align: center;
  font-size: 19px;
  line-height: 1.25;
}

.bank-nbe {
  background: linear-gradient(135deg, #083cff, #122ba8);
}

.bank-bm {
  background: linear-gradient(135deg, #25e677, #04a74e);
}

.bank-qnb {
  background: linear-gradient(135deg, #9324ff, #5312bc);
}

.bank-cib {
  background: linear-gradient(135deg, #096aff, #0640a8);
}

.bank-faisal,
.bank-baraka {
  background: linear-gradient(135deg, #0fc65d, #087a3d);
}

.bank-hsbc {
  background: linear-gradient(135deg, #ff213a, #be0319);
}

.bank-alex,
.bank-cairo,
.bank-aaib {
  background: linear-gradient(135deg, #087bff, #0640bc);
}

.bank-mashreq {
  background: linear-gradient(135deg, #ff7a1a, #e34222);
}

.secure-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 34px;
  text-align: center;
}

.selected-bank-card {
  margin-bottom: 46px;
  box-shadow: 0 0 46px currentColor;
}

.lock-rings {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 28px;
  border: 1px solid rgba(104, 216, 212, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(104, 216, 212, 0.08), 0 0 44px rgba(104, 216, 212, 0.28);
}

.lock-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--amenli-mint);
  border: 2px solid var(--amenli-mint);
  border-radius: 50%;
  font-size: 26px;
}

.secure-loader h1 {
  margin: 0 0 8px;
  font-size: 27px;
  line-height: 1.25;
}

.secure-loader p {
  margin: 0;
  color: #95b4ff;
  font-size: 16px;
}

.secure-loader p strong {
  color: var(--amenli-mint);
}

.loader-dots {
  display: flex;
  gap: 8px;
  margin: 22px 0 38px;
}

.loader-dots span {
  width: 8px;
  height: 8px;
  background: var(--amenli-mint);
  border-radius: 50%;
  animation: pulseDot 1.2s infinite ease-in-out;
}

.loader-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.loader-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.loader-dots span:nth-child(4) {
  animation-delay: 0.45s;
}

.secure-loader ul {
  display: grid;
  gap: 10px;
  margin: 0 0 46px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.secure-loader li::before {
  content: "✓";
  margin-inline-end: 8px;
  color: var(--amenli-mint);
  font-weight: 900;
}

.secure-progress {
  width: 76%;
  height: 4px;
  overflow: hidden;
  background: rgba(68, 120, 255, 0.5);
  border-radius: 999px;
}

.secure-progress span {
  display: block;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, #3267ff, var(--amenli-mint));
  border-radius: inherit;
  animation: loadingBar 1.8s ease-in-out infinite;
}

.bank-demo-card {
  position: relative;
  width: min(980px, 100%);
  min-height: 680px;
  padding: 64px 40px 42px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 30%, rgba(30, 103, 255, 0.28), transparent 34%),
    linear-gradient(145deg, #07101d, #101935 58%, #060b14);
  text-align: center;
}

.bank-demo-card .bank-back {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.demo-bank-logo {
  margin-bottom: 26px;
}

.demo-panel {
  display: none;
}

.demo-panel.active {
  display: block;
}

.bank-demo-card h1 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}

.login-demo h1 {
  color: #132449;
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.bank-portal-subtitle {
  color: rgba(255, 255, 255, 0.66) !important;
  margin-bottom: 44px !important;
}

.login-demo .bank-portal-subtitle {
  color: #60708f !important;
  margin-bottom: 18px !important;
}

.review-lock {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 34px auto 28px;
  color: #2b79ff;
  background: rgba(11, 98, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(11, 98, 255, 0.06), 0 0 38px rgba(47, 105, 255, 0.36);
  font-size: 30px;
}

.review-panel {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 56px 46px 48px;
  color: #fff;
  background: linear-gradient(160deg, rgba(22, 67, 165, 0.92), rgba(17, 48, 121, 0.82));
  border: 1px solid rgba(129, 168, 255, 0.28);
  border-radius: 28px;
  box-shadow: inset 0 0 34px rgba(93, 145, 255, 0.08), 0 22px 58px rgba(1, 8, 30, 0.32);
  text-align: center;
}

.review-panel h1 {
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
}

.review-panel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
}

.review-panel p {
  margin: 0 auto 30px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.5;
}

.review-progress {
  width: 100%;
  height: 8px;
  margin: 32px auto 20px;
  overflow: hidden;
  background: rgba(95, 140, 255, 0.28);
  border-radius: 999px;
}

.review-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #245cff, #2c78ff);
  border-radius: inherit;
  transform-origin: right center;
  animation: reviewCountdown 15s linear forwards;
}

.review-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: rgba(173, 199, 255, 0.88);
  background: rgba(35, 78, 180, 0.42);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.bank-demo-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 26px;
}

.bank-demo-card p {
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.5;
}

.bank-login-layout {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0;
  margin-bottom: 24px;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
}

.login-notes {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 420px;
  padding: 18px 12px;
  background: linear-gradient(180deg, #dde7f6, #cbd8eb);
}

.login-notes span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-inline: auto;
  color: #3b3b3b;
  font-size: 15px;
  font-weight: 800;
  transform: rotate(6deg);
}

.login-notes span:nth-child(1) {
  background: #f4d22a;
}

.login-notes span:nth-child(2) {
  background: #f06062;
}

.login-notes span:nth-child(3) {
  background: #f2a01b;
}

.login-demo {
  display: grid;
  gap: 14px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 42px;
  color: #24304a;
  background: linear-gradient(160deg, #d9e2f0 0%, #eef3fa 100%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  box-shadow: 0 22px 58px rgba(1, 8, 30, 0.32);
  text-align: right;
}

.login-demo h2 {
  margin: 0 0 8px;
  color: #343a46;
  font-size: 24px;
  line-height: 1.25;
}

.login-demo p {
  margin: 0 0 16px;
  color: #7b8190;
  font-size: 13px;
}

.login-demo label {
  color: #3c4250;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.portal-input {
  width: 100%;
  height: 62px;
  padding: 0 20px;
  color: #252b36;
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 12px;
  outline: none;
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

.portal-input:focus {
  border-color: #2f64c8;
  box-shadow: 0 0 0 3px rgba(47, 100, 200, 0.15);
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.forgot-button,
.demo-login-button {
  height: 64px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
}

.forgot-button {
  color: #2e3f7f !important;
  background: #fff !important;
  border: 2px solid #2e3f7f !important;
  opacity: 1 !important;
}

.demo-login-button {
  color: #fff !important;
  background: #2f64c8 !important;
  border: 2px solid #2f64c8 !important;
  opacity: 1 !important;
}

.demo-login-message {
  min-height: 18px;
  margin: 2px 0 0 !important;
  color: #b42318 !important;
  font-size: 13px !important;
  font-weight: 800;
}

.disabled-login {
  display: grid;
  gap: 14px;
  margin: 0 auto 26px;
  padding: 22px;
  background: rgba(22, 69, 172, 0.38);
  border: 1px solid rgba(95, 144, 255, 0.24);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.disabled-login:not(.login-demo) div {
  height: 54px;
  padding: 15px 18px;
  color: #9aa0aa;
  text-align: start;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.disabled-login button {
  height: 56px;
  color: #fff;
  background: #0864ff;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  opacity: 0.8;
}

.safe-code-demo strong {
  color: #fff;
  font-size: 18px;
}

.otp-row {
  display: flex !important;
  justify-content: center !important;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}

.otp-input {
  width: 42px !important;
  height: 52px !important;
  flex: 0 0 42px;
}

.otp-input:focus {
  border-color: #4d8cff;
  box-shadow: 0 0 0 3px rgba(77, 140, 255, 0.18);
}

.demo-code-hint {
  margin: -4px 0 2px !important;
  color: #f7c948 !important;
  font-size: 13px !important;
}

.demo-code-message {
  min-height: 20px;
  margin: -4px 0 0 !important;
  color: #ffb4b4 !important;
  font-weight: 800;
}

.demo-code-message.accepted {
  color: #74f0b5 !important;
}

.demo-return {
  width: 100%;
}

.demo-login-button.loading,
.demo-login-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes loadingBar {
  0% {
    transform: translateX(-90%);
  }

  60%,
  100% {
    transform: translateX(68%);
  }
}

@keyframes reviewCountdown {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

.plan-col {
  position: relative;
  background: #fff;
}

.basic-plan {
  border-radius: 14px 0 0 14px;
}

.standard-plan {
  border: 2px solid var(--amenli-mint);
  border-radius: 14px;
}

.recommended-badge {
  position: absolute;
  top: -24px;
  left: 50%;
  z-index: 2;
  min-width: 202px;
  height: 44px;
  padding: 11px 22px;
  color: #fff;
  text-align: center;
  background: var(--amenli-mint);
  border-radius: 22px;
  font-weight: 800;
  transform: translateX(-50%);
}

.plan-head {
  height: 226px;
  padding: 24px 32px 0;
}

.plan-head h2 {
  margin: 0 0 18px;
  color: var(--amenli-mint);
  font-size: 28px;
  font-weight: 800;
}

.plan-head p,
.plan-head small {
  display: block;
  margin: 0;
  color: var(--navy);
}

.plan-head p {
  font-size: 22px;
}

.plan-head small {
  margin-top: 4px;
  font-size: 17px;
}

.direct {
  display: block;
  margin-top: 18px;
  color: var(--amenli-mint);
  font-size: 18px;
}

.checkmark {
  display: block;
  margin-top: 6px;
  color: #0a53e8;
  font-size: 24px;
}

.plan-row {
  display: flex;
  align-items: center;
  height: 66px;
  padding: 0 32px;
  border-top: 1px solid #bdbdbd;
  color: #000;
  font-size: 18px;
}

.plan-row:nth-of-type(2),
.plan-row:nth-of-type(5) {
  border-top-color: #000;
}

.plan-action {
  height: 102px;
  padding: 22px 24px;
  border-top: 1px solid #bdbdbd;
}

.outline-policy,
.filled-policy {
  width: 100%;
  height: 58px;
  border-radius: 29px;
  font-size: 18px;
  font-weight: 800;
}

.outline-policy {
  color: var(--amenli-mint);
  background: #fff;
  border: 2px solid var(--amenli-mint);
}

.filled-policy {
  color: #fff;
  background: var(--amenli-mint);
  border: 0;
}

.feature-labels {
  position: absolute;
  left: 34px;
  right: 0;
  top: 246px;
  width: 33%;
  pointer-events: none;
}

.feature-labels div {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 66px;
  color: #001431;
  font-size: 18px;
  font-weight: 800;
}

.feature-labels small {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #aaa;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 400;
}

[dir="rtl"] body,
[dir="rtl"] .insurance-card,
[dir="rtl"] .wide-choice,
[dir="rtl"] .dropdown-option {
  text-align: right;
}

[dir="rtl"] .question-title-row,
[dir="rtl"] .choice-row,
[dir="rtl"] .birthday-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .start-content,
[dir="rtl"] .question-grid,
[dir="rtl"] .answer-area {
  margin-left: 0;
  margin-right: 30px;
}

[dir="rtl"] .search-icon {
  margin-right: 0;
  margin-left: 14px;
}

[dir="rtl"] .currency-input .text-input {
  padding-right: 20px;
  padding-left: 84px;
}

[dir="rtl"] .currency {
  right: auto;
  left: 20px;
}

[dir="rtl"] .footer-columns,
[dir="rtl"] .footer-bottom,
[dir="rtl"] .footer-top {
  direction: rtl;
}

@media (max-width: 1100px) {

  .floating-header,
  .flow-shell {
    width: calc(100% - 40px);
  }

  .insurance-grid {
    grid-template-columns: repeat(2, minmax(220px, 252px));
  }

  .question-grid {
    grid-template-columns: 1fr;
  }

  .dots {
    justify-content: flex-start;
    padding-top: 0;
  }

  .dropdown-block,
  .plans-table,
  .site-footer {
    width: 100%;
  }

  .bank-phone-shell {
    width: 100%;
    padding: 58px 28px 42px;
  }

  .payment-card {
    width: 100%;
  }

  .bank-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .app-frame {
    border-right-width: 6px;
  }

  .floating-header {
    height: 68px;
    margin-top: 18px;
  }

  .logo-link img {
    width: 112px;
  }

  .header-actions {
    gap: 12px;
  }

  .restart-button {
    width: 46px;
    height: 46px;
  }

  .start-screen h1,
  .question-screen>h1,
  .plans-screen>h1 {
    margin-top: 44px;
    font-size: 26px;
  }

  .start-content,
  .question-grid,
  .answer-area,
  [dir="rtl"] .start-content,
  [dir="rtl"] .question-grid,
  [dir="rtl"] .answer-area {
    margin-left: 0;
    margin-right: 0;
  }

  .insurance-grid,
  .choice-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .insurance-card,
  .wide-choice,
  .price-block,
  .person-block,
  .personal-stack,
  .car-details-stack {
    width: 100%;
  }

  .car-details-stack {
    grid-template-columns: 1fr;
  }

  .compact-choice {
    width: 100%;
  }

  .question-title-row h2 {
    font-size: 22px;
  }

  .birthday-row {
    flex-wrap: wrap;
  }

  .next-button {
    bottom: 34px;
    width: min(300px, calc(100% - 48px));
  }

  .plans-table {
    display: block;
    padding: 14px;
  }

  .labels-col,
  .feature-labels {
    display: none;
  }

  .plan-col {
    margin-bottom: 22px;
    border-radius: 14px;
    overflow: hidden;
  }

  .site-footer {
    margin-top: 120px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .payment-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom nav {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 22px;
  }

  .bank-phone-shell {
    min-height: auto;
    border-radius: 24px;
  }

  .payment-card {
    min-height: auto;
    padding: 28px 18px 28px;
    border-radius: 22px;
  }

  .payment-logo-row {
    margin-bottom: 34px;
  }

  .payment-subtitle {
    margin-top: 34px;
    font-size: 21px;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .payment-option {
    min-height: 116px;
  }

  .confirm-payment-button {
    margin-top: 38px;
  }

  .bank-topline {
    font-size: 21px;
  }

  .bank-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .bank-card {
    min-height: 156px;
  }

  .password-wrap {
    position: relative;
  }

  .password-wrap .portal-input {
    padding-left: 50px;
  }

  .password-wrap {
    position: relative;
  }

  .eye-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
  }

  .password-wrap {
    position: relative;
  }


}