/* Moot Business Shipper — Bulk Upload */

.moot-bulk-page .dash-topbar {
	align-items: flex-start;
}

.moot-bulk-hero {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	max-width: 52rem;
}

.moot-bulk-hero__title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
}

.moot-bulk-hero h1 {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
	line-height: 1.15;
}

.moot-bulk-hero__badge {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #2563eb;
	background: #eff6ff;
	border: 1px solid rgba(37, 99, 235, 0.15);
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.moot-bulk-hero__subtitle {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #334155;
	line-height: 1.35;
}

.moot-bulk-hero__intro {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #64748b;
	max-width: 46rem;
}

.moot-bulk-hero__helper {
	margin: 0.15rem 0 0;
	padding: 0.75rem 0.95rem;
	border-radius: 12px;
	font-size: 0.84rem;
	line-height: 1.5;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.06);
	max-width: 46rem;
}

.moot-bulk-page .dash-content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding-bottom: 2.5rem;
}

.moot-bulk-card {
	padding: 1.5rem;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.moot-bulk-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.moot-bulk-card__head h2 {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f172a;
}

.moot-bulk-card__head p {
	margin: 0;
	color: #64748b;
	font-size: 0.92rem;
	line-height: 1.5;
	max-width: 42rem;
}

.moot-bulk-templates {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.moot-bulk-template-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.25rem;
	border-radius: 16px;
	background: linear-gradient(180deg, #f8fbff, #ffffff);
	border: 1px solid rgba(37, 99, 235, 0.12);
}

.moot-bulk-template-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #eff6ff;
	color: #2563eb;
}

.moot-bulk-template-card h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
}

.moot-bulk-template-card p {
	margin: 0;
	font-size: 0.86rem;
	color: #64748b;
	line-height: 1.45;
	flex: 1;
}

.moot-bulk-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-height: 180px;
	margin: 0.5rem 0 1rem;
	padding: 1.5rem;
	border: 2px dashed rgba(37, 99, 235, 0.22);
	border-radius: 18px;
	background: #f8fbff;
	text-align: center;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.moot-bulk-drop.is-dragover,
.moot-bulk-drop.has-file {
	border-color: #2563eb;
	background: #eff6ff;
}

.moot-bulk-drop__label {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.moot-bulk-drop__hint {
	margin: 0;
	font-size: 0.84rem;
	color: #64748b;
}

.moot-bulk-drop input {
	display: none;
}

.moot-bulk-upload-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.moot-bulk-import-top {
	min-width: 11rem;
	font-weight: 700;
}

.moot-bulk-status {
	margin: 0.75rem 0 0;
	font-size: 0.88rem;
	color: #64748b;
}

.moot-bulk-status--error {
	color: #b91c1c;
}

.moot-bulk-status--success {
	color: #15803d;
}

.moot-bulk-status--info {
	color: #2563eb;
}

.moot-bulk-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.moot-bulk-stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.moot-bulk-stat span {
	font-size: 0.78rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.moot-bulk-stat strong {
	font-size: 1rem;
	color: #0f172a;
	word-break: break-word;
}

.moot-bulk-stat--ok strong {
	color: #15803d;
}

.moot-bulk-stat--err strong {
	color: #b91c1c;
}

.moot-bulk-table-wrap {
	overflow: auto;
	margin-top: 1rem;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 14px;
}

.moot-bulk-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.86rem;
}

.moot-bulk-table th,
.moot-bulk-table td {
	padding: 0.85rem 0.9rem;
	text-align: left;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	vertical-align: top;
}

.moot-bulk-table th {
	background: #f8fafc;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
}

.moot-bulk-table tr.is-error td {
	background: #fff7f7;
}

.moot-bulk-empty {
	text-align: center;
	color: #64748b;
	padding: 1.5rem !important;
}

.moot-bulk-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}

.moot-bulk-badge--ok {
	background: #dcfce7;
	color: #15803d;
}

.moot-bulk-badge--err {
	background: #fee2e2;
	color: #b91c1c;
}

.moot-bulk-row-errors {
	margin: 0.35rem 0 0;
	padding-left: 1rem;
	color: #b91c1c;
	font-size: 0.78rem;
}

.moot-bulk-link-btn {
	border: 0;
	background: none;
	padding: 0;
	color: #2563eb;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
}

.moot-bulk-review-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.moot-bulk-draft-note {
	margin: 0.75rem 0 0;
	font-size: 0.88rem;
	color: #92400e;
	font-weight: 600;
}

.moot-bulk-notice {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	margin-bottom: 1rem;
	font-size: 0.88rem;
}

.moot-bulk-notice--warn {
	background: #fffbeb;
	border: 1px solid rgba(217, 119, 6, 0.22);
	color: #92400e;
}

.moot-bulk-notice strong {
	font-size: 0.92rem;
}

.moot-bulk-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 120;
	padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
	background: rgba(15, 23, 42, 0.96);
	border-top: 1px solid rgba(148, 163, 184, 0.24);
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.28);
}

.moot-bulk-sticky-bar__inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.moot-bulk-sticky-bar__hint {
	margin: 0;
	color: #e2e8f0;
	font-size: 0.9rem;
}

.moot-bulk-page .dash-content {
	padding-bottom: 5.5rem;
}

.moot-bulk-success {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1.5rem;
	border-radius: 20px;
	background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
	border: 1px solid rgba(21, 128, 61, 0.16);
}

.moot-bulk-success__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #15803d;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 800;
}

.moot-bulk-success h2 {
	margin: 0;
	font-size: 1.25rem;
	color: #14532d;
}

.moot-bulk-success p {
	margin: 0;
	color: #166534;
}

.moot-bulk-success__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.35rem;
}

.moot-bulk-success__matches {
	width: 100%;
	margin-top: 0.35rem;
}

.moot-bulk-success__matches-lead {
	margin: 0 0 0.75rem;
	color: #166534;
	font-size: 0.92rem;
	line-height: 1.5;
}

.moot-bulk-table--success td {
	font-size: 0.84rem;
}

.moot-bulk-badge--warn {
	background: #fef3c7;
	color: #b45309;
}

@media (max-width: 900px) {
	.moot-bulk-templates,
	.moot-bulk-summary-grid {
		grid-template-columns: 1fr;
	}
}
