body.webapp-host .webapp-parking-content { padding: 0 10px; }
body.webapp-host .webapp-parking-hours { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 10px; border: 1px solid #20242f; border-radius: 14px; background: #0a0e1a; }
body.webapp-host .webapp-parking-hours span { color: #fff !important; font-size: 14px; font-weight: 700; text-align: center; }
body.webapp-host .webapp-parking-hours svg { flex: 0 0 22px; width: 22px; height: 22px; fill: #6e5b3d; }
body.webapp-host .webapp-parking-hours svg path { fill: none; stroke: #dfb676; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.webapp-host .webapp-parking-content hr { margin: 40px 0; border: 0; border-top: 1px solid #171b25; }
body.webapp-host .webapp-parking-intro { margin: 0 0 22px; color: #fff !important; font-size: 16px; line-height: 1.9; text-align: center; }
body.webapp-host .webapp-license-plate { display: grid; grid-template-columns: 32px 1fr .9fr 1.2fr 64px; height: 66px; overflow: hidden; border: 2px solid #20242f; border-radius: 5px; background: #0a0e1a; }
body.webapp-host .webapp-license-flag { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 9px 4px; background: #0637a8; }
body.webapp-host .webapp-license-flag > span:last-child { color: #fff !important; font: 8px/1.1 Arial, sans-serif; letter-spacing: 1px; }
body.webapp-host .webapp-iran-flag { width: 18px; height: 9px; background: linear-gradient(#079447 0 33.33%, #fff 33.33% 66.66%, #ef2940 66.66%); }
body.webapp-host .webapp-license-plate input { min-width: 0; width: 100%; padding: 0 3px; border: 0; border-radius: 0; outline: none; background: transparent; color: #fff !important; font-family: inherit; font-size: 22px; font-weight: 700; text-align: center; direction: ltr; }
body.webapp-host .webapp-license-plate input::placeholder { color: #9197a3; opacity: 1; }
body.webapp-host .webapp-license-letter { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; background: transparent; font-family: inherit; font-size: 22px; font-weight: 700; color: #fff !important; }
body.webapp-host .webapp-license-letter span { color: inherit !important; }
body.webapp-host .webapp-license-letter svg { width: 14px; height: 14px; fill: none; stroke: #737985; stroke-width: 1.8; }
body.webapp-host .webapp-license-province { display: flex; flex-direction: column; justify-content: center; gap: 3px; margin: 0; border-left: 2px solid #20242f; }
body.webapp-host .webapp-license-province > span { color: #9197a3 !important; font-size: 12px; font-weight: 700; text-align: center; }
body.webapp-host .webapp-license-province input { height: 28px; }
body.webapp-host .webapp-parking-search { display: block; width: 100%; min-height: 60px; margin: 26px 0 0; border: 0; border-radius: 10px; background: #0a0e1a; color: #929baa !important; font-family: inherit; font-size: 16px; font-weight: 700; }
body.webapp-host .webapp-parking-message { margin: 16px 0 0; color: #dfb676 !important; font-size: 14px; line-height: 1.8; text-align: center; }
body.webapp-host:has(.webapp-plate-dialog[open]) { overflow-y: hidden; }
body.webapp-host .webapp-plate-dialog { position: fixed; inset: auto 0 0; width: min(100%, 450px); max-width: 450px; max-height: 85svh; box-sizing: border-box; margin: 0 auto; padding: 26px 24px 32px; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 18px 18px 0 0; background: #1d242a; color: #fff; }
body.webapp-host .webapp-plate-dialog::backdrop { background: rgba(0, 0, 0, .65); }
body.webapp-host .webapp-plate-dialog h2 { margin: 0 0 24px; color: #fff !important; font-size: 16px; font-weight: 700; text-align: center; }
body.webapp-host .webapp-plate-letter-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
body.webapp-host .webapp-plate-letter-grid button { display: grid; place-items: center; min-width: 0; aspect-ratio: 1; padding: 0; border: 1px solid transparent; border-radius: 10px; background: #0a0e1a; color: #fff !important; font-family: inherit; font-size: 20px; font-weight: 700; }
body.webapp-host .webapp-plate-letter-grid button[aria-pressed="true"] { border-color: #dfb676; background: #30343d; }
body.webapp-host .webapp-plate-letter-grid svg { width: 24px; height: 24px; }
body.webapp-host .webapp-plate-confirm { display: block; width: 100%; min-height: 50px; margin-top: 26px; border: 0; border-radius: 8px; background: #00ae7b; color: #000 !important; font-family: inherit; font-size: 16px; font-weight: 700; }
body.webapp-host .webapp-license-plate input:focus-visible,
body.webapp-host .webapp-parking-page button:focus-visible { outline: 2px solid #dfb676; outline-offset: -2px; }
@media (max-width: 360px) {
    body.webapp-host .webapp-parking-hours span { font-size: 12px; }
    body.webapp-host .webapp-plate-dialog { padding-inline: 16px; }
    body.webapp-host .webapp-plate-letter-grid { gap: 6px; }
    body.webapp-host .webapp-plate-letter-grid button { font-size: 18px; }
}
