/* «أنا لست روبوتًا» — Minara's own check, laid out like the familiar checkbox widget. */
.mn-captcha-wrap { margin: 4px 0 16px; }
.mn-captcha {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; max-width: 320px; min-height: 76px; padding: 8px 12px; box-sizing: border-box;
  background: #f9f9f9; border: 1px solid #d3d3d3; border-radius: 4px;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, .08); font-family: inherit; direction: rtl;
}
.mn-captcha-box {
  display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none;
  cursor: pointer; font: inherit; color: #282828; text-align: start;
}
.mn-captcha-box:disabled { cursor: default; }
.mn-captcha-check {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 2px;
  background: #fff; border: 2px solid #c1c1c1; transition: border-color .2s ease, border-radius .25s ease, width .25s ease, height .25s ease;
}
.mn-captcha-box:hover .mn-captcha-check { border-color: #b2b2b2; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1); }
.mn-captcha-box:focus-visible .mn-captcha-check { outline: 2px solid #4d90fe; outline-offset: 2px; }
.mn-captcha-label { font-size: 15px; font-weight: 500; }
.mn-captcha-spinner, .mn-captcha-tick { position: absolute; inset: 0; margin: auto; opacity: 0; transition: opacity .2s ease, transform .3s ease; }
.mn-captcha-spinner {
  width: 24px; height: 24px; border-radius: 50%;
  border: 3px solid #e1e1e1; border-top-color: #4a90e2; border-inline-end-color: #4a90e2;
}
.mn-captcha-tick { width: 30px; height: 30px; color: #009e55; transform: scale(.4); }

.mn-captcha.is-checking .mn-captcha-check { border-color: transparent; background: transparent; }
.mn-captcha.is-checking .mn-captcha-spinner { opacity: 1; animation: mn-captcha-spin .8s linear infinite; }
.mn-captcha.is-done .mn-captcha-check { border-color: transparent; background: transparent; }
.mn-captcha.is-done .mn-captcha-tick { opacity: 1; transform: scale(1); }
.mn-captcha.is-done .mn-captcha-spinner { opacity: 0; transition: none; }
.mn-captcha.is-error { border-color: #d93025; }
.mn-captcha.is-error .mn-captcha-check { border-color: #d93025; }

.mn-captcha-brand { display: flex; flex-direction: column; align-items: center; gap: 1px; flex: none; text-align: center; color: #555; }
.mn-captcha-brand img { width: 32px; height: 32px; object-fit: contain; }
.mn-captcha-brand b { font-size: 10px; font-weight: 700; color: #555; }
.mn-captcha-brand small { font-size: 8px; color: #8a8a8a; }
.mn-captcha-status { position: absolute; inset-inline: 12px; bottom: -20px; font-size: 12px; color: #d93025; }

.mn-captcha-google { min-height: 78px; }
.mn-captcha-google > div { margin-inline: auto 0; }

@keyframes mn-captcha-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  .mn-captcha.is-checking .mn-captcha-spinner { animation-duration: 2s; }
  .mn-captcha * { transition: none !important; }
}
@media (max-width: 360px) {
  .mn-captcha-label { font-size: 14px; }
  .mn-captcha-brand small { display: none; }
}
.dark .mn-captcha { background: #222; border-color: #444; }
.dark .mn-captcha-box, .dark .mn-captcha-brand b { color: #eee; }
.dark .mn-captcha-check { background: #2c2c2c; border-color: #666; }
