/* Ahmedabad Car Rentals enquiry UX — local, no CAPTCHA/CDN dependency. */

.acr-enquiry-open { cursor: pointer; }
button.car__more { border: 0; font: inherit; }
.acr-form-shell { position: relative; }
.acr-field-error {
  display: block;
  min-height: 0;
  margin: 5px 0 0;
  color: #b42318;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.acr-field-error:empty { display: none; }
.acr-field.is-invalid,
.acr-field.is-invalid:focus { border-color: #d92d20 !important; box-shadow: 0 0 0 3px rgba(217,45,32,.10) !important; }
.acr-field.is-valid,
.acr-field.is-valid:focus { border-color: #198754 !important; box-shadow: 0 0 0 3px rgba(25,135,84,.08) !important; }
.acr-form-status { display: none; margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.acr-form-status.is-visible { display: block; }
.acr-form-status.is-error { color: #8a1c13; background: #fff1f0; border: 1px solid #ffd1cc; }
.acr-form-status.is-loading { color: #184b75; background: #eef7ff; border: 1px solid #cfe8ff; }
.acr-submit[disabled] { opacity: .68; cursor: wait; }
.acr-honeypot-wrap { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.acr-form-result { display: none; text-align: center; padding: 24px 18px; border: 1px solid #dfe8e3; border-radius: 14px; background: linear-gradient(180deg,#fbfffc,#f3fbf6); }
.acr-form-result.is-visible { display: block; }
.acr-result-icon { width: 64px; height: 64px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 50%; background: #eaf8ef; color: #15803d; }
.acr-result-icon svg { width: 34px; height: 34px; }
.acr-form-result h2 { margin: 0 0 7px; font-size: 25px; line-height: 1.2; color: #102a1b; }
.acr-form-result p { margin: 0 auto 16px; max-width: 460px; color: #52645a; font-size: 14px; line-height: 1.6; }
.acr-result-actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.acr-result-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border-radius: 9px; text-decoration: none; font-size: 13px; font-weight: 700; }
.acr-call-btn { color: #fff !important; background: #008cff; }
.acr-whatsapp-btn { color: #fff !important; background: #199b4b; }

/* Modal deliberately does not rely on a particular Bootstrap modal version. */
.acr-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 18px; }
.acr-modal.is-open { display: flex; }
.acr-modal__backdrop { position: absolute; inset: 0; background: rgba(11,18,32,.68); backdrop-filter: blur(3px); }
.acr-modal__dialog { position: relative; z-index: 1; width: min(720px,100%); max-height: calc(100vh - 36px); overflow: auto; border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.acr-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 20px 22px 15px; border-bottom: 1px solid #edf0f3; }
.acr-modal__eyebrow { display: inline-block; margin-bottom: 5px; color: #008cff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.acr-modal__header h2 { margin: 0; color: #142034; font-size: 25px; line-height: 1.2; }
.acr-modal__header p { margin: 6px 0 0; color: #667085; font-size: 13px; line-height: 1.5; }
.acr-modal__close { flex: 0 0 auto; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f2f4f7; color: #344054; font-size: 24px; line-height: 1; cursor: pointer; }
.acr-modal__body { padding: 18px 22px 22px; }
.acr-selected-context { display: none; margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid #008cff; border-radius: 7px; background: #eef7ff; color: #194568; font-size: 13px; }
.acr-selected-context.is-visible { display: block; }
.acr-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.acr-form-group { min-width: 0; }
.acr-form-group--full { grid-column: 1 / -1; }
.acr-form-group label { display: block; margin: 0 0 6px; color: #344054; font-size: 12px; font-weight: 700; }
.acr-form-group label span { color: #d92d20; }
.acr-modal .acr-field { box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #d0d5dd; border-radius: 9px; background: #fff; color: #101828; font: inherit; font-size: 14px; outline: 0; }
.acr-modal textarea.acr-field { min-height: 88px; resize: vertical; }
.acr-modal .acr-field:focus { border-color: #008cff; box-shadow: 0 0 0 3px rgba(0,140,255,.10); }
.acr-modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.acr-privacy-note { margin: 0; color: #667085; font-size: 11px; line-height: 1.4; }
.acr-modal .acr-submit { min-width: 180px; min-height: 46px; padding: 11px 18px; border: 0; border-radius: 9px; background: #008cff; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
body.acr-modal-open { overflow: hidden; }

/* Existing homepage/bottom form compatibility. */
.home__search .home__group { align-self: flex-start; }
.home__search .acr-field-error { max-width: 220px; }
.home__search .acr-form-status { flex: 0 0 100%; width: 100%; }
.home__search + .acr-form-result { margin-top: 14px; }
.sign__group .acr-field-error { margin-left: 1px; }

@media (min-width: 767px) {
	#botForm form .acr-form-status.is-visible.is-error {
    display: none;
}

}
@media (max-width: 767px) {
  .acr-modal { padding: 8px; align-items: flex-end; }
  .acr-modal__dialog { max-height: 94vh; border-radius: 17px 17px 0 0; }
  .acr-modal__header { padding: 17px 16px 13px; }
  .acr-modal__header h2 { font-size: 21px; }
  .acr-modal__body { padding: 15px 16px 18px; }
  .acr-form-grid { grid-template-columns: 1fr; gap: 11px; }
  .acr-form-group--full { grid-column: auto; }
  .acr-modal__footer { align-items: stretch; flex-direction: column; }
  .acr-modal .acr-submit { width: 100%; }
  .acr-result-actions { flex-direction: column; }
  .acr-result-actions a { width: 100%; }
}
.header__action-btn.acr-enquiry-open { border: 0; font-family: inherit; }
