/* Overlay */
.modal-captcha{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center !important;
  background: rgba(0,0,0,.55);
  padding: 16px;
}


/* Card */
.captcha-card{
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  padding: 22px 22px 18px;
  position: relative;
  transform: translateY(10px);
  opacity: 0;
  animation: captchaPop .18s ease-out forwards;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

@keyframes captchaPop{
  to { transform: translateY(0); opacity: 1; }
}

.captcha-title{
  margin: 6px 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
}

.captcha-subtitle{
  margin: 0 0 14px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.captcha-img{
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  padding: 10px;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .15s ease;
}
.captcha-img:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
}

.captcha-field{
  margin-top: 14px;
}

.captcha-input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.captcha-input:focus{
  border-color: #42afe5;
  box-shadow: 0 0 0 4px rgba(66,175,229,.18);
}

/* Buttons */
.captcha-actions{
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn-validate{
  flex: 1;
  border: none;
  background: #42afe5; /* tu color */
  color: #fff;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 999px; /* pill */
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(66,175,229,.28);
  transition: transform .08s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-validate:hover{
  filter: brightness(0.97);
  box-shadow: 0 12px 26px rgba(66,175,229,.34);
}
.btn-validate:active{
  transform: translateY(1px);
}

.btn-cancel{
  flex: 1;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, transform .08s ease;
}
.btn-cancel:hover{
  background: #eef2f7;
}
.btn-cancel:active{
  transform: translateY(1px);
}

/* Close X */
.captcha-x{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .15s ease;
}
.captcha-x:hover{
  background: #f1f5f9;
}

.captcha-error{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
}
