/* Login Mi cuenta — FUNDACIÓN PRL (alineado con maqueta account-page) */

/* Barra «Detalles de la cuenta» = .account-title */
.logged-out.woocommerce-account .site-content,
.logged-out.woocommerce-account .content-area {
	background: #f4f4f5;
}

.logged-out.woocommerce-account .font-page-prl {
	background: #ead0db;
	text-align: center;
	padding: 28px 20px;
	border-radius: 0;
	margin-bottom: 0;
}

.logged-out.woocommerce-account .font-page-prl .entry-title {
	margin: 0;
	font-size: 38px;
	font-weight: 800;
	color: #061b3a;
}

.logged-out.woocommerce-account .inside-article.container {
	max-width: 1180px;
}

.logged-out.woocommerce-account .entry-content {
	padding-top: 0;
}

/* .account-page */
.fprl-login-page,
.fprl-login-page *,
.fprl-login-page *::before,
.fprl-login-page *::after {
	box-sizing: border-box;
}

.fprl-login-page {
	background: #f4f4f5;
	padding: 45px 20px 60px;
	margin: 0 -20px 0;
	font-family: 'Inter', Arial, sans-serif;
	color: #061b3a;
}

/* .account-wrap */
.fprl-login-container {
	max-width: 1180px;
	margin: 0 auto;
}

/* .account-intro */
.fprl-login-intro {
	margin-bottom: 0;
}

.fprl-login-intro h2 {
	font-size: 30px;
	margin: 0 0 12px;
	font-weight: 800;
	color: #061b3a;
	line-height: 1.2;
}

.fprl-login-intro p {
	font-size: 17px;
	margin: 0 0 30px;
	color: #263852;
	line-height: 1.5;
	max-width: none;
}

/* .account-main */
.fprl-login-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-bottom: 28px;
	align-items: stretch;
}

/* .login-card, .image-card */
.fprl-login-card,
.fprl-login-media {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	border: 1px solid #e8e8ec;
}

.fprl-login-card {
	padding: 36px;
}

.fprl-login-card-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 28px;
}

.fprl-login-icon {
	width: 64px;
	height: 64px;
	min-width: 64px;
	border-radius: 50%;
	background: #ead0db;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #061b3a;
}

.fprl-login-icon svg {
	width: 30px;
	height: 30px;
}

.fprl-login-icon .fprl-icon-img {
	width: 40px;
	height: 40px;
	max-width: 85%;
	max-height: 85%;
	object-fit: contain;
	display: block;
}

.fprl-login-icon svg circle,
.fprl-login-icon svg path {
	stroke: #061b3a;
}

.fprl-login-card-head h3 {
	font-size: 28px;
	margin: 0 0 6px;
	font-weight: 700;
	color: #061b3a;
}

.fprl-login-card-head p {
	margin: 0;
	color: #44536a;
	font-size: 16px;
}

.fprl-login-card .woocommerce-form-login {
	margin: 0;
}

.fprl-login-card label {
	display: block;
	font-weight: 700;
	margin: 22px 0 8px;
	font-size: 16px;
	color: #061b3a;
}

.fprl-login-card label:first-of-type {
	margin-top: 0;
}

.fprl-login-card .required {
	color: #d94b78;
}

.fprl-login-card .form-row {
	margin: 0;
	padding: 0;
}

.fprl-login-card input.input-text {
	width: 100%;
	height: 52px;
	border: 1px solid #cfd6e2;
	border-radius: 9px;
	padding: 0 16px;
	font-size: 16px;
	background: #fff;
	color: #061b3a;
}

.fprl-login-card input.input-text:focus {
	outline: none;
	border-color: #ead0db;
	box-shadow: 0 0 0 3px rgba(234, 208, 219, 0.35);
}

/* .password-box */
.fprl-password-wrap {
	display: block;
	position: relative;
}

.fprl-password-wrap input {
	padding-right: 52px;
}

.fprl-toggle-password {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	line-height: 0;
	width: 36px;
	height: 36px;
	color: #061b3a;
}

.fprl-toggle-password:hover,
.fprl-toggle-password:focus {
	color: #061b3a;
	opacity: 0.75;
	outline: none;
}

.fprl-toggle-password span {
	position: absolute;
	inset: 0;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	height: 100%;
}

.fprl-toggle-password svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}

.fprl-toggle-password .fprl-eye-closed {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.fprl-toggle-password .fprl-eye-open {
	opacity: 1;
	visibility: visible;
}

.fprl-toggle-password.is-visible .fprl-eye-open {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.fprl-toggle-password.is-visible .fprl-eye-closed {
	opacity: 1;
	visibility: visible;
	pointer-events: none;
}

/* .login-actions */
.fprl-login-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 28px;
	margin-bottom: 0;
}

.fprl-login-actions-primary {
	flex: 0 0 auto;
}

.fprl-login-card button.woocommerce-form-login__submit {
	width: auto;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: #061b3a !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	padding: 0 34px !important;
	cursor: pointer;
}

.fprl-login-card button.woocommerce-form-login__submit:hover {
	opacity: 0.95;
	background: #061b3a !important;
	color: #fff !important;
}

.fprl-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	background: transparent !important;
}

.fprl-btn-icon svg,
.fprl-btn-icon .fprl-icon-img {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	object-fit: contain;
	display: block;
	background: transparent !important;
}

.fprl-btn-icon .fprl-icon-lock {
	width: 30px;
	height: 30px;
	color: #fff;
}

.fprl-btn-icon svg path,
.fprl-btn-icon svg rect {
	stroke: #fff;
}

/* .remember */
.fprl-remember {
	margin: 0 !important;
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #061b3a;
}

/* .forgot-link */
.fprl-lost-password {
	margin: 26px 0 0 !important;
}

.fprl-lost-password a {
	color: #d94b78 !important;
	font-weight: 800;
	text-decoration: none;
}

.fprl-lost-password a:hover {
	text-decoration: underline;
}

/* .image-card */
.fprl-login-media {
	overflow: hidden;
	padding: 0;
	min-height: 0;
}

.fprl-login-media img {
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	display: block;
}

/* .help-card */
.fprl-login-help {
	margin-top: 0;
	margin-bottom: 28px;
	padding: 26px 20px;
	display: grid;
	grid-template-columns: 1.6fr 0.7fr 0.7fr;
	gap: 28px;
	align-items: center;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	border: 1px solid #e8e8ec;
}

.fprl-help-item {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 0;
	border: none;
}

.fprl-help-item:not(:first-child) {
	border-left: 1px solid #e1e4ea;
	padding-left: 28px;
	gap: 14px;
}

.fprl-help-icon {
	width: 64px;
	height: 64px;
	min-width: 64px;
	border-radius: 50%;
	background: #ead0db;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.fprl-help-item:not(:first-child) .fprl-help-icon {
	width: 54px;
	height: 54px;
	min-width: 54px;
}

.fprl-help-icon svg,
.fprl-help-icon .fprl-icon-img {
	flex-shrink: 0;
	object-fit: contain;
	display: block;
}

.fprl-help-item:first-child .fprl-help-icon svg,
.fprl-help-item:first-child .fprl-help-icon .fprl-icon-img {
	width: 44px;
	height: 44px;
	max-width: 85%;
	max-height: 85%;
}

.fprl-help-item:not(:first-child) .fprl-help-icon svg,
.fprl-help-item:not(:first-child) .fprl-help-icon .fprl-icon-img {
	width: 28px;
	height: 28px;
	max-width: 80%;
	max-height: 80%;
}

.fprl-help-item h4 {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: #061b3a;
}

.fprl-help-item p {
	margin: 0;
	font-size: 16px;
	color: #263852;
	line-height: 1.5;
}

.fprl-help-item a {
	color: #263852 !important;
	text-decoration: none;
	font-weight: 600;
}

.fprl-help-item a:hover {
	color: #061b3a !important;
}

/* .features-grid */
.fprl-login-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.fprl-feature-item {
	background: #fff;
	border: 1px solid #e8e8ec;
	border-radius: 18px;
	padding: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	display: flex;
	align-items: center;
	gap: 18px;
}

.fprl-feature-icon {
	width: 64px;
	height: 64px;
	min-width: 64px;
	border-radius: 50%;
	background: #ead0db;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.fprl-feature-icon svg,
.fprl-feature-icon .fprl-icon-img {
	width: 40px;
	height: 40px;
	max-width: 85%;
	max-height: 85%;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}

.fprl-feature-body {
	flex: 1;
	min-width: 0;
}

.fprl-feature-body h4 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: #061b3a;
}

.fprl-feature-body p {
	margin: 0;
	font-size: 16px;
	color: #263852;
	line-height: 1.5;
}

.fprl-login-page .woocommerce-notices-wrapper {
	margin-bottom: 20px;
}

/* Registro WooCommerce (col2-set) */
.woocommerce-account #customer_login.col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
	border: none;
	margin-top: 0;
}

.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
	width: 100% !important;
	float: none !important;
}

.woocommerce-account #customer_login .fprl-login-page {
	margin: 0;
	padding: 45px 20px 60px;
}

.woocommerce-account #customer_login .u-column2 {
	background: #fff;
	border: 1px solid #e8e8ec;
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* .account-main responsive @ 900px */
@media (max-width: 900px) {
	.fprl-login-grid {
		grid-template-columns: 1fr;
	}

	.fprl-login-media img {
		min-height: 280px;
	}

	.fprl-login-help {
		grid-template-columns: 1fr;
		padding: 26px 24px;
		gap: 22px;
	}

	.fprl-help-item:not(:first-child) {
		border-left: none;
		padding-left: 0;
	}

	.fprl-login-features {
		grid-template-columns: 1fr;
	}

	.woocommerce-account #customer_login.col2-set {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.logged-out.woocommerce-account .font-page-prl .entry-title {
		font-size: 30px;
	}

	.fprl-login-page {
		padding: 30px 12px 40px;
		margin: 0 -12px;
	}

	.fprl-login-card {
		padding: 26px;
	}

	.fprl-login-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.fprl-login-card button.woocommerce-form-login__submit {
		width: 100%;
	}

	.fprl-remember {
		justify-content: flex-start;
	}
}
