﻿@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;600&display=swap');


* {
    font-family: 'Oxanium', sans-serif;
}
td {
    border-right: 1px dotted grey;
    border-left: 1px dotted grey;
}


/* ANULAR MATERIEALIZE*/
/* 🔥 Ocultar el dropdown fake de Materialize */
.select-wrapper .dropdown-content {
    display: none !important;
}

/* 🔥 Ocultar el input falso */
.select-wrapper .select-dropdown {
    display: none !important;
}

/* 🔥 Mostrar el select original */
.select-wrapper select {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    height: auto !important;
    width: 100% !important;
    cursor: pointer
}
.select-wrapper option {
    background: #262626 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
    padding: 8px !important;
    cursor: pointer;
}


/* 🔥 Resetear wrapper */
.select-wrapper {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
}

    /* 🔥 Quitar caret */
    .select-wrapper .caret {
        display: none !important;
    }

/* ANULAR MATERIEALIZE*/


.breadcrumb {
    font-size: 13px !important;
}
    .CONTENEDOR_PADRE{
    position:relative;
    top:10px;
}
.select-dropdown.dropdown-content {
    top: 100% !important;
    bottom: auto !important;
    transform-origin: 0 0 !important;
}
.sombra_card {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    padding:10px;
    border-radius:2px !important;
}
.orange_hover :hover {
    background: orange !important;
    cursor: pointer
}
.input-readonly-fake {
    background-color: #f5f5f5; /* gris tipo readonly */
    color: #666; /* texto más apagado */
    border: 1px solid #ddd;
    cursor: not-allowed;
    pointer-events: none; /* 🔥 bloquea TODOS los eventos */
    user-select: none; /* no permite seleccionar texto */
}
/* =========================================================
   RESET / BASE
========================================================= */
.bb {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !imp
        ortant;
    border-radius: 2px !important;
    padding: 5px;
    margin: 2px;
}
body {
    min-height: 100vh;
    height: 100vh;
    color: #222;
    text-transform: uppercase;
}
.sidenav-overlay{
    z-index:0;
}
p {
    color: #222;
}
.texto-cortado {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
h1 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
}

th {
    text-transform: uppercase;
    font-size: 13px;
}

table {
    font-size: 14px;
}

th, td {
    padding: 5px;
}

td {
    font-family: monospace !important;
    color: black;
}

tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
table span.badge{
    width:100%;
}
/* =========================================================
   DATA TABLES
========================================================= */
table.dataTable tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

table.dataTable tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

/*table.striped tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}*/

/* =========================================================
   INPUTS / FORMS
========================================================= */

input[type="search"] {
    width: 95% !important;
}

    input[type="search"]:focus {
        border-color: white !important;
        box-shadow: 0 0 5px rgba(76, 175, 80, 0.4) !important;
    }

.input-field > label {
    text-transform: uppercase;
}

/* =========================================================
   BOTONES
========================================================= */

.btn,
.btn:hover,
.btn-large:hover,
.btn-small:hover {
    background-color: #000000;
    border-radius: 2px;
}

    .btn:focus,
    .btn-large:focus,
    .btn-small:focus,
    .btn-floating:focus {
        background-color: #000000;
    }

.btn-focus:focus,
.btn-focus:active {
    border: solid 3px red;
}

/* =========================================================
   FLEX / UTILIDADES
========================================================= */
.border {
    border: 1px solid black;
    padding: 3px;
    border-radius: 2px;
}
.css_flex {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap:5px
}

.display_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.mb0 {
    margin-bottom: 0 !important;
}

.mt0 {
    margin-top: 0;
}

.pb0 {
    padding-bottom: 0;
}

.pt0 {
    padding-top: 0;
}

.may, .mayus, .upper {
    text-transform: uppercase;
}

/* =========================================================
   COMPONENTES
========================================================= */

.tarjetaUsuario {
    border: 1px solid;
    min-width: 225px;
    margin: 5px;
    padding-left: 10px;
    position: fixed;
    left: 5px;
    top: 2px;
    z-index: 1;
    background: #d9d9d9;
    border-radius: 5px;
    cursor: pointer;
}

.lbl_nombre {
    font-size: 30px;
}

.waChat {
    background: url(https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png);
    width: 100%;
    height: 350px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.waSend {
    cursor: pointer;
}

.doc_inexistente {
    box-shadow: rgba(0,0,0,0.07) 0px 1px 1px, rgba(0,0,0,0.07) 0px 2px 2px, rgba(0,0,0,0.07) 0px 4px 4px, rgba(0,0,0,0.07) 0px 8px 8px, rgba(0,0,0,0.07) 0px 16px 16px;
}

.i_exclame {
    font-size: 30px;
    margin: 20px;
    color: #F44336 !important;
}

.i_check {
    font-size: 30px;
    margin: 20px;
    color: #4CAF50 !important;
}

/* =========================================================
   SWEETALERT
========================================================= */
.swal-fullscreen {
    height: 95vh !important;
    overflow-y: auto !important;
}

.swal2-popup {
    border-radius: 0px;
}

.swal2-title {
    color: #000;
}

.swal2-styled.swal2-confirm {
    color: white !important;
}

    .swal2-styled.swal2-confirm:hover {
        box-shadow: rgba(0,0,0,0.19) 0px 10px 20px, rgba(0,0,0,0.23) 0px 6px 6px !important;
    }

    .swal2-styled.swal2-confirm:focus,
    .swal2-styled.swal2-deny:focus {
        box-shadow: none;
    }

.swal2-styled.swal2-deny {
    background-color: #F44336;
    color: #fff;
}

/* =========================================================
   MATERIAL ICONS
========================================================= */

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v55/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-size: 24px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   SCROLLBAR
========================================================= */

*::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}

*::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

*::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* =========================================================
   @MEDIA QUERIES
========================================================= */

/* -------- DESKTOP -------- */
@media only screen and (min-width: 993px) {
    ul.stepper.horizontal .step .step-title {
        padding: 0 10px 0 55px;
    }
}

/* -------- TABLET -------- */
@media screen and (max-width: 999px) {
    .logout {
        display: none;
    }
}

/* -------- MOBILE -------- */
/* =========================================================
   MOBILE OPTIMIZADO – TODO MÁS COMPACTO
========================================================= */
@media screen and (max-width: 601px) {

    /* -----------------------------------------
       BASE
    ----------------------------------------- */
    body {
        font-size: 12px;
        line-height: 1.3;
    }

    h1 {
        font-size: 18px;
    }

    p {
        font-size: 12px;
    }

    th {
        font-size: 11px;
    }

    td {
        font-size: 12px;
        padding: 6px 4px;
        text-align: center;
    }

    /* -----------------------------------------
       INPUTS
    ----------------------------------------- */
    input,
    select,
    textarea {
        font-size: 12px !important;
        height: 32px !important;
    }

        input[type="search"] {
            width: 100% !important;
            font-size: 12px !important;
        }

    .input-field > label {
        font-size: 11px;
    }

    /* -----------------------------------------
       BOTONES
    ----------------------------------------- */
    .btn,
    .btn-small,
    .btn-large {
        font-size: 11px;
        padding: 0 10px;
        height: 32px;
        line-height: 32px;
        border-radius: 2px;
    }

    .material-icons {
        font-size: 18px;
    }

    /* -----------------------------------------
       TARJETAS / CONTENEDORES
    ----------------------------------------- */
    .tarjetaUsuario {
        position: static;
        width: 100%;
        min-width: unset;
        font-size: 12px;
        padding: 6px;
        margin: 6px 0;
        border-radius: 2px;
    }

    .lbl_nombre {
        font-size: 18px;
    }

    /* -----------------------------------------
       DATA TABLE RESPONSIVE
    ----------------------------------------- */
    table {
        font-size: 12px;
    }

    /*    table.striped thead {
            display: none;
        }

        table.striped tbody,
        table.striped tr {
            display: block;
            width: 100%;
        }

            table.striped tbody tr {
                margin-bottom: 8px;
                border-radius: 2px;
                overflow: hidden;
            }

        table.striped td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 6px 8px;
            font-size: 12px;
            box-shadow: none;
            border-bottom: 1px solid #eee;
        }

            table.striped td:last-child {
                border-bottom: none;
            }

    .striped td:before {
        content: attr(data-th);
        font-weight: bold;
        font-size: 11px;
        color: #000;
    }
*/
    /* -----------------------------------------
       CHAT / IMÁGENES
    ----------------------------------------- */
    .waChat {
        height: 220px;
        border-radius: 2px;
        background-size: cover;
    }

    .png_content {
        margin: 10px 5px;
        max-width: 100%;
    }

    /* -----------------------------------------
       ESPACIADOS GENERALES
    ----------------------------------------- */
    .row {
        margin-bottom: 8px;
    }

    .container-lg {
        width: 95%;
    }

    .display_flex {
        gap: 6px;
    }

    /* -----------------------------------------
       OCULTOS EN MOBILE
    ----------------------------------------- */
    .contender_carrito,
    .logout {
        display: none !important;
    }
}


/* -------- SMALL MOBILE -------- */
@media screen and (max-width: 400px) {
    #nav_empleado_con_varias_empresas {
        display: none;
    }
}
