/* ========= Custom Tour Inquiry – base card ========= */
.btc-ct-inquiry.card{
  --btc-radius: 16px;
  --btc-pad: 20px;
  --btc-gap: 16px;
  --btc-border: var(--ct-border-color, #e5e7eb);
  --btc-muted: color-mix(in oklab, currentColor 60%, transparent);
  --btc-bg: var(--ct-content-background, #fff);
  --btc-shadow: 0 6px 24px rgba(0,0,0,.06);
  background: var(--btc-bg);
  border: 1px solid var(--btc-border);
  border-radius: var(--btc-radius);
  box-shadow: var(--btc-shadow);
  padding: calc(var(--btc-pad) + 4px);
}

.btc-ct-inquiry .card-title{
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  margin: 0 0 12px 0;
}

/* ========= Fields ========= */
.btc-ct-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom: 12px;
}

.btc-ct-field label{
  font-size: 13px;
  color: var(--btc-muted);
}

.btc-ct-field input,
.btc-ct-field select{
  appearance:none;
  width:100%;
  padding: 4px 12px;
  border: 1px solid var(--btc-border);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  line-height: 1.2;
  transition: border-color .2s, box-shadow .2s;
}

.btc-ct-field input:focus,
.btc-ct-field select:focus{
  outline: none;
  border-color: var(--accent-color, #1f6fff);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-color, #1f6fff) 25%, transparent);
}

/* ========= Two-column rows ========= */
.btc-ct-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--btc-gap);
  margin-bottom: 12px;
}
@media (max-width: 720px){
  .btc-ct-row{ grid-template-columns: 1fr; }
}

/* ========= Submit button ========= */
.btc-ct-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  gap:10px;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  background: var(--accent-color, #0b63ff);
  color: #fff;
  transition: transform .05s ease, opacity .2s ease;
}
.btc-ct-submit:hover{ opacity:.95; }
.btc-ct-submit:active{ transform: translateY(1px); }
.btc-ct-submit[disabled]{ opacity:.6; cursor:not-allowed; }

/* Optional spinner state */
.btc-ct-submit.is-loading{
  position: relative;
}
.btc-ct-submit.is-loading::after{
  content:"";
  width:16px;height:16px;border-radius:50%;
  border:2px solid rgba(255,255,255,.6);
  border-top-color:#fff;
  animation: btcspin .7s linear infinite;
  margin-left: 6px;
}
@keyframes btcspin{ to{ transform: rotate(360deg); } }

/* ========= Badges row ========= */
.btc-ct-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.btc-badge{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:10px 14px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  font-size:14px;
  line-height:1.3;
}

.btc-badge i{
  color:#2563eb;
  font-size:16px;
  line-height:1.2;
  margin-top:2px;
}

.btc-badge strong{
  display:block;
  font-weight:600;
  font-size:14px;
  margin-bottom:2px;
}

.btc-badge div{
  font-size:13px;
  color:#555;
}

.btc-badge a{
  color:#2563eb;
  font-weight:500;
  text-decoration:none;
}
.btc-badge a:hover{
  text-decoration:underline;
}

/* ========= Small helper elements ========= */
.btc-ct-inline-note{
  font-size: 13px;
  color: var(--btc-muted);
}

/* ========= Toast / popup (success) ========= */
#btc-ct-toast{
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 26px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 9999;
  font-weight: 600;
}
#btc-ct-toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========= Light / dark compatibility (Blocksy) ========= */
html[data-theme="dark"] .btc-ct-inquiry.card{
  --btc-border: rgba(255,255,255,.12);
  --btc-bg: color-mix(in oklab, #121212 92%, white 8%);
  --btc-shadow: 0 6px 20px rgba(0,0,0,.45);
}
html[data-theme="dark"] .btc-ct-field input,
html[data-theme="dark"] .btc-ct-field select,
html[data-theme="dark"] .btc-badge{
  background: color-mix(in oklab, #1a1a1a 94%, white 6%);
  color: #e9e9e9;
  border-color: var(--btc-border);
}