/**
 * HL Hunt WooCommerce — Checkout Payment Form Styles
 */

.hlhunt-payment-form {
  max-width: 100%;
  border: none;
  padding: 0;
  margin: 0;
}

/* ── Tabs ── */
.hlhunt-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #f9fafb;
}

.hlhunt-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hlhunt-tab:hover {
  color: #374151;
  background: #f3f4f6;
}

.hlhunt-tab--active {
  background: #7c3aed;
  color: #fff;
  font-weight: 600;
}

.hlhunt-tab--active:hover {
  background: #6d28d9;
  color: #fff;
}

.hlhunt-tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Tab Panels ── */
.hlhunt-tab-panel {
  animation: hlhunt-fade-in 0.2s ease;
}

@keyframes hlhunt-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Field Groups ── */
.hlhunt-payment-form .hlhunt-field-group {
  margin-bottom: 12px;
}

.hlhunt-payment-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.hlhunt-payment-form .hlhunt-input,
.hlhunt-payment-form .hlhunt-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  appearance: textfield;
  -moz-appearance: textfield;
}

.hlhunt-payment-form .hlhunt-select {
  appearance: auto;
  -moz-appearance: auto;
  -webkit-appearance: auto;
}

.hlhunt-payment-form .hlhunt-input:focus,
.hlhunt-payment-form .hlhunt-select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.hlhunt-payment-form .hlhunt-input:focus-visible,
.hlhunt-payment-form .hlhunt-select:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

.hlhunt-payment-form .hlhunt-input::placeholder {
  color: #9ca3af;
}

.hlhunt-payment-form .hlhunt-input.hlhunt-input--error {
  border-color: #ef4444;
}

/* ── Row Layout ── */
.hlhunt-payment-form .hlhunt-row {
  display: flex;
  gap: 12px;
}

.hlhunt-payment-form .hlhunt-row .hlhunt-field-group {
  flex: 1;
}

/* ── Security Badge ── */
.hlhunt-payment-form .hlhunt-secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: #6b7280;
}

.hlhunt-payment-form .hlhunt-secure-badge svg {
  width: 14px;
  height: 14px;
  fill: #7c3aed;
}

/* ── Test Mode Badge ── */
.hlhunt-test-mode-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
