/**
 * Estilos de la pantalla/modal de acceso restringido (visitantes sin sesión).
 *
 * Se carga únicamente cuando el planificador se renderiza para un usuario no
 * autenticado. Mantiene la estética de boda minimalista del plugin: fondo nude
 * difuminado, tarjeta blanca centrada, acentos coral y sombras suaves.
 *
 * @package PabloPonceWeddingPlanner
 * @since   1.2.0
 */

/* --- Contenedor a pantalla completa --------------------------------------- */
.ppwp-guest-access {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 48px 20px;
	overflow: hidden;
	background: linear-gradient(160deg, #f7f1ed 0%, #f3e7e4 45%, #efe2e6 100%);
	box-sizing: border-box;
}

/* --- Fondo decorativo difuminado ----------------------------------------- */
.ppwp-guest-access__backdrop {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.ppwp-guest-access__blob {
	position: absolute;
	display: block;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.55;
}

.ppwp-guest-access__blob--one {
	top: -120px;
	left: -80px;
	width: 380px;
	height: 380px;
	background: rgba(225, 117, 117, 0.45);
}

.ppwp-guest-access__blob--two {
	bottom: -140px;
	right: -100px;
	width: 420px;
	height: 420px;
	background: rgba(212, 131, 143, 0.42);
}

.ppwp-guest-access__blob--three {
	top: 45%;
	left: 50%;
	width: 300px;
	height: 300px;
	transform: translate(-50%, -50%);
	background: rgba(176, 137, 104, 0.30);
}

/* --- Tarjeta del modal ---------------------------------------------------- */
.ppwp-guest-access__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 620px;
	padding: 44px 44px 36px;
	background: var(--ppwp-bg-card, #ffffff);
	border: 1px solid rgba(228, 228, 231, 0.9);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(26, 26, 26, 0.14), 0 2px 6px rgba(26, 26, 26, 0.04);
	text-align: center;
	box-sizing: border-box;
	animation: ppwp-guest-access-in 0.35s ease both;
}

@keyframes ppwp-guest-access-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ppwp-guest-access__dialog {
		animation: none;
	}
}

/* --- Marca ---------------------------------------------------------------- */
.ppwp-guest-access__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin-bottom: 20px;
}

.ppwp-guest-access__brand-title {
	font-family: 'Great Vibes', 'Alex Brush', cursive;
	font-size: 2rem;
	line-height: 1.1;
	color: var(--ppwp-accent, #e17575);
}

.ppwp-guest-access__brand-subtitle {
	font-size: 0.7rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--ppwp-text-muted, #71717a);
}

/* --- Badge ---------------------------------------------------------------- */
.ppwp-guest-access__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(225, 117, 117, 0.12);
	color: var(--ppwp-accent, #e17575);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ppwp-guest-access__badge .ppwp-icon {
	width: 14px;
	height: 14px;
}

/* --- Título y subtítulo --------------------------------------------------- */
.ppwp-guest-access__title {
	margin: 0 0 12px;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ppwp-text-primary, #1a1a1a);
}

.ppwp-guest-access__subtitle {
	max-width: 480px;
	margin: 0 auto 26px;
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--ppwp-text-muted, #71717a);
}

/* --- Ventajas del planificador ------------------------------------------- */
.ppwp-guest-access__highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
	margin: 0 0 30px;
	padding: 18px 20px;
	list-style: none;
	text-align: left;
	background: var(--ppwp-bg-main, #f5efeb);
	border-radius: 14px;
}

.ppwp-guest-access__highlight {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--ppwp-text-primary, #1a1a1a);
}

.ppwp-guest-access__highlight .ppwp-icon {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 2px;
	color: var(--ppwp-accent, #e17575);
}

/* --- Acciones ------------------------------------------------------------- */
.ppwp-guest-access__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ppwp-guest-access__actions .ppwp-btn.ppwp-guest-access__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px 24px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #e17575 0%, #d4838f 100%);
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(225, 117, 117, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ppwp-guest-access__actions .ppwp-btn.ppwp-guest-access__cta .ppwp-icon {
	width: 18px;
	height: 18px;
}

.ppwp-guest-access__actions .ppwp-btn.ppwp-guest-access__cta:hover,
.ppwp-guest-access__actions .ppwp-btn.ppwp-guest-access__cta:focus {
	color: #ffffff;
	filter: brightness(1.04);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(225, 117, 117, 0.34);
}

.ppwp-guest-access__actions .ppwp-btn.ppwp-guest-access__alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 13px 24px;
	border: 1px solid var(--ppwp-border-color, #e4e4e7);
	border-radius: 10px;
	background: transparent;
	color: var(--ppwp-text-primary, #1a1a1a);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.ppwp-guest-access__actions .ppwp-btn.ppwp-guest-access__alt .ppwp-icon {
	width: 17px;
	height: 17px;
}

.ppwp-guest-access__actions .ppwp-btn.ppwp-guest-access__alt:hover,
.ppwp-guest-access__actions .ppwp-btn.ppwp-guest-access__alt:focus {
	border-color: var(--ppwp-accent, #e17575);
	background: rgba(225, 117, 117, 0.06);
	color: var(--ppwp-text-primary, #1a1a1a);
}

.ppwp-guest-access__register {
	margin: 4px 0 0;
	font-size: 0.86rem;
	color: var(--ppwp-text-muted, #71717a);
}

.ppwp-guest-access__register a {
	color: var(--ppwp-accent, #e17575);
	font-weight: 600;
	text-decoration: none;
}

.ppwp-guest-access__register a:hover,
.ppwp-guest-access__register a:focus {
	text-decoration: underline;
}

/* --- Nota de privacidad --------------------------------------------------- */
.ppwp-guest-access__privacy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 24px 0 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--ppwp-text-muted, #71717a);
}

.ppwp-guest-access__privacy .ppwp-icon {
	width: 15px;
	height: 15px;
	color: #95a07a;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 640px) {
	.ppwp-guest-access {
		padding: 28px 16px;
		align-items: flex-start;
	}

	.ppwp-guest-access__dialog {
		padding: 32px 22px 26px;
		border-radius: 16px;
	}

	.ppwp-guest-access__brand-title {
		font-size: 1.7rem;
	}

	.ppwp-guest-access__title {
		font-size: 1.5rem;
	}

	.ppwp-guest-access__subtitle {
		font-size: 0.92rem;
	}

	.ppwp-guest-access__highlights {
		grid-template-columns: 1fr;
		padding: 16px;
	}
}
