/* APM Libro de Reclamaciones - Estilos del formulario público */

.apm-lr-wrap {
	max-width: 860px;
	width: 100%;
	margin: 30px auto;
	padding: 0 16px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #2b2b2b;
}

.apm-lr-card {
	background: #f4f4f4;
	border-radius: 18px;
	padding: 36px 32px;
}

.apm-lr-field {
	margin-bottom: 16px;
}

.apm-lr-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 16px;
}

.apm-lr-wrap input[type="text"],
.apm-lr-wrap input[type="email"],
.apm-lr-wrap input[type="tel"],
.apm-lr-wrap select,
.apm-lr-wrap textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	height: 44px;
}

.apm-lr-wrap textarea {
	height: auto;
}

.apm-lr-wrap select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 34px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23666' d='M1 1l5 5 5-5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}

.apm-lr-wrap select::-ms-expand {
	display: none;
}

.apm-lr-wrap input:disabled,
.apm-lr-wrap select:disabled {
	background-color: #f0f0f2;
	color: #9a9a9a;
	cursor: not-allowed;
}

.apm-lr-wrap textarea {
	resize: vertical;
	font-family: inherit;
}

.apm-lr-wrap input::placeholder,
.apm-lr-wrap textarea::placeholder {
	color: #9aa0c9;
}

.apm-lr-title {
	text-align: center;
	letter-spacing: 1px;
	margin: 6px 0 26px;
	font-size: 22px;
}

.apm-lr-section {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .4px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
	margin: 26px 0 16px;
	color: #1a1a1a;
}

.apm-lr-label-inline {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	color: #3d5afe;
}

.apm-lr-radios {
	display: flex;
	gap: 22px;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	padding: 12px 14px;
}

.apm-lr-radios label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	cursor: pointer;
}

.apm-lr-checkbox label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}

.apm-lr-menor-campos {
	border-left: 3px solid #3d5afe;
	padding-left: 14px;
	margin: 0 0 16px;
}

.apm-lr-politica-link {
	text-align: center;
	margin: 6px 0 10px;
}

.apm-lr-politica-link a {
	color: #d64545;
	text-decoration: none;
	font-size: 13px;
}

.apm-lr-politica-link a:hover {
	text-decoration: underline;
}

.apm-lr-btn {
	display: block;
	width: 100%;
	background: #1c1c1c;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .5px;
	cursor: pointer;
	margin-top: 8px;
	transition: opacity .15s ease;
}

.apm-lr-btn:hover {
	opacity: .88;
}

.apm-lr-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.apm-lr-volver {
	text-align: center;
	margin: 16px 0 0;
}

.apm-lr-volver a {
	color: #d64545;
	text-decoration: none;
	font-size: 13px;
}

.apm-lr-mensaje {
	display: none;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 16px;
}

.apm-lr-mensaje.apm-lr-ok {
	display: block;
	background: #e5f7ea;
	color: #1e7c3a;
	border: 1px solid #b6e5c3;
}

.apm-lr-mensaje.apm-lr-error {
	display: block;
	background: #fdeaea;
	color: #b02a2a;
	border: 1px solid #f3bcbc;
}

.apm-lr-footer {
	background: #f4f4f4;
	border-radius: 18px;
	padding: 28px 32px;
	margin-top: 20px;
	font-size: 12.5px;
	line-height: 1.6;
	color: #333;
}

.apm-lr-footer p {
	margin: 0 0 12px;
}

.apm-lr-footer p:last-child {
	margin-bottom: 0;
}

/* ===== Pantalla de agradecimiento ===== */

.apm-lr-gracias {
	background: #f4f4f4;
	border-radius: 18px;
	padding: 48px 40px;
	margin-top: 20px;
	text-align: center;
}

.apm-lr-gracias-icono {
	width: 64px;
	height: 64px;
	line-height: 64px;
	border-radius: 50%;
	background: #1e7c3a;
	color: #fff;
	font-size: 30px;
	margin: 0 auto 20px;
}

.apm-lr-gracias-titulo {
	font-size: 24px;
	margin: 0 0 10px;
	letter-spacing: .3px;
}

.apm-lr-gracias-sub {
	font-size: 15px;
	color: #444;
	margin: 0 0 4px;
}

.apm-lr-gracias-num {
	font-size: 13px;
	color: #777;
	letter-spacing: .5px;
	margin: 0 0 26px;
}

.apm-lr-btn-gracias {
	display: inline-block;
	width: auto;
	padding: 12px 34px;
	margin: 0 0 30px;
}

.apm-lr-gracias-legal {
	text-align: left;
	border-top: 1px solid #e0e0e0;
	padding-top: 20px;
	font-size: 12px;
	line-height: 1.6;
	color: #666;
}

.apm-lr-gracias-legal p {
	margin: 0 0 10px;
}

.apm-lr-gracias-legal p:last-child {
	margin-bottom: 0;
}

@media (max-width: 782px) {
	.apm-lr-wrap {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.apm-lr-card,
	.apm-lr-footer,
	.apm-lr-gracias {
		padding: 24px 20px;
		border-radius: 14px;
	}
	.apm-lr-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.apm-lr-radios {
		gap: 16px;
	}
	.apm-lr-gracias {
		padding: 36px 22px;
	}
}
