/* קאפצ'ה מעוצבת יותר ועם ניגודיות טובה */
.simple-captcha {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* כפתור קטן ואלגנטי */
.captcha-btn {
  background: transparent;
  border-radius: 6px;
  border: 1px solid #c9a93c;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #c9a93c;
  white-space: nowrap;
}

.captcha-btn:hover {
  background: rgba(201, 169, 60, 0.2);
}

/* קוד ברור, ניגודיות גבוהה */
.simple-captcha-code {
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 4px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: #111320;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.45);
}

/* שדה הזנה */
.simple-captcha-input {
  width: 100%;
  border: 1px solid #c9a93c;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  background: #0c1022;
  color: #fff;
  text-align: center;
}

/* שגיאה */
.simple-captcha-error {
  color: #ff6b6b;
  font-size: 12px;
  display: none;
}

/* כפתור שליחה חסום */
#submitBtn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}


/* Simple captcha button - force white + on top */
.simple-captcha {
  position: relative;
}

.simple-captcha-top {
  position: relative;
  z-index: 1;
}

.simple-captcha #generateCaptcha.captcha-btn {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  position: relative !important;
  z-index: 9999 !important;   /* מעל כל העיצובים */
  isolation: isolate;         /* מונע ערבוב שכבות מוזר */
  box-shadow: 0 8px 18px rgba(0,0,0,0.12) !important;
}

/* אם יש overlay/shine שמסתיר קליקים */
.simple-captcha #generateCaptcha.captcha-btn {
  pointer-events: auto !important;
}


/* Simple captcha button - white bg + blue text */
.simple-captcha #generateCaptcha.captcha-btn {
  background: #fff !important;
  color: #12172d !important; /* כחול ברור */
  border: 1px solid rgba(0,0,0,0.12) !important;
  position: relative !important;
  z-index: 9999 !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12) !important;
  font-weight: 600;
}

/* hover – כחול טיפה יותר כהה */
.simple-captcha #generateCaptcha.captcha-btn:hover {
  color: #1446d6 !important;
}
/* Center + reduce width of captcha button */
.simple-captcha-top {
  display: flex;
  justify-content: center;
}

.simple-captcha #generateCaptcha.captcha-btn {
  width: auto !important;        /* לא נמתח */
  min-width: 120px;              /* רוחב קטן ונקי */
  padding: 6px 14px !important;
  font-size: 13px !important;
}
/* Wrapper */
.simple-captcha-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;                 /* ריווח בין הכפתורים */
  margin-bottom: 10px;
}

/* קוד הקאפצ'ה */
.simple-captcha-code {
  background: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
  min-width: 110px;
  text-align: center;
}

/* כפתור "אני לא רובוט" */
.simple-captcha #generateCaptcha.captcha-btn {
  background: #fff !important;
  color: #12172d !important;
  padding: 10px 18px !important;
  border-radius: 10px;
  font-size: 14px !important;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover אפקט כפתורי */
.simple-captcha #generateCaptcha.captcha-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.16) !important;
  color: #12172d !important;
}

/* Active (לחיצה) */
.simple-captcha #generateCaptcha.captcha-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12) !important;
}

/* Placeholder color - white */
.simple-captcha-input::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

/* תאימות לדפדפנים */
.simple-captcha-input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.simple-captcha-input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.85);
}
