.balance-card .currency-id {
    font-size: 20px;
    font-weight: 600;
    margin-right: 0.3em;
}
:root {
    --sidebar-bg: #ffffff;
    --sidebar-width: 240px;
    --surface: #f6f8fb;
    --text-muted: #7b8899;
    --text-dark: #222b45;
    --accent: #0f08c1;
    --border-color: #e4e7ee;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    background: var(--surface);
    color: var(--text-dark);
    margin: 0;
}

.login-page {
    min-height: 100vh;
    background: #f4f6fb;
    display: flex;
    flex-direction: column;
    color: #1f2733;
}

.bbv-topbar {
    background: #ffffff;
    border-bottom: 1px solid #eef0f6;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bbv-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    color: #1f2733;
    font-size: 1.05rem;
}

.bbv-brand .mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #0e8a7a, #0d7c6d);
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.bbv-lang select {
    min-width: 140px;
    border-radius: 12px;
    border: 1px solid #e0e4ef;
    background: #f7f8fb;
    color: #1f2733;
}

.bbv-shell {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2.25rem 1.25rem 3rem;
}

.bbv-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
    align-items: start;
}

.bbv-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e7e9f1;
    padding: 1.75rem;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.06);
}

.bbv-card.tight {
    padding: 1.35rem 1.6rem;
}

.bbv-card .title {
    margin: 0 0 0.45rem 0;
    font-weight: 400;
    font-size: 34px;
    color: #1f2733;
}

.bbv-subtext {
    color: #5f6b7a;
    margin: 0 0 1.4rem 0;
}

.bbv-form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 100;
    color: #1f2733;
    margin-bottom: 0.35rem;
}

.bbv-inline-link {
    color: #1E92CD;
    text-decoration: none;
    font-weight: 100;
    font-size: 0.95rem;
}

.bbv-inline-link:hover {
    text-decoration: underline;
}

.bbv-input {
    background: #fbfcff;
    border: 1px solid #d9dde8;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    color: #1f2733;
}

.bbv-input:focus {
    border-color: #0e8a7a;
    box-shadow: 0 0 0 0.2rem rgba(14, 138, 122, 0.12);
}

.bbv-btn {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e2e4ec;
    background: #e8eaef;
    color: #9aa0ab;
    font-weight: 100;
    font-size:18px;
    padding: 0.95rem 1rem;
    transition: all 0.2s ease;
}

.bbv-btn:hover,
.bbv-btn:focus {
    background: #1E92CD;
    color: #ffffff;
    border-color: #1E92CD;
    box-shadow: 0 12px 24px rgba(14, 138, 122, 0.18);
}

.bbv-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.bbv-quick {
    border: 1px solid #e6e9f2;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    color: #1f2733;
    text-decoration: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.bbv-quick:hover {
    border-color: #0e8a7a;
    box-shadow: 0 10px 18px rgba(14, 138, 122, 0.08);
}

.bbv-quick .icon {
    width: 22px;
    height: 22px;
    color: #0e8a7a;
}

.bbv-quick small {
    display: block;
    color: #6b7280;
    font-weight: 500;
    margin-top: -2px;
}

.bbv-info-grid {
    border-radius: 2px!important;;
    display: grid;
    gap: 1rem;
}

.bbv-info-item h4 {
    margin: 0.3rem 0 0.25rem 0;
    font-weight: 100;
    color: #1f2733;
}

.bbv-info-item p {
    margin: 0;
    color: #5f6b7a;
}

.bbv-pill-link {
    color: #0e8a7a;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.35rem;
    display: inline-block;
}

.bbv-pill-link:hover {
    text-decoration: underline;
}

.bbv-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(14, 138, 122, 0.08);
    color: #0e8a7a;
}

.login-legal {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

.login-lang-select {
    background: #f7f8fb;
    color: #1f2733;
    border-color: #e0e4ef;
}

.login-lang-select:focus {
    border-color: #0e8a7a;
    box-shadow: 0 0 0 0.2rem rgba(14, 138, 122, 0.12);
}

.login-lang-select option {
    color: #1f2733;
}

.payoneer-body {
    min-height: 100vh;
}

.payoneer-shell {
    display: flex;
    min-height: 100vh;
}

.payoneer-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.sidebar-brand .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.sidebar-brand small {
    color: var(--text-muted);
    display: block;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-nav a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.55rem 0.75rem;
    border-radius: 0.6rem;
    font-weight: 500;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
    background: rgba(255, 174, 0, 0.13);
    color: var(--text-dark);
}

.sidebar-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.sidebar-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payoneer-content {
    flex: 1;
    padding: 2.5rem;
}

.payoneer-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.payoneer-header .eyebrow {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    gap: 0.5rem;
    align-items: center;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 0.9rem;
    background: transparent;
}

.balance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
}

.balance-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 15px 35px rgba(32, 41, 76, 0.08);
}

.balance-card h2 {
    font-size: 1.9rem;
    margin: 0.35rem 0;
}

.balance-card .label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.balance-card .helper {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.balance-card .btn-link {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.section-block {
    background: transparent!important;
    padding: 0px;
    margin-top: 2rem;
    
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.panel-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 10px 20px rgba(32, 41, 76, 0.06);
}

.panel-card h3,
.panel-card h4 {
    margin-top: 0;
}

.mini-table table {
    font-size: 0.9rem;
}

.log-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.log-list li {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.log-list small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.card-gallery {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card-item {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
}

.card-visual {
    position: relative;
    width: 398px;
    height: 251px;
    border-radius: 1rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(32, 41, 76, 0.08);
}

.card-visual::before {
    content: none;
}

.card-visual__top,
.card-visual__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.card-visual__top {
    padding: 1rem 1rem 0.4rem 1rem;
}

.card-visual__number {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    padding: 0 1rem;
    margin: 100px 0 0.75rem 0;
    color: #ffffff;
}

.card-visual__footer {
    padding: 0 1rem 1rem 1rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: #e9efff;
    margin-top: -10px;
}

.card-visual__footer strong {
    display: block;
    font-size: 1rem;
    color: #ffffff;
}

.card-chip {
    background: rgba(14, 138, 122, 0.12);
    color: #0e8a7a;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
}

.card-chip.chip-pendiente {
    background: #ffefb3;
    color: #111111;
}

.card-status {
    border: 1px solid #d9dde8;
    padding: 0.3rem 0.65rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1f2733;
    background: rgba(255, 255, 255, 0.8);
}

.card-status.status-bloqueada {
    color: #b54747;
    border-color: #f2caca;
    background: #fff2f2;
}

.card-status.status-desactivada {
    color: #6b7280;
    border-color: #e5e7eb;
    background: #f9fafb;
}

.card-status.status-en_aprobacion {
    color: #d97706;
    border-color: #fde68a;
    background: #fffbeb;
}

@media (max-width: 1100px) {
    .card-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .card-gallery {
        grid-template-columns: 1fr;
    }
}

.card-actions {
    margin-top: 0;
}

.transactions-board {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.board-main,
.board-side > article {
    background: #fff;
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(32, 41, 76, 0.08);
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.table tbody td {
    border-bottom: 1px solid #f0f2f6;
    font-size: 0.95rem;
}

.action-card {
    border-radius: 1.2rem;
    padding: 1.25rem;
}

.action-card h3 {
    margin-bottom: 0.3rem;
}

.action-form .form-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.request-card {
    background: linear-gradient(135deg, #fff6e6, #ffe5c3);
}

.pay-card {
    background: linear-gradient(135deg, #eef3ff, #e4ecff);
    margin-top: 1rem;
}

@media (max-width: 1100px) {
    .transactions-board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .payoneer-shell {
        flex-direction: column;
    }
    .payoneer-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 5;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .payoneer-content {
        padding: 1.5rem;
    }
}
