/* GoSendIt multi-file / multi-recipient sending (2 Oct 2026). Uses the site's own --navy / --orange / --border variables. */
.ms-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ms-drop { position: relative; border: 2px dashed var(--border, #e5e2dd); border-radius: 12px; background: #faf9f8; transition: border-color .15s, background .15s; margin-bottom: 10px; }
.ms-drop.drag-over, .ms-drop:hover { border-color: var(--orange, #FF6A1A); background: #fff7f2; }
.ms-drop-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; cursor: pointer; text-align: center; margin: 0 !important; font-weight: 400; }
.ms-drop-inner strong { color: var(--navy, #0f1e3c); font-size: 15px; }
.ms-drop-icon { font-size: 26px; line-height: 1; }

.ms-list { list-style: none; margin: 0 0 6px; padding: 0; border: 1px solid var(--border, #e5e2dd); border-radius: 10px; max-height: 240px; overflow: auto; background: #fff; text-align: left; }
.ms-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--border, #eee); font-size: 13.5px; }
.ms-list li:last-child { border-bottom: 0; }
.ms-fname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy, #0f1e3c); font-weight: 600; }
.ms-fsize { flex: 0 0 auto; color: #8a8f98; font-size: 12px; }
button.ms-remove { flex: 0 0 auto; width: 26px !important; height: 26px; min-width: 0; padding: 0 !important; margin: 0 !important; border-radius: 50%; border: 0; background: #f1efec !important; background-image: none !important; color: #6b7078 !important; font-size: 17px; line-height: 1; cursor: pointer; box-shadow: none !important; }
button.ms-remove:hover { background: #fdeaea !important; color: #d64545 !important; }
.ms-total { margin: 0 0 16px; font-size: 13px; }
.ms-total.ms-over { color: #d64545; font-weight: 700; }

.ms-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--border, #ddd); border-radius: 8px; background: #fff; cursor: text; min-height: 44px; box-sizing: border-box; width: 100%; }
.ms-chips:focus-within { border-color: var(--orange, #FF6A1A); }
.ms-chips input.ms-chip-input { flex: 1 1 140px; min-width: 120px; border: 0 !important; outline: 0; box-shadow: none !important; margin: 0 !important; padding: 6px 4px !important; background: transparent !important; width: auto !important; font-size: 14px; }
.ms-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 999px; background: #fff1e8; color: var(--navy, #0f1e3c); font-size: 13px; font-weight: 600; max-width: 100%; word-break: break-all; }
.ms-chip button { width: 20px !important; height: 20px; padding: 0 !important; margin: 0 !important; border: 0; border-radius: 50%; background: transparent !important; background-image: none !important; color: #8a6d5c !important; cursor: pointer; font-size: 15px; line-height: 1; box-shadow: none !important; min-width: 0; }
.ms-chip.ms-chip-bad { background: #fdeaea; color: #b03030; }

.ms-error[hidden] { display: none !important; }
.ms-progress { margin-top: 14px; }
.ms-progress[hidden] { display: none; }
.ms-bar { height: 10px; border-radius: 999px; background: #f1efec; overflow: hidden; }
.ms-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(135deg, #FF6A1A, #E8380A); transition: width .25s; }
.ms-progress p { margin: 8px 0 0; text-align: center; font-size: 13px; }

/* Quick Send box (homepage + app) */
.qs-card .ms-list { margin-top: -4px; margin-bottom: 8px; max-height: 170px; }
.qs-card .ms-total { margin: 0 0 8px; text-align: center; }
.qs-card .ms-chips { border: 0; border-bottom: 1px solid var(--border, #ddd); border-radius: 0; padding: 4px 0; margin-bottom: 12px; min-height: 40px; background: transparent; }
.qs-card .ms-error { background: #fdeaea; color: #d64545; padding: 10px 12px; border-radius: 8px; margin: 0 0 10px; font-size: 13px; text-align: left; }
.qs-sending-state .ms-bar { margin: 14px auto 0; max-width: 260px; }
.qs-sending-state .ms-progress-text { margin: 8px 0 0; font-size: 12.5px; color: var(--muted, #8a8f98); }
/* App screen: the Quick Send card is dark */
.app-card .ms-total, .app-card .qs-sending-state .ms-progress-text { color: rgba(255,255,255,.78); }
.app-card .ms-chips { border-bottom-color: rgba(255,255,255,.35); }
.app-card .ms-chips input.ms-chip-input { color: #fff; }
.app-card .ms-chips input.ms-chip-input::placeholder { color: rgba(255,255,255,.55); }
