.cc-ref-verification {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 16px;
  font-family: "Poppins", sans-serif;
}

/* ── Subtitle ── */

.cc-ref-subtitle {
  text-align: center;
  color: #667085;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  line-height: 24px;
  letter-spacing: 0%;
  margin-bottom: 40px;
}

.cc-ref-subtitle strong {
  color: #1e293b;
}

/* ── White Card ── */

.cc-ref-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cc-ref-intro {
  font-size: 15px;
  color: #1e293b;
  margin-bottom: 28px;
}

/* ── Loading State ── */

.cc-ref-loading {
  color: #9ca3af;
  font-size: 14px;
  padding: 20px 0;
}

/* ── Individual Question ── */

.cc-ref-question {
  margin-bottom: 28px;
}

.cc-ref-question-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 10px;
}

/* ── Text Inputs ── */

.cc-ref-question input[type="text"],
.cc-ref-question textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.cc-ref-question input[type="text"]:focus,
.cc-ref-question textarea:focus {
  border-color: #0284c7;
}

.cc-ref-question input[type="text"]::placeholder,
.cc-ref-question textarea::placeholder {
  color: #9ca3af;
}

.cc-ref-question textarea {
  min-height: 80px;
  resize: vertical;
}

/* ── Radio Buttons ── */

.cc-ref-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 4px;
}

.cc-ref-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.cc-ref-radio-label input[type="radio"] {
  accent-color: #0284c7;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ── Consent Section ── */

.cc-ref-consent {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}

.cc-ref-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.cc-ref-consent-label input[type="checkbox"] {
  accent-color: #0284c7;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

.cc-ref-note {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 6px;
  margin-left: 24px;
}

/* ── Submit Button ── */

.cc-ref-submit-wrap {
  margin-top: 24px;
  text-align: right;
}

.cc-ref-submit-btn {
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

.cc-ref-submit-btn:hover {
  background: #0369a1;
}

.cc-ref-submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* ── Error & Success Messages ── */

.cc-ref-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
  font-size: 14px;
}

.cc-ref-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
  font-size: 14px;
}

/* To hide certain elements */
.cc-ref-hidden {
  display: none !important;
}

/* ── Field Validation Errors ── */
.cc-ref-field-error {
  display: block;
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
}
.cc-ref-input-error {
  border-color: #dc2626 !important;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .cc-ref-card {
    padding: 24px 18px;
  }

  .cc-ref-radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .cc-ref-submit-wrap {
    text-align: center;
  }
}
