* {
    margin: 0;
    padding: 0;
}

.bologin {
    background: rgb(70,142,237);
    background: linear-gradient(270deg, rgba(70,142,237,1) 0%, rgba(92,85,231,1) 50%, rgba(112,32,221,1) 100%);
}

.car_log {
    margin-top: 0px;
}

.mens-cont {
    margin-left: 80px;
}

.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

:root {
    --header-height: 3rem;
    --first-color: rgb(92,85,231);
    --first-color-light: #fffcf2;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
}

*,::before,::after {
    box-sizing: border-box
}

body {
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s;
}

a {
    text-decoration: none;
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s;
}

.header_toggle {
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 17px;
    margin-bottom: 10px;
    margin-top: 15px;
}

.header_img img { 
    width: 80px;
}

.l-navbar {
    width: 70px;
    position: fixed;
    top: 0;
    left: -30%;
    height: 100vh;
    background-color: var(--first-color);
    transition: .5s;
    z-index: var(--z-fixed);
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.nav_logo, .nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem;
}

.nav_logo {
    margin-bottom: 2rem;
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color);
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700;
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    transition: .3s;
    height: 50px;
    text-decoration: none;
}

.nav_link:hover {
    color: var(--white-color);
    background: #1f104f;
}

.nav_link.active {
    color: var(--white-color);
    background: #1f104f;
}

.nav_list svg {
    margin-top: -20px;
}   

.nav_icon {
    font-size: 1.25rem
}

.show {
    left: 0;
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem);
}

.nav_link .active {
    color: var(--white-color);
}

.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color);
}

.height-100 {
    height:100vh;
}

.form-control-cart {
    display: inline-grid;
    width: 70%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.title_product {
    background: linear-gradient(90deg, rgba(0,254,247,1) 0%, rgba(75,185,255,1) 50%, rgba(0,129,255,1) 100%);
    height: 100px;
    margin-top: -20px;
}

.title_user {
    background: linear-gradient(270deg, rgba(70,142,237,1) 0%, rgba(92,85,231,1) 50%, rgba(112,32,221,1) 100%);
    height: 100px;
    margin-top: -20px;
}

.title_consignment {
    background: linear-gradient(90deg, rgba(241,255,0,100) 0%, rgba(255,184,0,100) 50%, rgba(255,179,0,100) 100%);
    height: 100px;
    margin-top: -20px;
}

.mar-title-prod {
    padding-top: 30px;
}

.btn-title-user {
    background: linear-gradient(90deg, rgba(70,142,237,1) 0%, rgba(92,85,231,1) 50%, rgba(112,32,221,1) 100%);
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    border: #fff;
    border-radius: 50px;  
    padding: .65rem!important;      
}

.btn-title-user:hover {
    background: linear-gradient(270deg, rgba(70,142,237,1) 0%, rgba(92,85,231,1) 50%, rgba(112,32,221,1) 100%);
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    border: #fff;
    border-radius: 50px;
}

.btn-title-prod {
    background: linear-gradient(90deg, rgba(0,254,247,1) 0%, rgba(75,185,255,1) 50%, rgba(0,129,255,1) 100%);
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    border: #fff;
    border-radius: 50px;  
    padding: .65rem!important;      
}

.btn-title-prod:hover {
    background: linear-gradient(90deg, rgba(0,129,255,1) 0%, rgba(0,254,247,1) 100%, rgba(75,185,255,1) 50%);
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    border: #fff;
    border-radius: 50px;
}

.btn-title-consignment {
    background: linear-gradient(90deg, rgba(241,255,0,100) 0%, rgba(255,184,0,100) 50%, rgba(255,179,0,100) 100%);
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    border: #fff;
    border-radius: 50px;  
    padding: .65rem!important;      
}

.btn-title-consignment:hover {
    background: linear-gradient(90deg, rgba(255,179,0,100) 0%, rgba(255,184,0,100) 50%, rgba(241,255,0,100) 100%);
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    border: #fff;
    border-radius: 50px;
}

.cmovil {
    width: 300px;
}

.cdash {
    margin-left: auto;
    margin-right: auto;
}

.notification-container {
    position: absolute;
    top: -70px;
    right: 5px;
    max-width: 292px;
    width: 100%;
    z-index: 1000;
    font-size: 9px;
}

.notification-container .alert {
    max-width: 292px;
    width: 100%;
}

a .nav_name {
    margin-left: -55px;
    z-index: 2;
    margin-top: 20px;
    font-size: 8px;
}

.nav_name_cs {
    margin-left: -50px;
    z-index: 2;
    margin-top: 20px;
    font-size: 8px;
}

.header_car {
    position: fixed; /* Posicionamiento fijo para que permanezca en la misma ubicación incluso cuando se desplaza */
    bottom: 20px; /* Espacio desde el borde inferior de la pantalla */
    right: 20px; /* Espacio desde el borde derecho de la pantalla */
    background: rgb(92,85,231) !important;
    width: 70px;
    height: 70px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tcons img {
    height: 50px;
    width: 25px;
}

.notificacion_cuentas_a_vencer {
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 3px;
    right: 15px;
}

.notificacion_cuentas_renovadas {
    background-color: green;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 3px;
    right: 15px;
}

.notification-badge {
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -2px;
    right: 15px;
}

@media screen and (min-width: 768px){
    
    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem);
    }

    .spinner-border {
        width: 1.5rem;
        height: 1.5rem;
    }

    .mens-cont {
        margin-left: 230px;
    }
    
    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
    }
    
    .header_img {
        width: 90px;
        height: 90px;
        margin-left: 70px;
        margin-top: 20px;
    }
    
    .header_img img { 
        width: 150px;
    }
    
    .l-navbar {
        width: 205px;
        left: 0;
        display: block !important;
        transform: translateX(0) !important;
    }
    
    nav {
        height: 100%;
    }

    #header-toggle {
        display: none; /* Ocultar el icono de menú */
    }
    
    .body-pd { 
        padding-left: calc(var(--nav-width) + 188px);
    }

    .bologin {
        overflow-y: hidden !important;
    }

    .title_product {
        background: linear-gradient(90deg, rgba(0,254,247,1) 0%, rgba(75,185,255,1) 50%, rgba(0,129,255,1) 100%);
        height: 150px;
        margin-top: 0px;
    }

    .title_user {
        background: linear-gradient(270deg, rgba(70,142,237,1) 0%, rgba(92,85,231,1) 50%, rgba(112,32,221,1) 100%);
        height: 150px;
        margin-top: 0px;
    }

    .title_consignment {
        background: linear-gradient(90deg, rgba(241,255,0,100) 0%, rgba(255,184,0,100) 50%, rgba(255,179,0,100) 100%);
        height: 150px;
        margin-top: 0px;
    }


    .mar-title-prod {
        padding-top: 50px;
    }

    .btn-title-prod {
        background: linear-gradient(90deg, rgba(70,142,237,1) 0%, rgba(92,85,231,1) 50%, rgba(112,32,221,1) 100%);
        --bs-btn-padding-x: 0.75rem;
        --bs-btn-padding-y: 0.375rem;
        --bs-btn-font-family: ;
        --bs-btn-font-size: 1rem;
        --bs-btn-font-weight: 400;
        --bs-btn-line-height: 1.5;
        border: #fff;
        border-radius: 50px;        
    }

    .btn-title-prod:hover {
        background: linear-gradient(90deg, rgba(0,129,255,1) 0%, rgba(0,254,247,1) 100%, rgba(75,185,255,1) 50%);
        --bs-btn-padding-x: 0.75rem;
        --bs-btn-padding-y: 0.375rem;
        --bs-btn-font-family: ;
        --bs-btn-font-size: 1rem;
        --bs-btn-font-weight: 400;
        --bs-btn-line-height: 1.5;
        border: #fff;
        border-radius: 50px;
    }

    .cmovil {
        width: 220px;
    }

    .notification-container {
        position: absolute;
        display: flex;
        top: -87px;
        right: 5px;
        max-width: 420px;
        width: 100%;
        z-index: 1000;
        font-size: 15px;
    }
    
    .notification-container .alert {
        max-width: 420px;
        width: 100%;
    }

    a .nav_name {
        margin-left: 0px;
        z-index: 0;
        margin-top: 0px;
        font-size: 16px;
        }

    .nav_name_cs {
        margin-left: 0px;
        z-index: 0;
        margin-top: 0px;
        font-size: 16px;
    }

    .nav_list svg {
        margin-top: -5px;
    }   
    
    .car_log {
        margin-top: 100px;
    }

    .nav_link:hover {
        color: var(--white-color);
        background: #1f104f;
    }

    .nav_link.active {
        color: var(--white-color);
        background: #1f104f;
    }

    .hocard:hover {
        width: 275px;
        height: 330px !important;
        background-color: #e9ecef;
    }

    .hocard:hover img {
        width: 150px;
        margin-top: 50px !important;
        background: #fff !important;
    }

    .header_car {
        position: fixed; /* Posicionamiento fijo para que permanezca en la misma ubicación incluso cuando se desplaza */
        bottom: 20px; /* Espacio desde el borde inferior de la pantalla */
        right: 20px; /* Espacio desde el borde derecho de la pantalla */
        background: rgb(92,85,231) !important;
        width: 70px;
        height: 70px;
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .notificacion_cuentas_a_vencer {
        background-color: red;
        color: white;
        font-size: 12px;
        font-weight: bold;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 10px;
        right: 150px;
    }

    .notificacion_cuentas_renovadas {
        background-color: green;
        color: white;
        font-size: 12px;
        font-weight: bold;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 10px;
        right: 150px;
    }

    .notification-badge {
        background-color: red;
        color: white;
        font-size: 12px;
        font-weight: bold;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 10px;
        right: 150px;
    }

}