/* PerfumeUAE Email Code Login. Inherits the theme's font, colours and button styles. */
.peo { --peo-line: rgba(0, 0, 0, .12); --peo-muted: #6b6b6b; --peo-err: #b3261e; --peo-ok: #1e7b3a; }

.peo-card[hidden], .peo-step[hidden], .peo-password[hidden], .peo-msg[hidden] { display: none !important; }

.peo-card {
	max-width: 420px;
	margin: 0 auto 1.5em;
	padding: 28px 28px 20px;
	border: 1px solid var(--peo-line);
	border-radius: 10px;
	background: #fff;
	text-align: left;
}
.peo--checkout .peo-card { max-width: none; margin: 0 0 1.5em; }

.peo-title { margin: 0 0 6px; font-size: 1.35em; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.peo-sub { margin: 0 0 20px; color: var(--peo-muted); font-size: .92em; line-height: 1.5; }

.peo-label { display: block; margin: 0 0 6px; font-weight: 600; font-size: .9em; }
.peo .peo-input { width: 100%; margin: 0 0 14px; height: 46px; font-size: 16px; border-radius: 6px; }
.peo .peo-code { font-family: Menlo, Consolas, "Liberation Mono", monospace; font-size: 24px; letter-spacing: .45em; text-align: center; padding-left: .45em; }
.peo .peo-btn { width: 100%; margin: 0 0 4px; min-height: 46px; border-radius: 6px; }
.peo-card.is-busy .peo-btn { opacity: .75; cursor: progress; }

.peo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.peo-sent { margin: 0 0 16px; font-size: .95em; line-height: 1.5; word-break: break-word; }

.peo-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: .88em; }
.peo-hint { color: var(--peo-muted); }

.peo .peo-link {
	display: inline; padding: 0; margin: 0; min-height: 0; border: 0; background: none; box-shadow: none;
	color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px;
	text-transform: none; letter-spacing: 0; line-height: inherit; cursor: pointer;
}
.peo .peo-link:disabled { color: var(--peo-muted); text-decoration: none; font-weight: 400; cursor: default; }

.peo-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 6px; font-size: .9em; line-height: 1.45; background: #f4f4f4; }
.peo-msg.is-error { background: #fdecea; color: var(--peo-err); }
.peo-msg.is-ok { background: #e8f5ec; color: var(--peo-ok); }

.peo-alt { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--peo-line); font-size: .9em; text-align: center; }
.peo-alt--top { max-width: 420px; margin: 0 auto 18px; padding: 0 0 14px; border-top: 0; border-bottom: 1px solid var(--peo-line); }

/* Password fallback: show only the login column when password sign-up is hidden. */
.peo--hide-reg .peo-password #customer_login > .col-2,
.peo--hide-reg .peo-password #customer_login > .u-column2 { display: none !important; }
.peo--hide-reg .peo-password #customer_login > .col-1,
.peo--hide-reg .peo-password #customer_login > .u-column1 { flex-basis: 100% !important; max-width: 420px !important; width: 100% !important; margin: 0 auto !important; float: none !important; border: 0 !important; }
.peo--hide-reg .peo-password #customer_login > .col-1::after { display: none !important; }
.peo--hide-reg .peo-password > .account-container,
.peo--hide-reg .peo-password > .woocommerce-form-login,
.peo--hide-reg .peo-password > h2 { max-width: 420px; margin-left: auto; margin-right: auto; }

/* Flatsome popup: the lightbox is wide; keep our card centred and compact. */
.lightbox-content .peo-card { border: 0; border-radius: 0; margin: 0 auto; padding: 30px; }
.lightbox-content .peo-password { padding-top: 24px; }

@media (max-width: 549px) {
	.peo-card { padding: 22px 18px 16px; }
}
