/*
┌──────────────────────────────────────────────┐
│                   site.css                   │
└──────────────────────────────────────────────┘

┌──────────────────────────────────────────────┐
│              NO TOCAR EL CODIGO              │
│              TODO ES RELEVANTE               │
│       NO CAMBIAR EL CODIGO NI ESTILOS        │
└──────────────────────────────────────────────┘
*/

/* Paleta de colores principales */
:root {
    --sidebar-bg: #464b46; /* Azul marino para sidebar */
    --sidebar-text: #ffffff; /* Texto blanco en sidebar */
    --topbar-bg: #f8f9fa; /* Fondo claro para la barra superior */
    --main-bg1: #f5f5f5; /* Gris claro para gradiente inicial */
    --main-bg2: #eaeaea; /* Gris un poco más oscuro */
    --main-text: #212121; /* Texto principal */
    --border-color: #dee2e6; /* Gris para bordes */
    /* Tabla */
    --table-header-bg: #464b46; /* Navy medio para header de tabla */
    --table-header-text: #ffffff;
    --table-hover-bg: #eeeeff; /* Azul muy claro en hover */
    /* Botones */
    --btn-primary: #3949ab; /* Azul medio */
    --btn-primary-hover: #283593; /* Azul marino */
    --btn-success: #2196f3; /* Azul brillante en lugar de verde */
    --btn-success-hover: #1e88e5;
    --btn-danger: #d32f2f; /* Rojo oscuro */
    --btn-danger-hover: #c62828;
    --btn-warning: #ff9800; /* Naranja */
    --btn-warning-hover: #fb8c00;
    --btn-green: #198754; /* Verde */
}

body {
    background-image: url('~/Images/divitrade-background.png');
}

    /* Otros Colores y Caracteristicas de Botones */

    .btn-edit {
    background-color: #ffc107 !important; /* color warning de Bootstrap */
    color: white !important;
    border: none !important;
    box-shadow: none !important;
    transition: none !important;
    outline: none !important;
}

.btn-edit:hover,
.btn-edit:focus,
.btn-edit:active {
    background-color: #ffc107 !important;
    color: white !important;
    border: none !important;
    box-shadow: none !important;
    transition: none !important;
    outline: none !important;
}

.btn-green {
    background-color: #198754;
    color: #ffffff;
    border-color: #198754;
    color: white !important;
    border: none !important;
    box-shadow: none !important;
    transition: none !important;
    outline: none !important;
}

.btn-green:hover,
.btn-green:focus,
.btn-green:active {
    background-color: #198754 !important;
    color: white !important;
    border: none !important;
    box-shadow: none !important;
    transition: none !important;
    outline: none !important;
}

/* Roles gradiente boton */

.badge-admin {
    background: linear-gradient(to bottom, #0d6efd, #0a58ca); /* Azul vertical */
    color: white;
    font-weight: bold;
}

.badge-cajero {
    background: linear-gradient(to bottom, #ffb347, #ff9800); /* Amarillo más anaranjado */
    color: white;
    font-weight: bold;
}
/* Fondo degradado para el body */
menu
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, var(--main-bg1), var(--main-bg2));
    color: var(--main-text);
    min-height: 120vh;
    padding-bottom: 100px;
    min-height: 120vh;
    padding-bottom: 100px;
}

/* Elimina subrayado en enlaces por defecto */
a {
    text-decoration: none;
    color: inherit;
}

/* Layout principal (sidebar + contenido) */
.main-container {
    display: flex;
    min-height: 100vh;
}

/* Fuentes */
h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
}

h3#tituloDivisas {
    color: black;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
}

.lead {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

/* NO TOCAR | ❌ | NO | SIDEBAR | NO | ❌ | NO TOCAR */

.sidebar {
    width: 240px;
    background-image: radial-gradient(at 15% 30%, #464b46 0%, transparent 60%), radial-gradient(at 80% 10%, #5f655f 0%, transparent 70%), radial-gradient(at 50% 80%, #8a9c8a 0%, transparent 60%), radial-gradient(at 90% 70%, #cad8c4 0%, transparent 60%), radial-gradient(at 20% 90%, #3e4c47 0%, transparent 50%), radial-gradient(at 60% 40%, #919891 0%, transparent 60%);
    background-color: #2e3d34;
    background-blend-mode: soft-light;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    transition: transform 0.3s ease-in-out;
    min-height: 1200px;
}

.sidebar-footer {
    position: sticky;
    bottom: 0;
    background-color: #f8f9fa;
    padding: 1rem;
    background-color: transparent;
}

/* Encabezado del sidebar */

.sidebar-header {
    color: var(--sidebar-text);
    margin-bottom: 1rem;
    text-align: center;
}

.sidebar-header h4 {
    margin: 0;
    font-weight: 600;
}

/* Enlaces del sidebar */
.sidebar .nav-link {
    color: var(--sidebar-text);
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 4px;
}

.sidebar .nav-link:hover {
    background-color: #6f8a76;
    color: #e0e0e0;
}

/* Footer del sidebar */
.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}s

/* Área de Contenido */
.content-area {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 1200px;
}

/* Topbar */

.topbar {
    background-color: var(--topbar-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.topbar h5 {
    margin: 0;
    color: var(--main-text);
}

/* | NO | NO TOCAR | ❌ | Contenedor principal del contenido | ❌ | NO TOCAR | NO */
.content-wrapper {
    padding: 1rem;
}

/* NO TOCAR | TABLAS | NO TOCAR  */

.table {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.table thead {
    background-color: var(--table-header-bg);
    color: var(--table-header-text);
}

.table tbody tr:hover {
    background-color: var(--table-hover-bg);
}

/* NO TOCAR | BOTONES | NO TOCAR */
.btn {
    border-radius: 4px;
    border: none;
}

.btn-primary {
    background-color: var(--btn-primary);
    color: #ffffff;
    border-color: var(--btn-primary);
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
}

.btn-success {
    background-color: var(--btn-success);
    color: #ffffff;
    border-color: var(--btn-success);
}

.btn-success:hover {
    background-color: var(--btn-success-hover);
    border-color: var(--btn-success-hover);
}

.btn-danger {
    background-color: var(--btn-danger);
    color: #ffffff;
    border-color: var(--btn-danger);
}

.btn-danger:hover {
    background-color: var(--btn-danger-hover);
    border-color: var(--btn-danger-hover);
}

.btn-warning {
    background-color: var(--btn-warning);
    color: #ffffff;
    border-color: var(--btn-warning);
}

.btn-warning:hover {
    background-color: var(--btn-warning-hover);
    border-color: var(--btn-warning-hover);
}

#nextSectionBtn {
    background: #fca404 !important;
    min-width: 200px;
    padding: 0.5em 1em !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: background 0.2s !important;
    font-weight: 700 !important;
    border-radius: 16px !important;
    color: white !important;
    border: 0px !important;
}

/* NO TOCAR | FORMULARIOS | NO TOCAR */
.form-control {
    border-radius: 4px;
    border: 1px solid #bdbdbd;
}

.form-control:focus {
    border-color: var(--btn-primary);
    box-shadow: 0 0 0 0.2rem rgba(57, 73, 171, 0.25);
}

/* NO TOCAR | Media Queries para pantallas pequeñas | NO TOCAR */
@media (max-width: 768px) {

    .main-container {
        flex-direction: column;
    }

    /* El sidebar se posiciona absolute y se oculta hacia la izquierda */
    .sidebar {
        position: absolute;
        top: 0;
        left: 0;
        width: 240px;
        height: 100vh;
        transform: translateX(-100%);
        z-index: 999;
        padding: 0.5rem 0.75rem;
    }
    /* Al togglear, se muestra */
    .sidebar.open {
        transform: translateX(0);
    }

    /* Ajustar encabezado del sidebar */
    .sidebar-header {
        margin-bottom: 0.5rem;
    }

    .sidebar-header h4 {
        font-size: 1.2rem;
    }

    /* Reducir padding en el área de contenido */
    .content-area {
        min-height: 1200px;
    }

    /* Topbar: reduce padding y tamaño de fuente */
    .topbar {
        padding: 0.5rem 1rem;
    }

    .topbar h5 {
        font-size: 1.25rem;
    }

    /* Asegurar que las tablas sean responsivas */
    .table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
    /* NO TOCAR | Ajustes para el botón hamburguesa | NO TOCAR */
    #sidebarToggle {
        background-color: transparent !important; /* color de fondo */
        border: none !important;
        color: #000 !important; /* color negro */
        font-size: 1.5rem; /* tamaño del icono */
    }

    /* Ajustes para el ícono */
    #sidebarToggle i {
        color: #000 !important; /* asegura que el icono sea visible */
    }

    .dropdown-menu {
        position: static !important; /* quita la posición absoluta en moviles */
        float: none;
        width: 100%; /* hace que el menú desplegable ocupe el ancho completo */
        background-color: var(--sidebar-bg);
        border: none !important;
        box-shadow: none;
        margin: 0;
    }

    /* Forzar que cuando esté "activo" se muestre en bloque */
    .dropdown-menu.show {
        display: block !important;
    }

    /* Ajusta el estilo de cada ítem del dropdown si es necesario */
    .dropdown-item {
        color: var(--sidebar-text);
        padding: 0.5rem 1rem;
    }
    
    /* Div Padre en el Top para Mobile & Tablet */
    .overlay-text {
        top: 23% !important;
    }

}

.overlay-text {
    top: 23% !important;
}

/* NO TOCAR ❌ | Mobile Botones Inicio Homepage | ❌ NO TOCAR */

.mobile-nav {
    display: flex;
    background-color: #464b46;
    padding: 10px;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

/* Estilos por defecto (pantallas grandes) */
.mobile-btn {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
    text-decoration: none;
    background-color: rgba(70, 75, 70, 0.3);
    color: white;
    border: 4px solid white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
    padding: 0;
    font-size: 0.75rem;
    transition: background-color 0.2s;
}

    .mobile-btn span {
        font-size: 0.60rem;
            font-weight: 700;
    }

    .mobile-btn i {
        font-size: 3rem;
    }

    .mobile-btn:hover {
        background-color: #ffa500;
        color: white;
    }

    .mobile-btn.text-danger {
        border: 4px solid #ffffff;
        color: white !important;
    }

i.bi.bi-box-arrow-in-right {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-cash-stack {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-search {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-inboxes-fill {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-box {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-graph-up {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-currency-exchange {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi-currency-dollar {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-people {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-house-door {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

i.bi.bi-box-arrow-right {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

    /* BTN Atras */

    .mobile-btn-back {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
    text-decoration: none;
    background-color: #a7a8a7;
    color: white;
    border: 2px solid #ccc;
    border-radius: 28px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    padding: 0;
    font-size: 0.75rem;
    transition: background-color 0.2s;
}

    .mobile-btn-back i {
        font-size: 2rem;
    }

#loginMobileBtn {
    border: 4px solid #ffffff;
    border-radius: 50%;
    padding: 0.5rem 1rem; /* espacio interno */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    #loginMobileBtn.text-success,
    #loginMobileBtn.text-success .bi,
    #loginSpan.text-success {
        color: #ffffff !important;
    }

    .mobile-btn-back:hover {
        background-color: #c2c3c2;
    }

/* SOLO MOBILE */
@media screen and (max-width: 768px) {
    .mobile-btn {
        border: 2px solid white;
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        max-width: 60px;
        max-height: 60px;
    }

    #loginMobileBtn {
        border: 2px solid #ffffff;
        border-radius: 50%;
        padding: 0.5rem 1rem; /* espacio interno */
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .mobile-btn.text-danger {
        border: 2px solid #ffffff;
    }

    .mobile-btn i {
        font-size: 1.5rem;
    }

    .mobile-btn span {
        font-size: 0.5rem;
        font-weight: 700;
        margin: 0;
        padding: 0;
        line-height: 1;
        vertical-align: middle;
        display: block;
    }

    span.btn-label {
        margin: 0;
        padding: 0;
        line-height: 1;
        vertical-align: middle;
        display: block;
    }
}

#mobileMenuContainer {
    display: block !important;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.mobile-exit-btn {
    display: flex;
}

@media (max-width: 768px) {
    .mobile-exit-btn {
        display: flex;
        align-items: center;
        margin-right: 1rem; /* como me-3 */
    }
}

/* Mostrar solo en mobile ; Responsive */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .mobile-nav {
        display: flex;
        overflow: hidden;
    }

    #mobileMenuContainer {
        display: block;
        justify-content: center;
    }
}

/* NO TOCAR ❌ | Mostrar solo en mobile ; Informacion de Usuario | ❌ NO TOCAR */

@media (max-width: 768px) {
    .user-info-mobile {
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

/* NO TOCAR | Pantallas de tablet ; Informacion de Usuario | NO TOCAR */

@media (max-width: 1024px) {
    .user-info-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 8px; 
        text-align: center;
    }
}
 
/* NO TOCAR */

.mobile-menu {
background: linear-gradient(to bottom, #f44336, #cc2b2b);
    border-radius: 20px;
}

.mobile-nav {
    display: none;
}

.mobile-nav.is-open {
    display: flex !important;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        overflow: hidden;
    }
}

/* NO TOCAR ❌ | Compra & Venta | ❌ NO TOCAR */

.menu-container {
    display: flex; 
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.menu-group {
    width: 220px;
    position: relative;
    margin-bottom: 15px;
}

.menu-btn {
    width: 100%;
    height: 60px;
    background-color: #464b46;
    color: white;
    text-align: center;
    line-height: 60px;
    border-radius: 10px 10px 0 0;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.menu-btn:hover {
    background-color: #5a6356;
}

/* Ajuste para pantallas pequeñas */

@media (max-width: 768px) {
    .menu-container {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }

    .menu-group {
        width: 45%;
        margin-bottom: 10px;
    }

    .menu-btn {
        font-size: 16px;
        height: 50px;
        overflow: hidden;
    }
}

/* Ajustes para pantallas pequeñas */

@media (max-width: 768px) {
    .overlay-text {
        position: static; 
        transform: none;
        margin: 20px auto; 
        z-index: auto; 
    }
}

/* Estilo de entrada para monto */
.monto-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* NO TOCAR ❌ | TECLADO | ❌ NO TOCAR */
.keyboard {
    position: relative;
    background-color: #f0f0f0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
    width: 90vw;
    max-width: 50rem;
    height: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.keyboard-main {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    justify-content: space-between;
}

/* Agrupación de filas */
.keyboard-rows {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Fila individual (horizontal) */
.keyboard-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Botones */
.keyboard .key {
    padding: 0.85rem 2.5rem; /* más ancho */
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    color: white;
    text-align: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(to bottom, #f44336, #cc2b2b);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
    box-sizing: border-box;
    min-width: 6rem;
}

.keyboard-row.bottom-row .key {
    flex: 1;
    min-width: 6rem;
}
/* Botones ENTER y BORRAR uno arriba del otro */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Contenedor horizontal para DELETE y OK */
.action-buttons-bottom {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* ENTER ocupa todo el ancho */
.key.enter {
    width: 100%;
    height: 10rem;
    font-size: 2.8rem;
    font-weight: bold;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

/* DELETE ocupa mitad */
.key.delete {
    height: 9rem;
    font-weight: bold;
    background-color: #f44336;
    background: linear-gradient(to bottom, #333, #000);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    clip-path: none;
}

/* OK ocupa mitad */
.confirm-btn {
    height: 9rem;
    font-size: 2.8rem;
    font-weight: bold;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
}

.keyboard .key.delete, key.enter {
    background-color: #f88;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key.delete {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    border: none;
    padding: 1rem 3rem;
    clip-path: polygon( 20% 0%, 0% 50%, 20% 100%, 100% 100%, 100% 0% );
}

button.key.enter, key.enter {
    width: 100% !important;
    padding: 1rem 2rem;
}

key.enter {
    height: 4.65rem;
}

.keyboard-row .key {
    flex: 1;
    min-width: 6rem;
}

/* Hover/Active */
.keyboard .key:hover {
    background-color: #d33;
}

    .keyboard .key:active {
        background-color: #b22;
    }

    .keyboard .key:active {
        background-color: #ccc;
    }

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 100% !important;
    }
}

@media (max-width: 1800px) and (max-height: 1800px) {

    body {
        background-color: #f0f0f0; 
    }

    .overlay-text {
        top: 23% !important;
    }

    .main-content {
        font-size: 1.2rem;
    }
}top

/* NO TOCAR | BANNER DIVITRADE | NO TOCAR */
#homeBanner {
    background-image: url('/Images/divitrade-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width: 768px) {
    #homeBanner {
        /* ancho libre */
        width: auto !important;
        max-width: none !important;
        max-height: none !important;
        /* mostrar todo lo que haya dentro, sin recortar */
        overflow: visible !important;
    }
}

/* Popup Detalle CSS */

#popupDetalle {
    font-family: Arial;
    padding: 20px;
    width: 300px;
    color: black !important;
}

#popupDetalle h2,
#popupDetalle p,
#popupDetalle strong {
    color: black !important;
}

#ticketModal {
    color: black !important;
}

/* NUEVO FLUJO COMPRA Y VENTA */

.botones-divisas {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.botones-divisas button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.botones-divisas button:hover {
    background-color: #0056b3;
}

.inputs-operacion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.acciones-operacion {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Boton Divisas */

#botonesDivisas {
    display: flex;
    flex-wrap: wrap; /* permiten saltar a la siguiente “línea” */
    justify-content: center; /* centran el grupo de botones */
    gap: 15px; /* espacio uniforme entre botones */
}

    #botonesDivisas button {
        min-width: 140px; /* ancho fijo mínimo */
        padding: 12px 24px; /* padding vertical y horizontal */
        font-size: 2rem; /* tamaño de texto legible */
        text-align: center;
        border: none;
        border-radius: 6px;
        color: white;
        font-weight: 700;
        cursor: pointer;
        transition: transform .1s, background-color .2s;
        width: auto;
        justify-content: center;
        background: linear-gradient(to bottom, #f44336, #ff0000);
    }

#botonesDivisas button:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 0, 0, 0.4);
}

.cajastexto {
    color: white;
    font-weight: 700;
    text-align: center;
}

.cajasDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding-bottom: 20px;
}

form#cajasForm {
    padding: 10px 20px 10px 20px;
    background: linear-gradient(to bottom, #f44336, #ff0000);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

p.plata {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

input#\34, input#\33, input#\31 {
    width: 2rem;
    height: 1rem;
}

/* Mostrar menú mobile solo hasta 800px */
@media (max-width: 800px) {
    #mobileMenuContainer {
        display: block !important;
        justify-content: center;
    }

    #sidebar {
        display: none !important;
    }

    form#cajasForm {
        font-size: 1.2rem;
        padding: 10px 20px;
        color: white;
    }

        form#cajasForm input[type="radio"] {
            transform: scale(1.3);
            margin-right: 6px;
        }
}

/*/*/

#ticketModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.75);
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    #ticketModal > div {
        position: absolute !important;
        top: 0 !important;
        left: 50%;
        transform: translateX(-50%) !important;
        background: #fff;
        padding: 24px 32px;
        border-radius: 10px;
        width: 420px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        text-align: center;
        border: 1px solid #ccc;
    }

#ticketTitle {
    font-size: 1.6em;
    color: #111;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

#ticketModal p {
    font-size: 1em;
    margin: 0.5em 0;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-align: center;
}

    #ticketModal p strong {
        font-weight: 600;
        color: #000;
    }

    #ticketModal p span {
        padding: 2px 8px;
        color: #111;
        min-width: 100px;
    }

span#total {
    width: 100%;
}

.ticket-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 2em;
}

#ticketModal button {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    font-size: 0.95em;
    cursor: pointer;
    transition: background 0.25s ease;
}

#btnPrintTicket {
    background-color: #2e5aac;
    color: #fff;
}

    #btnPrintTicket:hover {
        background-color: #1f417a;
    }

#ticketModal button:not(#btnPrintTicket) {
    background-color: #f1f1f1;
    color: #333;
}

    #ticketModal button:not(#btnPrintTicket):hover {
        background-color: #ddd;
    }

/* GRID TABLE */

.grid-table {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) repeat(calc(var(--cols) - 1), minmax(100px, 1fr));
    gap: 1px;
    background: #ddd;
    border-radius: 10px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.grid-cell {
    background: #fff;
    padding: 1rem 0.6rem;
    text-align: center;
    line-height: 1.4;
    transition: background 0.15s ease, transform 0.15s ease;
}

    .grid-cell:not(.grid-header):active {
        background: #e8f0ff;
        transform: translateY(1px);
    }

.grid-header {
    position: sticky;
    top: 0;
    background: linear-gradient(to bottom, #f44336, #cc2b2b);
    color: #fff;
    font-weight: 700;
    z-index: 2;
}

.grid-cell:nth-child(1),
.grid-cell:nth-child(1) ~ .grid-cell:nth-of-type(var(--cols)n + 1) {
    position: sticky;
    left: 0;
    background: #fafafa;
    font-weight: 600;
    z-index: 1;
}

.grid-table::-webkit-scrollbar {
    height: 8px;
    background: transparent;
}

.grid-table::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.btn-action {
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

    .btn-action:active {
        transform: translateY(1px);
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

#btnCierre {
    background: linear-gradient(to bottom, #ff4d4d, #e60000);
}

#btnModificar {
    background: linear-gradient(to bottom, #ff4d4d, #e60000);
}

button#btnblanquear {
    background: linear-gradient(to bottom, #ff4d4d, #e60000);
}

.action-panel {
    display: flex;
    flex-wrap: wrap; /* que baje a varias filas en pantallas pequeñas */
    align-items: center; /* todos centrados verticalmente */
    gap: 1rem;
    padding: 5px 10px 5px 20px;
    background: #dfdede;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 6px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

#btnCierre {
    background-color: forestgreen;
}

#btnModificar {
    background-color: #1565c0;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-label {
    font-size: 0.45rem;
    font-weight: 300;
}

.cajasDivHome {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ff4d4d, #e60000);
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cajasTexto {
    margin: 0;
    font-weight: 600;
    color: #333;
    font-size: 0.8rem;
    color: #fff;
}

.cajasRadios {
    display: flex;
    gap: 0.5rem;
}

    .cajasRadios label {
        display: flex;
        align-items: center;
        gap: 0.2rem;
        font-size: 0.8rem;
        color: #fff;
    }

    .cajasRadios input[type="radio"] {
        transform: scale(0.9); /* radio un poco más chico */
        margin: 0;
    }

.botonOp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #9a9a9a;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: #fff;
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
}

    .botonOp:hover {
        background-color: #c0c0c0;
    }

    .botonOp:active {
        transform: translateY(1px);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

.form-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.modal {
    --bs-modal-width: 90%; /* usa porcentaje en lugar de px */
}

.topbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 40px !important; /* o el alto que desees */
    min-height: 0 !important;
}

.botonOp.activo {
background: linear-gradient(to bottom, #ff4d4d, #e60000);
    color: white;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 6px;
}

    .botonOp.activo:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
    }

    /* No Print Ticket */

@media print {
    #btnPrintTicket,
    #ticketModal button {
        display: none !important;
    }
}

/* TasaCompra Input planchado */
input.dropdown:disabled {
    color: white !important;
    font-style: normal !important;
    cursor: default !important;
}

/* Ticket adicional Print */
/* elimina márgenes de la impresora */
@page {
    size: 420px auto;
    margin: 0;
}

@media print {
    html, body {
        height: auto !important;
        overflow: hidden !important;
    }

        body.print-ticket * {
            visibility: hidden !important;
        }

        body.print-ticket #ticketModal,
        body.print-ticket #ticketModal * {
            visibility: visible !important;
        }

        /* Full-page blanco */
        body.print-ticket #ticketModal {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: auto !important;
            background: white !important;
        }

            body.print-ticket #ticketModal > div {
                /* Sin sombras, centrado arriba */
                position: absolute !important;
                top: 0 !important;
                left: 50% !important;
                transform: translateX(-50%) !important;
                box-shadow: none !important;
                /* Asegura que no haya salto de página interno */
                break-inside: avoid !important;
                page-break-inside: avoid !important;
            }

        /* Oculta botones */
        body.print-ticket button {
            display: none !important;
        }
}

/* Modal Contraseña Modificar Caja */
.modal-content {
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    border: none;
    max-width: 1000px;
    margin: auto;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

/* Footer sin borde y con botones centrados */
.modal-footer {
    border-top: none;
    justify-content: center;
    gap: 1rem;
}

    /* Botones */
    .modal-footer .btn-primary {
        background-color: #007bff;
        border: none;
    }

    .modal-footer .btn-secondary {
        background-color: #6c757d;
        border: none;
    }

    .modal-footer .btn:hover {
        opacity: 0.9;
    }

#toggleClave {
    border: none;
    background: none;
    font-size: 1.2rem;
    color: #555;
}

/* Error */
#mensajeError {
    font-size: 0.9rem;
    color: red;
}

/* Responsive */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-content {
        width: 100%;
    }
}

@media print {
    .modal-body {
        padding-bottom: 0 !important;
    }
}

/* INPUTS COMPRA Y VENTA */
/* VENTA */

:root {
    --input-altura: 6rem; /* altura fija de la caja */
    --texto-tamaño: 2.25rem; /* tamaño de letra deseado */
    --input-altura-mid: 32px; 
}

/* Placeholder también */
#montoPesosVenta::placeholder,
#tasaVenta::placeholder {
    font-size: var(--texto-tamaño) !important;
    line-height: var(--input-altura) !important;
}

/* COMPRA */

:root {
    --input-altura: 6rem; /* altura fija de la caja */
    --texto-tamaño: 3.25rem; /* tamaño de letra deseado */
}

/* Aplica a todos los inputs de Compra y Venta */
#tasaCompra,
#montoPesosCompra,
#tasaVenta,
#montoPesosVenta {
    font-size: var(--texto-tamaño) !important; /* letra gigante */
    box-sizing: border-box; /* padding dentro */
    padding: 0 0.75rem; /* mismo padding horizontal */
    text-align: center;
}

    /* Placeholder también escalado igual */
    #tasaCompra::placeholder,
    #montoPesosCompra::placeholder,
    #tasaVenta::placeholder,
    #montoPesosVenta::placeholder {
        font-size: var(--texto-tamaño) !important;
        line-height: var(--input-altura) !important;
    }

/* TRADING CSS */

/* NO TOCAR | Div Padre Botones Compra y Venta | NO TOCAR */
.overlay-text {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(56, 65, 46, 0.3);
    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
    white-space: normal;
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

.overlay-text h1 {
    font-weight: 500;
}

.overlay-text p {
    font-weight: 300;
}

/* NO TOCAR | Estilos Imagen Background Div Padre Botones Compra y Venta | NO TOCAR */

.transparent-image {
    opacity: 0.5;
}

.full-width-image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    opacity: 0.5;
}

/* ❌ NO | NO TOCAR | Div Botones Compra y Venta | NO TOCAR | NO ❌ */

.menu-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

div#ventaBtn,
div#compraBtn {
    font-size: xxx-large;
}

.menu-btn {
    width: 100%;
    height: 110px;
    background: linear-gradient(to bottom, #f44336, #ff0000);
    color: white;
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center; /* centra verticalmente */
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.menu-btn,
.expanded-menu {
    width: 100%; /* 100% del tamaño de su .menu-group */
}

    .menu-btn:hover {
        background-color: #5a6356;
    }

.menu-group {
    position: relative;
    z-index: 2;
}

.menu-group {
    flex: 0 1 250px; /* crece hasta 250px o se adapta pero no menos */
    max-width: 100%;
}

.menu-group {
    flex: 1; /* cada botón ocupa el mismo ancho proporcional */
    max-width: 100%;
}

.menu-group {
    flex: 1 1 250px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.dropdown {
    display: flex;
}

.dropdown {
    width: 100%;
    padding: 0px;
    margin-bottom: 15px;
}

.info-text {
    margin-bottom: 15px;
    font-size: 16px;
    color: #464b46;
}

.welcome-text {
    background-color: rgba(56, 65, 46, 0.7);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    z-index: 2;
}

/* --- Impide que COMPRA y VENTA se apilen en Mobile --- */
.menu-container {
    flex-wrap: nowrap !important;
}

    .menu-container .menu-group {
        flex-shrink: 0 !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }

    .menu-container .menu-btn {
        width: 100% !important;
    }

.mobile-menu-container {
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important; /* asegura que quede por encima del banner */
}

/* NO TOCAR | Editable de Input Compra & Venta | NO TOCAR */

.editable-input {
    position: relative;
    justify-content: center;
}

    .editable-input input {
        width: 100%;
        padding-right: 10em;
        pointer-events: none;
        background-color: #fca404 !important;
        border: 1px solid #ccc;
        border-radius: 4px;
        color: rgba(0, 0, 0, 0.4); /* gris con opacidad */
        height: 4rem;
    }

        .editable-input input:enabled {
            pointer-events: auto;
            background-color: #fca404 !important;
            color: #000;
            font-style: normal;
        }

.tasa-container {
    display: flex;
    justify-content: center;
}

label[for="montoPesosCompra"] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.edit-icon,
.confirm-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2em;
}

.edit-icon {
    right: 2em;
}

/* NO TOCAR | BOTONES COMPRA Y VENTA | NO TOCAR */

.cancel-btn {
    background: #f5f5f5;
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid #ccc;
    padding: 0.5em 1em;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

    .cancel-btn:hover {
        background: #e0e0e0;
    }

.confirm-icon {
    right: 0.5em;
    display: none;
}

.confirm-btn {
    background-color: #67FF62;
    color: white;
    font-size: 2.8rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    min-width: 200px;
    max-width: 100%;
}

.action-buttons-bottom {
    display: flex;
    gap: 10px;
    width: 100%;
}

.confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 2.8rem;
    background-color: green;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.back-btn {
    font-size: 24px;
    cursor: pointer;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

/* NO TOCAR | BACKGROUND DIVITRADE | NO TOCAR */

.divitrade-banner {
    position: relative;
    background-image: url('/images/welcome.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* NO TOCAR | Popup Alerta Ticket Print | NO TOCAR */

.popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

    .popup.show {
        opacity: 0.9;
    }

/* Popup Ticket */

#ticketModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

    #ticketModal > div {
        background: white;
        padding: 20px;
        border-radius: 8px;
        width: 400px;
        margin: auto;
    }

.grid-table {
    display: grid;
    border: 1px solid #ccc;
    /* definimos tantas columnas como Model.Count + 1 (una para los rótulos de fila) */
    grid-template-columns: repeat( @(Model.Monedas.Count() + 1), auto);
}

.grid-header {
    background-color: gray;
    color: white;
    font-weight: bold;
}

.grid-cell {
    padding: 8px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
}
    /* eliminamos borde extra en la primera columna izquierda */
    .grid-cell:first-child {
        border-left: none;
    }
/* eliminamos borde extra en la primera fila (header) */
.grid-cell-row0 {
    border-top: none;
}

/* Mobile Compra y Venta */
@media (max-width: 768px) {
    /* Contenedor menú móvil */
    .mobile-menu-container {
        width: 100%;
        left: 0;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    /* Menú en columna para mejor lectura */
    .mobile-menu {
        gap: 10px;
        padding: 10px 0;
        align-items: stretch;
    }

    /* Botones del menú móvil */
    .mobile-btn {
        font-size: 1.1rem;
        padding: 12px 0;
        width: 100%;
        justify-content: flex-start;
    }

    /* Botones Compra y Venta */
    .menu-btn {
        font-size: 1.2rem;
        height: 50px;
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0;
    }

    /* Contenedores principales del flujo */
    #menuInicial,
    #divisaContainer,
    #formularioContainer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 10px;
        width: 100%;
    }

    /* Botones de acción */
    .btn-compra,
    .cancel-btn,
    #nextSectionBtn {
        width: 80%;
        font-size: 1.1rem;
        padding: 12px 0;
        margin: 0 auto;
        display: block;
    }

    /* Inputs y selects */
    input,
    select {
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    /* Teclado numérico (si aplica) */
    .keyboard-main {
        width: 100%;
    }

    .key {
        font-size: 1.1rem;
        width: 30vw;
        max-width: 80px;
        margin: 0 4px 8px 4px;
    }

    div#ventaBtn, div#compraBtn {
        font-size: large !important;
    }

    button#toggleMenuBtn {
        position: relative !important;
        width: 90% !important;
        left: 0% !important;
    }

    a#botonFlecha {
        border-radius: 0px;
        height: 150px !important;
        min-height: 150px;
    }

    #botonesDivisas button {
        min-width: 100px;
        font-size: 1.75rem;
    }

    #nextSectionBtn, button#cancelarBtn {
        min-width: 0px !important;
    }
}

/* Para móviles pequeños (menos de 480px) */
@media (max-width: 480px) {
    .menu-btn {
        width: 95% !important; /* Ocupa casi todo el ancho */
        height: 45px;
    }

    .row.align-items-center {
        width: auto !important;
        max-width: none !important;
    }
    .container-fluid {
        overflow-x: auto !important; /* Habilita scroll horizontal */
        -webkit-overflow-scrolling: touch !important; /* Suaviza el scroll en iOS */
        white-space: nowrap !important;
    }
}

.dropdown {
    border: 0px !important;
}

/* Ticket Multiple CSS */
@media print {
    body * {
        visibility: hidden !important;
    }

    #listadoModal,
    #listadoModal * {
        visibility: visible !important;
    }

    #listadoModal {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        background: white !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 9999 !important;
        display: block !important;
    }

    #listadoContenido {
        position: relative !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 420px !important;
        /* padding y margin quitados */
        box-shadow: 0 0 0 1px #ccc !important;
        background: white !important;
        text-align: center !important;
    }

    #cerrarListado,
    #printListado {
        display: none !important;
    }
}

.tcktxt {
    font-weight: 700;
    color: #111111;
}

/* Ticket Multiple */
@media print {
    body * {
        visibility: hidden;
    }

    #ticketModal, #ticketModal * {
        visibility: visible;
    }

    #ticketModal {
        position: static !important;
        background: white !important;
        box-shadow: none !important;
        width: auto !important;
        margin: 0 auto !important;
    }
}

/* Ticket Unico */
@media print {
    /* Ocultar todo */
    body * {
        visibility: hidden !important;
    }

    /* Mostrar solo el modal y su contenido */
    #ticketModal,
    #ticketModal *,
    #ticketContent,
    #ticketContent * {
        visibility: visible !important;
    }

    /* Resetear el modal para impresión */
    #ticketModal {
        position: static !important;
        background: white !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    /* Resetear el contenido del ticket */
    #ticketContent {
        position: static !important;
        transform: none !important;
        background: white !important;
        border: none !important; /* ✅ SIN BORDE */
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 auto !important;
        width: 400px !important;
        max-width: 100% !important;
        padding: 20px !important;
        padding-top: 50px !important;
        text-align: center !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

        /* Ocultar botones en impresión */
        #ticketContent button,
        #closeTicket,
        #printTicket {
            display: none !important;
        }

        /* Estilos limpios, sin bordes */
        #ticketContent h2 {
            font-size: 1.6em !important;
            font-weight: bold !important;
            margin-bottom: 0.5em !important;
            border: none !important; /* ✅ QUITA LA LÍNEA BAJO EL TÍTULO */
            padding: 0 !important;
        }

        #ticketContent p {
            font-size: 1.2em !important;
            font-weight: 500 !important;
            margin: 0.5em 0 !important;
        }

            #ticketContent p strong {
                font-weight: 700 !important;
            }

        #ticketContent #montoEnPesos,
        #ticketContent #tasaAplicada {
            font-weight: 600 !important;
        }

        #ticketContent #total {
            font-size: 1.5em !important;
            font-weight: bold !important;
            border: none !important; /* ✅ QUITA LÍNEAS */
            padding: 0 !important;
            margin: 1em 0 !important;
        }

    #fechaOperacion {
        font-size: 12px !important;
    }
}

@media print {
    #fechaOperacion {
        font-size: 12px !important;
    }
}