/* CBA Smart Contact Form */
.cba-smart-form {
  max-width: 640px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Step 1: Reason cards */
.csf-heading {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  line-height: 1.3;
}
.csf-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0 0 24px;
}
.csf-reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.csf-reason-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
}
.csf-reason-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
}
.csf-reason-card:active {
  transform: translateY(0);
}
.csf-reason-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #3b82f6;
}
.csf-reason-icon svg {
  display: block;
}
.csf-heading-icon {
  display: inline-flex;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  color: #3b82f6;
  margin-right: 4px;
}
.csf-heading-icon svg {
  display: block;
}
.csf-reason-label {
  font-weight: 500;
  color: #1e293b;
}

/* Step 2: Form */
.csf-header {
  margin-bottom: 20px;
}
.csf-back {
  background: none;
  border: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 8px;
  font-family: inherit;
}
.csf-back:hover {
  color: #3b82f6;
}
.csf-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.csf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.csf-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.csf-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.01em;
}
.csf-input {
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.csf-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.csf-input::placeholder {
  color: #94a3b8;
}
.csf-select {
  appearance: none;
  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='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.csf-textarea {
  resize: vertical;
  min-height: 100px;
}
.csf-submit {
  padding: 12px 24px;
  background: #1e293b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}
.csf-submit:hover {
  background: #0f172a;
}
.csf-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.csf-error {
  color: #dc2626;
  font-size: 14px;
  margin: 0;
}

/* Success */
.csf-success {
  text-align: center;
  padding: 48px 0;
}
.csf-success-icon {
  width: 56px;
  height: 56px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: #059669;
}
.csf-back-link {
  display: inline-block;
  margin-top: 16px;
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
}
.csf-back-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 540px) {
  .csf-reason-grid {
    grid-template-columns: 1fr;
  }
  .csf-row {
    grid-template-columns: 1fr;
  }
  .csf-heading {
    font-size: 22px;
  }
}
