/* CSS Personalizado */
:root {
    --primary: #FA9416;
    --primary-hover: #FF6633;
    --bs-primary-rgb: 252,147,23;
    --rgba-primary-1: rgba(221, 147, 23, 0.1);
}
.ocultar {
    display: none !important;
}
div.deznav{
    background:#FA9416 !important;
}
.deznav {
    top: 6rem;
}
.header {
    height: 6rem;
}
[data-header-position="fixed"] .content-body {
    padding-top: 6rem;
}
.nav-header {
    background-color: #FA9416 !important;
    height: 6rem;
}
.header-brand-title {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-brand-title img {
    width: 150px;
    height: auto;
    display: block;
}

.header-brand-title .separator {
    width: 1px;
    height: 42px;
    background: #e5e5e5;
}

.header-brand-title h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: #111111;
    line-height: 1;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f3f3f3;
}

::-webkit-scrollbar-thumb {
    background: #f29519;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d97d0b;
}

[data-sibebarbg="color_3"][data-sidebar-style="mini"][data-layout="vertical"] .deznav .metismenu > li:hover > a {
    background-color: var(--primary-hover);
}

[data-sibebarbg="color_3"][data-sidebar-style="mini"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a {
    background-color: var(--primary-hover);
}

[data-sibebarbg="color_3"][data-sidebar-style="mini"][data-layout="vertical"] .deznav .metismenu li > ul {
    background-color: var(--primary-hover);
}

#resultado_clientes {
    max-height: 100%;
    overflow-y: auto;
}
#resultado_productos {
    max-height: 100%;
    overflow-y: auto;
}
.productos-panel{
    height: 65vh;
}
.clientes-panel{
    height: 55vh;
}

.cliente-item{
    cursor:pointer;
}
.cliente-item.active{
    border:1px solid #ff4f9a !important;
    background:#fdf4f8;
}
.campo-bloqueado {
    background-color: #e9ecef !important;
    opacity: .7 !important;
    cursor: not-allowed;
}
.campo-desbloqueado {
    background-color: #fff !important;
    opacity: 1 !important;
    cursor: default;
}

/* Productos*/
.producto-img{
    width:70px;
    height:70px;
    object-fit:cover;
}
#carrito_productos {
    max-height: 400px;
    overflow-y: auto;
}
.precio-final{
    width:100px;
    min-width:100px;
    text-align:right;
}
.badge-outline-dark {
    margin-bottom: 3px;
}
.xzoom{
    width:100%;
    height:auto;
}
.card-importacion .card{
    height:auto !important;
}

/* =========================================
   NOTAS DEL PRODUCTO
========================================= */

.notas-producto {
    margin-top: 20px;
}

.notas-producto .notas-listado {
    position: relative;
    padding: 5px 0 5px 0;
}

/* Línea del historial */

.notas-producto .notas-listado::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: #eeeeee;
}

/* Cada comentario */

.notas-producto .nota-item {
    position: relative;
    display: flex;
    gap: 15px;
    padding-bottom: 25px;
    margin-bottom: 20px;
}

/* Avatar */

.notas-producto .nota-avatar {
    position: relative;
    z-index: 2;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #f5f5f5;

    overflow: hidden;
}

.notas-producto .nota-avatar img {
    width: 42px;
    height: 42px;

    object-fit: cover;

    max-width: none;
}

/* Contenido */

.notas-producto .nota-contenido {
    flex: 1;
    min-width: 0;
}

/* Nombre + fecha */

.notas-producto .nota-cabecera {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.notas-producto .nota-cabecera strong {
    font-size: 15px;
    font-weight: 600;
    color: #344767;
}

.notas-producto .nota-cabecera small {
    margin-left: auto;
}

.notas-producto .btnEliminarNota {
    border: 0;
    background: transparent;
    padding: 3px 5px;
    margin-left: 10px;
    color: #999;
    font-size: 14px;
    cursor: pointer;
}

.notas-producto .btnEliminarNota:hover {
    color: #e74c3c;
}

/* Mensaje */

.notas-producto .nota-texto {
    font-size: 14px;
    line-height: 1.6;

    color: #777;

    padding-right: 10px;

    word-break: break-word;
}

/* Separación entre comentarios */

.notas-producto .nota-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

/* Formulario */

.notas-producto .nota-nueva {
    margin-top: 30px;
    padding-top: 25px;

    border-top: 1px solid #eeeeee;
}

.notas-producto .nota-nueva label {
    display: block;

    margin-bottom: 8px;

    font-size: 15px;
    font-weight: 500;

    color: #777;
}

.notas-producto #nota_producto {
    width: 100%;

    resize: vertical;

    border-radius: 8px;
}

.notas-producto .nota-nueva .btn {
    margin-top: 10px;
}

/* Nuevo login*/
/* =========================================================
   LOGIN REPUESTOS ROBAL
========================================================= */


/* =========================================================
   CONTENEDOR PRINCIPAL
========================================================= */

.login-container {
    position: fixed !important;
    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex;

    background: #fff;

    z-index: 9999;
}


/* =========================================================
   LADO IZQUIERDO
========================================================= */

.login-imagen {
    width: 55%;
    height: 100vh;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.login-imagen::after {
    content: "";

    position: absolute;

    top: 0;
    right: -1px;

    width: 55px;
    height: 100%;

    z-index: 3;

    pointer-events: none;

    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.08) 55%,
        rgba(0, 0, 0, 0.18) 100%
    );
}


/* IMAGEN */

.login-imagen-fondo {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   OSCURECER IMAGEN
========================================================= */

.login-imagen-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: rgba(0, 0, 0, 0.68);
}


/* =========================================================
   CONTENIDO IZQUIERDO
========================================================= */

.login-overlay {
    position: relative;

    z-index: 2;

    width: 78%;
    max-width: 680px;

    color: #fff;
}


/* =========================================================
   INTRODUCCIÓN
========================================================= */

.login-introduccion {

    position: relative;

    padding-left: 34px;

}


/* =========================================================
   LÍNEA VERTICAL
========================================================= */

/*
   IMPORTANTE:
   La línea pertenece únicamente
   al bloque de introducción.

   Por eso NO llega hasta los iconos.
*/

.login-introduccion::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;

    height: 100%;

    background: #f7931e;

    border-radius: 3px;

}


/* =========================================================
   ETIQUETA
========================================================= */

.login-etiqueta {

    margin-bottom: 14px;

    color: #f7931e;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* =========================================================
   TITULO
========================================================= */

.login-overlay h2 {

    margin: 0;

    color: #fff;

    font-size: 46px;

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1px;

}


.login-overlay h2 span {

    display: block;

    color: #f7931e;

}


/* =========================================================
   LINEA HORIZONTAL
========================================================= */

.login-linea {

    width: 70px;

    height: 4px;

    background: #f7931e;

    margin: 24px 0 22px;

    border-radius: 2px;

}


/* =========================================================
   TEXTO
========================================================= */

.login-overlay p {

    margin: 0;

    max-width: 540px;

    color: rgba(255,255,255,0.94);

    font-size: 18px;

    line-height: 1.65;

}


/* =========================================================
   CARACTERÍSTICAS
========================================================= */

.login-caracteristicas {

    display: flex;

    width: 100%;

    margin-top: 42px;

}


/* =========================================================
   CADA CARACTERÍSTICA
========================================================= */

.login-caracteristica {

    width: 33.333%;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding-left: 20px;

}


/* SEPARADORES */

.login-caracteristica + .login-caracteristica {

    border-left: 1px solid rgba(255,255,255,0.28);

}


/* =========================================================
   CUADRO DEL ICONO
========================================================= */

.login-icono {

    width: 56px;

    height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

    border: 2px solid rgba(247,147,30,0.85);

    border-radius: 10px;

    background: rgba(0,0,0,0.20);

}


/* ICONO */

.login-icono i {

    color: #f7931e;

    font-size: 26px;

}


/* =========================================================
   TEXTO CARACTERÍSTICAS
========================================================= */

.login-caracteristica strong {

    color: #fff;

    font-size: 16px;

    font-weight: 600;

}


.login-caracteristica span {

    margin-top: 3px;

    color: rgba(255,255,255,0.78);

    font-size: 14px;

}


/* =========================================================
   LADO DERECHO
========================================================= */

.login-formulario {

    width: 45%;
    height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 45px;

    background: #f7f8fa;

    position: relative;

    overflow: hidden;
}


/* =========================================================
   DETALLES DECORATIVOS
========================================================= */

.login-formulario::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -280px;
    top: -180px;

    border: 1px solid rgba(247,147,30,0.08);

    border-radius: 50%;
}


.login-formulario::after {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -230px;
    bottom: -180px;

    border: 1px solid rgba(247,147,30,0.06);

    border-radius: 50%;
}


/* =========================================================
   TARJETA LOGIN
========================================================= */

.login-card {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 470px;

    padding: 45px 50px 35px;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    box-shadow: 0 15px 45px rgba(0,0,0,0.06);

    overflow: hidden;
}


/* =========================================================
   LÍNEA NARANJA SUPERIOR
========================================================= */

.login-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 4px;

    background: #f7931e;
}


/* =========================================================
   LOGO
========================================================= */

.login-logo-container {

    text-align: center;

    margin-bottom: 25px;
}


.logo-formulario {

    width: 205px;

    max-width: 100%;
}


/* =========================================================
   TITULO
========================================================= */

.login-titulo {

    margin: 0 0 8px;

    text-align: center;

    color: #172554;

    font-size: 27px;

    font-weight: 600;
}


.login-subtitulo {

    margin: 0 0 32px;

    text-align: center;

    color: #7b8494;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   ERROR
========================================================= */

.login-card .alert {

    margin-bottom: 25px;
}


/* =========================================================
   CAMPOS
========================================================= */

.login-form-group {

    margin-bottom: 23px;
}


.login-form-group > label {

    display: block;

    margin-bottom: 8px;

    color: #344767;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   INPUT
========================================================= */

.login-card .form-control {

    width: 100%;

    height: 54px;

    padding: 0 18px;

    border: 1px solid #d9dee7;

    border-radius: 8px;

    background: #fff;

    color: #344767;

    font-size: 15px;

    transition: all .2s ease;
}


.login-card .form-control::placeholder {

    color: #a5acb8;
}


.login-card .form-control:focus {

    border-color: #f7931e;

    box-shadow:
        0 0 0 3px rgba(247,147,30,0.10);
}


/* =========================================================
   PASSWORD
========================================================= */

.login-password {

    position: relative;

    width: 100%;
}


.login-password .form-control {

    padding-right: 55px;
}


/* OJO */

.login-password .show-pass {

    position: absolute !important;

    right: 18px !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    z-index: 5;

    width: 22px;

    height: 22px;

    margin: 0 !important;

    padding: 0 !important;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;
}


/* =========================================================
   RECORDARME
========================================================= */

.login-opciones {

    margin-top: 3px;
}


.login-opciones .form-check {

    display: flex;

    align-items: center;
}


.login-opciones .form-check-input {

    margin-top: 0;

    margin-right: 8px;
}


.login-opciones .form-check-label {

    color: #6b7280;

    font-size: 14px;
}


/* =========================================================
   BOTÓN
========================================================= */

.login-boton {

    width: 100%;

    height: 54px;

    margin-top: 28px;

    border: 0;

    border-radius: 8px;

    background: #f7931e;

    color: #fff;

    font-size: 16px;

    font-weight: 600;

    transition: all .2s ease;
}


.login-boton:hover {

    background: #e98410;

    color: #fff;

    transform: translateY(-1px);

    box-shadow:
        0 5px 15px rgba(247,147,30,0.20);
}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {

    margin-top: 28px;

    padding-top: 18px;

    border-top: 1px solid #edf0f3;

    text-align: center;

    color: #9ca3af;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .login-imagen {

        width: 52%;
    }


    .login-formulario {

        width: 48%;

        padding: 30px;
    }


    .login-overlay h2 {

        font-size: 40px;
    }


    .login-overlay p {

        font-size: 16px;
    }


    .login-caracteristicas {

        margin-top: 35px;
    }

}

/* =========================================================
   ANIMACIÓN SUAVE LOGIN
========================================================= */

.login-etiqueta {
    animation: loginEntrada 0.7s ease-out both;
}


.login-overlay h2 {
    animation: loginEntrada 0.8s ease-out 0.1s both;
}


.login-linea {
    animation: loginEntrada 0.8s ease-out 0.2s both;
}


.login-introduccion p {
    animation: loginEntrada 0.8s ease-out 0.3s both;
}


.login-caracteristica {
    animation: loginEntrada 0.8s ease-out 0.45s both;
}


.login-caracteristica:nth-child(3) {
    animation-delay: 0.55s;
}


.login-caracteristica:nth-child(5) {
    animation-delay: 0.65s;
}


@keyframes loginEntrada {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (max-width: 991px) {

    .login-imagen {

        display: none;
    }


    .login-formulario {

        width: 100%;

        padding: 25px;
    }


    .login-card {

        max-width: 480px;
    }

}


@media (max-width: 575px) {

    .login-formulario {

        padding: 15px;
    }


    .login-card {

        padding: 40px 25px 30px;
    }


    .logo-formulario {

        width: 190px;
    }


    .login-titulo {

        font-size: 24px;
    }

}