/* TiendaLibre Pago QR Perú - Estilos del cliente */

.tlqr-card {
	max-width: 520px;
	margin: 24px auto;
	border-radius: 18px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	border: 1px solid #eef0f5;
	font-family: inherit;
}

.tlqr-card__header {
	background: linear-gradient(135deg, #4f46e5, #7c3aed);
	color: #fff;
	padding: 22px 24px;
	text-align: center;
}

.tlqr-card__brand {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: .9;
}

.tlqr-card__title {
	margin: 6px 0 0;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}

.tlqr-card__body {
	padding: 24px;
}

.tlqr-card__intro {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
	color: #475569;
	text-align: center;
}

.tlqr-qr-wrap {
	text-align: center;
	margin: 0 0 18px;
}

.tlqr-qr {
	max-width: 240px;
	width: 100%;
	height: auto;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	padding: 8px;
	background: #fff;
}

.tlqr-details {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #eef0f5;
}

.tlqr-details li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	font-size: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.tlqr-details li:last-child {
	border-bottom: none;
}

.tlqr-details li span {
	color: #64748b;
}

.tlqr-details li strong {
	color: #0f172a;
	text-align: right;
}

/* Formulario */
.tlqr-form {
	margin: 0 0 16px;
	padding: 18px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
}

.tlqr-file {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	cursor: pointer;
}

.tlqr-file input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.tlqr-file__button {
	display: inline-block;
	padding: 10px 16px;
	background: #e0e7ff;
	color: #4338ca;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.tlqr-file__name {
	font-size: 13px;
	color: #64748b;
	word-break: break-all;
}

.tlqr-form__hint {
	margin: 10px 0 14px;
	font-size: 12px;
	color: #94a3b8;
}

.tlqr-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 13px 18px;
	border: none;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	transition: transform .08s ease, opacity .15s ease;
}

.tlqr-btn:hover {
	opacity: .92;
}

.tlqr-btn:active {
	transform: translateY(1px);
}

.tlqr-btn--primary {
	background: linear-gradient(135deg, #4f46e5, #7c3aed);
	color: #fff;
}

.tlqr-btn--whatsapp {
	background: #16a34a;
	color: #fff;
	margin-top: 12px;
}

.tlqr-secure {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	margin: 16px 0 0;
	padding: 12px;
	border-radius: 10px;
	background: #f0fdf4;
	color: #166534;
	font-size: 13px;
	text-align: center;
}

.tlqr-alert {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.5;
}

.tlqr-alert--success {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.tlqr-alert--error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.tlqr-alert--pending {
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fde68a;
	font-weight: 600;
}

.tlqr-country-note {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fff7ed;
	color: #9a3412;
	font-size: 13px;
	text-align: center;
	font-weight: 600;
}

.tlqr-yape-note {
	margin: 0 0 16px;
	font-size: 12px;
	line-height: 1.5;
	color: #64748b;
	text-align: center;
	font-style: italic;
}

/* Mini-resumen en checkout */
.tlqr-checkout-mini {
	display: flex;
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 8px;
}

.tlqr-checkout-qr {
	max-width: 110px;
	height: auto;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
}

.tlqr-checkout-data {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
}

.tlqr-checkout-data li {
	margin: 2px 0;
}

.tlqr-checkout-data .tlqr-note {
	color: #64748b;
	font-style: italic;
}

@media (max-width: 480px) {
	.tlqr-card__body { padding: 18px; }
	.tlqr-qr { max-width: 200px; }
}
