/* ═══════════════════════════════════════
   HRD CONTACT FORM STYLES
   ═══════════════════════════════════════ */

.hrd-cf-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  max-width: 640px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

.hrd-cf-wrapper * { box-sizing: border-box; }

/* ─── Fields ─────────────────────────── */
.hrd-cf-field {
  margin-bottom: 16px;
}

.hrd-cf-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #171717;
  margin-bottom: 6px;
}

.hrd-cf-req {
  color: #F97316;
}

.hrd-cf-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  color: #0A0A0A;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.hrd-cf-input:focus {
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.hrd-cf-input::placeholder {
  color: #a3a3a3;
}

/* Select */
select.hrd-cf-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select.hrd-cf-input::-ms-expand { display: none; }

/* Textarea */
.hrd-cf-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Error */
.hrd-cf-input-error {
  border-color: #ef4444 !important;
}

.hrd-cf-error {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  font-weight: 500;
}

/* ─── Row Layout ─────────────────────── */
.hrd-cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.hrd-cf-col {
  min-width: 0;
}

/* ─── Submit Button ──────────────────── */
.hrd-cf-submit {
  width: 100%;
  padding: 16px 32px;
  background: #F97316;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  margin-top: 8px;
}

.hrd-cf-submit:hover {
  background: #ea580c;
  box-shadow: 0 15px 25px -7px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.hrd-cf-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.hrd-cf-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hrd-cf-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: hrd-cf-spin 0.6s linear infinite;
}

@keyframes hrd-cf-spin {
  to { transform: rotate(360deg); }
}

/* ─── Success State ──────────────────── */
.hrd-cf-success {
  text-align: center;
  padding: 2rem 0;
}

.hrd-cf-success-icon {
  width: 64px;
  height: 64px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.hrd-cf-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #0A0A0A;
  margin: 0 0 0.75rem;
}

.hrd-cf-success-message {
  font-size: 16px;
  color: #525252;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.hrd-cf-success-note {
  font-size: 15px;
  color: #737373;
  margin: 0;
}

/* ─── Responsive ─────────────────────── */
@media (max-width: 480px) {
  .hrd-cf-row {
    grid-template-columns: 1fr;
  }
}
