#abp-root.abp-root{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
#abp-root.abp-root.abp-open{ display: block; }

#abp-root .abp-backdrop{
  position:absolute; inset:0;
  background: rgba(10, 6, 20, .52);
  backdrop-filter: blur(6px);
}

#abp-root .abp-modal{
  position: relative;
  width: min(520px, calc(100% - 28px));
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  padding: 18px 18px 16px;
  transform: translateY(14px);
  opacity: 0;
  transition: .22s ease;
}

#abp-root.abp-open .abp-modal{
  transform: translateY(0);
  opacity: 1;
}

#abp-root .abp-close{
  position:absolute;
  top:10px; right:10px;
  width: 36px; height: 36px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

#abp-root .abp-head{ padding: 6px 6px 10px; }
#abp-root .abp-title{
  font-weight: 800;
  font-size: 20px;
  color:#1d1236;
}
#abp-root .abp-sub{
  margin-top: 6px;
  font-size: 13px;
  color:#6a6480;
}

#abp-root .abp-body{
  padding: 10px 6px 6px;
}

#abp-root .abp-form{
  display: grid;
  gap: 10px;
}
#abp-root .abp-form label{
  display:grid;
  gap:6px;
  font-size: 12px;
  color:#443a63;
}
#abp-root .abp-form input{
  height: 42px;
  border-radius: 12px;
  border: 1px solid #eceaf6;
  padding: 0 12px;
  outline: none;
}
#abp-root .abp-form input:focus{
  border-color: #b9a6ff;
  box-shadow: 0 0 0 4px rgba(144,64,240,.10);
}

#abp-root .abp-btn{
  height: 44px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color:#fff;
  font-weight: 800;
  background: linear-gradient(135deg, #9040f0, #d04070);
}

#abp-root .abp-secondary{
  margin-top: 10px;
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #eceaf6;
  background: #fff;
  cursor: pointer;
  color:#4b3a7a;
  font-weight: 700;
}

#abp-root .abp-note{
  font-size: 12px;
  color:#7a7396;
}

#abp-root .abp-success{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, .10);
  color: #0f766e;
  font-weight: 700;
  font-size: 13px;
}
/* ===============================
   ABP + CF7 SUBMIT BUTTON OVERRIDE
   (Tema butonlarını ezer)
   =============================== */
#abp-root .wpcf7 form .wpcf7-submit,
#abp-root .wpcf7 form button[type="submit"],
#abp-root .wpcf7 form input[type="submit"]{
  width: 100% !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 12px !important;
  cursor: pointer !important;

  /* UniKoç / Atlas gradient */
  background: linear-gradient(135deg, #9040f0, #d04070) !important;
  color: #fff !important;

  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: .2px !important;

  box-shadow: 0 14px 28px rgba(144,64,240,.18) !important;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease !important;
}

#abp-root .wpcf7 form .wpcf7-submit:hover{
  filter: brightness(1.03) !important;
  box-shadow: 0 18px 40px rgba(144,64,240,.22) !important;
}

#abp-root .wpcf7 form .wpcf7-submit:active{
  transform: translateY(1px) scale(.99) !important;
}

#abp-root .wpcf7 form .wpcf7-submit:disabled{
  opacity: .6 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* CF7 spinner / validation görselleri popup'ta düzgün dursun */
#abp-root .wpcf7 .wpcf7-spinner{
  margin: 10px auto 0 !important;
  display: block !important;
}
#abp-root .wpcf7 .wpcf7-response-output{
  margin: 10px 0 0 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  font-weight: 700 !important;
}
#abp-root .wpcf7 form .abp-submit{
  width: 100% !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #9040f0, #d04070) !important;
  color: #fff !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}
/* ===============================
   ABP + CF7 SPACING FIX
   =============================== */

/* CF7 p wrapper'ları boşluk basıyor → sıfırla */
#abp-root .wpcf7 form p{
  margin: 0 !important;
  padding: 0 !important;
}

/* Alanlar arası kontrollü spacing */
#abp-root .wpcf7 form .abp-cf7 > p{
  margin-bottom: 10px !important;
}

/* Label ile input arası */
#abp-root .wpcf7 label{
  display: block !important;
  margin-bottom: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color:#443a63 !important;
}

/* Input / select / textarea */
#abp-root .wpcf7 input,
#abp-root .wpcf7 select,
#abp-root .wpcf7 textarea{
  margin: 0 !important;
}

/* Telefon altındaki örnek yazı */
#abp-root .wpcf7 small{
  display: block;
  margin-top: 4px !important;
  margin-bottom: 2px !important;
  font-size: 11px !important;
  color:#7a7396 !important;
}

/* Submit alanı üst boşluğu */
#abp-root .wpcf7 form p:last-of-type{
  margin-top: 12px !important;
}

/* CF7 validation / response mesajları */
#abp-root .wpcf7-response-output{
  margin: 8px 0 0 !important;
  padding: 8px 10px !important;
}
/* ===============================
   ABP CLOSE (X) BUTTON FIX
   =============================== */

#abp-root .abp-close{
  background: #f4f2ff !important;        /* Açık mor zemin */
  border: 1px solid #d9d4ff !important;  /* Net sınır */
  color: #4b3a7a !important;             /* X rengi */
  font-size: 22px !important;
  font-weight: 700 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-shadow: 0 4px 10px rgba(80, 40, 200, .12) !important;
  opacity: 1 !important;
}

/* Hover */
#abp-root .abp-close:hover{
  background: linear-gradient(135deg, #9040f0, #d04070) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px rgba(144,64,240,.28) !important;
}

/* Active (tıklama hissi) */
#abp-root .abp-close:active{
  transform: scale(.96);
}
/* ===============================
   ABP + CF7 HARD SPACING RESET
   =============================== */
#abp-root .wpcf7{
  line-height: 1.2 !important;
}

#abp-root .wpcf7 form{
  margin: 0 !important;
}

#abp-root .wpcf7 form *{
  box-sizing: border-box !important;
}

/* CF7'nin p, br ve wrapper boşlukları */
#abp-root .wpcf7 form p{
  margin: 0 !important;
  padding: 0 !important;
}
#abp-root .wpcf7 form br{
  display: none !important; /* BOŞLUĞUN ANA KAYNAĞI */
}

/* CF7 label */
#abp-root .wpcf7 form label{
  display: block !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
}

/* CF7 kontrol wrapper'ları bazen margin basar */
#abp-root .wpcf7 form .wpcf7-form-control-wrap{
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Alanlar arası gerçek spacing: sadece burada */
#abp-root .wpcf7 form .abp-field{
  margin: 0 0 12px 0 !important;
}

/* Telefon altındaki small yazı */
#abp-root .wpcf7 form .abp-help{
  margin: 6px 0 0 0 !important;
  font-size: 11px !important;
  color: #7a7396 !important;
}
