/* Google reCAPTCHA v2 alanı: yalnızca demo talebi ve iletişim sayfalarında yüklenir.
   Kutu, betik geç yüklendiğinde sayfa kaymasın (CLS) diye önceden yer ayırır. */
.recaptcha-field { container-type: inline-size; 
    margin-top: 20px;
}

.recaptcha-box {
  width: 304px;
  max-width: 100%;
  min-height: 78px;
  border-radius: 4px;
}
/* Betik yüklenene kadar boş bir yer tutucu */
.recaptcha-box:not(.is-ready) {
  background: rgba(15, 23, 42, .04);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12);
}

/* Dar alanlarda (320px ekranlar) Google'ın kompakt kutusu kullanılır: 164 x 144 */
@container (max-width: 303px) {
  .recaptcha-box { width: 164px; min-height: 144px; }
}

.recaptcha-box[aria-invalid="true"] > div { outline: 2px solid #C62A2F; outline-offset: 2px; border-radius: 3px; }
