/* wp-content/plugins/ceca-widgets/widgets/login/login.css */
/* Login (Figma 2662:4574): 636px centred column — "Member Login" 30/40
   heading, 18/29 labels over 636×60 radius-10 bordered fields on a ~129px
   rhythm (label 29 + 10 + field 60 + 30), black 186×45 Login pill 30px
   under the last field. */

.ceca-lg {
	--ceca-lg-btn: #000;
	--ceca-lg-border: #e3e3e3;

	max-width: 636px;
	margin: 0 auto;
}

.ceca-lg .ceca-lg__heading {
	margin: 0 0 30px;
	font-size: 30px;
	line-height: 40px;
	font-weight: 700;
	color: #000;
}

/* --- login <-> lost-password 3D card flip -------------------------------- */
/* Panels stack in one grid cell and counter-rotate like the two faces of a
   card: the outgoing face turns away while the incoming one turns in from
   its back, with backface-visibility doing the reveal at 90°. Visibility
   flips only AFTER the turn (0s transition, delayed) so the outgoing panel
   stays on screen while rotating but its fields stop being tabbable once
   it's gone. */

.ceca-lg__panels {
	display: grid;
	perspective: 1600px;
}

.ceca-lg__panel {
	grid-area: 1 / 1;
	backface-visibility: hidden;
	transform: rotateY(0);
	visibility: visible;
	transition: transform 0.6s cubic-bezier(0.4, 0.1, 0.2, 1), visibility 0s 0s;
}

.ceca-lg__panel[hidden] {
	display: block;
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.6s cubic-bezier(0.4, 0.1, 0.2, 1), visibility 0s 0.6s;
}

.ceca-lg__panel--login[hidden] {
	transform: rotateY(180deg);
}

.ceca-lg__panel--lost[hidden] {
	transform: rotateY(-180deg);
}

@media (prefers-reduced-motion: reduce) {
	.ceca-lg__panel {
		transition: opacity 0.25s ease, visibility 0s 0s;
	}

	.ceca-lg__panel[hidden] {
		transform: none;
		opacity: 0;
		transition: opacity 0.25s ease, visibility 0s 0.25s;
	}
}

.ceca-lg__intro {
	margin: -10px 0 30px;
	font-size: 18px;
	line-height: 29px;
	color: #000;
}

.ceca-lg__field {
	display: block;
	margin-bottom: 30px;
}

.ceca-lg__field span {
	display: block;
	margin-bottom: 10px;
	font-size: 18px;
	line-height: 29px;
	color: #000;
}

.ceca-lg .ceca-lg__field input {
	width: 100%;
	height: 60px;
	padding: 0 18px;
	border: 1px solid var(--ceca-lg-border);
	border-radius: 10px;
	background: #fff;
	font-size: 18px;
	color: #000;
}

.ceca-lg .ceca-lg__field input:focus {
	outline: none;
	border-color: #c65a93;
	box-shadow: inset 0 0 0 1px #c65a93;
}

.ceca-lg .ceca-lg__button,
.ceca-lg .ceca-lg__button:hover,
.ceca-lg .ceca-lg__button:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 186px;
	min-height: 45px;
	padding: 5px 28px;
	border: 0;
	border-radius: 300px;
	background: var(--ceca-lg-btn);
	color: #fff;
	font-size: 18px;
	line-height: 26px;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.ceca-lg .ceca-lg__button:hover,
.ceca-lg .ceca-lg__button:focus {
	opacity: 0.85;
}

.ceca-lg .ceca-lg__lost,
.ceca-lg .ceca-lg__back {
	display: inline-block;
	margin-left: 24px;
	font-size: 16px;
	line-height: 26px;
	color: #000;
	text-decoration: underline;
	text-underline-position: from-font;
	cursor: pointer;
}

.ceca-lg__loggedin {
	margin: 0 0 20px;
	font-size: 18px;
	line-height: 30px;
	color: #000;
}

.ceca-lg__notice {
	margin: 0 0 24px;
	padding: 14px 20px;
	background: #fff;
	border: 1px solid var(--ceca-lg-border);
	border-radius: 6px;
	font-size: 16px;
	line-height: 26px;
	color: #1a1a1a;
}

.ceca-lg__notice--error {
	border-left: 4px solid #b32d2e;
}

.ceca-lg__notice--info {
	border-left: 4px solid #c65a93;
}

/* Phones: the link always sits on its own line under the button, flush
   left — inline it wrapped below with the 24px side margin still applied
   (user, 2026-10-05). */
@media (max-width: 767px) {
	.ceca-lg .ceca-lg__lost,
	.ceca-lg .ceca-lg__back {
		display: block;
		width: fit-content;
		margin: 16px 0 0;
	}
}
