.smartidiom-xtrf-form {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.smartidiom-xtrf-message {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.smartidiom-xtrf-message--success {
  background: #ecfdf5;
  color: #065f46;
}

.smartidiom-xtrf-message--error {
  background: #fef2f2;
  color: #991b1b;
}

.smartidiom-xtrf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.smartidiom-xtrf-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.smartidiom-xtrf-grid input,
.smartidiom-xtrf-grid textarea,
.smartidiom-xtrf-grid select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
}

.smartidiom-xtrf-grid__full {
  grid-column: 1 / -1;
}

.smartidiom-xtrf-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  width: 100%;
  line-height: 1.5;
}

.smartidiom-xtrf-consent input[type="checkbox"] {
  margin-top: 0.2rem;
}

.smartidiom-xtrf-consent span a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.smartidiom-xtrf-turnstile {
  margin-top: 1rem;
}

.smartidiom-xtrf-submit {
  margin-top: 1.25rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 720px) {
  .smartidiom-xtrf-grid {
    grid-template-columns: 1fr;
  }

  .smartidiom-xtrf-form {
    padding: 1.25rem;
  }
}
