/* ==========================================================================
   PROTAGON BUSINESS - CORE SYSTEM & MASTER DICTIONARY
   ========================================================================== */

/* 1. IMPORTACIÓN DE FUENTE GLOBAL (Unificamos Google Sans / Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Google+Sans:wght@400;500;700&display=swap');

/* =========================================================
   2. EL DICCIONARIO MAESTRO (VARIABLES GLOBALES)
   ========================================================= */
:root {
    /* --- A. PALETA DE COLORES (MODO CLARO) --- */
    --c-primary: #4a98f7;          /* Reemplaza: --p-azul, --ui-primary, --color-principal */
    --c-primary-hover: #357bd9;
    --c-primary-glow: rgba(213, 220, 228, 0.15);
    
    --bg-body: #f8fafc;            /* Reemplaza: --p-fondo, --bg-light, --ui-bg-page */
    --bg-surface: #ffffff;         /* Reemplaza: --p-blanco, --ui-bg-card */
    --bg-surface-hover: #f1f5f9;
    
    --t-main: #1e293b;             /* Reemplaza: --p-negro, --ui-text-main */
    --t-muted: #64748b;            /* Reemplaza: --p-gris-oscuro, --text-muted */
    --t-light: #94a3b8;            /* Reemplaza: --p-gris-suave, --ui-text-light */
    
    --b-color: #e2e8f0;            /* Reemplaza: --p-borde, --ui-border */
    --b-focus: #bfdbfe;
    
    /* Estados y Alertas */
    --c-success: #10b981;
    --c-warning: #f59e0b;
    --c-danger: #ef4444;

    /* --- B. TIPOGRAFÍA Y FORMAS --- */
    --font-main: 'Inter', 'Google Sans', sans-serif;
    
    --r-sm: 8px;                   /* Para inputs y etiquetas */
    --r-md: 16px;                  /* Para tarjetas y modales */
    --r-pill: 9999px;              /* Para botones redondos */
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    
    /* --- C. MEDIDAS ESTRUCTURALES MAESTRAS --- */
    --layout-header-h: 70px;
    --layout-sidebar-w: 280px;
    --layout-mob-header-h: 60px;
    --layout-bot-nav-h: 65px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   3. MODO OSCURO (DARK MODE) AUTOMÁTICO
   ========================================================= */
[data-theme="dark"] {
    --bg-body: #09090b;
    --bg-surface: #121214;
    --bg-surface-hover: #1e1e20;
    
    --t-main: #f8fafc;
    --t-muted: #94a3b8;
    --t-light: #475569;
    
    --b-color: #27272a;
    --b-focus: #3b82f6;
    
    --c-primary: #5ba4fc;
    --c-primary-glow: rgba(59, 130, 246, 0.2);
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.8);
}

/* =========================================================
   4. RESET Y BASE
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

body, html { 
    height: 100vh; 
    font-family: var(--font-main); 
    background: var(--bg-body); 
    color: var(--t-main);
    overflow: hidden; 
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s, color 0.3s;
}

/* Scrollbars Globales Limpios */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--b-color); border-radius: 10px; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--t-light); }

/* =========================================================
   5. LAYOUT MAESTRO (Escritorio)
   ========================================================= */
.fila-flex {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: var(--bg-body); /* DINÁMICO */
}

/* Sidebar (Columna Izquierda) */
.col1 {
    width: var(--layout-sidebar-w);
    min-width: var(--layout-sidebar-w);
    flex: 0 0 var(--layout-sidebar-w);
    background: var(--bg-surface); /* DINÁMICO */
    border-right: 1px solid var(--b-color);
    height: 100vh;
    overflow-y: auto;
    z-index: 20;
    transition: var(--transition);
}

/* Main Content (Área Central) */
#main-content {
    flex: 1; /* Esto hace que ocupe todo el espacio restante automáticamente sin cálculos fijos */
    max-width: 100%;
    overflow-y: auto;
    padding: 0px 20px;
    background: var(--bg-body);
    position: relative;
    scroll-behavior: smooth;
}

/* Widgets (Columna Derecha) */
.col3 {
    flex: 0 0 300px;
    max-width: 300px;
    border-left: 1px solid var(--b-color);
    background: var(--bg-surface); /* DINÁMICO */
    overflow-y: auto;
    padding: 10px 10px;
}

.col-main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    width: calc(100% - var(--layout-sidebar-w));
}

.content-split {
    display: flex;
    flex-grow: 1;
    height: calc(100vh - var(--layout-header-h));
    overflow: hidden;
    width: 100%;
}

/* Header Global */
.header {
    height: var(--layout-header-h);
    background: var(--bg-surface); /* DINÁMICO */
    border-bottom: 1px solid var(--b-color);
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 10;
}

/* Ocultar Scrollbars internos de columnas */
.col1::-webkit-scrollbar, #main-content::-webkit-scrollbar, .col3::-webkit-scrollbar { display: none; }
.col1, #main-content, .col3 { -ms-overflow-style: none; scrollbar-width: none; }

/* =========================================================
   6. COMPONENTES GLOBALES REUTILIZABLES (UI KIT BASE)
   ========================================================= */

/* A. Tarjetas Base (Reemplaza a .box-modulo y .ui-card) */
.box-modulo, .ui-card {
    background: var(--bg-surface);
    border-radius: var(--r-md);
    border: 1px solid var(--b-color);
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.box-modulo:hover, .ui-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--c-primary-glow);
}

/* Títulos de Widgets/Cajas */
.widget-titu, .card-titu {
    font-size: 12px;
    font-weight: 700;
    color: var(--t-light);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* B. Botones Globales (Homologación de .btn-ui y .btn-protagon) */
.btn-ui, .btn-protagon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--r-pill);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    outline: none;
}
.btn-ui:active, .btn-protagon:active { transform: scale(0.96); }

/* Variantes de Botones */
.btn-ui.primary, .btn-protagon {
    background: var(--c-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px var(--c-primary-glow);
}
.btn-ui.primary:hover, .btn-protagon:hover { background: var(--c-primary-hover); }

.btn-ui.secondary {
    background: var(--bg-surface);
    color: var(--t-main);
    border-color: var(--b-color);
}
.btn-ui.secondary:hover { background: var(--bg-surface-hover); }

/* C. Formularios Globales (Homologación de .form-control y .input-estandarx) */
.form-control, .input-estandarx, .pro-swal-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--t-main);
    border: 1px solid var(--b-color);
    border-radius: var(--r-sm);
    background: var(--bg-body);
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
}
.form-control:focus, .input-estandarx:focus, .pro-swal-input:focus {
    border-color: var(--c-primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px var(--c-primary-glow);
}

/* ==========================================================================
   7. RESPONSIVE NATIVO (MOBILE FIRST ADAPTATION)
   ========================================================================== */
.mobile-header, .bottom-nav, .mobile-overlay, .mob-search-container { display: none; }

@media (max-width: 992px) {
    #main-content { flex: 0 0 100%; max-width: 100%; }
    .col3 { display: none !important; } 
}

@media (max-width: 768px) {
    /* Reset de estructura a 1 columna */
    .fila-flex { flex-direction: column; }
    .col-main-wrapper { width: 100%; height: 100%; }
    .content-split { height: 100%; display: block; }
    .header { display: none !important; }
    
    /* Header Móvil */
    .mobile-header {
        display: flex; justify-content: space-between; align-items: center;
        height: var(--layout-mob-header-h);
        background: var(--bg-surface);
        border-bottom: 1px solid var(--b-color);
        padding: 0 15px; position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
        transition: transform 0.3s ease;
    }
    .mobile-header .logo-area img {
        content: url("../img/logo.svg");
        height: 28px;
        width: auto;
    }

    /* Logo Móvil en Modo Oscuro */
    [data-theme="dark"] .mobile-header .logo-area img {
        content: url("../img/logo-w.svg");
    }
    .mobile-header .right-actions { display: flex; align-items: center; gap: 15px; }

    .mob-icon-btn {
        background: none; border: none; font-size: 20px; color: var(--t-muted);
        cursor: pointer; position: relative; padding: 5px;
    }
    .mob-badge {
        position: absolute; top: 0; right: 0;
        background: var(--c-danger); color: #fff;
        font-size: 9px; font-weight: 700;
        min-width: 14px; height: 14px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        border: 2px solid var(--bg-surface);
    }

    /* Buscador Móvil Desplegable */
    .mob-search-container {
        display: none; position: fixed; top: var(--layout-mob-header-h); left: 0; width: 100%;
        background: var(--bg-surface); padding: 10px 15px;
        box-shadow: var(--shadow-md); z-index: 99; border-bottom: 1px solid var(--b-color);
    }
    .mob-search-container.active { display: block; animation: slideDown 0.2s ease; }
    @keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

    /* Ajuste Main Content Móvil */
    #main-content {
        flex: none; width: 100%; height: 100vh;
        padding: 55px 5px !important;
    }

    /* Menú Lateral (Drawer) */
    .col1 {
        position: fixed; top: 0; left: -100%; width: 80%; height: 100%;
        z-index: 2000; box-shadow: 5px 0 25px rgba(0,0,0,0.5);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); border-right: none;
    }
    .col1.active { left: 0; }
    
    .mobile-overlay {
        display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.6); z-index: 1999;
        opacity: 0; visibility: hidden; transition: all 0.3s;
    }
    .mobile-overlay.active { opacity: 1; visibility: visible; }

    /* Bottom Navigation */
    .bottom-nav {
        display: flex; justify-content: space-around; align-items: center;
        position: fixed; bottom: 0; left: 0; width: 100%;
        height: var(--layout-bot-nav-h);
        background: var(--bg-surface); border-top: 1px solid var(--b-color);
        z-index: 100; padding-bottom: env(safe-area-inset-bottom);
        transition: transform 0.3s ease;
    }
    .bn-item {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        color: var(--t-muted); text-decoration: none; font-size: 10px; font-weight: 600;
        width: 20%; height: 100%; gap: 4px; transition: var(--transition);
    }
    .bn-item i { font-size: 20px; }
    .bn-item.active { color: var(--c-primary); }
    .bn-item.active i { transform: translateY(-2px); }

    /* Ocultar Nav al Scrollear */
    .nav-hidden .mobile-header { transform: translateY(-100%); }
    .nav-hidden .bottom-nav { transform: translateY(100%); }
    .nav-hidden .mob-search-container { display: none; }
}

/* ==========================================================================
   OPTIMIZACIÓN PARA ISLA DINÁMICA - BUSCADOR Y HEADER
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. El Header móvil debe respetar el área segura para no encimarse */
    .is-native-app .mobile-header {
        height: calc(var(--layout-mob-header-h) + var(--ios-top)) !important;
        padding-top: var(--ios-top) !important;
        display: flex !important;
        align-items: center !important;
        position: fixed !important;
        top: 0 !important;
        z-index: 1000 !important; /* Aseguramos que esté arriba de todo */
    }

    /* 2. El Buscador desplegable (el que sale al dar clic al botón) */
    .is-native-app .mob-search-container {
        /* Se debe posicionar JUSTO debajo del header ya desplazado */
        top: calc(var(--layout-mob-header-h) + var(--ios-top)) !important;
        z-index: 999 !important;
        border-top: 1px solid var(--b-color);
        padding: 15px !important;
    }

    /* 3. Ajuste del contenido principal para que no se esconda */
    .is-native-app #main-content {
        /* Sumamos el alto del header + el área segura + un pequeño aire */
        padding-top: calc(var(--layout-mob-header-h) + var(--ios-top) + 15px) !important;
    }
    
    /* 4. Corregimos el Drawer (Menú lateral) para que no tape la hora/batería */
    .is-native-app .col1 {
        padding-top: var(--ios-top) !important;
    }
}

/* =========================================================
   8. COMPONENTES DEL HEADER (CABECERA DESKTOP)
   ========================================================= */
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; width: 100%; }
.header-actions { display: flex; align-items: center; gap: 15px; }

.header-dropdown-wrapper { position: relative; }

/* Buscador del Header */
.header-search { position: relative; width: 350px; }
.header-search input { width: 100%; padding: 10px 20px 10px 45px; border-radius: var(--r-pill); border: 1px solid var(--b-color); background: var(--bg-body); color: var(--t-main); font-size: 14px; transition: var(--transition); outline: none; }
.header-search input:focus { border-color: var(--c-primary); background: var(--bg-surface); box-shadow: 0 0 0 3px var(--c-primary-glow); }
.header-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--t-light); font-size: 14px; }

/* Botones Circulares */
.action-circle { 
    position: relative; cursor: pointer; width: 40px; height: 40px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; transition: var(--transition); 
    background-color: var(--c-primary); box-shadow: 0 4px 10px var(--c-primary-glow); border: none; 
}
.action-circle > i { 
    color: #ffffff; font-size: 16px; transition: var(--transition); 
}

.action-circle:hover { 
    background-color: var(--bg-surface-hover); 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-sm);
}
.action-circle:hover > i { 
    color: var(--c-primary) !important; 
}

.action-circle:active { transform: scale(0.95); }
.active-header-btn { background-color: var(--t-main) !important; color: var(--bg-surface) !important; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important; }

/* Badge (Notificaciones) */
.num-badge { position: absolute; top: -2px; right: -2px; background-color: var(--c-danger); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg-surface); padding: 0 4px; z-index: 10; }

/* =========================================================
   9. DROPDOWNS (MENÚS DESPLEGABLES DEL HEADER)
   ========================================================= */
.dropdown-notif,
.dropdown-add {
    position: absolute;
    top: calc(100% + 10px); 
    right: 0;
    background: var(--bg-surface);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--b-color);
    display: none; 
    z-index: 1000;
    overflow: hidden;
    cursor: default;
    text-align: left;
}
.dropdown-notif { width: 320px; }
.dropdown-add { width: 220px; }

.dropdown-notif.active, 
.dropdown-add.active { 
    display: block; 
    animation: fadeIn 0.2s ease; 
}

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

.dropdown-item { padding: 12px 15px; border-bottom: 1px solid var(--b-color); cursor: pointer; font-size: 14px; color: var(--t-main); transition: var(--transition); display: flex; align-items: center; gap: 12px; background: var(--bg-surface); }
.dropdown-item:hover { background: var(--bg-surface-hover); color: var(--c-primary); padding-left: 20px; }
.dropdown-item i { width: 20px; text-align: center; color: var(--t-light); transition: var(--transition); }
.dropdown-item:hover i { color: var(--c-primary); }
.dropdown-item:last-child { border-bottom: none; }

.notif-header { padding: 12px 15px; border-bottom: 1px solid var(--b-color); font-weight: 700; color: var(--t-main); font-size: 13px; background: var(--bg-surface-hover); }
.notif-list { max-height: 350px; overflow-y: auto; background: var(--bg-surface); }
.notif-footer { padding: 12px; text-align: center; background: var(--bg-surface); border-top: 1px solid var(--b-color); color: var(--c-primary); font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.notif-footer:hover { background: var(--bg-surface-hover); text-decoration: underline; }

.notif-item { display: flex; align-items: start; gap: 12px; padding: 12px 15px; border-bottom: 1px solid var(--b-color); cursor: pointer; transition: var(--transition); color: var(--t-main); }
.notif-item:hover { background: var(--bg-surface-hover); }
.notif-item.unread { background: var(--c-primary-glow); border-left: 3px solid var(--c-primary); }

.n-avatar { width: 36px; height: 36px; border-radius: 50%; background-size: cover; background-position: center; flex-shrink: 0; border: 1px solid var(--b-color); }
.n-info { font-size: 13px; color: var(--t-muted); line-height: 1.4; flex: 1; }
.n-info strong { color: var(--t-main); font-weight: 600; }
.n-time { font-size: 11px; color: var(--t-light); display: block; margin-top: 4px; }

/* =========================================================
   10. SIDEBAR MAESTRO (MENÚ LATERAL)
   ========================================================= */
.sidebar-wrapper-flex { display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; background: var(--bg-surface); } /* DINÁMICO */

.sidebar-logo { 
    flex-shrink: 0; 
    padding: 15px 15px 15px; /* Aumentamos un poco el padding lateral */
    text-align: left;        /* Cambiado de center a left */
    margin-bottom: 15px;
}
.sidebar-logo img {
    content: url("../img/logo.svg"); /* Logo oscuro por defecto */
    width: 190px;
    height: auto;
    transition: var(--transition);
}
[data-theme="dark"] .sidebar-logo img {
    content: url("../img/logo-w.svg");
}

.sidebar-perfil-box { flex-shrink: 0; padding: 0 10px 30px; border-bottom: 1px solid var(--b-color); margin-bottom: 15px; }
.perfil-flex { display: flex; align-items: center; gap: 12px; }
.foto-perfil-mini { width: 40px; height: 40px; border-radius: 50%; background-size: cover; background-position: center; background-color: var(--bg-surface-hover); border: 2px solid var(--b-color); box-shadow: var(--shadow-sm); }
.perfil-info { text-align: left; }
.nombre-perfil { color: var(--t-main); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.rol-perfil { color: var(--t-light); font-size: 12px; font-weight: 500; }
.verify-badge { color: var(--c-primary); font-size: 14px; }

/* Lista de Menú */
.sidebar-menu { flex-grow: 1; overflow-y: auto; overflow-x: hidden; padding: 0 15px 120px 15px; margin: 0; list-style: none; }
.sidebar-menu::-webkit-scrollbar { width: 4px; }
.sidebar-menu::-webkit-scrollbar-thumb { background: var(--b-color); border-radius: 4px; }

.sidebar-menu li { margin-bottom: 10px; } /* Cambiado de 5px a 10px para dar aire a las cápsulas */
.sidebar-menu li a { 
    display: flex; 
    align-items: center; 
    padding: 12px 25px; 
    color: var(--t-muted); 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: 600; 
    border-radius: var(--r-pill); /* Esto genera la forma de cápsula redonda */
    background: var(--bg-surface-hover); 
    transition: var(--transition); 
    border: 1px solid transparent; 
}

.sidebar-menu li a i { 
    width: 25px; 
    font-size: 16px; 
    margin-right: 12px; 
    color: var(--t-light); 
    transition: var(--transition); 
}

/* Efectos Hover y Activo */
.sidebar-menu li:hover { background: var(--bg-surface-hover); }
.sidebar-menu li:hover a { 
    background: var(--c-primary); 
    color: #ffffff !important; 
    transform: translateX(3px); 
}
.sidebar-menu li:hover a i { color: #ffffff !important; }

.sidebar-menu li.active { background: var(--c-primary-glow); }
.sidebar-menu li.active a { 
    background: var(--c-primary); 
    color: #ffffff !important; 
    font-weight: 700;
    box-shadow: 0 4px 10px var(--c-primary-glow);
}
.sidebar-menu li.active a i { color: #ffffff !important; }

/* Pie del Sidebar */
.creditos { position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px 20px; background-color: var(--bg-surface); border-top: 1px solid var(--b-color); z-index: 20; text-align: center; }
.creditos p { font-size: 12px; color: var(--t-light); margin: 0; font-weight: 600; }

.sidebar-divider { height: 1px; background: var(--b-color); margin: 15px 10px; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .mobile-only { display: block; }
}


/* =========================================================
   ESTILOS PREMIUM PARA SELECT DE SWEETALERT2 (Reportes)
   ========================================================= */
.swal2-popup .swal2-select-custom {
    appearance: none; /* Quitamos el estilo feo del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    /*width: 100% !important;
    max-width: 100%;
    margin: 10px 0 20px 0 !important;*/
    padding: 14px 40px 14px 16px !important; /* Espacio a la derecha para la flecha */
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 500;
    color: var(--t-main) !important; /* Adaptativo oscuro/claro */
    background-color: var(--bg-body) !important; /* Adaptativo */
    border: 1px solid var(--b-color) !important;
    border-radius: 12px !important; /* Bordes redondeados modernos */
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* Flecha personalizada (SVG incrustado) que se ve bien siempre */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 18px !important;
}

/* Efecto al hacer clic (Glow del color primario) */
.swal2-popup .swal2-select-custom:focus {
    outline: none !important;
    border-color: var(--c-primary) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

/* Estilo para las opciones desplegadas */
.swal2-popup .swal2-select-custom option {
    background-color: var(--bg-surface);
    color: var(--t-main);
    font-size: 15px;
    padding: 10px;
}


/* Ajustes específicos para la App Móvil */
.is-native-app body, 
.is-native-app html {
    overflow-y: auto !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch; /* Esto activa el scroll fluido en iPhone */
}

/* Si tienes un contenedor principal (ej: .main-wrapper o .app-container) */
.is-native-app .main-content {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

/* Evitar que el usuario seleccione texto por accidente (opcional, se siente más Pro) */
.is-native-app {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}
