/* Feature-request app styles */

.request-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.form-label-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-quaternary);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-default);
  background: var(--bg-primary);
  color: var(--text-primary);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.form-textarea { resize: vertical; min-height: 160px; }

.file-drop {
  padding: 24px;
  border: 1.5px dashed var(--border-strong);
  border-radius: 8px;
  background: var(--bg-secondary);
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  transition: border-color .15s, background .15s;
  cursor: default;
}
.file-drop.drag-over {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, var(--bg-secondary));
}
.file-drop.has-file {
  border-style: solid;
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 4%, var(--bg-secondary));
  text-align: left;
}
.file-drop-text { color: var(--text-secondary); }
.btn-link {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  padding: 0;
}
.btn-link:hover { color: var(--primary-hover); }
.file-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
}
.file-pill-clear {
  background: transparent;
  border: none;
  color: var(--text-quaternary);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
}
.file-pill-clear:hover { color: #dc2626; background: rgba(239,68,68,0.08); }

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-default);
  flex-wrap: wrap;
}
.btn-lg { padding: 12px 26px; font-size: 14px; font-weight: 600; }
.run-hint { font-size: 12.5px; color: var(--text-tertiary); }

/* Thanks card */
.thanks-card {
  background: var(--card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.thanks-icon {
  width: 56px;
  height: 56px;
  color: #16a34a;
  margin: 0 auto 18px;
}
.thanks-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.thanks-text {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.thanks-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Back link */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 10px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-tertiary);
  text-decoration: none; border: 0.5px solid var(--border-default);
  background: var(--bg-primary); flex-shrink: 0;
  transition: color .15s, border-color .15s, background .15s;
}
.back-link:hover {
  color: var(--primary); border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, var(--bg-primary));
}
.back-link svg { opacity: 0.8; }
@media (max-width: 640px) {
  .back-link span { display: none; }
  .back-link { padding: 6px; }
}
