.po-auth-modal[hidden],
.po-auth-social__gis {
	display: none !important;
}

.po-auth-modal {
	position: fixed;
	inset: 0;
	z-index: 100002;
}

.po-auth-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.po-auth-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(420px, 92vw);
	margin: 8vh auto;
	padding: 28px 24px 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
}

.po-auth-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	color: #000203;
	cursor: pointer;
}

.po-auth-modal__close:hover,
.po-auth-modal__close:focus-visible {
	background: rgba(0, 0, 0, 0.06);
}

.po-auth-modal__logo {
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 auto 16px;
	border-radius: 50%;
	object-fit: cover;
}

.po-auth-modal__title {
	margin: 0 0 20px;
	font-family: "Poppins", sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: #000203;
}

.po-auth-modal__input {
	display: block;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #b0b0b0;
	border-radius: 8px;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	color: #000203;
	box-sizing: border-box;
}

.po-auth-modal__input:focus {
	outline: 2px solid var(--po-primary);
	border-color: var(--po-primary);
}

.po-auth-modal__continue {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 14px 16px;
	border: 0;
	border-radius: 8px;
	background: var(--po-accent);
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #000203;
	cursor: pointer;
}

.po-auth-modal__continue:hover,
.po-auth-modal__continue:focus-visible {
	background: #e6be00;
}

.po-auth-modal__divider,
.po-auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0;
	color: #717171;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
}

.po-auth-modal__divider::before,
.po-auth-modal__divider::after,
.po-auth-divider::before,
.po-auth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #dddddd;
}

.po-auth-social__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.po-auth-social__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 12px;
	border: 1px solid #222222;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}

.po-auth-social__btn:hover:not(:disabled),
.po-auth-social__btn:focus-visible:not(:disabled) {
	background: #f7f7f7;
}

.po-auth-social__btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.po-auth-social__btn svg {
	width: 22px;
	height: 22px;
}

.po-auth-social__btn--apple svg {
	width: 20px;
	height: 20px;
}

.po-auth-modal__footer {
	margin: 18px 0 0;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	text-align: center;
	color: #4b4b4b;
}

.po-auth-modal__footer a {
	color: #000203;
	font-weight: 600;
}

.po-member-auth .po-auth-social {
	margin-top: 0;
}

.po-member-auth .po-auth-divider {
	margin: 20px 0 16px;
}

@media (max-width: 767px) {
	.po-auth-modal__dialog {
		margin: 4vh auto;
		padding: 24px 18px 18px;
	}
}

/* Menu — conta / log out */
.po-member-login--logged-in > a,
.po-member-login--logged-in > .po-member-menu-user {
	display: flex;
	align-items: center;
}

.po-member-menu-user {
	position: relative;
	display: flex;
	align-items: center;
}

.po-member-menu-user__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--po-header-util-size, 28px);
	height: var(--po-header-util-size, 28px);
	min-width: var(--po-header-util-size, 28px);
	min-height: var(--po-header-util-size, 28px);
	padding: 0;
	border: 2px solid var(--po-primary);
	border-radius: 50%;
	background: #fff;
	color: #000203;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.po-member-menu-user__toggle:hover,
.po-member-menu-user__toggle:focus-visible,
.po-member-menu-user.is-open .po-member-menu-user__toggle {
	border-color: rgba(0, 2, 3, 0.28);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.po-member-menu-user__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--po-header-util-size, 28px) - 6px);
	height: calc(var(--po-header-util-size, 28px) - 6px);
	overflow: hidden;
	border-radius: 50%;
}

.po-member-menu-user__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Menu de conta — estilos principais em placeoversea-design-system.css */

/* Override tema hello-elementor (botões globais rosa #CC3366) */
button.po-auth-modal__continue,
.po-member-auth button.po-auth-modal__continue {
	background: var(--po-accent) !important;
	color: #000203 !important;
	border: 0 !important;
}

button.po-auth-modal__continue:hover,
button.po-auth-modal__continue:focus,
.po-member-auth button.po-auth-modal__continue:hover,
.po-member-auth button.po-auth-modal__continue:focus {
	background: #e6be00 !important;
	color: #000203 !important;
}

button.po-member-auth-switch {
	background: transparent !important;
	border: 0 !important;
	color: #000203 !important;
}

button.po-auth-modal__close,
button.po-auth-social__btn,
button.po-member-menu-user__toggle {
	background: #ffffff !important;
	border: 2px solid var(--po-primary) !important;
	color: #000203 !important;
}

button.po-auth-modal__close:hover,
button.po-auth-modal__close:focus,
button.po-auth-social__btn:hover:not(:disabled),
button.po-auth-social__btn:focus-visible:not(:disabled),
button.po-member-menu-user__toggle:hover,
button.po-member-menu-user__toggle:focus-visible {
	background: rgba(0, 0, 0, 0.06) !important;
	color: #000203 !important;
}

button.po-auth-social__btn {
	border: 1px solid #222222 !important;
	background: #fff !important;
}

button.po-accom-card__favorite {
	color: rgba(255, 255, 255, 0.95) !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

button.po-accom-card__favorite:hover,
button.po-accom-card__favorite:focus {
	color: rgba(255, 255, 255, 0.95) !important;
	background: transparent !important;
}

button.po-accom-card__favorite.is-saved,
button.po-accom-card__favorite.is-saved:hover,
button.po-accom-card__favorite.is-saved:focus {
	color: var(--po-accent) !important;
	background: transparent !important;
}

button.po-accom-card__nav {
	color: #000203 !important;
	background: rgba(255, 255, 255, 0.92) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

button.po-accom-card__nav:hover,
button.po-accom-card__nav:focus {
	color: #000203 !important;
	background: #fff !important;
}
