/* Bubols · Acceso a cuenta. Spec: diseño.pen "08-MiCuenta-Login-Desktop" → Tarjeta. */
.elementor-widget-bubols-account-access { width: 100%; }

.bacc {
	--bacc-card: #FFFFFF; --bacc-ink: #1D2847; --bacc-line: #E3E7F0; --bacc-yellow: #FDD743; --bacc-blue: #1F408D;
	--bacc-cream: #FFFFFF; --bacc-pale: #FDD743; --bacc-g1: #3D476B; --bacc-g2: #5A628A; --bacc-g3: #8A8FA3;
	box-sizing: border-box; width: 100%; max-width: 520px; margin-inline: auto; font-family: Nunito, system-ui, sans-serif; color: var(--bacc-ink);
}
/* Inside a My Account grid (menu + content) the guest card spans every column so it stays centred. */
.woocommerce > .bacc { grid-column: 1 / -1; }

.bacc *, .bacc *::before, .bacc *::after { box-sizing: border-box; }
.bacc svg { display: block; flex: none; }
.bacc a { text-decoration: none; }
:where(.bacc) button { appearance: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; text-transform: none; cursor: pointer; }
.bacc :focus-visible { outline: 2px solid var(--bacc-ink); outline-offset: 2px; }

.bacc__card { display: flex; flex-direction: column; gap: 18px; padding: 36px; border: 1.5px solid var(--bacc-line); border-radius: 28px; background: var(--bacc-card); box-shadow: 0 12px 40px rgba(29, 40, 71, .08); }
.bacc .bacc__title { margin: 0; padding: 0; font: 900 34px/1.12 Nunito, system-ui, sans-serif; letter-spacing: -.6px; color: var(--bacc-ink); }
.bacc .bacc__lead { margin: 0; font: 600 15.5px/1.55 Nunito, system-ui, sans-serif; color: var(--bacc-g1); }

.bacc__notices:empty { display: none; }
.bacc__notices ul, .bacc__notices .woocommerce-error, .bacc__notices .woocommerce-message, .bacc__notices .woocommerce-info { margin: 0; padding: 12px 16px; list-style: none; border: 0; border-radius: 16px; font: 700 14px/1.45 Nunito, system-ui, sans-serif; color: var(--bacc-ink); }
.bacc__notices .woocommerce-error { background: #E01950; }
.bacc__notices .woocommerce-message, .bacc__notices .woocommerce-info { background: #F4F7E2; }
.bacc__notices ul::before, .bacc__notices .woocommerce-error::before, .bacc__notices .woocommerce-message::before, .bacc__notices .woocommerce-info::before { display: none; }
.bacc__notices li { margin: 0; padding: 0; }
.bacc__notices a { text-decoration: underline; }

.bacc__tabs { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--bacc-cream); }
.bacc button.bacc__tab { flex: 1 1 0; min-width: 0; padding: 10px 20px; border-radius: 999px; background: transparent; color: var(--bacc-ink); font: 800 14px/19px Nunito, system-ui, sans-serif; text-align: center; transition: background-color .15s, color .15s; }
.bacc button.bacc__tab[aria-selected="true"] { background: var(--bacc-ink); color: #fff; }
.bacc button.bacc__tab:not([aria-selected="true"]):hover { background: var(--bacc-pale); color: var(--bacc-ink); }

.bacc__panel { display: flex; flex-direction: column; gap: 18px; }
.bacc__panel[data-inactive] { display: none; }
/* WooCommerce core and Elementor Pro's My Account widget style form.login / form.register with very specific selectors
   (box, padding, fixed inline height, display:block while <body> is .woocommerce-no-js); the card owns its layout. */
.bacc form.bacc__form { display: flex !important; flex-direction: column; gap: 18px; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; text-align: left; }
.bacc form.bacc__form .woocommerce-privacy-policy-text { margin: 0 !important; font-size: inherit; }
.bacc__row { display: flex; flex-direction: column; gap: 6px; }
.bacc .bacc__label { margin: 0; font: 900 12px/1.3 Nunito, system-ui, sans-serif; letter-spacing: .6px; text-transform: uppercase; color: var(--bacc-g2); }
.bacc__field { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--bacc-line); border-radius: 999px; background: #fff; color: var(--bacc-g3); transition: border-color .15s, box-shadow .15s; }
.bacc__field:focus-within { border-color: var(--bacc-ink); box-shadow: 0 0 0 3px var(--bacc-pale); }
.bacc .bacc__field input { flex: 1; min-width: 0; height: auto; margin: 0; padding: 14px 0; border: 0; outline: 0; background: transparent; box-shadow: none; appearance: none; -webkit-appearance: none; font: 700 14.5px/20px Nunito, system-ui, sans-serif; color: var(--bacc-ink); }
.bacc .bacc__field input::placeholder { color: var(--bacc-g3); opacity: 1; }
.bacc .bacc__field input:focus-visible { outline: 0; }
.bacc__field > svg { width: 16px; height: 16px; }
.bacc button.bacc__eye { display: flex; align-items: center; justify-content: center; position: relative; color: var(--bacc-g3); }
.bacc button.bacc__eye:hover, .bacc button.bacc__eye:focus { background: none; color: var(--bacc-ink); }
.bacc__eye::after { content: ""; position: absolute; inset: -10px; }
.bacc__eye svg { width: 16px; height: 16px; }
.bacc__eye[aria-pressed="true"] .bacc__eye-on, .bacc__eye:not([aria-pressed="true"]) .bacc__eye-off { display: none; }

.bacc__forgot { display: flex; justify-content: flex-end; }
.bacc .bacc__forgot a, .bacc .bacc__legal a, .bacc .woocommerce-privacy-policy-text a, .bacc .bacc__notices a { color: var(--bacc-blue) !important; }
.bacc__forgot a { font: 800 14px/19px Nunito, system-ui, sans-serif; }
.bacc__forgot a:hover, .bacc__legal a { text-decoration: underline; }
.bacc .bacc__hint { margin: 0; font: 600 13.5px/1.5 Nunito, system-ui, sans-serif; color: var(--bacc-g2); }
.bacc__wc-hooks:empty { display: none; }
.bacc .woocommerce-privacy-policy-text p { margin: 0; font: 600 12.5px/1.5 Nunito, system-ui, sans-serif; color: var(--bacc-g3); }
.bacc .woocommerce-privacy-policy-text a { text-decoration: underline; }

.bacc .bacc__btn, .bacc button.bacc__btn { display: flex; align-items: center; justify-content: center; width: 100%; border-radius: 999px; text-align: center; transition: filter .15s, background-color .15s; }
.bacc .bacc__btn--primary, .bacc button.bacc__btn--primary { padding: 15px 24px; border: 0; background: var(--bacc-yellow); color: var(--bacc-ink); font: 900 16px/22px Nunito, system-ui, sans-serif; }
.bacc .bacc__btn--primary:hover, .bacc button.bacc__btn--primary:hover, .bacc button.bacc__btn--primary:focus { background: var(--bacc-yellow); color: var(--bacc-ink); filter: brightness(.95); }
.bacc .bacc__btn--ghost { padding: 12.5px 24px; border: 1.5px solid var(--bacc-ink); background: transparent; color: var(--bacc-ink); font: 900 15px/20px Nunito, system-ui, sans-serif; }
.bacc .bacc__btn--ghost:hover { background: var(--bacc-cream); color: var(--bacc-ink); }

.bacc__divider { display: flex; align-items: center; gap: 12px; font: 800 12.5px/17px Nunito, system-ui, sans-serif; color: var(--bacc-g3); }
.bacc__divider::before, .bacc__divider::after { content: ""; flex: 1; height: 1.5px; background: var(--bacc-line); }
.bacc .bacc__legal { margin: 0; font: 600 12.5px/1.5 Nunito, system-ui, sans-serif; text-align: center; color: var(--bacc-g3); }

.bacc a.bacc__btn--primary, .bacc a.bacc__btn--primary:hover, .bacc a.bacc__btn--ghost, .bacc a.bacc__btn--ghost:hover { color: var(--bacc-ink) !important; }

@media (max-width: 520px) {
	.bacc__card { gap: 16px; padding: 28px 20px; border-radius: 24px; }
	.bacc .bacc__title { font-size: 28px; }
	.bacc .bacc__lead { font-size: 15px; }
	.bacc button.bacc__tab { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.bacc button.bacc__tab, .bacc__field, .bacc .bacc__btn, .bacc button.bacc__btn { transition: none; }
}
