/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 30 may. 2024, 14:51:42
    Author     : wie
*/
:root {
    --bs-bg-opacity: 1; /* Valor por defecto de la opacidad de fondo */
    --bs-red-rgb: 229, 46, 61; /* Valores RGB de #e52e3d */
    --bs-purple-rgb: 149, 37, 130; /* Valores RGB de #952582 */
    --bs-green-rgb: 76, 172, 78; /* Valores RGB de #4cac4e */
    --bs-blueligth-rgb: 85, 179, 229; /* Valores RGB de #55b3e5 */
    --bs-blue-rgb: 42, 73, 148; /* Valores RGB de #2a4994 */
    --bs-yellow-rgb: 255, 195, 0;/* Valores RGB de #4cac4e */
}
.float-right{
    float: right;
}
.pos .pos-header .logo>a .logo-img img, .pos .pos-header .logo>div .logo-img img{
    height: 47px !important;
}
.bg-sys-red{
    --bs-bg-opacity:1;
    background-color:rgba(var(--bs-red-rgb),var(--bs-bg-opacity))!important
}
.bg-sys-pos{
    --bs-bg-opacity:1;
    background-color: rgba(var(--bs-purple-rgb), var(--bs-bg-opacity))!important
}

.bg-sys-medic{
    --bs-bg-opacity:1;
    background-color: rgba(var(--bs-green-rgb), var(--bs-bg-opacity))!important
}

.bg-sys-pet{
    --bs-bg-opacity:1;
    background-color: rgba(var(--bs-yellow-rgb), var(--bs-bg-opacity))!important
}

.bg-sys-pedidos{
    --bs-bg-opacity:1;
    background-color: rgba(var(--bs-blueligth-rgb), var(--bs-bg-opacity))!important
}

.bg-sys-facturacion{
    --bs-bg-opacity:1;
    background-color: rgba(var(--bs-blue-rgb), var(--bs-bg-opacity))!important
}
.icon-appbar img{
    max-width: 30px;
}
#bg-empresa {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    padding-left: 20px;
}
#bg-empresa-truncated {
    display: none;
}

.app-header .navbar-nav .navbar-item .navbar-link{
    padding: 10px !important;
}

/* Oculta el texto completo en móviles */
@media (max-width: 768px) {
    #bg-empresa {
        display: none;
    }

    #bg-empresa-truncated {
        display: inline-block;
    }
    .fixed-footer {
        position: fixed !important;
        bottom: 0;
        left: 0;
        width: 100%;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Añade una sombra para distinguirlo del contenido */
        /*padding: 10px 20px !important;;  Ajusta el relleno según tu diseño */
        z-index: 1000; /* Asegura que esté por encima de otros elementos */
    }
    .pos .pos-header{
        top: 100px !important;
    }
}
.menu-icon{
    color: var(--bs-yellow-rgb) !important;
}



.pos .pos-header{
    top: 50px;
}
.pos .pos-menu{
    /*width: 13rem !important;*/
    /*padding-right: 3.7375rem !important;*/
    background-color: #DEE2E6;
    margin-top: 3rem;
}
.pos .pos-with-sidebar-wide{
    padding-right: 0;
}/*
.pos.pos-with-sidebar{
    padding-right: 20.5rem !important;
}*/
.pos.pos-with-menu{

    /*padding-left: 8rem !important;*/
}
.pos .pos-sidebar{
    margin-top: 4rem !important;
    margin-right:15px !important;
}
.pos .pos-sidebar .pos-sidebar-footer{
    padding-bottom: 6rem;
}
.pos-wide .widget-card-wide{
    box-shadow: 0 4rem 2rem rgba(0, 0, 0, .15);
    border-radius: 6px !important;
}

.pos-wide .widget-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pos-wide .widget-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pos-wide .widget-card-cover {
    background-size: cover;
    background-position: center;
    height: 200px;
}

.pos-wide .widget-card-content {
    text-align: center;
    padding: 20px;
}

.pos-wide .widget-card:hover .widget-card-cover {
    filter: brightness(0.95);
}

.pos-wide .widget-card:hover .widget-card-content h4,
.widget-card:hover .widget-card-content i {
    transform: scale(1.3);
    transition: transform 0.5s ease;
}

/*Styles for the selected table*/
.pos-table.selected {
    border: 2px solid #00aaff;
}

/*Styles for the sidebar*/
.pos-sidebar {
    display: none;
    width: 300px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #f8f9fa;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}


/*NOTIFICACIONES*/
.timeout-alert{
    color: yellow !important;
    font-weight: bold;
}
.gritter-title{
    color: yellow !important;
}
.gritter-close{
    color: aqua !important;
}
.gritter-close :before{
    content: 'Aceptar';
}
#pos-table{
    height: 290px;

}
.pos-content{
    padding-left:10rem;
}
#pos{
    padding-top: 0rem;
}
@media (max-width: 995px) {
    #newOrderTab #pos-table{
        height:100%;
        overflow-y: auto;
    }

    .pos .pos-sidebar .pos-sidebar-footer{
        padding-bottom: 2rem;
    }
    .pos-content{
        padding-left:0rem;
    }
    .pos .pos-sidebar{
        margin-top: 0rem !important;
        margin-right: 0rem !important;
    }
    #pos{
        padding-top: 6rem;
    }
}
