/* RennovaClin Portal de Acesso — estilos do modal de login/cadastro/minha conta */

.rpa-overlay {
	position: fixed;
	inset: 0;
	background: rgba(59, 14, 23, 0.55);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.rpa-overlay[hidden] {
	display: none !important;
}

.rpa-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow-y: auto;
	background: #F6EEDD;
	border-radius: 16px;
	padding: 32px 28px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	font-family: 'Inter', sans-serif;
	color: #3B0E17;
}

.rpa-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: transparent;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #3B0E17;
	cursor: pointer;
	padding: 4px 8px;
}

.rpa-title {
	font-family: 'Fraunces', serif;
	font-size: 24px;
	color: #3B0E17;
	margin: 0 0 20px;
	text-align: center;
}

.rpa-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rpa-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #8A6A3B;
}

.rpa-form input[type="text"],
.rpa-form input[type="email"],
.rpa-form input[type="tel"],
.rpa-form input[type="password"] {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	padding: 11px 14px;
	border-radius: 10px;
	border: 1px solid #DCC9A8;
	background: #fff;
	color: #3B0E17;
	outline: none;
	width: 100%;
	box-sizing: border-box;
}
.rpa-form input:focus {
	border-color: #B8925A;
	box-shadow: 0 0 0 3px rgba(184, 146, 90, 0.25);
}

.rpa-pass-wrap {
	position: relative;
	display: block;
}
.rpa-pass-wrap input {
	padding-right: 42px !important;
}
.rpa-toggle-pass {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 16px;
	padding: 6px;
	opacity: .6;
}
.rpa-toggle-pass:hover {
	opacity: 1;
}

.rpa-pass-checklist {
	list-style: none;
	margin: -4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: #a44;
}
.rpa-pass-checklist li {
	padding-left: 18px;
	position: relative;
}
.rpa-pass-checklist li::before {
	content: "\2717";
	position: absolute;
	left: 0;
	color: #c0392b;
}
.rpa-pass-checklist li.is-ok {
	color: #2f7d4f;
}
.rpa-pass-checklist li.is-ok::before {
	content: "\2713";
	color: #2f7d4f;
}

.rpa-pass-strength {
	height: 5px;
	border-radius: 3px;
	background: #e6dcc7;
	overflow: hidden;
	margin-top: -6px;
}
.rpa-pass-strength span {
	display: block;
	height: 100%;
	width: 0%;
	background: #c0392b;
	transition: width .25s ease, background-color .25s ease;
}

.rpa-btn-primary {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 15px;
	background: #3B0E17;
	color: #F6EEDD;
	border: none;
	border-radius: 999px;
	padding: 13px 20px;
	cursor: pointer;
	margin-top: 4px;
	transition: background-color .2s ease, transform .15s ease;
}
.rpa-btn-primary:hover {
	background: #58141F;
	transform: translateY(-1px);
}

.rpa-switch {
	text-align: center;
	font-size: 13px;
	margin: 14px 0 0;
	color: #6b5236;
}
.rpa-switch a {
	color: #B8925A;
	font-weight: 700;
	text-decoration: none;
}
.rpa-switch a:hover {
	text-decoration: underline;
}

.rpa-privacy {
	font-size: 11px;
	color: #8A6A3B;
	margin: 0;
}
.rpa-privacy a {
	color: #8A6A3B;
	text-decoration: underline;
}

.rpa-form-msg {
	font-size: 13px;
	min-height: 18px;
}
.rpa-form-msg.is-error {
	color: #c0392b;
}
.rpa-form-msg.is-success {
	color: #2f7d4f;
}

.rpa-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
	border-bottom: 1px solid #DCC9A8;
}
.rpa-tab-btn {
	background: transparent;
	border: none;
	padding: 8px 6px 12px;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: #8A6A3B;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.rpa-tab-btn.is-active {
	color: #3B0E17;
	border-bottom-color: #B8925A;
}

.rpa-tab-panel[hidden] {
	display: none;
}


/* Abas Entrar / Cadastre-se no topo do modal */
.rpa-tabs-top {
	display: flex;
	gap: 8px;
	margin: 0 0 22px;
	border-bottom: 2px solid rgba(59, 14, 23, 0.12);
}
.rpa-tab-btn {
	flex: 1 1 50%;
	background: transparent;
	border: none;
	font-family: 'Fraunces', serif;
	font-weight: 700;
	font-size: 17px;
	color: #6b5236;
	padding: 8px 8px 14px;
	cursor: pointer;
	position: relative;
	transition: color .2s ease;
}
.rpa-tab-btn::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: transparent;
	transition: background-color .2s ease;
}
.rpa-tab-btn.is-active {
	color: #3B0E17;
}
.rpa-tab-btn.is-active::after {
	background: #B8925A;
}
.rpa-tab-btn:hover {
	color: #3B0E17;
}
@keyframes rpa-tab-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .3; }
}
.rpa-tab-blink {
	animation: rpa-tab-blink 1.1s ease-in-out infinite;
}
.rpa-modal.rpa-hide-tabs .rpa-tabs-top {
	display: none;
}
