  :root{
    --bg:#141a1c;      /* фон */
    --h:#aeaeae;       /* заголовки/лейблы */
    --t:#757575;       /* основной текст */
    --link:#ffffff;    /* ссылки */
    --accent:#0a66ff;  /* кнопка */
    --border:#2a3235;
  }
/* убираем горизонтальную прокрутку внутри iframe */
* { box-sizing: border-box; }

  /* Карточка */
  #rent-widget{
    max-width:820px; margin:24px auto; padding:24px;
    border-radius:24px; background:#151d20; border:1px solid var(--border);
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  }
  #rent-title{margin:0 0 16px; font-size:28px; color:var(--h)}
  #rent-form>div{margin-bottom:16px}
  #rent-form label{display:block; margin-bottom:6px; font-weight:600; color:var(--h)}
  #rent-form select,
  #rent-form input[type="text"],
  #rent-form input[type="tel"],
  #rent-form input[type="email"],
  #rent-form input[type="date"]{
    width:100%; padding:12px 14px; background:#fff; color:#0b1220;
    border:1px solid #cfd6df; border-radius:12px; outline:none;
    -webkit-appearance:auto; appearance:auto;
  }
  #rent-form select:focus, #rent-form input:focus{
    border-color:#7aa7ff; box-shadow:0 0 0 3px rgba(122,167,255,.25)
  }
  #rent-sep{margin:20px 0; border:none; border-top:1px dashed var(--border)}
  #time-hint,#phone-error,#email-error,#date-hint,#promo-msg,#mkad-hint{
    display:block; margin-top:6px; font-size:13px; color:#9aa6ad;
  }
  #phone-error[data-state="error"], #email-error[data-state="error"], #promo-msg[data-state="error"]{color:#ff6b6b}
  #promo-msg[data-state="ok"]{color:#40c463}
  #price-row{
    display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px;
    padding:14px 16px; border-radius:12px; background:#0f1416; border:1px solid var(--border)
  }
  #price-label{font-weight:600; font-size:18px; color:var(--h)}
  #price-value{font-weight:700; font-size:20px; color:#e7eef2}

  /* Фото авто по центру */
  #car-photo-box{text-align:center; margin-top:8px}
  #car-photo-img{
    max-width:360px; width:100%; height:auto; border-radius:12px; border:1px solid var(--border);
    display:inline-block;
  }
  #car-photo-img[hidden]{display:none!important}

  /* Компоновка адрес + МКАД */
  #address-row{display:grid; grid-template-columns:2fr 1fr; gap:12px}
  @media (max-width:700px){#address-row{grid-template-columns:1fr}}

  /* Укороченные поля (по просьбе: промо, дата, телефон, email) */
  #promo,#start-date,#phone,#email{width:50%}
  @media (max-width:700px){#promo,#start-date,#phone,#email{width:100%}}

  /* Ссылки виджета */
  #rent-widget a{color:var(--link)!important; text-decoration:underline}

  /* Кнопка */
  #pay-button{
    width:100%; padding:14px 18px; border:none; border-radius:14px;
    background:var(--accent); color:#fff; font-size:17px; font-weight:700; cursor:pointer;
  }
  #pay-button[disabled]{opacity:.6; cursor:not-allowed}