/* ==========================================================================
   Zamora Centro Odontológico - Avisos legales y consentimiento (RGPD)
   Modal de información de privacidad de WhatsApp, icono informativo "i",
   vídeo con consentimiento previo y enlaces legales del pie de página.
   ========================================================================== */

.wa_legal_modal,
.wa_legal_modal .modal-content,
.wa_legal_modal .modal-body,
.wa_legal_modal .modal-footer,
.wa_legal_modal .modal-title {
	font-family: 'Centrale Sans', Arial, Helvetica, sans-serif;
}

/* --- Modal de información de privacidad (WhatsApp) ---------------------- */
.wa_legal_modal .modal-content {
	border: 0;
	border-top: 3px solid #008995;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
	overflow: hidden;
}

.wa_legal_modal .modal-header {
	background: #fff;
	border-bottom: 1px solid #e8ecee;
	padding: 20px 22px 14px;
}

.wa_legal_modal .modal-title {
	color: #008995;
	font-family: 'Centrale Sans Medium', Arial, Helvetica, sans-serif;
	font-size: 19px;
	font-weight: normal;
	line-height: 1.3;
	padding-right: 25px;
	margin: 0;
}

.wa_legal_modal .modal-body {
	padding: 20px 22px;
	color: #555;
	font-size: 13px;
	line-height: 1.6;
}

.wa_legal_modal .modal-body p {
	margin: 0 0 12px;
	text-align: left;
}

.wa_legal_modal .modal-body p:last-child { margin-bottom: 0; }

.wa_legal_modal .modal-body b { color: #015b71; }

.wa_legal_modal .modal-body a {
	color: #008995;
	text-decoration: underline;
}

.wa_legal_modal .modal-footer {
	border-top: 1px solid #e8ecee;
	padding: 14px 22px 18px;
	text-align: right;
}

.wa_legal_modal .btn {
	border-radius: 3px;
	font-size: 13px;
	padding: 10px 18px;
	margin: 0 0 0 8px;
}

.wa_legal_modal .btn-default {
	background: #fff;
	border: 1px solid #cfd8dc;
	color: #546e7a;
}

.wa_legal_modal .btn-default:hover,
.wa_legal_modal .btn-default:focus {
	background: #f4f7f8;
	border-color: #b0bec5;
	color: #37474f;
}

.wa_legal_modal .btn-primary {
	background: #008995;
	border: 1px solid #008995;
	color: #fff;
}

.wa_legal_modal .btn-primary:hover,
.wa_legal_modal .btn-primary:focus {
	background: #00737d;
	border-color: #00737d;
	color: #fff;
}

/* --- Icono "i" informativo junto al icono de WhatsApp ------------------ */
/* La cabecera (.call_us) trabaja con float, por eso el badge flota igual
   que el icono para quedar alineado a su derecha en escritorio y movil. */
.wa_info_badge {
	display: block;
	float: left;
	width: 20px;
	height: 20px;
	line-height: 18px;
	margin: 6px 10px 0 0;
	border: 1px solid #008995;
	border-radius: 50%;
	background: #fff;
	color: #008995 !important;
	font-family: 'Centrale Sans Medium', Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	-webkit-transition: background .2s ease, color .2s ease;
	transition: background .2s ease, color .2s ease;
}

.wa_info_badge:hover,
.wa_info_badge:focus {
	background: #008995;
	color: #fff !important;
}

/* --- Vídeo con consentimiento (YouTube) -------------------------------- */
.consent-video {
	position: relative;
	background-color: #0d2b33;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.consent-video .video_play_btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-block;
	padding: 12px 24px;
	border: 2px solid #fff;
	border-radius: 40px;
	background: rgba(0, 137, 149, .92);
	color: #fff;
	font-family: 'Centrale Sans Medium', Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	z-index: 2;
	-webkit-transition: background .2s ease;
	transition: background .2s ease;
}

.consent-video .video_play_btn:hover,
.consent-video .video_play_btn:focus {
	background: #008995;
	color: #fff;
}

.consent-video .video_play_btn .fa {
	font-size: 18px;
	margin-right: 8px;
	vertical-align: -2px;
}

/* --- Enlaces legales del pie de página --------------------------------- */
.copy_text .js-cookie-settings,
.copy_text .js-whatsapp-legal {
	color: #fff;
	text-decoration: underline;
}

.copy_text .js-cookie-settings:hover,
.copy_text .js-whatsapp-legal:hover {
	color: #008995;
}

/* --- Adaptación a móvil ------------------------------------------------ */
@media (max-width: 480px) {
	.wa_legal_modal .modal-dialog {
		margin: 10px;
	}

	.wa_legal_modal .modal-title { font-size: 17px; }

	.wa_legal_modal .modal-body { font-size: 12.5px; padding: 16px 18px; }

	.wa_legal_modal .modal-footer .btn {
		display: block;
		width: 100%;
		margin: 8px 0 0;
	}

	.consent-video .video_play_btn {
		padding: 9px 18px;
		font-size: 12px;
	}
}
