/* Base reset + SUB-Server-specific additions layered on top of server-theme.css
   (the SWIFT "Server Console" theme, kept verbatim from server.finxcore.online). */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Distinguish from the SWIFT parent portal: FINXCORE green accent */
body .srv-root {
  --srv-accent: #4dae46;
  --srv-accent-soft: rgba(77, 174, 70, 0.12);
}

/* Upload progress (theme-aware tokens) */
.srv-progress { margin: 0.85rem 1rem 0.2rem; }
.srv-progress-label {
  font-family: var(--srv-mono); font-size: 0.7rem;
  color: var(--srv-dim); margin-bottom: 0.4rem;
}
.srv-progress-track {
  height: 4px; background: var(--srv-border); border-radius: 2px; overflow: hidden;
}
.srv-progress-fill {
  height: 100%; width: 0%; background: var(--srv-accent); transition: width 0.15s ease;
}

/* Drag-over highlight on the main box */
.srv-box.drop-target { border-color: var(--srv-accent); box-shadow: 0 0 0 2px var(--srv-accent-soft); }

/* File-table cell helpers (avoid the .srv-notice bottom-margin hack) */
.srv-cell-dim { color: var(--srv-dim); font-size: 0.82rem; white-space: nowrap; }
.srv-cell-num { color: var(--srv-dim); font-size: 0.82rem; text-align: right; white-space: nowrap; }

/* Actions cell — right-aligned button row */
.srv-actions { display: flex; gap: 0.4rem; justify-content: flex-end; flex-wrap: wrap; }
