@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/static/Montserrat-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/static/Montserrat-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
  }
  
  /* Agrega más variantes si es necesario */
  
  
  body {
    font-family: ' Montserrat', sans-serif !important;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.mt-home {
    padding: 0 !important;
    margin: 0 !important;
}

.welcome-section {
    padding: 50px;
    background-color: #e9ecef;
    width: 100%;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    flex-direction: column;
    box-sizing: border-box;
}
h1{
    color: #2e2e2e;
    font-weight: bold;
}

.text-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 2em;
    margin: 0;
}

hr {
    border: 1px solid #979798;
    width: 100%;
    margin: 10px 0;
}

.hr_header{
    border: 1px solid #979798;
    width: 50%;
    margin: 10px 0;
}

.hr_miniheader{
    border: 1px solid #979798;
    width: 40%;
    margin-bottom: 50px ;
}


h4 {
    font-size: 1.5em;
    margin: 20px 0;
}

.data-section {
   
    margin: 20px;
}




.navbar-custom {
    background-color: #e9ecef !important; 
}

.navbar-custom .nav-link {
    color: #a0ac88 !important;
    font-weight: bold;
    font-size: 16px;
}

.nav-item{
    margin-left: 30px;
}

.navbar-custom .nav-link:hover {
    color: #a0ac88 !important;
    text-decoration: none; /* Quitar el subrayado predeterminado */
    border-bottom: 2px solid #a0ac88; /* Añadir un borde inferior */
    padding-bottom: 2px; /* Espacio entre el texto y la línea inferior */
}

/* Estilo para la imagen del logo */
.navbar-custom .navbar-brand img {
    height: 50px;
}

.navbar-custom .navbar-brand {
    margin-right: 30px;
}

/* Estilo para el menú desplegable */
.navbar-custom .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #a0ac88;
}

.navbar-custom .dropdown-item {
    color: #94ba1d;
}

.navbar-custom .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #979798;
}

/* Estilo para el enlace activo */
.navbar-custom .nav-link.active {
    position: relative;
    color: #a0ac88 !important;
}

.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px; /* Grosor de la línea */
    background-color: #a0ac88; /* Color de la línea */
    left: 0;
    bottom: -3px; /* Espacio entre el texto y la línea inferior */
}






.d-inline-block {
    display: inline-block !important;
    height: 60px;
    margin-left: 10px;
}


.dash-cell {
   
    color: black !important;
    padding: 10px !important;
    text-align: left !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgb(211, 211, 211) !important;
  }
  
  .dash-cell:hover {
    background-color: #f2f2f2 !important;
  }
  
  .dash-cell:hover ~ .dash-cell {
    background-color: #f2f2f2 !important;
  }

  

  .dash-header {
    background-color:  #a0ac88 !important;
    color: white !important;
    padding: 10px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgb(211, 211, 211) !important;
    text-align: left !important;
  }

  #boton_algo, #boton_simulations {
    background-color: #a0ac88 !important;
    color: white !important;
    border: 2px solid #a0ac88 !important;
    margin-bottom: 30px;
    margin-right: 20px;
    border-radius: 20px;
    padding: 10px;
    width: 200px !important;
}

#updatePasswordButton{

    background-color: #a0ac88 !important;
    color: white !important;
    border: 2px solid #a0ac88 !important;
    border-radius: 20px;
    padding: 10px;
    width: 200px !important;

}

#boton_algo:hover, #boton_simulations:hover, #updatePasswordButton:hover {
    background-color:#b9c593 !important;
    border: 2px solid #a0ac88 !important;
}


.upload-box {
    width: 600px;
    height: 60px;
    line-height: 60px;
    border-width: 2px;
    border-style: dashed;
    border-radius: 5px;
    text-align: center;
    border-color: #a0ac88;
    background-color: #ffffff;
    margin-top: 15px;
    margin-left: 10px;
    color: #a0ac88;
    border-color: #a0ac88;
    background-color: #ffffff;
    transition: background-color 0.3s, border-color 0.3s;
}

.upload-box:hover {
    background-color:#b9c593;
    border-color: white;
    color: white;
}


label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #a0ac88;
    border-radius: 50px;
    background-color: white;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
  }
  
  label input[type="checkbox"]:checked {
    background-color: #a0ac88;
    border-color: #a0ac88;
  }
  
  label input[type="checkbox"]:checked::before {
    content: "✔";
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }


.rc-slider-handle-click-focused{
    background-color: #fff !important;
    box-shadow: #fff !important;
}


.rc-slider-rail {
    background-color: #d3d3d3 !important;  
}

.rc-slider-track {
    position: absolute;
    left: 0;
    height: 4px;
    border-radius: 6px;
    background-color: #a0ac88;
}

.rc-slider-dot-active {
    border-color: #a0ac88;
}

.rc-slider-handle {
    border: solid 2px #94ba1d !important;
    background-color: #fff !important;
}

.dash-spreadsheet.dash-freeze-left {
    max-width: 100% !important;
}

.navbar-custom .dropdown-item {
    color: #a0ac88;
}

.text-success {
    color: #a0ac88 !important;
    font-weight: 600;
}


/* assets/style.css */
.graph-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.graph {
    flex: 1;
    width: 100%;
    height: 100%;
}



.container {
    background-color: #fff !important;
    padding: 20px 40px !important;
    border-radius: 8px !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
    width: 80% !important;
    max-width: 90% !important;
    margin-bottom: 55px;
    margin-top: 24px;
}




.profile-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.form-control {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #f4f4f4 !important;
    background-color: #f4f4f4 !important;
    border-radius: 4px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}



.form-control.is-valid {
    border-color: #28a745;
}


#updateSuccess {
    margin-top: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .col-md-1 {
        flex: 0 0 8.3333333333%;
        max-width: 8.3333333333%;
        padding: 4%;
    }
}


.hola {
    background-color: #e9ecef !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0 !important;
    width: 100% !important;
}


.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-control {
    border-radius: 20px !important;
    background-color: #f8f9fa ;
    border: none !important;
    padding: 10px;
    width: 90 !important;
}


.form-control.is-invalid {
    border: 2px solid red !important;
}

.btn-primary {
    background-color: #a0ac88 !important;
    border-color: #a0ac88 !important;
    color: white !important;
    border-radius: 20px;
    width: 100%;
    padding: 10px;
}

.btn-primary:hover {
    background-color:#b9c593 !important;
}


.custom-loading .dash-spinner {
    display: inline-block;
    background-image: url('/assets/battery-6733_128.gif'); /* Cambia la URL del GIF si es necesario */
    background-repeat: no-repeat;
    background-size: cover;
    width: 200px;  /* Ajusta el tamaño del GIF según sea necesario */
    height: 100px; /* Ajusta el tamaño del GIF según sea necesario */
    z-index: 10;  /* Asegura que el GIF tenga un z-index alto */
    margin-top: 150px;
    margin-bottom: 70px;
    position: relative;
  
  }

/* Oculta el spinner por defecto */
.custom-loading .dash-spinner > div {
  display: none;
}



/* Estilo para el contenedor de los filtros */
.filter-div {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.label-title {
    font-weight: bold;
    margin-right: 10px;
}

/* Estilo de los dropdowns */
.dropdown-style {
    min-width: 200px;
}

/* Estilo para los botones de filtro */
.btn-group {
    display: flex;
    gap: 10px;
}

.btn-filter {
    padding: 10px 20px;
    border: 1px solid #ddd !important;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
}

.btn-filter.active {
    background-color: #a0ac88 !important;
    color: white;
}

.btn-filter:hover {
    background-color: #ddd;
    color: #333;
}




#btn-group1 {
    display: flex;
    width: 100%;
    padding: 0;
    margin: 0 !important;
    box-sizing: border-box;
}


.btn-filter1 {
    flex: 1 !important;
    padding: 10px 0 !important;
    border: 1px solid #ddd !important;
    background-color: #f9f9f9 !important;
    color: #333 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    text-align: center !important;
    box-sizing: border-box !important;
    width: 33.33% !important;
    border-bottom: 2px solid #a0ac88 !important;
    border-top: 2px solid  #ddd !important;
}


.btn-filter1.active {
    background-color: #E8F0D8 !important;
    border: 2px solid #a0ac88 !important;
    border-bottom: none !important; 
    font-weight: bolder;
}

.btn-filter1:hover {
    background-color: #ddd !important;
    color: #333 !important;
}





/* Estilo para las tarjetas del top 3 */
.card-title {
    text-align: center;
    font-size: 100%;
    font-weight: bold;
}

.img-avatar {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.ranking-list-item {
    display: flex;
    justify-content: space-between; /* Elimina el !important */
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.ranking-list-container {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.ranking-list-item:last-child {
    border-bottom: none;
}

.podio-row {
    display: flex; /* Activa Flexbox */
    align-items: flex-end; /* Alinea las tarjetas en la parte inferior */
    justify-content: center; /* Centra las columnas horizontalmente */
    
}

.card-container {
    display: flex; /* Asegura flexibilidad en los elementos dentro de cada columna */
    flex-direction: column; /* Coloca la imagen encima de la tarjeta */
    align-items: center; /* Centra la imagen horizontalmente */
    margin-bottom: 20px;
}

.img-avatar {
    position: relative;
    margin-bottom: 10px;
    filter: drop-shadow(0px 6px 8px rgba(0, 0, 0, 0.3)); /* Sombra que sigue el contorno de la imagen */
}


/* Tamaños de las tarjetas */
.card-podio-1 {
    height: 230px !important; /* Mayor altura */
    width: 100% !important;
}

.card-podio-2 {
    height: 180px !important; /* Altura intermedia */
    width: 100% !important;
}

.card-podio-3 {
    height: 130px !important; /* Menor altura */
    width: 100% !important;
}


.card-podio .card-text {
    position: absolute; /* Elemento fijo dentro del contenedor */
    bottom: 10px; /* Espaciado desde el fondo */
    left: 50%; /* Centrado horizontalmente */
    transform: translateX(-50%);
    font-size: 100%; /* Ajustar tamaño según necesidad */
    text-align: center;
}



/* Estilo para el resto de la lista */
.ranking-list-item {
    display: flex !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #ddd !important;
}


/* Agrega este estilo en el CSS */
.nada .dash-spinner {
    display: none;
}



#cancel_download{

    background-color: #c4c4c4 !important;
    border: none  !important;
  
  }
  .modal-header .btn-close {
    
    background-Color: #ededed !important;
    border: none !important;
    display: none !important;
    width: 10px !important;
    height: 10px !important;
    margin-right: 3px !important;
    margin-top: 3px !important;
  }
  
  #ok_buttom, #ok_buttom_terms{
  
    width: auto !important;
    height: auto !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 5px !important;
    background-color: #c4c4c4 !important;
    border: none  !important;
    border-radius: 2px !important;
  
  }

  #input_porcentajes input[type="checkbox"]:checked::before {
    content: ""; /* El contenido personalizado del checkbox */
    color: white !important; /* Color del checkmark */
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

#input_horas input[type="checkbox"]:checked::before {
    content: ""; /* El contenido personalizado del checkbox */
    color: white !important; /* Color del checkmark */
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

#input_horas label input[type="checkbox"]{
    margin: 0 !important;
}


.delete{

    background-color: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0px !important;

}

.delete:hover{

    background-color: transparent !important;
}


/* Estilo de la animación y transición */
.dash-toggle-switch .dash-toggle-switch-inner {
    transition: background-color 0.3s ease; /* Transición suave de color */
}

#download-all-button{

    background-color: #a0ac88 !important;
    color: white !important;
    border: 2px solid #a0ac88 !important;
    border-radius: 20px;
    padding: 10px;
    width: 200px !important;
    margin-top: 40px;
    right: 10% !important;

}

#download-all-button:hover{

    color: #a0ac88 !important;
    background-color: white !important;
    border: 2px solid #a0ac88 !important;
    border-radius: 20px;
    padding: 10px;
    width: 200px !important;
    margin-top: 40px;
    right: 10% !important;

}

#toggle-media{
    width: 10% !important;
}

.cmSQpo {
    appearance: none;
    width: 50px;
    height: 25px;
    background: #a0ac88 !important;
    border-radius: 50px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    display: inline-block;
}

#toggle-media::before {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    transition: left 0.3s ease-in-out;
}

#toggle-media:checked {
    background: #94ba1d !important;
}

#toggle-media:checked::before {
    left: 26px;
}



#toggle-container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}


.download{
    background-color: white !important;
}

.download:hover{
    background-color: white !important;
}


.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}


.always-hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}



input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 15px;
  height: 15px;
  border: 2px solid #94ba1d; /* Borde verde */
  border-radius: 50%;
  background-color: white; /* Fondo blanco */
  position: relative;
  cursor: pointer;
  margin-right: 10px;
}

/* Estilos para el estado checked (seleccionado) */
input[type="radio"]:checked {
  background-color: #94ba1d !important; /* Fondo verde */
  border-color: #94ba1d; /* Borde verde */
}

/* Círculo interior para el estado checked */
input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px; /* Tamaño del círculo blanco interior */
  height: 7px; /* Tamaño del círculo blanco interior */
  background-color: white; /* Color blanco */
  border-radius: 50%; /* Círculo */
  transform: translate(-50%, -50%); /* Centrar */
}

/* Estilos para hover */
input[type="radio"]:hover {
  border-color: #a0ac88; /* Cambia el color del borde al pasar el mouse */
}
