/* ===== Lang Directory — Company Feedback CTA =====
 * Requires ld-primitives.css
 * ================================================= */

/* ── CTA card ─────────────────────────────────────── */

.ld-feedback-cta {
  padding-bottom: var(--ld-space-6);
}

.ld-feedback-cta__card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ld-space-4);
  padding: var(--ld-space-5) var(--ld-space-6);
  background: #f0f4ff;
  border: 1px solid #c7d5ff;
  border-radius: var(--ld-radius-md);
}

.ld-feedback-cta__icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
}

.ld-feedback-cta__text {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ld-feedback-cta__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ld-text);
}

.ld-feedback-cta__desc {
  font-size: 14px;
  color: var(--ld-muted);
  line-height: 1.5;
}

.ld-feedback-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--ld-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--ld-font);
  border: none;
  border-radius: var(--ld-radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}
.ld-feedback-cta__btn:hover { background: var(--ld-primary-700); }

/* ── Inline form ──────────────────────────────────── */

.ld-feedback-form {
  margin-top: var(--ld-space-4);
  padding: var(--ld-space-6);
  background: #fff;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-md);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

.ld-feedback-form h3 {
  margin: 0 0 var(--ld-space-5);
  font-size: 18px;
  color: var(--ld-text);
}

.ld-feedback-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ld-space-4);
}

@media (max-width: 600px) {
  .ld-feedback-form__grid { grid-template-columns: 1fr; }
}

.ld-feedback-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ld-feedback-form__field--full {
  grid-column: 1 / -1;
}

.ld-feedback-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ld-muted);
}

.ld-fb-req { color: var(--ld-danger); }
.ld-fb-opt { font-weight: 400; color: #9aa5b4; }

.ld-feedback-form input[type="text"],
.ld-feedback-form select,
.ld-feedback-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-sm);
  font-size: 14px;
  font-family: var(--ld-font);
  color: var(--ld-text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.ld-feedback-form input[type="text"]:focus,
.ld-feedback-form select:focus,
.ld-feedback-form textarea:focus {
  outline: none;
  border-color: var(--ld-primary);
  box-shadow: 0 0 0 3px rgba(30, 100, 255, .12);
}

.ld-feedback-form textarea {
  min-height: 90px;
  resize: vertical;
}

/* ── Actions row ─────────────────────────────────── */

.ld-feedback-form__actions {
  display: flex;
  align-items: center;
  gap: var(--ld-space-4);
  margin-top: var(--ld-space-5);
}

.ld-feedback-form__submit {
  padding: 10px 28px;
  background: var(--ld-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--ld-font);
  border: none;
  border-radius: var(--ld-radius-sm);
  cursor: pointer;
  transition: background .15s;
}
.ld-feedback-form__submit:hover    { background: var(--ld-primary-700); }
.ld-feedback-form__submit:disabled { opacity: .55; cursor: not-allowed; }

.ld-feedback-form__cancel {
  font-size: 14px;
  color: var(--ld-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: var(--ld-font);
}
.ld-feedback-form__cancel:hover { color: var(--ld-text); }

/* ── Notices ──────────────────────────────────────── */

.ld-feedback-form__notice {
  padding: var(--ld-space-4);
  border-radius: var(--ld-radius-sm);
  font-size: 14px;
  line-height: 1.5;
  margin-top: var(--ld-space-4);
}

.ld-feedback-form__notice--success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.ld-feedback-form__notice--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
