/**
 * "Mis facturas" — estilo de marca (Burdeos & Pergamino), mobile-first.
 * Paleta: burdeos #7C1F28 (acción), berenjena #372549 (texto), salvia #667761,
 * crema #F2EFE9 / #FFFDF9.
 */

.tdt-fact-mis {
	color: #372549;
}

.tdt-fact-mis__titulo {
	color: #372549;
	font-size: 1.35rem;
	margin: 0 0 1rem;
}

.tdt-fact-mis__vacio {
	background: #FFFDF9;
	border: 1px solid #e7e0d4;
	border-radius: 10px;
	padding: 1.1rem 1.25rem;
	color: #667761;
}

.tdt-fact-mis__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tdt-fact-mis__item {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	background: #FFFDF9;
	border: 1px solid #e7e0d4;
	border-radius: 12px;
	padding: 0.9rem 1rem;
}

.tdt-fact-mis__info {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.tdt-fact-mis__numero {
	font-weight: 700;
	color: #372549;
	letter-spacing: 0.02em;
}

.tdt-fact-mis__concepto {
	color: #372549;
}

.tdt-fact-mis__fecha {
	font-size: 0.85rem;
	color: #667761;
}

.tdt-fact-mis__accion {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.tdt-fact-mis__total {
	font-weight: 700;
	color: #372549;
	white-space: nowrap;
}

.tdt-fact-mis__btn {
	display: inline-block;
	background: #7C1F28;
	color: #FFFDF9 !important;
	text-decoration: none;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	font-weight: 600;
	line-height: 1.2;
	transition: background 0.2s ease-in-out;
	white-space: nowrap;
}

.tdt-fact-mis__btn:hover,
.tdt-fact-mis__btn:focus {
	background: #7a1717;
	color: #FFFDF9 !important;
}

/* Desde tablet: fila con concepto a la izquierda y total+botón a la derecha. */
@media (min-width: 600px) {
	.tdt-fact-mis__item {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.tdt-fact-mis__accion {
		justify-content: flex-end;
		flex: 0 0 auto;
	}
}
