@import url('https://fonts.googleapis.com/css2?family=SUSE:wght@100..800&display=swap');

/*----------Estilos Generales Plantilla MiApp----------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "SUSE", sans-serif;
  font-optical-sizing: auto;
  font-style: normal
}

/* Estilos Principales para la pantalla de carga */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #fff; /* Fondo blanco o el color de fondo de tu página */
}

.loading-logo-wrapper {
  position: relative;
  width: 200px; /* Ajusta el tamaño del logo */
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-logo {
  width: 100%;
  height: 100%;
  opacity: 0; /* Comienza completamente transparente */
  z-index: 1;
  animation: reveal-opacity 3s ease-in-out forwards, reveal-shadow 3s ease-in-out forwards; /* Animación de opacidad y sombra */
  filter: drop-shadow(15px 15px 5px rgba(0, 0, 0, 0.0));
}

/* Animación de opacidad del logo */
@keyframes reveal-opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Animación para la sombra */
@keyframes reveal-shadow {
  0% {
    filter: drop-shadow(15px 15px 5px rgba(0, 0, 0, 0.2));
  }
  100% {
    filter: drop-shadow(15px 15px 20px rgba(0, 0, 0, 0.7));
  }
}

.local-icon {
  width: 20px;
  height: 20px;
  fill: #333;
  margin-right: 10px;
}

/*----Estilos Para el Login----*/

/* Contenedor principal que contiene el logo y el formulario */
.login-container {
  position: relative;
  display: flex;
  min-height: 100vh; /* Cambiado de height a min-height */
  justify-content: center;
  align-items: center;
  flex-direction: row;
  overflow: auto; /* Cambiado de hidden a auto para permitir scroll si es necesario */
  padding: 2rem; /* Reducido el padding y usando unidades rem */
  background-image: url('../Media/SeguimientoLogin.jpg');
  background-size: cover;
}


.login-container::before {
  content: ""; /* Necesario para que el pseudo-elemento sea visible */
  position: absolute; /* Posiciona el pseudo-elemento sobre el contenedor */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Negro con 50% de opacidad */
  z-index: 1; /* Asegura que la máscara esté encima de la imagen pero debajo del contenido */
}

/* Asegúrate de que el contenido de tu contenedor esté encima de la máscara */
.login-container > * {
  position: relative; /* Para que el contenido esté encima del pseudo-elemento */
  z-index: 2;
}

.background-section {
  flex: 1;
  /* background-color: #ff7a22; */
  display: flex;
  justify-content:flex-end;
  align-items: center;
  transition: background-position 0.5s ease-in-out;
  border-radius: 10px;
}

.logo-container {
  width: 22vw;
  height: 35vh;
  max-width: 400px;
  min-height: 200px; /* Añadido un mínimo de altura */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(188, 188, 188, 0.5);
  box-shadow: 0 0 20px rgba(158, 158, 158, 1.8);
  border-radius: 10px;
  margin-left: 10%;
}
.logo {
  width: 110%; /* El logo ocupa el 100% del nuevo tamaño del contenedor */
  height: auto; /* Mantiene la proporción */
  object-fit: contain; /* Asegura que el logo se ajuste sin distorsión */
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.7)); /* Sombra ajustada a la forma del logo */
}

.form-section {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(51, 51, 51, 5);
  width: 30vw;
  max-width: 400px;
  min-width: 250px;
  height: auto; /* Cambiado de altura fija a auto */
  min-height: 400px; /* Establecido un mínimo de altura */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Cambiado de space-around a space-between */
  box-sizing: border-box;
  margin-right: 5%;
}

.error-message {
  color: red;
  font-size: 0.875rem; /* Tamaño de fuente para el mensaje de error */
  margin-top: 0.5rem;
}


/* Elementos del formulario */
.input-group{
  margin-bottom: 1rem; /* Aumenta el espaciado entre los elementos */
  display: flex;
  flex-direction: column;
  width: 100%;
}

.input-group input {
  padding: 0.75rem; /* Aumenta el padding para que los campos de entrada se vean más grandes */
}

.signin-btn {
  padding: 1rem; /* Agranda el botón de inicio de sesión */
}

/* Estilo para el texto "Inicio de sesión" */
.inicio-seccion {
  margin-top: 0.5rem; /* Reducido el margen superior */
  margin-bottom: 1rem;
  color: #333;
  text-align: center;
}

/* Estilos del grupo de entrada (input) */
.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #000;
}

.input-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.olvidar-contraseña {
  text-align: right;
  margin-bottom: 1rem;
}

.forget-contraseña {
  color: #ff7a22;
  cursor: pointer;
  font-size: 14px;
}

.forget-contraseña:hover {
  text-decoration: underline;
}

/* Botón de inicio de sesión */
.signin-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: #ff7a22;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.signin-btn:hover {
  background-color: #e86a12;
  box-shadow: 0 0 15px #bb672b;
}

/* Estilos Generales Componente de Ruta de Acceso */
nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

nav li {
  margin-right: 5px;
}

nav a {
  text-decoration: none;
  color: #fff;
}

nav a:hover {
  text-decoration: underline;
}

nav span {
  margin: 0 5px;
  color: #fff;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .logo-container, .form-section {
    width: 90vw;
    margin: 1rem 0;
  }
}

/*----------Estilos Especificos Plantilla MiApp----------*/
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  overflow: hidden;
  clip-path: inset(0 0 53% 0); /* Recorta 30% desde la parte superior */
  background-image: url('../Media/FonfoDash.jpg');
}

.background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

.GridContanier {
  display: grid;
  grid-template-areas:
      "GridInformacionUsuario GridHeaderApp_2 GridHeaderApp_2"
      "GridInformacionUsuario GridHeaderApp GridHeaderApp"
      "GridInformacionUsuario GridContentApp GridContentApp";
  grid-template-columns: 242px 1fr 1fr;
  grid-template-rows: 80px 40px 1fr;
  gap: 10px;
  height: 100vh;
  width: 100vw;
  padding: 10px;
  overflow: hidden; /* Prueba también overflow-x o overflow-y si es necesario */
  box-sizing: border-box; /* Asegura que padding y border se incluyan en el tamaño total */
}

.GridInformacionUsuario {
  width: 100%;
  height: auto;
  grid-area: GridInformacionUsuario;
  background: linear-gradient(to bottom, #d35400, #ff924a);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  overflow-y: auto; 
}

.GridHeaderApp {
  grid-area: GridHeaderApp;
  background: linear-gradient(to bottom, #d35400, #ff7a22);
  display: flex;
  flex-direction: row;
  justify-content:space-around;
  align-items: center;
  border-radius: 8px;
  padding-top: 10px; 
}

/* Estilo para el contenedor general */
.GridHeaderApp_2 {
  grid-area: GridHeaderApp_2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
}

.content{
  width: 100%;
}

.GridContentApp {
  grid-area: GridContentApp;
  border-radius: 8px;
  /* box-shadow: 2px 2px 10px 1px #0a2319; */
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.1); 
  display: flex;
  flex-direction: column;
  position: relative; /* Necesario para posicionar el fondo de manera absoluta */
}

.LogoMenuDesplegable{
  margin-top: 25%;
  width: 40%;
  display: none;
  cursor: pointer;
}

@keyframes expand {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes collapse {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.8);
    opacity: 0;
  }
}

/* Media Query para pantallas de tablet */
@media (max-width: 768px) {
    .GridContanier {
      grid-template-columns: 45px 1fr 1fr; /* Reducimos el tamaño de la columna */
      grid-template-rows: 80px 35px 1fr;
      gap: 10px;
    }

    .GridInformacionUsuario {
      padding: 0px;
      transition: all 0.3s ease-in-out;
    }
    .GridInformacionUsuario .content {
      display: none; /* Oculta el contenido */
    }

    .LogoMenuDesplegable{
      display: block; /* Asegúrate de que el logo sea visible */
    }

    /* Cuando el div está en modo expandido */
    .GridInformacionUsuario.expanded {
      position: absolute; /* Cambia a posición absoluta */
      top: 1%;
      left: 2%;
      width: 250px;
      height: 98%;
      z-index: 1000;
      background-color: white; /* Fondo para mayor claridad */
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 20px;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
      animation: expand 0.5s ease-out; /* Animación para expandir */
    }

    .GridInformacionUsuario.expanded .content {
      display: block; /* Muestra el contenido en el estado expandido */
    }

    .GridInformacionUsuario.expanded .LogoBull {
      display: none; /* Oculta el logo en el estado expandido */
    }

    .GridInformacionUsuario.collapsing {
      animation: collapse 0.5s ease-in; /* Animación para contraer */
      display: block; /* Asegúrate de que siga visible durante la animación */
    }
}

.background-image_2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url('./Imagenes/PosibleFondoBull.png'); */
  background-position: center; 
  background-repeat: no-repeat; 
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.6)); 
}

.logo_image_Dashboard {
  margin: 2% 0% 5% 0%;
  width: 75%;
  max-width: 150px; /* Ajuste del tamaño máximo para pantallas más pequeñas */
  height: auto;
  object-fit: contain;
}

.Marca {
  width: 100%;
  padding: 20px 0;
}

.InformacionDashboar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5px;
}

.FotoUsuarioDashboard {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.FotoUsuarioDashboard img {
  width: 65%;
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 5px;
  filter: drop-shadow(2px 2px 5px #491d00);
}

.InformacionModulos {
  width: 100%;
}

.TipoGrafia {
  color: #fff;
  font-size: 17px;
  margin-bottom: 2px;
  font-weight: 500;
}

.TipoGrafia_Rol {
  color: #fff;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 100;
}

.TipoGrafia_App {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 100;
}

.TipoGrafia_App_Primnero{
  color: #fff;
  font-size: 20px;
  font-weight: 100;
}

.ModulosDash {
  width: 100%;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.ModulosDash:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.ModulosDash svg {
  margin-right: 10px;
}

.ModulosDash span {
  font-size: 13px;
}

.ModulosDash:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.ModulosDash svg {
  margin-right: 10px;
}

.ModulosDash span {
  font-size: 13px;
}

.BotonSalir {
  /* Usa width auto para que el ancho se ajuste al contenido */
  width: auto;
  height: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  justify-content: center; /* Centrar contenido */
}

.BotonSalir:hover {
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.BotonSalir img {
  margin-right: 10px;
  /* Asegurar que la imagen sea responsive */
  width: 20px;
  height: 20px;
}

.BotonSalir span {
  font-size: 14px;
  white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
}

/* Estilos Generales de Contactos del CRM */

.ContainerContactosCRM, .ContainerPropuestasComercial , .ContainerDashboradInicial{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  flex: auto;
  width: 100%;
  height: 100%;
}

.ContactosCreados{
  width: 25%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.MostrarListaDesplegable{
  width: 90%;
  height: 95%;
  background-color: rgb(238,238,238, 0.5);
  box-shadow: 1px 1px 10px 1px #d1d0d0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  border-radius: 10px;
}

.InputFiltrar{
  width: 90%;
  height: 6%;
  margin: 10px 0px 0px 0px;
}

.InputFiltrar_2{
  width: 90%;
  height: 6%;
  margin: 2px 0px 0px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.Lista, .Lista_Productor{
  width: 90%;
  height: 85%;
  margin: 10px; 
  overflow: auto;
}

.Lista ul, .Lista_2 ul , .Lista_Productor ul{
  list-style-type: none; 
}

.Lista_produccion li {
  cursor: pointer;
  transition: background-color 0.3s ease; /* Para que el cambio de color sea suave */
}

.seleccionado {
  background-color: #f0f0f0; /* Color que desees */
  color: #000; /* Color del texto, si es necesario */
}

.Lista_2{
  width: 97%;
  height: 85%;
  padding: 4% 1% 2% 4%;
  overflow: auto;
}

/* Estilo para la barra de desplazamiento */
*::-webkit-scrollbar {
  width: 4px; /* Ancho de la barra de desplazamiento vertical */
  height: 12px; /* Altura de la barra de desplazamiento horizontal */
}

/* Estilo para el pulgar de la barra de desplazamiento */
*::-webkit-scrollbar-thumb {
  background-color: #343434; /* Color del pulgar */
  border-radius: 6px; /* Bordes redondeados del pulgar */
}

/* Estilo para el área de pista de la barra de desplazamiento */
*::-webkit-scrollbar-track {
  background-color: transparent; /* Color del área de pista */
  border-radius: 4px; /* Bordes redondeados del área de pista */
}

/* Estilo para el área de pista cuando el pulgar está activo */
*::-webkit-scrollbar-thumb:hover {
  background-color: rgb(211,84,0, 0.80); /* Color del pulgar cuando se pasa el mouse por encima */
}

.FormularioContactos, .FormularioPropuestasComercial, .FormAsinarProcentajesCrativos{
  position: relative; /* Necesario para usar ::before */
  width: 75%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url('../Media/PosibleFondoBull.png');
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.8);
}

.ConatinerIframeInicial{
  position: relative; /* Necesario para usar ::before */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url('../Media/PosibleFondoBull.png');
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.8);
  padding: 0 1% 0 1%;
}

/* Sombra solo en la imagen de fondo */
.FormularioContactos::before, .FormularioPropuestasComercial::before , .FormAsinarProcentajesCrativos::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit; /* Copia la imagen de fondo */
  background-position: inherit;
  background-repeat: inherit;
  background-size: inherit;
  filter: blur(10px); /* Ajusta este valor según sea necesario */
  z-index: -1; /* Coloca la sombra debajo del contenido */
}

.FormContactos, .FormPropuestas, .FormProduccion{
  width: 100%;
  height: 95%;
  background-color: rgb(255,255,255, 0.2);
  box-shadow: 1px 1px 10px 1px #d1d0d0;
  margin-left: 10px;
  border-radius: 10px;
  display: flex;
  align-items:flex-start;
  justify-content:flex-start;
  flex-direction: column;
  padding: 1% 2%;
  overflow: auto;
}

.FormAsinarProcentajesCrativos{
  display: none;
}

.FormPorcentajesCreativo{
  width: 100%;
  height: 95%;
  background-color: rgb(255,255,255, 0.2);
  box-shadow: 1px 1px 10px 1px #d1d0d0;
  margin-left: 10px;
  border-radius: 10px;
  display: flex;
  align-items:flex-start;
  justify-content:flex-start;
  flex-direction: column;
  padding: 1%  2%;
  overflow: auto;
  display: none;
}

.filterUserSelect{
  padding: 4% 4% 2% 4%;
}
.SelectUserPropuesta, .SelectPropuesta{
  width: 100%;
  height: 95%;
  /* box-shadow: 1px 1px 10px 1px #d1d0d0; */
  border-radius: 10px;
  display: flex;
  align-items:flex-start;
  justify-content:flex-start;
  flex-direction: column;
  padding: 0%  1%;
  overflow: hidden;
  display: none;
}

.ContainerSelectUSer{
  width: 100%;
  height: 100%;
  padding: 1%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.InformacionSelectedUser{
  width: 60%;
  height: 100%;
  background-color: rgb(238,238,238, 0.5);
  border-radius: 10px;
  padding: 1.5% 1% 1% 1%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
}

.InformacionSelectedUser input{
  margin-top: 1%;
}

.CuadroFiltradoSelectUser{
  width: 35%;
  height: 100%;
  background-color: rgb(238,238,238, 0.5);
  border-radius: 10px;
  overflow: hidden;
}

.CuadroSeleccionUsuario{
  width: 40%;
  height: 100%;
}

.ButtonSeleccionarUser{
  width: 100%;
  height: 10%;
  margin-bottom: 5%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.ParteSuperiorContacto, .ParteSuperiorPropuesta{
  width: 100%;
  height: 10%;
  margin-bottom: 5px;
  display: flex;
  align-items:center;
  justify-content:space-around;
  flex-direction: row;
}

.ParteSuperiorContacto_2{
  width: 100%;
  height: 8%;
  display: flex;
  align-items:center;
  justify-content:space-around;
  flex-direction: row;
}

.ParteSuperior_Reuniones{
  width: 100%;
  height: 11%;
  margin: 10px 0px 10px 0px;
  display: flex;
  align-items:center;
  justify-content:space-around;
  flex-direction: row;
}

.ParteSuperior_Ots_2{
  width: 100%;
  height: 13%;
  margin: 17px 0px 10px 0px;
  display: flex;
  align-items:center;
  justify-content:space-around;
  flex-direction: column;
}

.ParteSuperiorAsignarPorcentajes{
  width: 100%;
  height: 15%;
  margin-bottom: 1%;
  display: flex;
  align-items:center;
  justify-content:space-around;
  flex-direction: row;
}

.ParteSuperiorAsignarPorcentajes_2{
  width: 100%;
  height: 10%;
  margin-bottom: 1.5%;
  display: flex;
  align-items:center;
  justify-content:space-around;
  flex-direction: row;
}

.ParteCentroCostosProduccion{
  width: 100%;
  height: 80%;
  padding: 2%;
  margin-bottom: 10px;
  display: flex;
  align-items:center;
  justify-content:space-around;
  flex-direction: row;
}

.TablaInformacionPropuesta {
  padding-top: 15px;
  margin-bottom: 5px;
  width: 100%;
  height: 30%;
  background-color: rgb(238,238,238, 0.5);
  border-radius: 10px;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

table {
  width: 94%;
  border-collapse: separate; /* Cambia a separate para aplicar border-radius */
  border-spacing: 0; /* Elimina el espacio entre celdas */
  border-radius: 10px; /* Ajusta el valor según el redondeo deseado */
  overflow: hidden; /* Asegura que el contenido se ajuste dentro del border-radius */
  font-size: 13px;
}

th, td {
  border: 1 solid #ddd;
  padding: 8px;
  text-align: justify;
}

th {
  background-color: rgba(51, 51, 51, 0.8);
  color: white;
  font-size: 12px; /* Tamaño de fuente menor para encabezados */
}

td {
  background-color: #f4f4f4;
  font-size: 11px; /* Tamaño de fuente menor para celdas de datos */
}

/* Responsive design */
@media (max-width: 768px) {
  table {
    font-size: 12px; /* Ajusta el tamaño de la fuente según el tamaño de pantalla */
  }
  th, td {
    padding: 6px;
  }
}

.divCentroCostos1, .divCentroCostos2{
  width: 35%;
  height: 100%;
  display: flex;
  align-items:center;
  justify-content:center;
  flex-direction: column;
}

.divBotonesCentroCostos{
  width: 23%;
  height: 100%;
  display: flex;
  align-items:center;
  justify-content:center;
  flex-direction: column;
}

.BotonCC {
  width: 80%;
  height: 12%;
  margin-bottom: 10%;
  border-radius: 10px;
  background-color: #ff924a;  background-color: #ff924a;
  box-shadow: 1px 1px 10px 1px #b2b1b1;
  color: #fff;
  font-size: 14px;
  text-align: center; /* Centra el texto horizontalmente */
  line-height: 100%; /* Ajusta el alto de línea para mejorar la alineación vertical */
  display: flex; /* Usa flexbox para centrar el texto verticalmente */
  justify-content: center; /* Centra el texto horizontalmente en el contenedor flex */
  align-items: center; /* Centra el texto verticalmente en el contenedor flex */
}
 
.BotonCC svg {
  margin-right: 15px;
  margin-left: 15px;
}
 
.BotonCC span {
  font-size: 14px;
}
 
.BotonCC:hover {
  background-color: rgba(255, 115, 23, 0.9);
  box-shadow: 1px 1px 10px 1px #282727;
}
 
.BotonCC svg {
  margin-right: 10px;
}
 
.BotonCC span {
  font-size: 14px;
}

.registroCC_1, .registroCC_2 {
  background-color: rgba(51, 51, 51, 0.3); /* Color de fondo por defecto con opacidad */
  color: #fff;
  padding: 10px; 
  font-size: 13px;
  border-radius: 5px;
  transition: background-color 0.3s ease; /* Transición suave */
  height: auto;
  cursor: pointer;
  opacity: 10;
  width: 100%;
  text-align: center;
}


.registroCC_1:hover, .registroCC_2:hover,
.registroCC_1:focus, .registroCC_2:focus {
  background-color: rgba(51, 51, 51, 0.4); /* Color de fondo con mayor opacidad cuando se pasa el ratón o tiene el foco */
}

.divBotonesCentroCostos1{
  width: 30%;
  height: 100%;
}
.InputCentroCostos_1,.InputCentroCostos_2 {
  margin-bottom: 10px;
}

iframe {
  width: 100%; /* Haz que el iframe tome todo el ancho del contenedor */
  height: 100%;
  border: none; /* Quita el borde del iframe */
  border-radius: 10px; /* Bordes redondeados si es necesario */
}

.ResultadosCentroCostos_1, .ResultadosCentroCostos_2{
  width: 100%;
  height: 100%;
  background-color: rgba(240, 110, 24, 0.25);
  box-shadow: 1px 1px 8px 1px #ff8d4c; 
  overflow: auto;
  border-radius: 10px;
  width: 100%;
  max-width: 100%; /* Evita que el contenedor sea más ancho que su padre */
  overflow-wrap: break-word; /* Permite que las palabras largas se dividan en varias líneas */
  word-wrap: break-word; /* Ayuda a dividir palabras largas */
  padding: 2px 0px 2px 5px; /* Añade espacio alrededor del contenido */
}

.InformacionCliente, .InformacionPropuesta{
  width: 50%;
  height: 100%;
  font-weight:600;
  display: flex;
  align-items:center;
  justify-content:flex-start;
  flex-direction: row;
}

.InformacionPropuestas_Reunion{
  width: 100%;
  height: 100%;
  display: flex;
  align-items:flex-start;
  justify-content:flex-start;
  flex-direction: column;
  margin-bottom: 15px;
}

.InformacionOTLider{
  width: 50%;
  height: 100%;
  font-weight:600;
  display: flex;
  align-items:flex-start;
  justify-content:flex-start;
  flex-direction: column;
  text-align: justify;
  padding: 2% 0% 5% 0%;
}

.InformacionProducccion{
  width: 100%;
  height: 100%;
  font-weight:600;
  display: flex;
  align-items:center;
  justify-content:flex-start;
  flex-direction: row;
}

.InformacionPropuestaOT{
  width: 50%;
  height: 100%;
  font-weight:600;
  margin: 10px 0px 0px 0px;
  display: flex;
  align-items:center;
  justify-content:flex-start;
  flex-direction: row;
  display: block;
}

.BotonesInteraccion {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
}

.BotonesInteraccion > div {
  margin-left: auto;
}

.BotonesInteraccion_2 {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
}

.BotonesInteraccion_2 > div {
  margin-left: auto;
}

.BotonesFormulario {
  width: 40px; 
  height: 35px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center; /* Centra el ícono cuando no hay texto */
  padding: 0; /* Sin padding para ajustarse solo al ícono inicialmente */
  margin-bottom: 10px;
  border-radius: 5px;
  color: #000;
  box-shadow: 1px 1px 10px #6e6d6d;
  border: none;
  transition: background-color 1s ease, width 1s ease, padding 1s ease; /* Transiciones suaves */
  cursor: pointer;
  position: relative;
  overflow: hidden; /* Oculta el texto inicialmente */
  font-size: 13px;
  font-weight: 100;
}

.BotonesFormulario img {
  margin-right: 0; /* Sin margen inicialmente para que el ícono esté centrado */
  transition: margin-right 1.5s ease; /* Transición para el margen del ícono */
}

.BotonesFormulario span {
  margin-left: 8px; /* Espacio entre el ícono y el texto */
  opacity: 0; /* Oculta el texto inicialmente */
  white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
  transition: opacity 2.5s ease; /* Transición suave para la opacidad */
  color: transparent; /* Mantén el color transparente para ocultar */
  display: none; /* Oculta el texto inicialmente */
}

.BotonesFormulario:hover, .BotonesFormulario:focus {
  background-color: rgb(211,84,0, 0.55);
  box-shadow: 2px 2px 10px 2px #8a8a8a;
  padding: 0 10px; /* Ajusta el padding al pasar el mouse o al hacer clic */
  width: auto; /* Permite que el botón crezca para el texto */
  box-shadow: 1px 1px 10px rgb(211,84,0, 0.55);
}

.BotonesFormulario:hover span, .BotonesFormulario:focus span {
  opacity: 1; /* Muestra el texto */
  color: #000; /* Establece el color del texto */
  font-weight: 300;
  display: inline-block; /* Mostramos el texto cuando se pasa el mouse */
}

.BotonesFormulario:hover svg, .BotonesFormulario:focus svg {
  margin-right: 0px; /* Añade margen al ícono cuando el texto esté visible */
}

.BotonesSinAnimacion{
  width: auto; 
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center; /* Centra el ícono cuando no hay texto */
  padding: 0; /* Sin padding para ajustarse solo al ícono inicialmente */
  border-radius: 5px;
  color: #000;
  box-shadow: 1px 1px 10px #6e6d6d;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 0px 5px;
  transition: background-color 1s ease, width 1s ease, padding 1s ease; /* Transiciones suaves */
}

.BotonesSinAnimacion:hover{
  background-color: rgb(211,84,0, 0.55);
  box-shadow: 2px 2px 10px 2px #8a8a8a;
  box-shadow: 1px 1px 10px rgb(211,84,0, 0.55);
}

form {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%; 
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form-row_PorcentajeCreativos{
  width: 100%;
  height: auto;
}

.form-row-Dinamicos{
  width: 100%;
  height: 100%;
}

.form-row_2{
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.form-row_3{
  display: flex;
  justify-content:flex-end;
  margin-bottom: 5px;
}

.form-group {
  flex: 1;
  margin-right: 10px;
}

.form-groupNuevo{
  flex: 1;
  margin-right: 10px;
  display: none;
}

.form-group:last-child , .form-groupNuevo:last-child{
  margin-right: 0;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

.titulo{
  font-weight:600;
  margin: -1% 0 2% 0%;
  font-size: 17px;
}

tagsContainer{
  height: 500px;

}

/* General para inputs y textareas */
input,
select,
textarea, #tagsContainer{
  width: 100%; /* Ancho completo del contenedor */
  padding: 8px; /* Espaciado interno */
  border-radius: 4px; /* Bordes redondeados */
  box-sizing: border-box; /* Incluye padding y border en el ancho total */
  border: 1px solid rgb(255, 146, 74, 0.75); /* Borde */
  font-size: 12px; /* Tamaño de fuente */
  background-color: #f3f3f3;
}

#archivosAdicionales{
  width: 100%; /* Ancho completo del contenedor */
  border-radius: 4px; /* Bordes redondeados */
  box-sizing: border-box; /* Incluye padding y border en el ancho total */
  border: 1px solid rgb(255, 146, 74, 0.75); /* Borde */
  font-size: 12px; /* Tamaño de fuente */
  background-color: #f3f3f3;
  padding: -8px;
}

#archivosAdicionales::-webkit-file-upload-button {
  background-color:  rgb(255,120,57,0.90);
  color: #000;
  font-weight: 500;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border: none;
  padding: 5px;
  cursor: pointer;
  font-size: 11px;
  margin-right: 5px;
}

#archivosAdicionales::placeholder {
  color: #000000;
  font-weight: 100;
  font-size: 10.5px;
}

/* Contenedor para el textarea con scroll */
.scrollable-container {
  width: 100%; /* Ancho completo del contenedor */
  max-height: 200px; /* Altura máxima */
  overflow-y: auto; /* Barra de desplazamiento vertical cuando sea necesario */
  border-radius: 4px; /* Bordes redondeados */
  box-sizing: border-box; /* Incluye padding y border en el ancho total */
  margin-bottom: -5px;
}

/* Estilo específico para el textarea dentro del contenedor scrollable */
.scrollable-container textarea {
  width: 100%; /* Ancho completo del contenedor */
  height: auto; /* Ajusta la altura automáticamente */
  max-height: 100%; /* Limita la altura máxima según el contenedor */
  resize: none; /* Desactiva el redimensionamiento manual */
  overflow: auto; /* Oculta las barras de desplazamiento internas */
  background-color: #f3f3f3;
}

/* Contenedor para el textarea con scroll */
.scrollable-container_Datos_Adicionales {
  width: 100%; /* Ancho completo del contenedor */
  max-height: 210px; /* Altura máxima */
  overflow-y: auto; /* Barra de desplazamiento vertical cuando sea necesario */
  border-radius: 4px; /* Bordes redondeados */
  box-sizing: border-box; /* Incluye padding y border en el ancho total */
  margin-bottom: -5px;
}

/* Estilo específico para el textarea dentro del contenedor scrollable */
.scrollable-container_Datos_Adicionales textarea {
  width: 100%; /* Ancho completo del contenedor */
  height: 200px; /* Ajusta la altura automáticamente */
  max-height: 100%; /* Limita la altura máxima según el contenedor */
  resize: none; /* Desactiva el redimensionamiento manual */
  overflow: auto; /* Oculta las barras de desplazamiento internas */
  background-color: #f3f3f3;
}

input:focus, select:focus, textarea:focus{
  outline: none;
  border-color: #ac4400;
}

/* Contenedor del botón y del mensaje */
.custom-file-container {
  display: flex;
  align-items: center;
  border: 1px solid  rgb(255,146,74, 1);;
  border-radius: 4px;
  background-color: #fff; /* Fondo común */
  width: 100%; /* Asegura que ocupe el ancho total del formulario */
  height: 34px;
}

/* Estilos del botón */
.custom-file-upload {
  padding: 6px 12px;
  margin: auto;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: rgb(255,146,74, 1);
  color: white; /* Color del texto del botón */
  margin-right: 1px; /* Separación entre el botón y el mensaje */
}

/* Efecto hover para el botón */
.custom-file-upload:hover {
  background-color: #ff6f0f; /* Efecto hover */
  border-color: #ada;
}

/* Estilos del mensaje */
.file-name {
  color:#000;
  white-space:wrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Para cortar nombres largos de archivos */
  font-size: 14px;
  margin-left: 10px;
}

.ParteFormulario{
  width: 100%;
  height: 75%;
  margin-bottom: 10px;
  display: block;
}

.ParteFormularioOT{
  width: 100%;
  height: 100%;
  display: block;
}

.ParteFormularioOT_AsignarPorcentajes{
  width: 100%;
  height: 75%;
  display: block;
}

.ParteFormularioOT_RegistroPropuestas, .ParteFormularioProduccion_PropuestasVendidas {
  width: 100%;
  height: 100%;
}

.ParteInferiorFormulario{
  width: 100%;
  height: 12%;
  background-color: #0c3e84;
}

/* UserItem.css */
.user-item , .propuesta-item, .productor-item, .productor-item{
  border: none;
  border-radius: 4px; /* Bordes redondeados */
  padding: 10px; /* Espaciado interno */
  background-color: transparent; /* Fondo transparente por defecto */
  cursor: pointer;
  width: auto;
  transition: background-color 0.3s ease; /* Suaviza la transición del color de fondo */
  background-color: rgb(238, 238, 238); /* Color de fondo para los elementos impares */
  display: block;
  margin-bottom: 5px;
}

.user-item.selected , .propuesta-item.selected, .productor-item.selected{
  background-color: #d3d3d3; /* Color de fondo para los elementos seleccionados */
} 

.finalizado {
  background-color: rgb(81,122,81,0.85);
}

.error-message {
  color: red;
  margin-bottom: 10px;
  text-align: center;
}

/* Media query para pantallas menores a 1000px */
@media screen and (max-width: 999px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }
}


.IndicadoresOTs {
  width: 20%;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.IndicadoresOTs_2 {
  width: 15%;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.IndicadoresOTs_2 span {
  font-size: 10.5px;
}

.IndicadoresOTs:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.IndicadoresOTs svg {
  margin-right: 10px;
}

.IndicadoresOTs span {
  font-size: 12px;
}

.slider {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 110px;
  height: 35px;
  background: linear-gradient(to bottom, #d35400, #ff7a22);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.options {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-weight: 400;
}

.option {
  z-index: 1;
  font-weight: 100;
  transition: color 0.3s ease;
}

.commercial {
  color: white;
}

.production {
  color: #555;
}

/*-----Estilos Para el Boton de Cambiar de Produccion a Comercial*/
.toggle-switch {
  position: relative;
  width: 230px;
  height: 42px;
  background-color: rgba(224, 224, 224, 0.3); 
  border-radius: 20px;
  cursor: pointer;
  margin-right: 5px;
  margin-bottom: 10px;
}

/* Si el switch está activo */
.toggle-switch.active .slider {
  left: 116px;
  background-color: #2ecc71;
}

/* Cambios de color cuando se activa el modo "Comercial" */
.toggle-switch.active .commercial {
  color: black;
  font-weight: 300;
}

.toggle-switch.active .production {
  color: white;
}

/* Cambios de color cuando se activa el modo "Producción" */
.toggle-switch:not(.active) .commercial {
  color: white;
}

.toggle-switch:not(.active) .production {
  color: black;
  font-weight: 300;
}

/* Contenedor de las etiquetas */
#tagsContainer {
  width: 100%;
  min-height: 35px;
  height: auto; 
  overflow-y:visible;
  padding: 10px;
  border:1px solid rgb(255, 146, 74, 0.75);
  border-radius: 5px;
  background-color: #f9f9f9;
  position: relative;
  cursor: pointer;
}

/* Estilo para las etiquetas */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  padding: 2px 10px;
  background-color: rgb(251,165,98, 0.95);
  color: #fff;
  border-radius: 15px;
  font-size: 12px;
  margin: 0px 3px 2px 0px
}

.tag button {
  margin-left: 5px;
  background: none;
  border: none;
  color: #fff;
  font-weight: 400;
  cursor: pointer;
  font-size: 12px;
}

.tag button:hover {
  font-weight: bolder;
}
/* 
.propuesta-item {
  position: relative;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
} */

.productor-item {
  position: relative;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
}

.icono-propuesta {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.icono-propuesta img {
  width: 20px;
  height: 20px;
}

#CiudadesProyecto{
  width: 100%;
  height: auto;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none;
}


/* Estilos para la Interfaz de Produccion de Asignacion de CC */
.ContainerProyectos_Produccion_2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
  height: 18%;
  /* background-color: #0c3e84; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Sombra gris */
  background-color: rgba(128, 128, 128, 0.2); /* Fondo gris con 20% de opacidad */
  border-radius: 10px; /* Bordes redondeados */
  padding: 10px; /* Espaciado interno */
  margin-bottom: 15px; /* Espaciado inferior */
}

.ContainerProyectos_Produccion{
  width: 100%;
  height: auto;
}

.InformacionProyectoProductor {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  width: 70%;
  height: 100%;
  padding-left: 4%;
}

.InformacionKPISProyectoProductor {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 30%;
  height: 100%;
  padding: 3%;
}

.toggle-switch_2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 280px;
  height: 40px;
  margin: 5px auto;
  background: linear-gradient(to bottom, rgb(255, 135, 50), rgb(244, 127, 49));
  border-radius: 20px;
  padding: 10px;
  position: absolute; /* Cambiado a posición absoluta */
  bottom: 10px; /* Ajustar para que esté en la parte inferior */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* Asegurar que esté sobre el iframe */
  transition: background-color 0.5s ease; /* Animación para el fondo */
}

.toggle-switch_2 .option {
  flex: 1;
  text-align: center;
  color: black;
  font-weight: 200;
  transition: color 0.5s ease, background-color 0.5s ease; /* Animación para transición de color */
  cursor: pointer;
}

.toggle-switch_2 .option.active {
  color: white;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.85); /* Color de fondo cuando está activo */
  border-radius: 20px;
  font-weight: 250;
}

.slider_2 {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 110px;
  height: 35px;
  /* background: linear-gradient(to bottom, #d35400, #ff7a22); */
  border-radius: 20px;
  transition: all 0.3s ease;
}

.iframePowerBI {
  display: none; /* Ocultar todos los iframes por defecto */
  opacity: 0;
  transition: opacity 0.5s ease; /* Animación para la opacidad */
}

.iframePowerBI.active {
  display: block; /* Mostrar el iframe activo */
  opacity: 1;
}


.toggle-button-container_2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.toggle-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px;
  position: relative;
  transition: background-color 0.5s ease;
  margin-bottom: 10px;
}

.toggle-button .option:hover {
  border-radius: 20px;
}

.toggle-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 400px;
  border-radius: 20px;
  padding: 5px;
  transition: background-color 0.5s ease;
  }

.toggle-button .option {
  flex: 1;
  text-align: center;
  color: black;
  font-weight: 300;
  transition: color 0.5s ease, background-color 0.5s ease;
  cursor: pointer;
  padding: 5px 0;
  background-color: transparent; /* Fondo transparente por defecto */
}


.toggle-button .option.active {
  color: white;
  font-weight: 200;
  background: linear-gradient(to bottom, rgba(211, 84, 0, 0.95), rgba(255, 122, 34, 0.95));
  border-radius: 20px;
  height: 35px;
}

.toggle-button .option.active {
  animation: slide-in 0.5s forwards;
}

.toggle-button .option:not(.active) {
  animation: slide-out 0.5s forwards;
}
