/*
Theme Name: Hit Boclink
Theme URI: https://hit-boclink.local
Author: Your Name
Author URI: https://example.com
Description: Captcha redirect theme
Version: 1.0.1
License: GPL v2 or later
Text Domain: hit-boclink
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #ffffff;
  min-height: 100vh;
}

/* ── CAPTCHA OVERLAY ── */
#captcha-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.cap-box {
  background: #f9f9f9;
  border-radius: 3px;
  width: 300px;
  border: 1px solid #d3d3d3;
  box-shadow: 0 0 4px 1px rgba(0,0,0,.08);
  transform: scale(.9);
  transition: transform .3s cubic-bezier(.34,1.4,.64,1);
  font-family: Roboto, Arial, sans-serif;
}
#captcha-overlay.visible .cap-box {
  transform: scale(1);
}

.cap-row {
  display: flex;
  align-items: center;
  padding: 15px 13px 15px 16px;
  gap: 0;
  min-height: 74px;
}

.cap-check-wrap {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
}

.cap-check-idle {
  width: 24px; height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
  transition: border-color .15s;
}
.cap-check-wrap:hover .cap-check-idle {
  border-color: #b0b0b0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.15);
}

.cap-check-loading {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap-spinner { width: 28px; height: 28px; }

.cap-check-done {
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tickIn .25s ease;
}
.cap-check-done svg { width: 24px; height: 24px; }
@keyframes tickIn {
  from { transform: scale(0) rotate(-10deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}

.cap-label {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  letter-spacing: .3px;
  user-select: none;
  transition: color .2s;
}

.cap-brand {
  flex: 0 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-left: 1px solid #e0e0e0;
  padding-left: 12px;
  margin-left: 8px;
}
.cap-recaptcha-logo { width: 32px; height: 32px; margin-bottom: 2px; }
.cap-brand-name { font-size: 8px; font-weight: 400; color: #555; letter-spacing: .6px; line-height: 1; }
.cap-brand-sub { font-size: 7.5px; color: #999; letter-spacing: .2px; }

@media (max-width: 360px) { .cap-box { width: 92vw; } }
