/* support.css - the "Submit a Request" modal. Layout only; inputs, buttons and
   the modal frame come from components.css and the tokens. */

.support-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

#support-form { display: grid; gap: 16px; }

.support-field { display: block; margin: 0; }

.support-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.support-optional {
  font-weight: 500;
  font-size: 11px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.support-input { width: 100%; }

/* Attach zone */
.support-drop {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.support-drop:hover, .support-drop:focus-visible { border-color: var(--primary); color: var(--primary-text); }
.support-drop.is-drag { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-text); }
.support-drop-ic .ic { width: 22px; height: 22px; }
.support-drop-txt { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.support-drop:hover .support-drop-txt, .support-drop.is-drag .support-drop-txt { color: inherit; }
.support-drop-sub { font-size: 11.5px; color: var(--faint); }

/* Chosen files */
.support-filelist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.support-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.support-file-ic .ic { width: 16px; height: 16px; color: var(--muted); flex: none; }
.support-file-name { flex: 1; min-width: 0; font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-file-size { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; flex: none; }
.support-file-x {
  flex: none;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--muted); cursor: pointer;
  border-radius: var(--r-xs);
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.support-file-x:hover { background: var(--primary-soft); color: var(--primary); }
.support-file-x .ic { width: 15px; height: 15px; }

/* Inline error */
.support-alert {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--danger-bg);
  color: var(--danger-text);
  font-size: 13px;
  line-height: 1.45;
}

/* Footer: fold into the modal's own flex end-aligned row. */
.support-foot { display: contents; }
