/**
 * My Water System doorway (full-screen entry screen on the homepage).
 *
 * @package MBATeam\MyWaterSystem
 * @since 1.0.16 (2026-10-30)
 */
html.pmws-door-open, html.pmws-door-open body { overflow: hidden; }
.pmws-door {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	padding: 1.5rem; overflow-y: auto; box-sizing: border-box;
	/* Same treatment as the homepage My Water System section (2026-10-30). */
	background-color: #eaf8fe;
	/* Lighter tint than the homepage section so the water reads clearly (2026-10-30). */
	background-image: linear-gradient(180deg, rgba(234, 248, 254, .45) 0%, rgba(234, 248, 254, .45) 100%), var(--pmws-door-bg, linear-gradient(160deg, #eaf6fd 0%, #ffffff 55%, #eaf6fd 100%));
	background-repeat: no-repeat, no-repeat;
	background-size: auto, cover;
	/* Photo sits higher so the water shows above and around the card. */
	background-position: center center, center 15%;
	font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif; color: #1d2a35;
}
.pmws-door *, .pmws-door *::before, .pmws-door *::after { box-sizing: border-box; }
.pmws-door__panel {
	width: 100%; max-width: 38rem; margin: auto; padding: 2.5rem 2.25rem 2rem; background: #ffffff;
	border: 1px solid #d5e4ee; border-top: 6px solid #1d6bcd; border-radius: 16px;
	box-shadow: 0 2px 6px rgba(0, 58, 102, .08), 0 24px 60px rgba(0, 58, 102, .16);
}
.pmws-door__logo { display: block; max-width: 260px; height: auto; margin: 0 auto 1.5rem; }
.pmws-door__logo-text { display: block; text-align: center; font-size: 1.75rem; font-weight: 800; color: #1f3181; margin: 0 0 1.5rem; }
.pmws-door__title { margin: 0 0 .5rem; text-align: center; font-family: Enriqueta, Georgia, serif; font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.2; color: #1f3181; }
.pmws-door__intro { margin: 0 auto 1.75rem; max-width: 32rem; text-align: center; font-size: 1.1rem; line-height: 1.5; color: #33414d; }
.pmws-door__fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; }
.pmws-door__field label { display: block; margin: 0 0 .35rem; font-weight: 700; font-size: 1rem; color: #193954; }
.pmws-door__field select {
	width: 100%; min-height: 48px; padding: .6rem .75rem; font: inherit; font-size: 1rem; color: #1d2a35;
	background: #ffffff; border: 2px solid #9fb7c9; border-radius: 8px;
}
.pmws-door__field select:disabled { background: #f3f6f8; color: #6b7a86; }
.pmws-door__field select:focus-visible, .pmws-door__btn:focus-visible { outline: 3px solid #00518f; outline-offset: 3px; }
.pmws-door__hint { margin: .75rem 0 0; font-size: .95rem; color: #52616e; }
.pmws-door__msg { min-height: 1.4em; margin: .75rem 0 0; font-weight: 700; color: #a3261b; }
.pmws-door__actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }
.pmws-door__btn {
	display: block; width: 100%; min-height: 50px; padding: .85rem 1.25rem; font: inherit; font-size: 1.1rem; font-weight: 700;
	text-align: center; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
}
.pmws-door__btn--primary { background: #f7d64b; color: #193954; }
.pmws-door__btn--primary:hover { background: #f3cb2e; }
.pmws-door__btn--visitor { background: #ffffff; color: #1f3181; border-color: #1f3181; }
.pmws-door__btn--visitor:hover { background: #eaf2fb; }
.pmws-door__privacy { margin: 1.25rem 0 0; text-align: center; font-size: .85rem; color: #6b7a86; }
@media (max-width: 600px) {
	.pmws-door { padding: 1rem; align-items: flex-start; }
	.pmws-door__panel { padding: 1.75rem 1.25rem 1.5rem; }
	.pmws-door__fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
	.pmws-door__panel { animation: pmws-door-in .25s ease-out; }
	@keyframes pmws-door-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Theme button styles (pink outline) were overriding these. 2026-10-30 */
.pmws-door button.pmws-door__btn { border-radius: 999px !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; line-height: 1.3 !important; }
.pmws-door button.pmws-door__btn--primary,
.pmws-door button.pmws-door__btn--primary:focus { background: #f7d64b !important; color: #193954 !important; border: 2px solid #f7d64b !important; }
.pmws-door button.pmws-door__btn--primary:hover { background: #f3cb2e !important; border-color: #f3cb2e !important; color: #193954 !important; }
.pmws-door button.pmws-door__btn--visitor,
.pmws-door button.pmws-door__btn--visitor:focus { background: #ffffff !important; color: #1f3181 !important; border: 2px solid #1f3181 !important; }
.pmws-door button.pmws-door__btn--visitor:hover { background: #eaf2fb !important; color: #1f3181 !important; }
.pmws-door button.pmws-door__btn:focus-visible { outline: 3px solid #00518f !important; outline-offset: 3px; }

