/* ==========================================
 * BCRA Deudores - Hybrid Ultimate CSS
 * Estilo: FUSION DEFINITIVA (v60.9.5)
 * Base: Full Functionality + Modal Premium + MP Checkout
 * ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Palette Corporativa "Trust Blue" & Slate */
    --bcra-primary: #1d1d1f;
    --bcra-secondary: #86868b;
    --bcra-accent: #0071e3;
    --bcra-bg-app: #f5f5f7;
    --bcra-surface: #ffffff;
    --bcra-border: #d2d2d7;

    /* Typography */
    --bcra-font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bcra-font-mono: 'DM Mono', 'SF Mono', 'Menlo', 'Monaco', monospace;

    /* Status Colors */
    --bcra-success: #10b981;
    --bcra-success-bg: #ecfdf5;
    --bcra-warning: #f59e0b;
    --bcra-warning-bg: #fffbeb;
    --bcra-danger: #ef4444;
    --bcra-danger-bg: #fef2f2;
    --bcra-whale: #b45309;
    --bcra-whale-bg: #fffbe6;

    /* Spacing & Depth */
    --bcra-radius: 12px;
    --bcra-shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --bcra-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* ==========================================
 * ANIMACIONES GLOBALES
 * ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pw-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bcd-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

html, body {
    background-color: #f5f5f5 !important;
}

/* ==========================================
 * LAYOUT FLUIDO MAESTRO
 * ========================================== */
.bcra-wrapper.apple-theme,
.bcra-wrapper {
    font-family: var(--bcra-font-sans);
    color: var(--bcra-primary);
    background: transparent;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;

    /* Mobile: full bleed */
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 60px calc(-50vw + 50%) !important;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Desktop: offset content to the right of the fixed sidebar */
@media (min-width: 769px) {
    .bcra-wrapper.apple-theme,
    .bcra-wrapper {
        width: calc(100vw - 185px) !important;
        max-width: calc(100vw - 185px) !important;
        margin: 32px 0 32px calc(-50vw + 50% + 185px) !important;
        padding: 0 52px 0 28px;
    }

    /* El anchor del Resumen Consolidado necesita el mismo escape de contenedor WP
       para quedar alineado a la derecha del sidebar, igual que .bcra-wrapper */
    .bcra-app--auth #bcra-dashboard-anchor {
        width: calc(100vw - 185px) !important;
        max-width: calc(100vw - 185px) !important;
        margin-left: calc(-50vw + 50% + 185px) !important;
        margin-right: 0 !important;
        padding: 0 52px 0 28px;
        box-sizing: border-box;
    }
}

/* Guest (not logged in): break out of WP container and center */
.bcra-app--guest {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 48px 0;
    box-sizing: border-box;
}

.bcra-app--guest .bcra-main-content {
    width: 100%;
    max-width: 680px;
    padding: 0 24px;
    box-sizing: border-box;
}

.bcra-app--guest .bcra-wrapper.apple-theme,
.bcra-app--guest .bcra-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bcra-wrapper * {
    box-sizing: border-box;
}

.num-mono {
    font-family: var(--bcra-font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
    font-weight: 500;
}

.bcra-hud-dashboard {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* ==========================================
 * BOTONES GLOBALES
 * ========================================== */
.bcra-btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--bcra-accent);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}

.bcra-btn-primary:hover {
    background: #005bb5;
    transform: translateY(-1px);
}

.bcra-btn-primary:active {
    transform: translateY(0);
}

.bcra-btn-secondary {
    display: block;
    width: 100%;
    padding: 12px;
    background: #f5f5f7;
    color: var(--bcra-primary);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
}

.bcra-btn-secondary:hover {
    background: #e5e5ea;
}

/* ==========================================
 * 1. PAYWALL — FULL-SCREEN
 * ========================================== */

body.bcra-paywall-open {
    overflow: hidden !important;
}

.bcra-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: #fafafa;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
}

.bcra-modal-content {
    width: 100%;
    max-width: 820px;
    max-height: calc(100dvh - 40px);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    animation: pw-slide-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.04s;
}

.pw-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding-top: 16px;
}

.pw-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f7ff;
    border: 1px solid #dbeafe;
    color: #0071e3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.pw-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    line-height: 1.2;
    font-family: var(--bcra-font-sans);
}

.pw-subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: #86868b;
    line-height: 1.4;
    font-weight: 400;
    font-family: var(--bcra-font-sans);
}

.pw-countdown-card {
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 18px;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pw-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--bcra-font-sans);
}

.pw-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.pw-countdown-num {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.04em;
    line-height: 1;
    min-width: 2.6ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
    display: block;
}

.pw-countdown-label {
    font-size: 0.58rem;
    font-weight: 600;
    color: #aeaeb2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--bcra-font-sans);
}

.pw-countdown-sep {
    font-size: 2.2rem;
    font-weight: 300;
    color: #d2d2d7;
    line-height: 1;
    margin-bottom: 18px;
}

.pw-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: #aeaeb2;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-family: var(--bcra-font-sans);
    flex-shrink: 0;
    text-transform: uppercase;
}

.pw-divider::before,
.pw-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ebebf0;
}

.pw-pricing-stack {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
    flex-shrink: 0;
}

.pw-plan-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 14px 14px;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    text-align: left;
}

.pw-plan-card:hover {
    border-color: #c7c7cc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.pw-plan-card.pw-plan-featured {
    background: #f0f6ff;
    border-color: #0071e3;
    border-width: 1.5px;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.08), 0 4px 16px rgba(0, 113, 227, 0.1);
    transform: scale(1.025);
}

.pw-plan-card.pw-plan-featured:hover {
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1), 0 8px 24px rgba(0, 113, 227, 0.16);
    transform: scale(1.025) translateY(-2px);
}

.pw-plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #0071e3;
    color: white;
    font-size: 0.57rem;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 20px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: var(--bcra-font-sans);
}

.pw-plan-header {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 10px;
}

.pw-plan-name {
    font-size: 0.66rem;
    font-weight: 600;
    color: #aeaeb2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--bcra-font-sans);
}

.pw-plan-price {
    font-family: var(--bcra-font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-top: 4px;
}

.pw-plan-period {
    font-size: 0.65rem;
    color: #aeaeb2;
    font-weight: 400;
    font-family: var(--bcra-font-sans);
    margin-top: 3px;
}

.pw-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.pw-plan-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.73rem;
    color: #3c3c43;
    font-weight: 400;
    line-height: 1.3;
    font-family: var(--bcra-font-sans);
}

.pw-plan-features li svg {
    color: #0071e3;
    flex-shrink: 0;
    opacity: 0.9;
}

.pw-plan-btn {
    display: block;
    width: 100%;
    padding: 9px 0;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--bcra-font-sans);
    background: #f2f2f7;
    color: #1d1d1f;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: -0.01em;
    text-align: center;
    margin-top: auto;
}

.pw-plan-btn:hover {
    background: #e5e5ea;
}

.pw-plan-btn:active {
    transform: scale(0.98);
}

.pw-plan-btn--featured {
    background: #0071e3;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.pw-plan-btn--featured:hover {
    background: #0077ed;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.4);
}

.pw-close-x {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e8e8ed;
    background: #fafafa;
    color: #86868b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    z-index: 10001;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pw-close-x:hover {
    background: #f0f0f5;
    border-color: #d2d2d7;
    color: #1d1d1f;
}

.pw-close-x:active {
    background: #e8e8ed;
}

.pw-footer-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #ebebf0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.pw-footer-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.63rem;
    color: #aeaeb2;
    font-family: var(--bcra-font-sans);
    font-weight: 400;
    white-space: nowrap;
}

.pw-footer-trust-item svg {
    color: #c7c7cc;
    flex-shrink: 0;
}

.pw-trust-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d2d2d7;
    flex-shrink: 0;
}

.mp-wallet-container {
    margin-top: 0;
    min-height: 0;
}

@media (max-width: 700px) {
    .bcra-modal-overlay {
        align-items: flex-start;
        padding: 20px 16px;
        overflow-y: auto;
    }

    .bcra-modal-content {
        max-height: none;
        overflow: visible;
        gap: 16px;
    }

    .pw-pricing-stack {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pw-plan-card.pw-plan-featured {
        transform: none;
        order: -1;
    }

    .pw-plan-price {
        font-size: 1.4rem;
    }

    .pw-title {
        font-size: 1.4rem;
    }
}

/* ==========================================
 * USER SIDEBAR PANEL (USB) — FIXED LEFT
 * Minimal · Apple
 * ========================================== */

/* Mobile trigger */
.usb-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 9000;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 10px;
    padding: 7px 10px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    font-family: var(--bcra-font-sans);
}

.usb-trigger:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.usb-trigger-avatar {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #1d1d1f;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.usb-trigger-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.usb-trigger-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1;
}

.usb-trigger-credits {
    font-size: 0.62rem;
    font-weight: 500;
    color: #86868b;
    line-height: 1;
}

.usb-trigger-chevron {
    color: #c7c7cc;
    flex-shrink: 0;
}

/* Backdrop — mobile only */
.usb-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.usb-backdrop--visible {
    opacity: 1;
    pointer-events: all;
}

/* Panel — slides from left on mobile, always visible on desktop */
.usb-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: 185px;
    height: 100dvh;
    background: #f5f5f5;
    z-index: 9200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.usb-panel--open {
    transform: translateX(0);
}

.usb-no-scroll {
    overflow: hidden !important;
}

/* Desktop: always visible, no backdrop, no toggle needed */
@media (min-width: 769px) {
    .usb-trigger {
        display: none !important;
    }

    .usb-backdrop {
        display: none !important;
    }

    .usb-panel {
        transform: translateX(0) !important;
        box-shadow: none !important;
    }
}

/* ---- Hero ---- */
.usb-hero {
    position: relative;
    background: #f5f5f5;
    padding: 122px 14px 14px;
    flex-shrink: 0;
}


.usb-hero-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.usb-hero-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background: #e8edf4; /* fondo para imágenes con transparencia (ej: Google) */
}

.usb-hero-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-family: var(--bcra-font-sans);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usb-hero-email {
    font-size: 0.65rem;
    color: #86868b;
    font-family: var(--bcra-font-sans);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.usb-hero-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #374151;
    font-family: var(--bcra-font-sans);
    margin-bottom: 8px;
    cursor: default;
    position: relative;
    overflow: hidden;
    transition: background 0.3s, box-shadow 0.3s;
}

.usb-hero-credits::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.45) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
    background-position: 200% 0;
    transition: none;
    pointer-events: none;
}

.usb-hero-credits:hover::after {
    background-position: -200% 0;
    transition: background-position 0.55s ease;
}

.usb-hero-credits:hover {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset;
}

.usb-hero-plan-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #174FBF;
    color: #ffffff !important;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--bcra-font-sans);
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    border: 1px solid #1239a0;
    outline: none !important;
    box-shadow: none !important;
}

.usb-hero-plan-link:hover {
    background: #1344a3;
    border-color: #0f2f86;
    text-decoration: none !important;
}

.usb-hero-plan-link:active {
    background: #0f2f86 !important;
    border-color: #0a2268 !important;
    transform: scale(0.98);
}

.usb-hero-plan-link--active,
.usb-hero-plan-link--active:hover {
    background: #0f2f86 !important;
    border-color: #0a2268 !important;
    color: #ffffff !important;
    cursor: default;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2) !important;
}

.usb-hero-plan-link:visited,
.usb-hero-plan-link:focus {
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.usb-hero-plan-link span {
    flex: 1;
}

.usb-hero-plan-link--muted {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
}
.usb-hero-plan-link--muted:hover {
    background: #e8edf4 !important;
    border-color: #b0bccf !important;
    color: #475569 !important;
}
.usb-hero-plan-link--muted:active {
    background: #dde3ec !important;
    border-color: #9aaabb !important;
    color: #334155 !important;
    transform: scale(0.98);
}
.usb-hero-plan-link--muted.usb-hero-plan-link--active,
.usb-hero-plan-link--muted.usb-hero-plan-link--active:hover {
    background: #dde3ec !important;
    border-color: #9aaabb !important;
    color: #334155 !important;
    cursor: default;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1) !important;
}
.usb-hero-plan-link--muted:visited,
.usb-hero-plan-link--muted:focus {
    color: #64748b !important;
}

/* ---- Body ---- */
.usb-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #e5e5ea transparent;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.usb-body::-webkit-scrollbar {
    width: 3px;
}

.usb-body::-webkit-scrollbar-track {
    background: transparent;
}

.usb-body::-webkit-scrollbar-thumb {
    background: #e5e5ea;
    border-radius: 4px;
}

/* ---- Navigation ---- */
.usb-nav {
    padding: 10px 6px 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.usb-nav-top-spacer {
    flex: 1;
    min-height: 8px;
}

.usb-nav-spacer {
    flex: 1;
    min-height: 12px;
}

.usb-nav-divider {
    height: 1px;
    background: #e5e5ea;
    margin: 6px 6px 4px;
    flex-shrink: 0;
}

.usb-nav-label {
    font-size: 0.55rem;
    font-weight: 600;
    color: #aeaeb2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 6px 5px;
    font-family: var(--bcra-font-sans);
}

.usb-nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 7px !important;
    border-radius: 7px !important;
    color: #3c3c43 !important;
    text-decoration: none !important;
    font-size: 0.77rem !important;
    font-weight: 500 !important;
    font-family: var(--bcra-font-sans) !important;
    transition: background 0.12s, color 0.12s !important;
    margin-bottom: 1px !important;
    position: relative !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important;
}

.usb-nav-item:hover {
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}

.usb-nav-item:focus,
.usb-nav-item:visited,
.usb-nav-item:active,
.usb-panel button:focus,
.usb-panel a:focus,
.usb-panel a:visited,
.usb-panel a:active {
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    border: none !important;
}

.usb-nav-item--active,
.usb-nav-item--active:hover {
    background: #ebebf0 !important;
    color: #1d1d1f !important;
    cursor: default;
}

.usb-nav-item--active .usb-nav-icon,
.usb-nav-item--active:hover .usb-nav-icon {
    color: #1d1d1f !important;
}

.usb-nav-item--soon {
    color: #c7c7cc;
    pointer-events: none;
}

/* Monochrome icon — no colored box */
.usb-nav-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #86868b;
    background: transparent;
    transition: color 0.12s;
}

.usb-nav-item:hover .usb-nav-icon {
    color: #1d1d1f;
}

/* Unified monochrome — remove colored variants */
.usb-nav-item--blue .usb-nav-icon,
.usb-nav-item--purple .usb-nav-icon,
.usb-nav-item--green .usb-nav-icon {
    background: transparent;
    color: #86868b;
}

.usb-nav-item--blue:hover .usb-nav-icon,
.usb-nav-item--purple:hover .usb-nav-icon,
.usb-nav-item--green:hover .usb-nav-icon {
    color: #1d1d1f;
}

.usb-nav-text {
    flex: 1;
    line-height: 1;
}

.usb-nav-arrow {
    display: none;
}

.usb-soon-badge {
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f5f5f7;
    color: #c7c7cc;
    border-radius: 4px;
    padding: 2px 5px;
    font-family: var(--bcra-font-sans);
}

.usb-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 5px 6px;
}

/* ---- History ---- */
.usb-history {
    padding: 4px 8px 0;
}

.usb-history-list {
    display: flex;
    flex-direction: column;
}

.usb-history-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 8px;
    border-radius: 8px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
    font-family: var(--bcra-font-sans);
}

.usb-history-btn:hover {
    background: #f5f5f7;
}

.usb-history-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: #1d1d1f;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.usb-history-meta {
    font-size: 0.6rem;
    color: #aeaeb2;
    flex-shrink: 0;
    font-family: var(--bcra-font-sans);
}

.usb-history-arrow {
    color: #d2d2d7;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s, transform 0.15s;
}

.usb-history-btn:hover .usb-history-arrow {
    opacity: 1;
    transform: translateX(0);
}

.usb-history-date-group {
    font-size: 0.56rem;
    font-weight: 700;
    color: #aeaeb2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 8px 4px;
    font-family: var(--bcra-font-sans);
}

/* ---- Footer ---- */
.usb-footer {
    padding: 4px 8px 24px;
    flex-shrink: 0;
    background: #f5f5f5;
}

.usb-logout-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding: 7px 8px;
    border-radius: 8px;
    color: #86868b;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--bcra-font-sans);
    transition: background 0.12s, color 0.12s;
    background: transparent;
}

.usb-logout-btn:hover {
    background: #fef2f2;
    color: #ef4444;
}

@media (max-width: 400px) {
    .usb-panel {
        width: 100vw;
    }
}

/* ---- Sidebar Carteras ---- */
.usb-carteras-section {
    padding: 0 8px 12px;
}

.usb-carteras-header {
    padding: 4px 0 2px;
}

.usb-carteras-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.usb-cartera-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.12s;
    font-family: var(--bcra-font-sans);
}

.usb-cartera-item:hover {
    background: #f5f5f7;
}

.usb-cartera-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.usb-cartera-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--bcra-font-sans);
}

.usb-cartera-count {
    font-size: 0.6rem;
    color: #aeaeb2;
    font-family: var(--bcra-font-sans);
}

.usb-cartera-actions {
    display: flex;
    align-items: center;
    gap: 3px;
    opacity: 0;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.usb-cartera-item:hover .usb-cartera-actions {
    opacity: 1;
}

.usb-cartera-run-btn,
.usb-cartera-del-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
}

.usb-cartera-run-btn {
    background: #f5f5f7;
    color: #3c3c43;
}

.usb-cartera-run-btn:hover {
    background: #ebebf0;
    color: #1d1d1f;
}

.usb-cartera-del-btn {
    background: #f5f5f7;
    color: #86868b;
}

.usb-cartera-del-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.usb-carteras-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 18px 10px;
    text-align: center;
}

.usb-carteras-empty svg {
    color: #d2d2d7;
}

.usb-carteras-empty p {
    font-size: 0.72rem;
    color: #86868b;
    margin: 0;
    line-height: 1.4;
    font-family: var(--bcra-font-sans);
}

.usb-carteras-empty button {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1d1d1f;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    font-family: var(--bcra-font-sans);
}

.usb-carteras-empty button:hover {
    text-decoration: underline;
}

.usb-cartera-count-badge {
    font-size: 0.56rem;
    font-weight: 600;
    background: #f0f0f0;
    color: #3c3c43;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 1px 6px;
    font-family: var(--bcra-font-sans);
    margin-left: auto;
    margin-right: 2px;
}

/* ==========================================
 * DASHBOARD CARTERAS
 * ========================================== */
.bcra-carteras-dashboard {
    max-width: 680px;
    margin: 0 auto;
    animation: fadeIn 0.35s ease-out;
    font-family: var(--bcra-font-sans);
}

.bcd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ebebf0;
}

.bcd-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1d1d1f;
}

.bcd-title-group svg {
    color: #7c3aed;
    flex-shrink: 0;
}

.bcd-title-group h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.025em;
    font-family: var(--bcra-font-sans);
}

.bcd-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--bcra-font-sans);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.22);
    white-space: nowrap;
}

.bcd-new-btn:hover {
    background: #0077ed;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
    transform: translateY(-1px);
}

.bcd-new-btn:active {
    transform: translateY(0);
}

.bcd-carteras-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.bcd-cartera-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 14px;
    background: #fff;
    border: 1px solid #ebebf0;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.15s;
    font-family: var(--bcra-font-sans);
}

.bcd-cartera-card:hover {
    border-color: #d2d2d7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    background: #fafafa;
}

.bcd-cartera-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.bcd-cartera-color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c3aed;
    flex-shrink: 0;
    opacity: 0.7;
}

.bcd-cartera-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bcd-cartera-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--bcra-font-sans);
}

.bcd-cartera-meta {
    font-size: 0.72rem;
    color: #86868b;
    font-family: var(--bcra-font-sans);
}

.bcd-cartera-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.bcd-btn-run {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f0f6ff;
    color: #0071e3;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--bcra-font-sans);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.bcd-btn-run:hover {
    background: #dbeafe;
    border-color: #bfdbfe;
    box-shadow: 0 2px 6px rgba(0, 113, 227, 0.12);
}

.bcd-btn-del {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #fee2e2;
    background: #fff5f5;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.bcd-btn-del:hover {
    background: #fee2e2;
    border-color: #fecaca;
}

.bcd-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 48px 24px;
    text-align: center;
}

.bcd-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f5f3ff;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bcd-empty-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
    font-family: var(--bcra-font-sans);
    letter-spacing: -0.015em;
}

.bcd-empty-sub {
    font-size: 0.78rem;
    color: #86868b;
    margin: 0;
    line-height: 1.5;
    font-family: var(--bcra-font-sans);
    max-width: 260px;
}

.bcd-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--bcra-font-sans);
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    margin-top: 6px;
}

.bcd-empty-btn:hover {
    background: #0064cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.bcd-empty-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.bcd-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bcd-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--bcra-font-sans);
}

.bcd-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #e2e2e7;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1d1d1f;
    background: #fafafa;
    font-family: var(--bcra-font-sans);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}

.bcd-input:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
    background: #fff;
}

.bcd-input::placeholder {
    color: #c7c7cc;
    font-weight: 400;
}

.bcd-tabs {
    display: flex;
    background: #f2f2f7;
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.bcd-tab {
    flex: 1;
    padding: 7px 10px;
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #86868b;
    background: transparent;
    cursor: pointer;
    font-family: var(--bcra-font-sans);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.bcd-tab:hover:not(.bcd-tab--active) {
    color: #1d1d1f;
}

.bcd-tab--active {
    background: #fff;
    color: #1d1d1f;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.bcd-tab-panel {
    display: none;
}

.bcd-tab-panel--active {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bcd-tab-hint {
    font-size: 0.75rem;
    color: #86868b;
    margin: 0;
    line-height: 1.5;
    font-family: var(--bcra-font-sans);
}

.bcd-tab-empty {
    text-align: center;
    padding: 24px 12px;
    color: #aeaeb2;
    font-size: 0.8rem;
    font-family: var(--bcra-font-sans);
}

.bcd-hist-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: #f7f7f8;
    border: 1px solid #e8e8ed;
    border-radius: 9px;
}

.bcd-hist-search svg {
    color: #aeaeb2;
    flex-shrink: 0;
}

.bcd-hist-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.82rem;
    color: #1d1d1f;
    outline: none;
    font-family: var(--bcra-font-sans);
}

.bcd-hist-search input::placeholder {
    color: #c7c7cc;
}

.bcd-hist-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e5ea transparent;
}

.bcd-hist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s;
    font-family: var(--bcra-font-sans);
}

.bcd-hist-item:hover {
    background: #f2f2f7;
}

.bcd-hist-check {
    width: 15px;
    height: 15px;
    accent-color: #7c3aed;
    flex-shrink: 0;
    cursor: pointer;
}

.bcd-hist-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bcd-hist-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bcd-hist-meta {
    font-size: 0.64rem;
    color: #aeaeb2;
}

.bcd-hist-actions {
    display: flex;
    gap: 12px;
}

.bcd-link-btn {
    font-size: 0.75rem;
    font-weight: 500;
    color: #0071e3;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--bcra-font-sans);
    transition: color 0.15s;
}

.bcd-link-btn:hover {
    color: #005bb5;
    text-decoration: underline;
}

.bcd-textarea {
    width: 100%;
    min-height: 110px;
    padding: 10px 12px;
    border: 1px solid #e2e2e7;
    border-radius: 10px;
    font-size: 0.84rem;
    color: #1d1d1f;
    background: #fafafa;
    font-family: var(--bcra-font-mono);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    line-height: 1.6;
}

.bcd-textarea:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
    background: #fff;
}

.bcd-textarea::placeholder {
    color: #d2d2d7;
    font-family: var(--bcra-font-mono);
}

.bcd-dropzone {
    border: 1.5px dashed #d2d2d7;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
}

.bcd-dropzone:hover,
.bcd-dz--over {
    border-color: #0071e3;
    background: #f0f7ff;
}

.bcd-dz-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 16px;
    color: #aeaeb2;
}

.bcd-dz-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: #86868b;
    font-family: var(--bcra-font-sans);
}

.bcd-dz-sub {
    font-size: 0.68rem;
    color: #c7c7cc;
    font-family: var(--bcra-font-sans);
    letter-spacing: 0.03em;
}

.bcd-dz-done {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #1d1d1f;
    font-family: var(--bcra-font-sans);
}

.bcd-dz-remove {
    margin-left: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #e2e2e7;
    background: #f2f2f7;
    color: #86868b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

.bcd-dz-remove:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
}

.bcd-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #15803d;
    font-family: var(--bcra-font-sans);
    font-weight: 500;
}

.bcd-preview-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
}

.bcd-chip {
    font-size: 0.68rem;
    font-weight: 500;
    background: #fff;
    border: 1px solid #d1fae5;
    color: #047857;
    border-radius: 6px;
    padding: 2px 7px;
    font-family: var(--bcra-font-mono);
    letter-spacing: 0.02em;
}

.bcd-chip--more {
    background: #ecfdf5;
    color: #10b981;
    border-color: #a7f3d0;
    font-family: var(--bcra-font-sans);
}

/* ==========================================
 * 2. HERO & INPUT SECTION
 * ========================================== */

.bcra-hero {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.bcra-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--bcra-primary);
    margin: 0 0 10px 0;
}

.bcra-subtitle {
    font-size: 1.1rem;
    color: var(--bcra-secondary);
    font-weight: 400;
    margin: 0;
}

.apple-search-container {
    background: var(--bcra-surface);
    border-radius: var(--bcra-radius);
    border: 1.5px solid var(--bcra-border);
    box-shadow: var(--bcra-shadow-soft);
    padding: 8px 8px 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 20;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 680px;
    margin: 0 auto;
}

.apple-search-container:focus-within {
    border-color: var(--bcra-accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12), var(--bcra-shadow-soft);
}

.search-icon {
    color: #c7c7cc;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.apple-search-container:focus-within .search-icon {
    color: var(--bcra-accent);
}

.apple-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--bcra-primary);
    padding: 0;
    resize: none;
    height: 22px;
    min-height: 22px;
    max-height: 400px;
    overflow-y: hidden;
    font-family: inherit;
    font-weight: 400;
    scrollbar-width: none;
}

.apple-input:focus {
    outline: none;
}

.apple-input.has-file {
    font-weight: 500;
    color: var(--bcra-primary);
}

.apple-input::placeholder {
    color: #b8b8c0;
    font-weight: 400;
}

.apple-inline-btn {
    background: var(--bcra-accent);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 16px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.apple-inline-btn:hover {
    background: #0064cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.apple-inline-btn:active {
    transform: translateY(0);
    box-shadow: none;
    opacity: 0.9;
}

.bcra-search-form.scanning-mode .apple-search-container {
    opacity: 0.7;
    pointer-events: none;
    transform: scale(0.99);
}

.bcra-search-form.scanning-mode .apple-inline-btn {
    opacity: 0.6;
    background: var(--bcra-secondary);
    cursor: not-allowed;
}

/* ==========================================
 * SEARCH FORM CSS ISOLATION
 * Prevents WP theme from overriding the search form shape
 * ========================================== */
.bcra-search-form .apple-search-container {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 8px 8px 8px 14px !important;
    border: 1.5px solid #d2d2d7 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.bcra-search-form .apple-search-container:focus-within {
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12), 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.bcra-search-form .apple-input {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    flex-grow: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-family: var(--bcra-font-sans) !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: var(--bcra-primary) !important;
    resize: none !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 400px !important;
    overflow-y: hidden !important;
    box-sizing: content-box !important;
    transition: none !important;
}

.bcra-search-form .apple-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.bcra-search-form .apple-inline-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    align-self: center !important;
    width: auto !important;
    min-width: 0 !important;
    background: #0071e3 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-family: var(--bcra-font-sans) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    float: none !important;
}

.bcra-search-form .apple-inline-btn:hover {
    background: #0064cc !important;
    background-image: none !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
    text-decoration: none !important;
}

.bcra-search-form .apple-inline-btn:focus,
.bcra-search-form .apple-inline-btn:active {
    outline: none !important;
    color: #ffffff !important;
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* ==========================================
 * CARTERAS BUTTONS CSS ISOLATION
 * Prevents WP theme from overriding carteras button styles
 * ========================================== */
.bcd-new-btn,
.bcd-empty-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    visibility: visible !important;
    background-image: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    box-sizing: border-box !important;
    font-family: var(--bcra-font-sans) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    outline: none !important;
    float: none !important;
}

.bcd-new-btn {
    background: #0071e3 !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.bcd-empty-btn {
    background: #0071e3 !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.bcd-new-btn:hover,
.bcd-empty-btn:hover {
    background: #0064cc !important;
    background-image: none !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
    text-decoration: none !important;
}

.bcd-new-btn:active,
.bcd-empty-btn:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* ==========================================
 * PLAN/TIER BUTTONS CSS ISOLATION
 * Compound selectors (0,2,0) mirror .bcra-search-form .apple-inline-btn
 * to prevent WP theme from overriding créditos/suscripción tier button styles
 * ========================================== */

/* --- Paywall modal buttons (.pw-plan-card > .pw-plan-btn) --- */
.pw-plan-card .pw-plan-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    padding: 9px 0 !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    font-family: var(--bcra-font-sans) !important;
    background: #f2f2f7 !important;
    background-image: none !important;
    color: #1d1d1f !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    outline: none !important;
    float: none !important;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
    margin-top: auto !important;
}

.pw-plan-card .pw-plan-btn:hover {
    background: #e5e5ea !important;
    background-image: none !important;
    color: #1d1d1f !important;
    text-decoration: none !important;
}

.pw-plan-card .pw-plan-btn:active {
    transform: scale(0.98) !important;
}

.pw-plan-card .pw-plan-btn.pw-plan-btn--featured {
    background: #0071e3 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3) !important;
}

.pw-plan-card .pw-plan-btn.pw-plan-btn--featured:hover {
    background: #0077ed !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.4) !important;
    text-decoration: none !important;
}

/* --- Dashboard tier buttons (.bcc-card > .bcc-btn) --- */
.bcc-card .bcc-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    padding: 8px 0 !important;
    border-radius: 3px !important;
    border: 1px solid #d1d1d1 !important;
    cursor: pointer !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    font-family: var(--bcra-font-sans) !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #1d1d1f !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
    outline: none !important;
    float: none !important;
    transition: background 0.15s, border-color 0.15s !important;
}

.bcc-card .bcc-btn:hover {
    background: #f5f5f5 !important;
    background-image: none !important;
    border-color: #bdbdbd !important;
    color: #1d1d1f !important;
    text-decoration: none !important;
}

.bcc-card .bcc-btn:active {
    background: #eeeeee !important;
}

.bcc-card .bcc-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.bcc-card .bcc-btn.bcc-btn--best {
    background: #0078d4 !important;
    background-image: none !important;
    border-color: #0078d4 !important;
    color: #ffffff !important;
}

.bcc-card .bcc-btn.bcc-btn--best:hover {
    background: #106ebe !important;
    background-image: none !important;
    border-color: #106ebe !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==========================================
 * CARTERAS BUTTONS — CSS isolation (same pattern as tier buttons)
 * Prevents WordPress theme from distorting button styles.
 * ========================================== */

/* Nueva cartera / add toggle */
.bcra-carteras-dashboard .bcd-cw-new-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    height: 30px !important;
    padding: 0 13px !important;
    background: #174FBF !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #1243a3 !important;
    border-radius: 8px !important;
    font-size: 0.77rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    letter-spacing: -0.01em !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    outline: none !important;
    float: none !important;
    line-height: 1 !important;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s !important;
    box-shadow: 0 1px 3px rgba(23, 79, 191, 0.30) !important;
}
.bcra-carteras-dashboard .bcd-cw-new-btn:hover {
    background: #1a5cd6 !important;
    background-image: none !important;
    border-color: #174FBF !important;
    box-shadow: 0 2px 8px rgba(23, 79, 191, 0.40) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.bcra-carteras-dashboard .bcd-cw-new-btn:active {
    background: #1243a3 !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Kebab menu button */
.bcra-carteras-dashboard .bcd-btn-kebab {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 7px !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
    float: none !important;
    transition: background 0.12s, color 0.12s !important;
}
.bcra-carteras-dashboard .bcd-btn-kebab:hover,
.bcra-carteras-dashboard .bcd-btn-kebab.active {
    background: #f1f5f9 !important;
    background-image: none !important;
    color: #374151 !important;
}

/* Dropdown items */
.bcra-carteras-dashboard .bcd-dropdown-item {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 11px !important;
    border: none !important;
    background: transparent !important;
    background-image: none !important;
    color: #374151 !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    width: 100% !important;
    border-radius: 7px !important;
    cursor: pointer !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    float: none !important;
    box-sizing: border-box !important;
    transition: background 0.12s, color 0.12s !important;
}
.bcra-carteras-dashboard .bcd-dropdown-item:hover {
    background: #f4f6f9 !important;
    background-image: none !important;
    color: #111827 !important;
    text-decoration: none !important;
}
.bcra-carteras-dashboard .bcd-dropdown-item--danger { color: #ef4444 !important; }
.bcra-carteras-dashboard .bcd-dropdown-item--danger:hover { background: #fff5f5 !important; color: #dc2626 !important; }

/* Add CUIT confirm button */
.bcra-carteras-dashboard .bcd-detail-add-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: #1746a2 !important;
    background-image: none !important;
    border: none !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
    float: none !important;
    padding: 0 !important;
    transition: background 0.15s !important;
}
.bcra-carteras-dashboard .bcd-detail-add-btn:hover {
    background: #1239a0 !important;
    background-image: none !important;
}

/* Pagination buttons */
.bcra-carteras-dashboard .bcd-page-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 6px !important;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    color: #6b7280 !important;
    font-size: 0.77rem !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer !important;
    text-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
    outline: none !important;
    float: none !important;
    transition: background 0.1s, color 0.1s, border-color 0.1s !important;
}
.bcra-carteras-dashboard .bcd-page-btn:hover:not(:disabled) {
    background: #f1f5f9 !important;
    background-image: none !important;
    color: #111827 !important;
    border-color: #c4cdd9 !important;
    text-decoration: none !important;
}
.bcra-carteras-dashboard .bcd-page-btn:disabled { opacity: 0.4 !important; cursor: not-allowed !important; }

/* Action icon buttons (restore / force-delete in trash) */
.bcra-carteras-dashboard .bcd-action-icon {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: none !important;
    background-image: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px !important;
    border-radius: 5px !important;
    text-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
    float: none !important;
    transition: background 0.12s !important;
}
.bcra-carteras-dashboard .bcd-action-icon:hover { background: #f1f5f9 !important; background-image: none !important; }

/* Row inline-edit buttons */
.bcra-carteras-dashboard .bcd-row-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: none !important;
    background-image: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 6px !important;
    border-radius: 6px !important;
    color: #9ca3af !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
    float: none !important;
    transition: background 0.12s, color 0.12s !important;
}

/* ==========================================
 * CHECKOUT INLINE — Dashboard & Paywall
 * Aparece en el flujo de la página, sin overlay flotante.
 * El container crece para contener el form completo, sin scroll interno.
 * ========================================== */

/* Dashboard: bloque inline que reemplaza a la grilla de precios */
#dashboard-checkout-wrapper {
    display: block; /* toggled by JS: none → block */
    width: 100%;
    padding: 8px 0 24px;
    animation: fadeIn 0.25s ease-out;
}

.vc-checkout-card {
    background: #ffffff;
    border-radius: 14px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    /* Sin max-height ni overflow: se expande para contener el form completo */
}


/* MP brick: card brand logos — object-fit contain prevents Amex/Cabal from being clipped */
#mp-card-brick-dashboard img,
#mp-card-brick-container img {
    object-fit: contain !important;
    object-position: center !important;
    max-width: 100% !important;
    max-height: 100% !important;
}


/* El brick vive acá: sin overflow ni altura fija */
.vc-checkout-body {
    padding: 20px 20px 4px;
}

.vc-checkout-cancel {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    padding: 10px !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-top: 1px solid #f1f5f9 !important;
    color: #64748b !important;
    font-weight: 500 !important;
    font-family: var(--bcra-font-sans) !important;
    font-size: 0.82rem !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: color 0.15s, background 0.15s !important;
    border-radius: 0 0 14px 14px !important;
}

.vc-checkout-cancel:hover {
    background: #f8fafc !important;
    color: #334155 !important;
}

/* Paywall: modo checkout — oculta los tiers, el modal scrollea para mostrar el form completo */
.bcra-modal-overlay.pw-checkout-mode .pw-countdown-card,
.bcra-modal-overlay.pw-checkout-mode .pw-divider,
.bcra-modal-overlay.pw-checkout-mode .pw-pricing-stack {
    display: none !important;
}

.bcra-modal-overlay.pw-checkout-mode {
    overflow-y: auto;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.bcra-modal-overlay.pw-checkout-mode .bcra-modal-content {
    overflow: visible;
    max-height: none;
    align-items: center;
    width: 100%;
    max-width: 560px;
}

.bcra-modal-overlay.pw-checkout-mode #mp-card-brick-container {
    width: 100%;
    margin-top: 0;
}

.pw-back-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    font-family: var(--bcra-font-sans) !important;
    cursor: pointer !important;
    padding: 6px 0 !important;
    display: none;
    text-decoration: none !important;
}

.pw-back-btn:hover {
    color: #1e293b !important;
}

/* ==========================================
 * 3. RESULTS & BULK ITEM
 * ========================================== */

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bcra-border);
}

.bulk-item {
    background: var(--bcra-surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: var(--bcra-shadow-soft);
}

.bulk-item:hover {
    box-shadow: var(--bcra-shadow-hover);
    transform: translateY(-1px);
}

.bulk-item.is-whale {
    border-left: 4px solid #fcd34d;
}

.bulk-header {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

/* Fila superior: avatar + nombre + cuit */
.bh-identity {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 10px 44px 10px 14px; /* right reserva espacio para el chevron */
}

.vcache-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    font-family: var(--bcra-font-sans);
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 3px 8px;
    white-space: nowrap;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.bulk-item.active .bulk-header {
    background: #fbfcfe;
}

.bulk-item.active .bulk-header .bh-identity {
    border-bottom: 1px solid #f1f5f9;
}

.bulk-item.active .header-kpi-group {
    background: #f4f7fb;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f1f5f9;
    color: #94a3b8;
}

.user-avatar--initials {
    background: linear-gradient(140deg, #1e293b 0%, #1d4ed8 100%);
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.22);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--bcra-font-sans);
    letter-spacing: 0.06em;
    border-radius: 9px;
    font-style: normal;
}

/* user-details ocupa todo el espacio disponible dentro de bh-identity */
.bh-identity > .user-details {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.ud-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ud-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    font-family: var(--bcra-font-sans);
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.ud-meta {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Pill CUIT cuando está a la derecha del bh-identity (fuera de ud-name-row) */
.ud-cuit--right {
    margin-left: auto;
    flex-shrink: 0;
}

/* Pill CUIT — refinado */
.ud-cuit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-family: var(--bcra-font-sans);
    font-weight: 500;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 3px 11px 3px 10px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
}

.ud-cuit strong {
    font-weight: 700;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.debt-summary {
    text-align: right;
}

.debt-val {
    font-weight: 600;
    font-size: 1rem;
    color: var(--bcra-primary);
    font-variant-numeric: tabular-nums;
}

.debt-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}

.toggle-icon {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #b0bac6;
    background: transparent;
    transition: background 0.18s ease, color 0.18s ease, transform 0.3s ease;
    pointer-events: none;
}

.bulk-item.active .toggle-icon {
    transform: rotate(180deg);
}

.bulk-header:hover .toggle-icon {
    background: #f1f5f9;
    color: #64748b;
}

.bulk-item.active .toggle-icon {
    color: var(--bcra-primary);
    background: #eff6ff;
}

.bulk-body {
    display: none;
    padding: 24px;
    background: #fff;
    animation: fadeSlideDown 0.3s ease-out;
}

.bulk-item.active .bulk-body {
    display: block;
}

.bulk-item.is-clean-record {
    border-left: 4px solid #10b981;
}

.bulk-item.is-clean-record .user-details h3 {
    color: #64748b;
}

.clean-results-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0 20px 0;
    color: #64748b;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.03em;
    font-size: 0.85rem;
    animation: fadeIn 0.5s ease-out;
}

.clean-results-divider span {
    text-transform: capitalize !important;
}

.clean-results-divider::before,
.clean-results-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.clean-list-container {
    animation: fadeInUp 0.5s ease-out;
}

/* ==========================================
 * HEADER KPIs
 * ========================================== */

.header-kpi-group {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 44px 9px 14px; /* right = espacio para chevron */
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.hk-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #ffffff;
    transition: background 0.15s ease, border-color 0.15s ease;
    min-width: 0;
}

.hk-box:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Variante semáforo: borde + fondo + color heredado del contenedor (aplicados inline) */
.hk-box--accent {
    border-width: 1px;
    border-style: solid;
}

.hk-box--accent .hk-lbl {
    color: inherit;
    opacity: 0.75;
}

.hk-box--accent .hk-val {
    color: inherit;
}

.hk-lbl {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
}

.hk-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.01em;
}

.hk-val.hk-ok {
    color: #10b981;
}

.hk-val.hk-warn {
    color: #f59e0b;
}

.hk-val.hk-danger {
    color: #ef4444;
}

@media (max-width: 720px) {
    .bh-identity {
        padding: 9px 44px 9px 12px;
    }

    .ud-name {
        max-width: 100%;
        white-space: normal;
        font-size: 0.88rem;
    }

    .ud-cuit {
        font-size: 0.62rem;
    }

    .header-kpi-group {
        flex-wrap: wrap;
        gap: 5px;
        padding: 6px 10px 8px;
    }

    /* En mobile: 2 KPIs por fila */
    .hk-box {
        flex: 1 1 calc(50% - 3px);
        padding: 5px 8px;
    }

    .hk-val {
        font-size: 0.85rem;
    }

    .hk-lbl {
        font-size: 0.55rem;
    }
}

/* ==========================================
 * 4. STATS, CHARTS & TABLES (KPI GRID)
 * ========================================== */

.bcra-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 28px;
    width: 100%;
}

.kpi-card {
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    padding: 18px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
    border-color: #c7d2dd;
}

.kpi-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    line-height: 1;
}

.kpi-value {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-variant-numeric: tabular-nums;
}

.kpi-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.kpi-card.accent-main {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    border-color: #bfdbfe;
}

.kpi-card.accent-main .kpi-label {
    color: #3b82f6;
}

.kpi-card.accent-main .kpi-value {
    color: #1d4ed8;
    font-size: 1.25rem;
}

.kpi-card.accent-main .kpi-sub {
    color: #6b9ef5;
}

@media (max-width: 850px) {
    .bcra-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .kpi-value {
        font-size: 1.1rem;
    }

    .kpi-card.accent-main .kpi-value {
        font-size: 1.2rem;
    }
}

.charts-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chart-full-section {
    width: 100%;
    margin-bottom: 12px;
    animation: fadeIn 0.8s ease-out;
}

.chart-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px 24px 16px;
    width: 100%;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.03);
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    font-family: var(--bcra-font-sans);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.chart-subtitle {
    font-size: 0.72rem;
    font-weight: 400;
    color: #94a3b8;
    font-family: var(--bcra-font-sans);
    letter-spacing: 0.01em;
}

.chart-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #3b82f6;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 3px 9px;
    letter-spacing: 0.06em;
    font-family: var(--bcra-font-sans);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

canvas {
    cursor: default;
    font-style: normal !important;
}

/* --- Tablas y Acordeones --- */
.bank-list-clean {
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.bank-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-radius 0.2s ease;
}

.bank-card-item:hover {
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.bank-card-item:has(.bank-item-row.is-open) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.bank-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.1s;
    background: white;
}

.bank-item-row.is-open {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.bank-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.bank-name {
    font-weight: 500;
    color: #1d1d1f;
    font-size: 0.95rem;
}

.bank-icon-wrapper {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.bank-logo-img {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.2s ease;
}

.bank-logo-img.is-png-logo {
    background-size: cover;
}

.bank-logo-img.is-svg-logo {
    background-size: 70%;
}

.bank-icon-wrapper svg {
    color: #94a3b8;
    width: 20px;
    height: 20px;
}

/* Logos en filas de tabla: mismo tamaño visual que el badge de situación */
.bcra-table-data-row .bank-icon-wrapper {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 5px;
}

.bcra-table-data-row .bank-icon-wrapper svg {
    width: 14px;
    height: 14px;
}

.bank-meta-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.row-chevron {
    color: #94a3b8;
    transition: transform 0.3s;
}

.bank-item-row.is-open .row-chevron {
    transform: rotate(180deg);
    color: #1e293b;
}

.bank-details-panel {
    background: #fff;
    display: none;
    animation: fadeIn 0.3s ease;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
    border-bottom: none;
}

.bank-item-row.is-open+.bank-details-panel {
    display: block;
}

/* ==========================================
 * BANK KPI STRIP
 * ========================================== */

.bank-kpi-strip {
    display: flex;
    align-items: stretch;
    gap: 6px;
    margin-left: auto;
    margin-right: 12px;
    flex-shrink: 0;
}

.bk-kpi {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: var(--bk-w-deu, max-content);
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bk-kpi.bk-kpi--sit {
    width: var(--bk-w-sit, max-content);
    align-items: center;
    text-align: center;
}

.bk-kpi.bk-kpi--exp {
    width: var(--bk-w-exp, max-content);
}

.bk-kpi.bk-kpi--deu {
    width: var(--bk-w-deu, max-content);
}

.bank-item-row:hover .bk-kpi {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.bk-kpi-lbl {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 3px;
}

.bk-kpi-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .bank-kpi-strip {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .bk-kpi {
        padding: 4px 9px;
    }

    .bk-kpi-val {
        font-size: 0.78rem;
    }

    .bk-kpi-lbl {
        font-size: 0.55rem;
    }
}

/* ==========================================
 * TABLA COMPACTA OPTIMIZADA
 * ========================================== */

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8rem;
    table-layout: fixed;
    min-width: 100%;
    max-width: 100%;
}

.modern-table th {
    text-align: left;
    padding: 8px 10px;
    background: #ffffff;
    color: #64748b;
    font-family: var(--bcra-font-sans);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0 !important;
    white-space: nowrap;
    overflow: hidden;
    height: 36px;
    vertical-align: middle;
}

.modern-table th .th-text {
    color: inherit !important;
    font-weight: inherit !important;
    font-family: inherit !important;
}

.modern-table td {
    padding: 4px 10px;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #334155;
    height: 34px;
    vertical-align: middle;
    line-height: 1.2;
}

.modern-table tbody tr:last-child td {
    border-bottom: none !important;
}

.col-periodo {
    width: 12%;
    color: #64748b;
    font-weight: 500;
    font-family: var(--bcra-font-mono);
}

.col-sit {
    width: 6%;
    text-align: center;
}

.col-data.col-ars {
    width: 18%;
    text-align: right !important;
}

.col-data.col-usd {
    width: 15%;
    background: #f8fafc;
    border-left: 1px solid #f1f5f9;
}

.col-data.col-inf {
    width: 15%;
    background: #f8fafc;
}

.col-atraso {
    width: 10%;
    text-align: center;
}

.col-obs {
    width: 130px;
    text-align: center !important;
    padding-left: 0 !important;
}

.cell-wrapper {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    font-variant-numeric: tabular-nums;
}

.th-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.th-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.th-toggle:hover {
    background: #e2e8f0;
    color: #475569;
}

td.bg-sit-ok {
    background-color: rgba(16, 185, 129, 0.05) !important;
    color: #059669 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

td.bg-sit-warn {
    background-color: rgba(251, 191, 36, 0.05) !important;
    color: #d97706 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

td.bg-sit-bad {
    background-color: rgba(239, 68, 68, 0.05) !important;
    color: #dc2626 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

td.bg-sit-none {
    background-color: transparent !important;
    color: #94a3b8 !important;
}

.col-ars .cell-wrapper {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.85rem;
}

.col-usd .cell-wrapper {
    font-weight: 400;
    color: #475569;
    font-size: 0.8rem;
}

.col-ars {
    text-align: center !important;
}

.col-ars .th-content {
    justify-content: flex-end !important;
}

.table-footer-note {
    padding: 8px 16px;
    font-size: 0.7rem;
    color: #94a3b8;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: right;
}

/* ==========================================
 * 5. AFIP & BADGES
 * ========================================== */

.afip-card-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    animation: fadeIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.afip-card-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #0099ff, #00c6ff);
}

.afip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f7;
}

.afip-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bcra-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.afip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.afip-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.afip-row {
    display: flex;
    gap: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.afip-lbl {
    color: var(--bcra-secondary);
    font-weight: 500;
    min-width: 70px;
}

.afip-val {
    color: var(--bcra-primary);
    font-weight: 400;
}

.afip-activity-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.afip-tax-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 650px) {
    .afip-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.badge.clean {
    background: var(--bcra-success-bg);
    color: var(--bcra-success);
}

.badge.warn {
    background: var(--bcra-warning-bg);
    color: var(--bcra-warning);
}

.badge.danger {
    background: var(--bcra-danger-bg);
    color: var(--bcra-danger);
}

.badge.whale {
    background: var(--bcra-whale-bg);
    color: var(--bcra-whale);
}

/* ==========================================
 * 6. COMPACT VIEW (BULK MODE)
 * El diseño de las barras es idéntico en modo single y bulk.
 * compact-view solo ajusta el espaciado entre items.
 * ========================================== */

.bcra-wrapper.compact-view .bulk-item {
    margin-bottom: 6px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .bcra-wrapper.compact-view .bulk-header {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
    }

}

/* ==========================================
 * Botón de Descarga PDF y QR Print
 * ========================================== */
.vc-report-actions-container {
    margin-bottom: 20px;
}

.vc-report-actions {
    display: flex;
    justify-content: flex-end;
}

.vc-btn-download-pdf {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #18181b;
    color: #ffffff;
    border: 1px solid #27272a;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.vc-btn-download-pdf:hover {
    background: #27272a;
    transform: translateY(-2px);
}

/* El QR debe estar 100% invisible en la pantalla normal */
.vc-print-qr {
    display: none;
}

/* ==========================================
 * Tablas BCRA Ordenables y Expandibles
 * ========================================== */

/* --- Iconos de ordenamiento --- */
.bcra-sort-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
    margin-left: 5px;
    vertical-align: middle;
    line-height: 1;
    opacity: 0.35;
    transition: opacity 0.2s ease;
    transform: translateY(-1px);
}
.bcra-sort-icon .s-asc,
.bcra-sort-icon .s-desc {
    font-size: 7px;
    line-height: 1;
    color: #94a3b8;
    display: block;
    transition: color 0.2s ease, opacity 0.2s ease;
}
th[data-sort]:hover .bcra-sort-icon {
    opacity: 0.65;
}
th[data-sort-dir] .bcra-sort-icon {
    opacity: 1;
}
th[data-sort-dir="asc"] .s-asc {
    color: #0071e3;
}
th[data-sort-dir="asc"] .s-desc {
    opacity: 0.25;
}
th[data-sort-dir="desc"] .s-desc {
    color: #0071e3;
}
th[data-sort-dir="desc"] .s-asc {
    opacity: 0.25;
}

/* --- Filas de datos expandibles --- */
tr.bcra-table-data-row {
    cursor: pointer;
    transition: background 0.15s ease;
}
tr.bcra-table-data-row td {
    border-top: none !important;
    border-bottom: none !important;
}
tr.bcra-table-data-row:hover td {
    background: #f0f7ff !important;
}
.bcra-row-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}
tr.bcra-table-data-row:hover .bcra-row-chevron {
    color: #94a3b8;
}
tr.bcra-table-data-row.is-expanded .bcra-row-chevron {
    transform: rotate(180deg);
    color: #0071e3;
}

/* --- Fila de detalle expandida --- */
.bcra-table-expand-row > td {
    padding: 0 !important;
    border-bottom: 2px solid #e2e8f0;
}
.bcra-expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.bcra-table-expand-row.is-open .bcra-expand-content {
    max-height: 1200px;
}
.bcra-expand-inner {
    padding: 16px 20px 20px;
    border-left: 3px solid #0071e3;
    margin: 0;
    background: #f8fafc;
}
.bcra-expand-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.bcra-expand-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}
.bcra-expand-table thead th {
    padding: 5px 10px;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
    background: #f1f5f9;
}
.bcra-expand-table tbody tr:last-child td {
    border-bottom: none;
}
.bcra-expand-table tbody td {
    padding: 6px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}
.bcra-expand-table tbody tr:hover td {
    background: #f0f7ff;
}
.bcra-expand-chart-wrap {
    position: relative;
    height: 220px;
    margin-bottom: 14px;
}
.bcra-expand-details {
    margin-top: 4px;
}
.bcra-expand-details > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0071e3;
    letter-spacing: 0.01em;
    list-style: none;
    padding: 4px 0;
    user-select: none;
}
.bcra-expand-details > summary::-webkit-details-marker { display: none; }
.bcra-expand-details > summary::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}
.bcra-expand-details[open] > summary::before {
    transform: rotate(180deg);
}

/* Ocultar flechas expand en impresión */
@media print {
    .bcra-row-chevron { display: none !important; }
    .bcra-table-expand-row { display: none !important; }
    th[data-sort] .bcra-sort-icon { display: none !important; }
}

/* ==========================================
 * Renderizado de PDF Nativo (Selectable Text)
 * ========================================== */
@media print {

    /* 1. Margen CERO en la hoja para eliminar la fecha/URL de Chrome y subir al tope */
    @page {
        size: A4 portrait;
        margin: 0;
    }

    /* 2. OCULTAR CASCARÓN Y UI FLOTANTE */
    header,
    footer,
    nav,
    aside,
    .sidebar,
    #wpadminbar,
    .site-header,
    .site-footer,
    .wp-block-header,
    .wp-block-footer,
    .elementor-location-header,
    .elementor-location-footer,
    .usb-panel,
    .usb-trigger,
    .usb-backdrop {
        display: none !important;
    }

    /* 3. LIMPIEZA SUPERIOR */
    .vc-report-actions,
    .toggle-icon,
    .bcra-hero,
    .apple-search-container,
    .bcra-carteras-dashboard,
    .bcra-search-form,
    [class*="historial"],
    [class*="history"],
    [class*="consultas"] {
        display: none !important;
    }

    /* 4. RESETEO MAESTRO DE CONTENEDORES */
    body,
    html {
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #page,
    #content,
    .site-content,
    .entry-content,
    .bcra-ui-wrapper,
    .bcra-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    /* APLICAMOS UN MARGEN CONTROLADO PARA QUE NO CORTE EL TEXTO */
    .bcra-wrapper {
        padding: 8mm 8mm !important;
    }

    /* 5. COMPACTAR LA BARRA DE INFORMACIÓN (BULK HEADER) */
    .bulk-header {
        padding: 0 0 10px 0 !important;
        /* Quitamos el padding superior para pegarlo bien arriba */
        align-items: center !important;
    }

    .bulk-body {
        padding: 10px 0 0 0 !important;
        /* Reducimos el espacio entre el header y el contenido */
    }

    /* 6. DISEÑO DEL QR EN EL PAPEL */
    .vc-print-qr {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        padding: 10px 15px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px;
        page-break-inside: avoid;
    }

    .vc-print-qr img {
        width: 55px !important;
        height: 55px !important;
    }

    .vc-print-qr-text {
        font-size: 0.8rem;
        color: #475569 !important;
        line-height: 1.4;
        text-align: right;
    }

    .vc-print-qr-text strong {
        color: #0f172a !important;
        font-weight: 700;
    }

    /* 7. Limpieza visual (adiós sombras) */
    .bulk-item,
    .chart-card,
    .afip-card-container,
    .bank-card-item {
        box-shadow: none !important;
    }

    .bulk-item {
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 8. CONTROL DE SALTOS Y AJUSTE DE GRÁFICOS */
    .kpi-card,
    .afip-card-container,
    .chart-full-section,
    .chart-card {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .chart-full-section {
        margin-bottom: 12px !important;
    }

    .chart-card>div[style*="height"] {
        height: 255px !important;
    }

    /* 9. EXPANDIR ACORDEONES AUTOMÁTICAMENTE */
    .bank-details-panel {
        display: block !important;
    }

    .bank-table-details summary {
        display: none !important;
    }

    /* 10. Forzar impresión de colores */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* ==========================================
 * VOLCRED - RESULTADO BLOQUEADO  (BOARDING PASS)
 * ========================================== */

.vc-locked-wrapper {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100dvh - 160px);
    animation: fadeInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Card — mismo ancho que la barra de búsqueda */
.vc-locked-card {
    width: 100%;
    max-width: 680px;
    background: var(--bcra-surface);
    border-radius: var(--bcra-radius);
    border: 1px solid #e2e2e8;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* =========================================
   HEADER — franja de atribución
   ========================================= */
.vc-locked-bp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 18px;
    background: var(--bcra-surface);
    border-bottom: 1px solid #eeeef2;
    gap: 12px;
}

.vc-locked-source-tag {
    font-family: var(--bcra-font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bcra-secondary);
    opacity: 0.5;
    flex-shrink: 0;
}

/* Badge "Registro encontrado" */
.vc-locked-found-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    font-size: 0.57rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 99px;
    flex-shrink: 0;
}

.vc-locked-dot {
    width: 4px;
    height: 4px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: vc-pulse-dot 2.4s ease-in-out infinite;
}

@keyframes vc-pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

/* =========================================
   BODY — 2 columnas
   ========================================= */
.vc-locked-bp-body {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-height: 0;
}

/* Columna izquierda — se adapta al nombre */
.vc-locked-left {
    flex: 0 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 28px 18px 20px;
    border-right: 1px solid #eeeef2;
}

.vc-locked-field-group {
    margin: 0;
}

.vc-locked-field-label {
    font-size: 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bcra-secondary);
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.55;
}

/* Nombre — una sola línea, protagonista */
.vc-locked-name {
    font-family: var(--bcra-font-sans);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bcra-primary);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    white-space: nowrap;
}

.vc-locked-cuit {
    font-family: var(--bcra-font-mono);
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--bcra-secondary);
    letter-spacing: 0.05em;
    opacity: 0.75;
}

.vc-locked-trust {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 18px;
    color: var(--bcra-secondary);
    font-size: 0.55rem;
    opacity: 0.4;
    white-space: nowrap;
}

/* =========================================
   COLUMNA DERECHA — datos bloqueados
   ========================================= */
.vc-locked-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 18px 14px;
    min-width: 0;
    background: #fafafa;
}

/* KPI row: borde unificado, sin borders individuales */
.vc-locked-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 14px;
    border: 1px solid #eeeef2;
    border-radius: 8px;
    overflow: hidden;
}

.vc-locked-kpi {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 12px;
    background: var(--bcra-surface);
    border-right: 1px solid #eeeef2;
}

.vc-locked-kpi:last-child {
    border-right: none;
}

.vc-locked-kpi-label {
    font-size: 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bcra-secondary);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.65;
}

.vc-locked-kpi-value {
    font-family: var(--bcra-font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bcra-primary);
    line-height: 1;
}

.vc-locked-blur {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

/* Skeleton */
.vc-locked-rows-preview {
    display: flex;
    flex-direction: column;
    gap: 7px;
    filter: blur(4px);
    opacity: 0.22;
    margin-bottom: 10px;
}

.vc-locked-row-item {
    height: 6px;
    width: 100%;
    background: #c8c8ce;
    border-radius: 99px;
}

.vc-locked-preview-footer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--bcra-secondary);
    font-size: 0.54rem;
    opacity: 0.4;
    align-self: flex-end;
    letter-spacing: 0.02em;
}

/* =========================================
   STUB — CTA
   ========================================= */
.vc-locked-stub {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 11px 20px 13px;
    background: var(--bcra-surface);
    border-top: 1px solid #eeeef2;
}

.vc-locked-bonus-tag {
    font-size: 0.7rem;
    color: var(--bcra-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
    opacity: 0.85;
}

.vc-locked-free-pill {
    display: inline-flex;
    align-items: center;
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ---- Botón con resplandor pulsante ---- */
@keyframes vc-btn-glow {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(0, 113, 227, 0.28);
    }

    50% {
        box-shadow: 0 4px 18px rgba(0, 113, 227, 0.48), 0 0 24px 4px rgba(0, 113, 227, 0.12);
    }
}

.vc-locked-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bcra-accent);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    animation: vc-btn-glow 2.8s ease-in-out infinite;
    transition: background 0.15s ease, transform 0.1s ease;
}

.vc-locked-btn:hover {
    background: #0077ed;
    transform: scale(1.02);
    animation-play-state: paused;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.5);
}

.vc-locked-btn:active {
    transform: scale(0.98);
}

.vc-locked-link {
    font-size: 0.71rem;
    color: var(--bcra-accent);
    text-decoration: none;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.vc-locked-link:hover {
    opacity: 0.7;
}

/* =========================================
   RESPONSIVE — Mobile
   ========================================= */
@media (max-width: 580px) {
    .vc-locked-bp-body {
        flex-direction: column;
    }

    .vc-locked-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--bcra-border);
        padding: 14px 18px 12px;
    }

    .vc-locked-name {
        white-space: normal;
    }

    .vc-locked-right {
        padding: 14px 18px 12px;
    }

    .vc-locked-stub {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 18px 14px;
    }

    .vc-locked-btn {
        justify-content: center;
    }

    .vc-locked-link {
        text-align: center;
    }
}

/* ==========================================
 * AUTH STUB (DENTRO DE LA TARJETA BLOQUEADA)
 * ========================================== */
.vc-auth-stub {
    background: #ffffff;
    border-top: 1px solid #eeeef2;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0 0 16px 16px;
    /* Mantiene la curvatura inferior de la tarjeta */
}

.vc-auth-view {
    width: 100%;
    max-width: 340px;
    animation: fadeIn 0.3s ease-out;
}

.vc-auth-title {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 700;
    text-align: center;
}

.vc-auth-desc {
    margin: 0 0 18px 0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
    text-align: center;
}

/* Forzar Nextend Social Login a ocupar el 100% del ancho de forma elegante */
.vc-nextend-wrapper {
    width: 100%;
    margin-bottom: 8px;
}

.vc-nextend-wrapper .nsl-container {
    display: block !important;
}

.vc-nextend-wrapper .nsl-button {
    width: 100% !important;
    justify-content: center;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.vc-auth-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vc-auth-divider::before,
.vc-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.vc-auth-divider span {
    padding: 0 12px;
}

.vc-input-minimal {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1f2937;
    transition: all 0.2s;
    box-sizing: border-box;
    background: #fafafa;
}

.vc-input-minimal:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--bcra-accent, #0071e3);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.vc-btn-primary-auth {
    width: 100%;
    padding: 11px;
    background: #1877F2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.vc-btn-primary-auth:hover {
    background: #1260cc;
}

.vc-btn-primary-auth:active {
    transform: scale(0.98);
}

.vc-btn-primary-auth:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.vc-auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.78rem;
    color: #6b7280;
}

.vc-auth-footer a {
    color: var(--bcra-accent, #0071e3);
    text-decoration: none;
    font-weight: 600;
}

.vc-auth-footer a:hover {
    text-decoration: underline;
}

/* OTP Inputs - Cajas para el código de 6 dígitos */
.vc-otp-group {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.vc-otp-input {
    width: 44px !important;
    height: 52px !important;
    text-align: center !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    transition: all 0.2s !important;
    background: #fafafa !important;
    background-color: #fafafa !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    opacity: 1 !important;
}

.vc-otp-input:focus {
    outline: none !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: var(--bcra-accent, #0071e3) !important;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1) !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

.vc-auth-error {
    color: #dc2626;
    font-size: 0.75rem;
    text-align: center;
    margin-bottom: 12px;
    min-height: 14px;
}

/* Opcional: Ocultar el CTA anterior si quedó suelto en el CSS */
.vc-locked-stub-old {
    display: none !important;
}

/* ==========================================
 * 7. DESKTOP MENU & NAVBAR INTEGRATION
 * ========================================== */

/* Desktop: sidebar is always visible — trigger and scroll-lock not needed */
@media (min-width: 769px) {
    .usb-trigger {
        display: none !important;
    }

    body.usb-no-scroll {
        overflow: auto !important;
    }
}

/* Ocultar footer del sitio cuando el usuario está logueado */
body.logged-in footer,
body.logged-in .site-footer,
body.logged-in #footer,
body.logged-in #colophon,
body.logged-in .footer-widgets,
body.logged-in [class*="footer"]:not(.usb-footer) {
    display: none !important;
}

/* Ocultar "Mi Cuenta" a los visitantes que NO iniciaron sesión */
body:not(.logged-in) .vc-solo-logueado {
    display: none !important;
}

/* Ocultar "Iniciar sesión" y "Abrir cuenta" a los usuarios que SÍ iniciaron sesión */
body.logged-in .vc-solo-deslogueado {
    display: none !important;
}

/* Estilo para que "Abrir cuenta gratis" parezca un botón destacado en el menú */
.vc-btn-destacado a {
    background-color: #0071e3 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
}

/* ==========================================
 * SECCIÓN CRÉDITOS (bcc-)
 * ========================================== */

.bcc-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 8px 0 40px;
    font-family: var(--bcra-font-sans);
    animation: fadeIn 0.35s ease-out;
}

/* Balance bar */
.bcc-balance-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #dbeafe;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 28px;
    color: #1e40af;
}

.bcc-balance-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bcc-balance-num {
    font-size: 2rem;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: -0.04em;
    line-height: 1;
}

.bcc-balance-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bcc-balance-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e40af;
}

.bcc-balance-hint {
    font-size: 0.68rem;
    color: #3b82f6;
    font-weight: 400;
}

/* Hero */
.bcc-hero {
    text-align: center;
    margin-bottom: 24px;
}

.bcc-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
    line-height: 1.2;
}

.bcc-sub {
    font-size: 0.85rem;
    color: #86868b;
    margin: 0;
    line-height: 1.5;
    max-width: 480px;
    margin: 0 auto;
}

.bcra-planes-page {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Grid */
.bcc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1px;
    row-gap: 10px;
    margin-bottom: 20px;
    background: #e0e0e0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

/* Card base — subgrid: cada carta ocupa 4 row-tracks del padre */
.bcc-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    background: #ffffff;
    border: none;
    border-radius: 0;
    padding: 18px 18px 16px;
    position: relative;
    transition: background 0.15s;
}

.bcc-card:hover {
    background: #fafafa;
}

/* Mid card */
.bcc-card--mid {
    background: #fafafa;
}

.bcc-card--mid:hover {
    background: #f5f5f5;
}

/* Best card */
.bcc-card--best {
    background: #f0f6ff;
    border-top: 2px solid #0078d4;
}

.bcc-card--best:hover {
    background: #e8f0fc;
}

/* Badge row — row-track 1 de cada carta */
.bcc-badge-placeholder {
    visibility: hidden;
    font-size: 0.6rem;
    padding: 2px 8px;
    line-height: 1;
    align-self: start;
}

/* Badges */
.bcc-save-badge {
    display: inline-block;
    background: #e6f4ea;
    color: #1a7f37;
    border: none;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    white-space: nowrap;
    align-self: start;
}

.bcc-best-badge {
    display: inline-block;
    background: #0078d4;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    white-space: nowrap;
    align-self: start;
}

/* Card top */
.bcc-card-top {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bcc-qty {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #616161;
}

.bcc-card--best .bcc-qty {
    color: #0078d4;
}

.bcc-price-block {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 2px 0;
}

.bcc-price-old {
    font-size: 0.82rem;
    color: #9e9e9e;
    text-decoration: line-through;
    font-weight: 400;
}

.bcc-price {
    font-size: 1.55rem;
    font-weight: 700;
    color: #242424;
    letter-spacing: -0.02em;
    line-height: 1;
}

.bcc-card--best .bcc-price {
    color: #0078d4;
}

.bcc-per-unit {
    font-size: 0.68rem;
    color: #757575;
    font-weight: 400;
}

.bcc-card--best .bcc-per-unit {
    color: #4a90d9;
}

.bcc-sub-period {
    font-size: 0.78rem;
    color: #9e9e9e;
    font-weight: 400;
    margin-left: 1px;
}

.bcc-sin-iva {
    font-size: 0.7rem;
    color: #9e9e9e;
    margin-top: 2px;
}

.bcc-card--best .bcc-sub-period {
    color: #7ab0e0;
}

.bcc-card--best .bcc-per-unit strong {
    color: #0078d4;
    font-weight: 600;
}

/* Features — row-track 3, se estira para llenar el track */
.bcc-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-self: start;
}

.bcc-features li {
    font-size: 0.72rem;
    color: #424242;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.3;
}

.bcc-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #bdbdbd;
    flex-shrink: 0;
}

.bcc-card--best .bcc-features li {
    color: #2a5fa8;
}

.bcc-card--best .bcc-features li::before {
    background: #0078d4;
    opacity: 0.5;
}

.bcc-feature-highlight {
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bcc-info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 1px;
    color: #174FBF;
    cursor: default;
    vertical-align: middle;
}

.bcc-info-tip::after {
    content: attr(data-tip);
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #1e293b;
    color: #f1f5f9;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.45;
    padding: 7px 10px;
    border-radius: 7px;
    width: 200px;
    white-space: normal;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
}

.bcc-info-tip::before {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #1e293b;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 100;
}

.bcc-info-tip:hover {
    color: #475569;
}

.bcc-info-tip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.bcc-info-tip:hover::before {
    opacity: 1;
}

.bcc-feature-highlight::before {
    background: #174FBF !important;
    opacity: 1 !important;
    width: 5px !important;
    height: 5px !important;
}

.bcc-card--best .bcc-feature-highlight {
    color: #0f172a !important;
}

.bcc-card--best .bcc-feature-highlight::before {
    background: #0078d4 !important;
    opacity: 1 !important;
}

.bcc-corporate-note {
    margin: 0;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.45;
}

.bcc-corporate-note sup {
    font-size: 0.65em;
    color: #94a3b8;
}

.bcc-corporate-link {
    color: #174FBF;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.bcc-corporate-link:hover {
    text-decoration: underline;
}

/* Buttons — row-track 4 */
.bcc-btn {
    width: 100%;
    padding: 8px 0;
    border-radius: 3px;
    border: 1px solid #d1d1d1;
    background: #ffffff;
    color: #242424;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--bcra-font-sans);
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
    letter-spacing: 0;
    align-self: end;
}

.bcc-btn:hover {
    background: #f5f5f5;
    border-color: #bdbdbd;
}

.bcc-btn:active {
    background: #eeeeee;
}

.bcc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bcc-btn--best {
    background: #0078d4;
    border-color: #0078d4;
    color: #ffffff;
}

.bcc-btn--best:hover {
    background: #106ebe;
    border-color: #106ebe;
}

/* Checkout wrapper */
.bcc-checkout-wrapper {
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.bcc-checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f2f7;
}

.bcc-checkout-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
}

.bcc-checkout-close {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #e8e8ed;
    background: #f5f5f7;
    color: #86868b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.bcc-checkout-close:hover {
    background: #ebebf0;
    color: #1d1d1f;
}

/* Trust row */
.bcc-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.bcc-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: #aeaeb2;
    font-weight: 400;
}

.bcc-trust-item svg {
    color: #c7c7cc;
    flex-shrink: 0;
}

.bcc-trust-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d2d2d7;
}

@media (max-width: 600px) {
    .bcc-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 8px;
        background: transparent;
        border: none;
        border-radius: 0;
    }

    .bcc-card {
        grid-row: span 4;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
    }

    .bcc-card--best {
        order: -1;
        border-top: 2px solid #0078d4;
    }
}

/* ======================================== */

.vc-btn-destacado a:hover {
    background-color: #005bb5 !important;
    transform: scale(1.02);
}

/* ==========================================
 * NO-RESULTS DISCLAIMER (guest)
 * ========================================== */
.vc-no-results-disclaimer {
    max-width: 680px;
    margin: 12px auto 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    animation: fadeIn 0.3s ease-out;
}

.vc-no-results-disclaimer svg {
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 2px;
}

.vc-no-results-disclaimer p {
    margin: 0;
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.55;
    font-family: var(--bcra-font-sans);
}

/* ==========================================
 * INFORMES — barras individuales por CUIT
 * ========================================== */

.inf-header-bar { display:flex; align-items:center; margin-bottom:16px; }

.inf-header-title {
    font-size: 0.875rem; font-weight: 600; color: #1e293b; margin: 0;
    display: flex; align-items: center; gap: 7px;
    font-family: var(--bcra-font-sans); letter-spacing: -0.01em;
}

.inf-count-badge {
    font-size: 0.65rem; font-weight: 600; color: #94a3b8;
    background: #f1f5f9; border-radius: 99px; padding: 1px 7px;
}

.inf-empty {
    text-align: center; padding: 48px 24px; background: #f8fafc;
    border-radius: 10px; border: 1px dashed #e2e8f0;
    color: #94a3b8; font-size: 0.8125rem; font-family: var(--bcra-font-sans);
}

/* ── Separador de fecha ── */
.inf-date-sep {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 2px 6px;
}

.inf-date-sep:first-of-type {
    padding-top: 4px;
}

.inf-date-sep span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    font-family: var(--bcra-font-sans);
}

.inf-date-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f1f5f9;
}

/* ── Grid compartido: header + barras ── */
/* doc | sujeto | fecha | acciones | kebab */
.inf-bar {
    display: grid;
    grid-template-columns: 24px 68px 176px minmax(0, 1fr) auto 32px;
    align-items: center;
    gap: 0 14px;
}

.inf-bars { display: flex; flex-direction: column; gap: 5px; }


/* Barra individual */
.inf-bar {
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    font-family: var(--bcra-font-sans);
    font-variant-numeric: tabular-nums;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.inf-bar:hover {
    border-color: #c3d4f5;
    background: linear-gradient(135deg, #f5f8ff 0%, #eef3fb 100%);
    box-shadow: 0 2px 10px rgba(23,79,191,0.08), inset 0 0 0 1px rgba(23,79,191,0.08);
}

/* ── Columna Checkbox ── */
.inf-col-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Columna Documento ── */
.inf-col-doc { display: flex; align-items: center; gap: 9px; min-width: 0; }

/* Checkbox */
.inf-check {
    display: inline-block;
    visibility: visible;

    /* Elimina todo render nativo del browser */
    -webkit-appearance: none;
    appearance: none;
    outline: none;

    /* Dimensiones — 16×16 para área de click cómoda */
    width: 16px;
    height: 16px;
    flex-shrink: 0;

    /* Forma */
    border-radius: 4px;
    border: 1.5px solid #d1d5db;
    background-color: #ffffff;
    cursor: pointer;
    vertical-align: middle;

    /* Sin herencia de color del sistema */
    color-scheme: light;

    transition:
        border-color  0.14s ease,
        background-color 0.14s ease,
        box-shadow    0.14s ease,
        transform     0.10s ease;
}

/* Hover — anticipa el color de marca */
.inf-check:hover:not(:checked) {
    border-color: #174FBF;
    background-color: #eef3fb;
}

/* Checked — fondo sólido + checkmark SVG perfectamente centrado */
.inf-check:checked {
    background-color: #174FBF;
    border-color: #174FBF;
    /* viewBox 14×14, path trazado para que el peso óptico caiga en el centro */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7L5.5 10L11.5 4' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 62.5%;   /* 10px sobre 16px — margen óptico de 3px por lado */
    animation: infCheckPop 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

/* Focus por teclado — ring de color de marca, nunca contorno negro */
.inf-check:focus-visible {
    border-color: #174FBF;
    box-shadow: 0 0 0 3px rgba(23, 79, 191, 0.18);
}

/* Micro-animación de "press" al marcar */
@keyframes infCheckPop {
    0%   { transform: scale(1);    }
    35%  { transform: scale(0.82); }
    100% { transform: scale(1);    }
}

/* Visible en select-mode */
/* Checkboxes de fila: ocultos hasta select-mode */
.inf-check.inf-check-row { display: none; }
.inf-bars.inf-select-mode .inf-check-row { display: inline-block; }

/* "Seleccionar todo" wrapper dentro de la action bar */
.inf-select-all-wrap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    user-select: none;
}

.inf-check-all-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #174FBF;
    white-space: nowrap;
    font-family: var(--bcra-font-sans);
    letter-spacing: 0.01em;
}

.inf-select-sep {
    flex: 1;
}

/* ── Barra de acciones de selección ── */
.inf-select-actions {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #f0f5ff;
    border: 1px solid #c3d4f5;
    border-radius: 8px;
    margin-bottom: 4px;
    animation: infSelActIn 0.18s ease;
}

@keyframes infSelActIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.inf-bars.inf-select-mode .inf-select-actions { display: flex; }

.inf-select-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #174FBF;
    font-family: var(--bcra-font-sans);
    flex: 1;
}

.inf-select-delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--bcra-font-sans);
    cursor: pointer;
    transition: background 0.14s ease, transform 0.12s ease;
}

.inf-select-delete-btn:hover { background: #b91c1c; transform: translateY(-1px); }
.inf-select-delete-btn:active { transform: translateY(0); }

.inf-select-cancel-btn {
    padding: 5px 11px;
    background: transparent;
    color: #64748b;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--bcra-font-sans);
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease;
}

.inf-select-cancel-btn:hover { background: #f1f5f9; color: #334155; }

/* ── Icono de documento con chart animado ── */
.inf-file-icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.inf-file-icon-wrap:active .inf-file-icon-svg {
    transform: scale(0.9) !important;
    filter: drop-shadow(0 1px 2px rgba(23,79,191,0.10)) !important;
    transition: transform 0.08s ease, filter 0.08s ease !important;
}

.inf-file-icon-svg {
    display: block;
    filter: drop-shadow(0 1px 2px rgba(23,79,191,0.10));
    transition: filter 0.22s ease, transform 0.18s ease;
}

.inf-file-icon-wrap:hover .inf-file-icon-svg,
.inf-bar:hover .inf-file-icon-svg {
    filter: drop-shadow(0 4px 10px rgba(23,79,191,0.24));
    transform: translateY(-1.5px) scale(1.04);
}

/* Barras del chart: colapsadas por defecto, se animan al pasar el mouse */
.inf-chart-b1,
.inf-chart-b2,
.inf-chart-b3 {
    transform-box: fill-box;
    transform-origin: bottom center;
    transform: scaleY(0);
    transition: transform 0s; /* snap de vuelta al salir */
}

.inf-file-icon-wrap:hover .inf-chart-b1,
.inf-bar:hover .inf-chart-b1 {
    transform: scaleY(1);
    transition: transform 0.30s cubic-bezier(0.34,1.18,0.64,1) 0.02s;
}

.inf-file-icon-wrap:hover .inf-chart-b2,
.inf-bar:hover .inf-chart-b2 {
    transform: scaleY(1);
    transition: transform 0.30s cubic-bezier(0.34,1.18,0.64,1) 0.09s;
}

.inf-file-icon-wrap:hover .inf-chart-b3,
.inf-bar:hover .inf-chart-b3 {
    transform: scaleY(1);
    transition: transform 0.30s cubic-bezier(0.34,1.18,0.64,1) 0.16s;
}

.inf-doc-title {
    font-size: 0.8125rem; font-weight: 600; color: #0f172a;
    letter-spacing: 0.025em; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

/* ── Columna Sujeto ── */
.inf-col-sujeto {
    font-size: 0.8125rem; font-weight: 400; color: #475569;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Columna Fecha ── */
.inf-col-fecha { display: flex; flex-direction: row; align-items: baseline; gap: 6px; }

.inf-fecha-day {
    font-size: 0.8125rem; font-weight: 500; color: #374151;
    white-space: nowrap; font-variant-numeric: tabular-nums;
}

.inf-fecha-time {
    font-size: 0.6875rem; color: #a0aec0;
    white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* ── Columna Acciones ── */
.inf-col-acc { display: flex; align-items: center; gap: 5px; }

.inf-btn-ver,
.inf-btn-pdf {
    display: inline-flex; align-items: center;
    padding: 7px 14px; border-radius: 10px;
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer; font-family: var(--bcra-font-sans);
    white-space: nowrap; border: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    flex-shrink: 0; letter-spacing: 0.01em;
}

.inf-btn-ver { background: #f5f5f7; color: var(--bcra-primary); }
.inf-btn-ver:hover { background: #e5e5ea; transform: translateY(-1px); }

.inf-btn-pdf {
    background: #18181b; color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    justify-content: center;
}
.inf-btn-pdf:hover { background: #27272a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.18); }

.inf-btn-ver:active,
.inf-btn-pdf:active { transform: translateY(0); box-shadow: none; }

.inf-btn-ver:disabled,
.inf-btn-pdf:disabled { opacity: 0.45; cursor: default; pointer-events: none; }

/* ── Columna Kebab ── */
.inf-col-kebab { display: flex; align-items: center; justify-content: center; }

.inf-kebab-wrap { position: relative; }

.inf-kebab-btn {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; border-radius: 6px;
    cursor: pointer; color: #c4cdd8;
    transition: background 0.12s, color 0.12s;
}

.inf-bar:hover .inf-kebab-btn,
.inf-kebab-wrap:has(.inf-kebab-menu--open) .inf-kebab-btn {
    color: #64748b;
}

.inf-kebab-btn:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Dropdown */
.inf-kebab-menu {
    display: none;
    position: absolute;
    right: 0; top: calc(100% + 4px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.1), 0 2px 8px rgba(15,23,42,0.06);
    min-width: 148px;
    z-index: 200;
    overflow: hidden;
    animation: infKebabIn 0.12s ease;
}

.inf-kebab-menu--open { display: block; }

@keyframes infKebabIn {
    from { opacity: 0; transform: scale(0.95) translateY(-4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.inf-kebab-item {
    display: flex; align-items: center; gap: 8px;
    width: 100%; padding: 9px 14px;
    background: none; border: none; border-radius: 0;
    font-size: 0.8125rem; font-weight: 500;
    color: #334155; cursor: pointer;
    font-family: var(--bcra-font-sans);
    text-align: left;
    transition: background 0.1s;
}

.inf-kebab-item:hover { background: #f8fafc; }

.inf-kebab-item--danger { color: #dc2626; }
.inf-kebab-item--danger:hover { background: #fef2f2; }

/* Separador entre opciones */
.inf-kebab-item + .inf-kebab-item {
    border-top: 1px solid #f1f5f9;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .inf-bar { grid-template-columns: 24px 58px 160px auto 32px; gap: 0 12px; }
    .inf-col-sujeto { display: none; }
}

@media (max-width: 580px) {
    .inf-bar { grid-template-columns: 24px 58px 1fr auto 32px; gap: 0 10px; }
    .inf-col-sujeto { display: none; }
    .inf-bar { padding: 9px 12px; }
}

/* ==========================================
 * NO ENCONTRADO — Barra de sin resultados
 * ========================================== */

.bcra-nf-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    font-family: var(--bcra-font-sans);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 1px 2px rgba(0,0,0,0.02);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.bcra-nf-card:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    transform: translateY(-1px);
}


.bcra-nf-info {
    flex: 1;
    min-width: 0;
}

.bcra-nf-doc {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    margin-bottom: 3px;
}

.bcra-nf-desc {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1;
}

@media (max-width: 580px) {
    .bcra-nf-card {
        padding: 11px 14px;
    }
}
