/* ═══════════════════════════════════════════════
   RESUMEN VENTAS — Dashboard
═══════════════════════════════════════════════ */

/* ── Contenedor página ───────────────────────── */
.resv-page {
	padding: 0.75rem 1rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.resv-page-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-bottom: 0.6rem;
	margin-bottom: 0.75rem;
	border-bottom: 2px solid #dce6f0;
}

/* ── Barra de filtro ─────────────────────────── */
.resv-filtro-bar {
	display: flex;
	align-items: flex-end;
	gap: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #dce6f0;
	margin-bottom: 0.75rem;
}

/* ── KPI Row ─────────────────────────────────── */
.resv-kpi-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.resv-kpi-row .kpi-card {
	flex: 1;
	min-width: 160px;
}

/* ── Fila métodos de pago ────────────────────── */
.resv-metodos-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.resv-metodo-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.45rem 0.85rem 0.45rem 0.6rem;
	background: #fff;
	border: 1px solid #dce6f0;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(5, 39, 103, .05);
	flex: 1;
	min-width: 150px;
}

.resv-metodo-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.resv-metodo-label {
	font-size: 10.5px;
	color: #64748b;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1.3;
}

.resv-metodo-val {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

/* ── Grid 2 columnas ─────────────────────────── */
.resv-grid-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

/* ── Card ────────────────────────────────────── */
.resv-card {
	background: #fff;
	border: 1px solid #dce6f0;
	border-radius: 6px;
	padding: 0.75rem 1rem;
	box-shadow: 0 1px 5px rgba(5, 39, 103, .07);
	min-width: 0;
}

.resv-card--scroll {
	max-height: 280px;
	overflow-y: auto;
}

/* ── Encabezado de sección ───────────────────── */
.resv-card-title {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #052767;
	margin-bottom: 0.6rem;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid #eef2f8;
}

/* ── Empty state ─────────────────────────────── */
.resv-empty {
	color: #94a3b8;
	font-size: 13px;
	text-align: center;
	padding: 1.5rem 0;
	margin: 0;
}

/* ── Tabla ───────────────────────────────────── */
.resv-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.resv-table thead th {
	padding: 5px 8px;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #475569;
	background: #f1f5f9;
	border-bottom: 1px solid #dce6f0;
	text-align: left;
	white-space: nowrap;
}

.resv-table tbody td {
	padding: 4px 8px;
	border-bottom: 1px solid #f1f5f9;
	color: #1e293b;
	vertical-align: middle;
}

.resv-table tbody tr:last-child td {
	border-bottom: none;
}

.resv-table tbody tr:hover td {
	background: #f8fafc;
}

.resv-table tfoot td {
	font-size: 11px;
	padding: 5px 8px;
	border-top: 2px solid #dce6f0;
}

/* ── Inventario: búsqueda ────────────────────── */
.rinv-search {
	height: 32px;
	padding: 0 10px;
	border: 1px solid #c8d8e8;
	border-radius: 4px;
	font-size: 13px;
	color: #1e293b;
	outline: none;
	min-width: 220px;
}

.rinv-search:focus {
	border-color: #00695c;
	box-shadow: 0 0 0 2px rgba(0,105,92,.15);
}

/* ── Dashboard: etiqueta de sección ─────────── */
.dash-section-label {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 0.3rem 0 0.3rem 0.1rem;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid;
}
