/* ═══════════════════════════════════════════════════════════════
   WholesaleKit — Frontend Signup Form
   Theme-adaptive styling
   Uses WordPress/theme variables with safe fallbacks.
   ═══════════════════════════════════════════════════════════════ */

.gk-sf-wrap {
  width: 100%;
  box-sizing: border-box;
}

.gk-sf-wrap form {
  width: 100%;
}

.gk-sf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
  margin-bottom: 1.2rem;
}

.gk-sf-full {
  grid-column: 1 / -1;
}

.gk-sf-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.gk-sf-field label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--wp--preset--color--foreground, #374151);
}

.gk-sf-field input,
.gk-sf-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .7rem .9rem;
  border: 1.5px solid var(--wp--preset--color--border, #d1d5db);
  border-radius: 7px;
  font-size: .97rem;
  color: inherit;
  background: var(--wp--preset--color--base, #fff);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}

.gk-sf-field input:focus,
.gk-sf-field textarea:focus {
  border-color: var(--wp--preset--color--primary, currentColor);
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.gk-sf-field textarea {
  resize: vertical;
  min-height: 110px;
}

.gk-sf-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.4rem;
  padding: 1rem 1.1rem;
  background: var(--wp--preset--color--secondary, #f8fafc);
  border: 1.5px solid var(--wp--preset--color--border, #e5e7eb);
  border-radius: 7px;
}

.gk-sf-checkbox input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--wp--preset--color--primary, #111827);
  flex-shrink: 0;
  cursor: pointer;
}

.gk-sf-checkbox label {
  font-size: .93rem;
  color: inherit;
  cursor: pointer;
  line-height: 1.5;
}

.gk-sf-submit {
  width: 100%;
  background: var(--wp--preset--color--primary, #111827);
  color: var(--wp--preset--color--base, #ffffff);
  padding: .85rem 2rem;
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}

.gk-sf-submit:hover {
  opacity: .85;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .gk-sf-grid {
    grid-template-columns: 1fr;
  }
}