/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap";

html, body {
    font-family: "Roboto", sans-serif;
    background: #fafafa;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #343a40;
    border: black;
}

p {
    font-family: "Roboto", sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #063255;
    border: none;
    border-radius: 0;
    margin-bottom: 25px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #5AC5F1;
    margin: 40px 0;
}

.iconFace:hover {
    transform: scale(1.5);
    cursor: pointer;
}

/* // */
.loader-page {
    position: fixed;
    z-index: 25000;
    background: rgb(255, 255, 255);
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.loader-page::before {
    content: "";
    position: absolute;
    border: 2px solid rgb(50, 150, 176);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-sizing: border-box;
    border-left: 2px solid rgba(50, 150, 176, 0);
    border-top: 2px solid rgba(50, 150, 176, 0);
    animation: rotarload 1s linear infinite;
    transform: rotate(0deg);
}

@keyframes rotarload {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-page::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(50, 150, 176, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-sizing: border-box;
    border-left: 2px solid rgba(50, 150, 176, 0);
    border-top: 2px solid rgba(50, 150, 176, 0);
    animation: rotarload 1s ease-out infinite;
    transform: rotate(0deg);
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #063255;
    color: #ffffff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 11px;
    background: white;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #ffffff;
}

#sidebar ul p {
    color: #063255;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #ffffff;
}

#sidebar ul li a:hover {
    color: #f2f5f7;
    background: #063255;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #063255;
    background: #f2f5f7;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #ffffff;
    color: #5AC5F1;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #ffffff;
    color: #7386d5;
}

a.article,
a.article:hover {
    background: #b2b2b2 !important;
    color: #ffffff !important;
}

.sin_flecha::after {
    display: none !important;
}


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

/* Contenedor principal */
#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    height: auto;
    overflow-y: auto;
}


/* Evitar que el formulario se oculte */
body.index {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Lado izquierdo con imagen */
.img-lefth {
    background: url('../images/fondo-lefth.png') center center no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.logo-lactalis{
    background: url('../images/fondo-lefth.png') center center no-repeat;
    position: absolute;
}

.propiedad-copy{
    position: absolute;
    bottom: 10px;
}

.text-copy {
    color: #063255 !important; /* Rojo brillante personalizado */
    font-weight: bold;
}

/* Lado derecho del login */
.login-side {
    width: 35%;
    min-width: 350px;
    height: 100vh;
}


/* .img-lefth{
    background: url('../images/fondo_login.png') no-repeat center center fixed;
} */

/* Tarjeta de login centrada */
.card.login {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    min-height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.card.login .card-body {
    width: 100%;
    max-width: 350px;        /* opcional: limita el ancho del formulario */
    flex-direction: column;
    margin: 0 auto;
}

.card.login:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.btn-login {
    background: #063255;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #3f6de0;
}

.input-login {
    border: #063255 1px solid;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.7);
    outline: none;
    font-size: 1rem;
    color: #333;
}

.input-login:focus {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 2px rgba(91, 142, 252, 0.4);
} */


/* Otros estilos */
/* .inicio:hover {
    color: #dcc730;
} */

.not-pointer {
    pointer-events: none;
}

/* ---------------------------------------------------
Comienza spinners
----------------------------------------------------- */

.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner>div {
    background-color: white;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1);
    }
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}

*/ #spinnerInsert {
    display: none;
    justify-content: center;
    padding: 3rem 0;
}

.sk-chase {
    width: 20px;
    height: 20px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2s infinite ease-in-out both;
}

.sk-chase-dot:before {
    content: "";
    display: block;
    width: 25%;
    height: 25%;
    background-color: #ffffff;
    border-radius: 100%;
    animation: sk-chase-dot-before 2s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
    animation-delay: -1s;
}

.sk-chase-dot:nth-child(3) {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4) {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5) {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6) {
    animation-delay: -0.6s;
}

.sk-chase-dot:nth-child(1):before {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
    animation-delay: -1s;
}

.sk-chase-dot:nth-child(3):before {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4):before {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5):before {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6):before {
    animation-delay: -0.6s;
}

@keyframes sk-chase {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot {

    80%,
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4);
    }

    100%,
    0% {
        transform: scale(1);
    }
}

/* ---------------------------------------------------
    Termina spinners
----------------------------------------------------- */

/* ---------------------------------------------------
    Colores corporativos
----------------------------------------------------- */

.lactalis-blue {
    color: #063255 !important;
}

.lactalis-gray {
    color: #808183 !important;
}

.lactalis-white {
    color: #ffffff !important;
}

.lactalis-bg-blue {
    background-color: #063255 !important;
}

.lactalis-bg-gray {
    background-color: #808183 !important;
}

.lactalis-bg-white {
    background-color: #ffffff !important;
}

a[aria-expanded="true"] {
    background-color: #ffffff !important;
    /* azul */
    color: #063255 !important;
}

a[aria-expanded="true"] i {
    color: #063255 !important;
    /* íconos en azul oscuro */
}

a[aria-expanded="false"] {
    background-color: transparent;
    color: #ffffff;
}

a[aria-expanded="false"] i {
    color: #ffffff;
}

.btn-estandar {
    min-width: 150px;
    width: 250px;
    height: 40px;
    font-size: 1rem;
}

/* Botón sólido con fondo dorado */
.btn-lactalis {
    background-color: #063255;
    color: #ffffff;
    border: 1px solid #063255;
}

.btn-lactalis:hover,
.btn-lactalis:focus {
    background-color: #ffffff;
    color: #063255;
}

/* Botón outline dorado */
.btn-outline-lactalis {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-outline-lactalis:hover,
.btn-outline-lactalis:focus {
    background-color: #ffffff;
    color: #063255;
}

/* Botón sólido con fondo azul */
.btn-lactalis-blue {
    background-color: #063255;
    color: #ffffff;
    border: 1px solid #063255;
}

.btn-lactalis-blue:hover,
.btn-lactalis-blue:focus {
    background-color: #063255;
    color: #ffffff;
}

/* Botón outline azul */
.btn-outline-lactalis-blue {
    background-color: transparent;
    color: #063255;
    border: 1px solid #063255;
}

.btn-outline-lactalis-blue:hover,
.btn-outline-lactalis-blue:focus {
    background-color: #063255;
    color: #ffffff;
}

/* --------------------------------------------------
     Estilos personalizados para inputs y selects
-------------------------------------------------- */


.form-control.custom-height {
    height: 40px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.875rem;
    /* tamaño de fuente ajustado */
}

.form-floating>label {
    font-size: 0.75rem;
    padding: 0.15rem 0.75rem;
    top: 5px;
    /* ajustar posición del label flotante */
}

.form-select.custom-height {
    height: 40px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.875rem;
    /* tamaño de fuente ajustado */
}

/* .form-floating>label {
    font-size: 0.75rem;
    padding: 0.15rem 0.75rem;
    top: 5px;
    /* ajustar posición del label flotante */
/* } */

*/ #tablaAtenciones {
    font-size: 12px;
}

#tablaAtenciones th,
#tablaAtenciones td {
    padding: 3px 6px;
    line-height: 1.1;
}

/* table.dataTable.dtr-inline.collapsed > tbody > tr > td.control::before {
    display: none !important;
}*/

#salesTable th,
#salesTable td{
    width: auto !important;
};

.tooltip-inner {
    max-width: 500px !important; /* o lo que necesites */
    white-space: pre-wrap; /* permite saltos de línea */
}

/* ---------------------- Dashboard ----------------------- */

.box {
  box-shadow: 0px 1px 22px -12px #607D8B;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 10px;
}

.sparkboxes .box {
  padding: 3px 0 0 0;
  position: relative;
}

#spark1, #spark2, #spark3 {
  padding-top: 15px;
}
