/* -------------------------------------------

teklif al modal

------------------------------------------- */
body.mil-quote-open {
  overflow: hidden;
}

.mil-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.35s ease;
  transition: opacity 0.35s ease;
}
.mil-quote-modal.mil-quote-modal--visible {
  opacity: 1;
  pointer-events: all;
}
.mil-quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.mil-quote-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-transform: translate(-50%, -46%) scale(0.98);
          transform: translate(-50%, -46%) scale(0.98);
  border-radius: 20px;
  background: #0b0b0b;
  border: 1px solid rgba(255, 152, 0, 0.4);
  -webkit-box-shadow: 0 22px 90px rgba(0, 0, 0, 0.45);
          box-shadow: 0 22px 90px rgba(0, 0, 0, 0.45);
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
}
.mil-quote-modal--visible .mil-quote-modal__dialog {
  -webkit-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
}
.mil-quote-modal__body {
  padding: 50px 50px 40px;
}
.mil-quote-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 30px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  -webkit-transition: background 0.3s ease, color 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease;
}
.mil-quote-modal__close:hover {
  background: rgba(255, 152, 0, 0.9);
  color: #000;
}

.mil-quote-kicker {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgb(255, 152, 0);
}

/* alanlar */
.mil-quote-form .mil-quote-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mil-quote-form .mil-quote-field {
  display: block;
  margin: 0;
}
.mil-quote-form input[type="text"]:not([name="website"]),
.mil-quote-form input[type="tel"],
.mil-quote-form input[type="email"] {
  height: 54px;
  padding: 0;
  margin-bottom: 12px;
  background: transparent;
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}
.mil-quote-form input[type="text"]:focus,
.mil-quote-form input[type="tel"]:focus,
.mil-quote-form input[type="email"]:focus {
  border-bottom-color: rgb(255, 152, 0);
}
.mil-quote-form input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.mil-quote-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.mil-quote-form input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #0b0b0b inset;
}
.mil-quote-form .mil-quote-invalid {
  border-bottom-color: #ff5a4e !important;
}

/* kvkk onay kutusu */
.mil-quote-check {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: start;
          align-items: flex-start;
  gap: 14px;
  margin: 10px 0 30px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}
.mil-quote-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
}
.mil-quote-check__box {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: solid 1px rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
}
.mil-quote-check__box:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg) scale(0);
          transform: rotate(45deg) scale(0);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
.mil-quote-check input:checked + .mil-quote-check__box {
  background: rgb(255, 152, 0);
  border-color: rgb(255, 152, 0);
}
.mil-quote-check input:checked + .mil-quote-check__box:after {
  -webkit-transform: rotate(45deg) scale(1);
          transform: rotate(45deg) scale(1);
}
.mil-quote-check input:focus-visible + .mil-quote-check__box {
  -webkit-box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.35);
          box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.35);
}
.mil-quote-check.mil-quote-invalid .mil-quote-check__box {
  border-color: #ff5a4e;
}
.mil-quote-check a {
  color: rgb(255, 152, 0);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mil-quote-error {
  margin: -10px 0 25px;
  padding: 12px 16px;
  border-left: 3px solid #ff5a4e;
  background: rgba(255, 90, 78, 0.08);
  color: #ffb4ae;
  font-size: 14px;
}

.mil-quote-submit {
  width: 100%;
}
.mil-quote-submit[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* başarı */
.mil-quote-success {
  text-align: center;
}
.mil-quote-success__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: rgb(255, 152, 0);
  color: #000;
  font-size: 32px;
  line-height: 70px;
}

/* sayfa içi tetikleyiciler */
button.mil-button[data-quote-open] {
  font-family: inherit;
}

@media screen and (max-width: 768px) {
  .mil-quote-modal__dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }
  .mil-quote-modal__body {
    padding: 50px 24px 30px;
  }
  .mil-quote-modal__close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 26px;
    line-height: 36px;
  }
}

/* -------------------------------------------

reCAPTCHA v3 — rozet gizli, formlarda Google bilgilendirme metni var

------------------------------------------- */
.grecaptcha-badge {
  visibility: hidden !important;
}
.mil-recaptcha-notice {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.5);
}
.mil-recaptcha-notice a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mil-recaptcha-notice--light {
  color: rgba(255, 255, 255, 0.4);
}
.mil-quote-form .mil-recaptcha-notice {
  margin: -10px 0 20px;
}
footer .mil-recaptcha-notice {
  margin-top: 15px;
}

/* reCAPTCHA v2 — "Ben robot değilim" kutusu */
.mil-recaptcha-box {
  min-height: 78px;
}
.mil-recaptcha-slot {
  display: inline-block;
}
.mil-recaptcha-error {
  margin-top: 8px;
  font-size: 13px;
  color: #d93025;
}
.mil-quote-form .mil-recaptcha-box {
  margin: 0 0 25px;
}
.mil-quote-form .mil-recaptcha-error,
footer .mil-recaptcha-error {
  color: #ff8a80;
}
/* Bülten formu: kutu formun içinde, input'un altında */
.mil-subscribe-form {
  height: auto;
}
.mil-subscribe-form > input {
  height: 70px;
}
.mil-subscribe-form .mil-recaptcha-box {
  margin-top: 15px;
}
/* Çok dar ekranlarda 304px'lik kutu taşmasın */
@media screen and (max-width: 360px) {
  .mil-recaptcha-slot {
    -webkit-transform: scale(0.88);
            transform: scale(0.88);
    -webkit-transform-origin: 0 0;
            transform-origin: 0 0;
  }
}
