/* ==========================================================================
   MSK Güvenlik Doğrulama (CAPTCHA) Bileşeni — Açık & Koyu Yüzey Uyumlu
   ========================================================================== */

.msk-security {
  min-width: 0;
  border: 1.5px solid #cfe0f2;
  border-radius: 12px;
  background: linear-gradient(180deg, #f5faff 0%, #edf5ff 100%);
  padding: 16px 18px;
  margin: 14px 0;
  color: #0b1b32;
  grid-column: 1 / -1;
}

.msk-security legend {
  font: 700 12px/1.4 var(--font-sans, Manrope, sans-serif);
  letter-spacing: 0.04em;
  padding: 2px 10px;
  color: #0f4c9e;
  background: #ffffff;
  border: 1px solid #d5e4f5;
  border-radius: 999px;
}

.msk-security legend i {
  margin-right: 6px;
  color: #00a8e8;
}

.msk-security__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.msk-security__row > img {
  width: 150px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #c9dcee;
  background: #ffffff;
  object-fit: contain;
}

.msk-security__row > button {
  width: 42px;
  height: 46px;
  flex-shrink: 0;
  border: 1.5px solid #c9dcee;
  background: #ffffff;
  color: #0f4c9e;
  cursor: pointer;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.msk-security__row > button:hover {
  background: #00a8e8;
  border-color: #00a8e8;
  color: #ffffff;
  transform: rotate(25deg);
}

.msk-security__row > div {
  flex: 1;
  min-width: 0;
}

.msk-security__row label {
  display: block;
  font-size: 11px !important;
  font-weight: 700;
  color: #283e59;
  margin: 0 0 5px !important;
}

.msk-security__row input {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border: 1.5px solid #c5d9ee;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px 12px;
  color: #0b1b32;
}

.msk-security__row input:focus {
  border-color: #00a8e8;
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.18);
  outline: none;
}

.msk-security__help {
  display: block;
  font-size: 11.5px;
  margin-top: 10px;
  color: #425a78;
  line-height: 1.6;
}

.msk-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer içi koyu tema uyumu */
.msk-footer__newsletter {
  flex-wrap: wrap;
}

.msk-footer__newsletter .msk-security {
  flex-basis: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 196, 255, 0.22);
  color: #e6f2ff;
  padding: 14px;
  margin: 10px 0 6px;
}

.msk-footer__newsletter .msk-security legend {
  background: #0a1f3d;
  border-color: rgba(0, 196, 255, 0.3);
  color: #5ce1ff;
}

.msk-footer__newsletter .msk-security__row {
  flex-wrap: wrap;
}

.msk-footer__newsletter .msk-security__row > div {
  flex-basis: 100%;
}

.msk-footer__newsletter .msk-security__row label {
  color: #b7d2ec;
}

.msk-footer__newsletter .msk-security input {
  background: rgba(4, 13, 27, 0.72);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.msk-footer__newsletter .msk-security__row > button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #5ce1ff;
}

.msk-footer__newsletter .msk-security__help {
  color: #93b3d6;
}

.msk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 500px) {
  .msk-security {
    padding: 13px;
  }
  .msk-security__row {
    flex-wrap: wrap;
  }
  .msk-security__row > div {
    flex-basis: 100%;
  }
}
