.input-field {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s;
}

.input-field:focus {
  border-color: var(--cta);
}

.input-field::placeholder {
  color: #94A3B8;
}

.input-field--sm {
  padding: 8px 12px;
  font-size: 0.875rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}

.form-help {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-group {
  margin-bottom: 1rem;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--cta, #F97316);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--cta-hover, #EA580C);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary--auto {
  width: auto;
  padding: 10px 24px;
}

.btn-outline {
  padding: 6px 14px;
  border: 2px solid var(--cta, #F97316);
  border-radius: var(--radius-sm);
  color: var(--cta, #F97316);
  font-size: 0.8125rem;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: var(--cta, #F97316);
  color: #fff;
}

.btn-ghost {
  padding: 8px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.15s;
}

.btn-ghost:hover {
  border-color: var(--cta);
}

.btn-cta {
  padding: 6px 14px;
  background: var(--cta, #F97316);
  border: 2px solid var(--cta, #F97316);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-cta:hover {
  background: var(--cta-hover, #EA580C);
  border-color: var(--cta-hover, #EA580C);
}

.btn-danger {
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--error);
  cursor: pointer;
  font-family: var(--font);
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}

.tab-btn.active {
  color: var(--cta);
  border-bottom-color: var(--cta);
}

/* Terms checkbox links */
#reg-terms + span a {
  color: var(--cta);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}
#reg-terms + span a:hover {
  text-decoration-style: solid;
}

.otp-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  color: var(--text-heading);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s;
}

.otp-input:focus {
  border-color: var(--cta);
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.divider__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider__text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.google-btn {
  width: 100%;
  padding: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: border-color 0.15s;
}

.google-btn:hover {
  border-color: var(--cta);
}

.turnstile-box {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
}

.upload-zone:hover,
.upload-zone--active {
  border-color: var(--cta);
}

.upload-thumb {
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: visible;
  border: 2px solid var(--border);
  cursor: grab;
  transition: border-color 0.15s, transform 0.15s;
}

.upload-thumb:active { cursor: grabbing; }

.upload-thumb--featured {
  border-color: var(--cta);
}

.upload-thumb--dragover {
  border-color: var(--info);
  transform: scale(1.05);
}

.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
}

.upload-thumb__featured {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cta);
  color: #fff;
  font-size: 0.5625rem;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
}

.upload-thumb--add {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.upload-thumb--add:hover {
  border-color: var(--cta);
}

.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-thumb__remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--error);
  color: #fff;
  border: 2px solid var(--surface);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.img-delete-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  background: var(--error);
  color: #fff;
  border: 2px solid var(--surface);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  transition: transform 0.15s;
}

.img-delete-badge:hover {
  transform: scale(1.15);
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px 0;
}

.filter-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cta);
  cursor: pointer;
}

/* ============================================
   Searchable select dropdown
   ============================================ */
.searchable-select {
  position: relative;
}

.searchable-select__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.searchable-select__item {
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.1s;
}

.searchable-select__item:hover,
.searchable-select__item.active {
  background: rgba(249,115,22,0.06);
  color: var(--cta);
}

.searchable-select__empty {
  padding: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

[data-theme="dark"] .searchable-select__list {
  background: var(--surface);
  border-color: var(--border);
}
