/* estilos.css */

/* Color de fondo de la página */
body {
    background-color: #f0f8ff;
    /* font-family: 'Roboto', sans-serif, verdana, "Helvetica Neue", Helvetica, Arial, sans-serif !important; */
    font-size: 13px !important;
  }

  .bodyLogin {
    background: linear-gradient(135deg, #2563eb 0%, #ffffff 100%);
    min-height: 100vh;
    font-family: 'Muli', "Helvetica Neue", Arial, sans-serif;
  }
  
  /* Contenedor principal del login s */
  .login-container {
    display: none;
    max-width: 370px;
    margin: auto;
    margin-top: 16vh;
    background-color: #fff;
    padding: 30px;
    border: none;
    /* border-radius: 1rem; */
    /* box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1); */
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12);
  }
  
  /* Logo */
  .logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 220px;
    padding: 5px;
  }

  /* Modal personalizado */
.modal-custom {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
}

/* Estilo para la cabecera del modal */
.modal-custom .modal-header {
  border-bottom: none;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #2563eb, #4f83cc);
  color: #fff;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Botón de cerrar con mejor contraste */
.modal-custom .btn-close-white {
  filter: invert(1);
}

/* Estilo para la parte del cuerpo del modal */
.modal-custom .modal-body {
  padding: 1.5rem;
}

/* Estilo para el footer del modal */
.modal-custom .modal-footer {
  border-top: none;
  padding: 1rem 1.5rem;
  background: #f7f7f7;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

/* Inputs personalizados para que encajen en el diseño moderno */
.input-custom {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.input-custom:focus {
  border-color: #2563eb;
  box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
}

/* Botón personalizado del modal */
.btn-custom-modal {
  width: 100%;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #2563eb, #4f83cc);
  border: none;
  font-weight: 600;
  padding: 0.75rem;
  transition: background 0.3s ease;
}

.btn-custom-modal:hover {
  background: linear-gradient(135deg, #1e55b8, #42699a);
}

  .colorMenu{
    color: #A3A7B8;
    font-size: 14px !important;
    font-weight: 500;
  }

  .colorMenu:hover {
    background-color: #F0F8FF;
    text-decoration: none;
    font-weight: 500;
}
  
  /* Botón personalizado */
  .btn-custom {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
  }
  .btn-custom:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
  }
  
  /* Enlace "¿Olvidaste tu contraseña?" */
  .forgot-link {
    color: #007bff;
    text-decoration: none;
  }
  .forgot-link:hover {
    text-decoration: underline;
  }
  
  .content-area {
    flex-grow: 1;
    padding: 20px;
  }
    /* Si deseas fijar el tamaño del contenedor del gráfico */
  #chartContainer {
    width: 100%;
    height: 170px;
  }

  /* Aplicar la fuente a un elemento específico */
  .titulo {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    /* font-size: 24px; */
  }

  .btn-custom-login {
    width: 70%; 
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: block; /* Hace que se tome el ancho completo asignado */
    margin: 0 auto; /* Centra horizontalmente */
  }

  .input-custom-height {
    padding: 0.8rem 0.4rem !important;
  }
  
  /* Hover */
  .btn-custom-login:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff; /* si deseas que se mantenga el blanco */
  }
  

  .fuenteModales15 {
    font-family: 'Roboto', sans-serif, verdana, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 600;
    font-size: 15px;
  }
  
  .fuenteModales17 {
    font-family: 'Roboto', sans-serif, verdana, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 600;
    font-size: 17px;
  }

  .fuenteModales20 {
    font-family: inherit;
    font-weight: 700;
    font-size: 20px;
  }

  .encabezados {
    font-family: 'Roboto', sans-serif, verdana, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 13px;
    color: #A3ADCB;
  }

  .encabezados2 {
    font-family: 'Roboto', sans-serif, verdana, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 15px;
    color: #A3ADCB;
  }

  .modal-content2{
    border-radius: 16px;
    box-shadow: none !important;
    border: none !important;
    padding: 15px;
    animation-name: zoom;
    animation-duration: 0.6s;
    margin: auto;
    display: block;
    width: 100%;
    position: relative;
    background-color: rgb(255, 255, 255);
    background-clip: padding-box;
    outline: 0px;
    box-sizing: border-box;
  }

  .button-raised-primary{
    /* background-color: #8157D6 !important; */
    background-color: #0d6efd !important;
    font-family: 'Roboto', sans-serif, verdana, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #ffffff;
    /* border-color: #8157D6; */
    border-color: #0B5ED7;
    box-sizing: border-box;
    background: transparent;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
  }

  .button-raised-primary:hover{
    /* background-color: #6e3db4 !important; */
    background-color: #0B5ED7 !important;
  }

  .button-enviar-primary{
    background-color: #157347 !important;
    font-family: 'Roboto', sans-serif, verdana, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #ffffff;
    border-color: #157347;
    box-sizing: border-box;
    background: transparent;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
  }

  .button-enviar-primary:hover{
    background-color: #136840 !important;
  }

  .button-cerrar-primary{
    background-color: #9c9e9d !important;
    font-family: 'Roboto', sans-serif, verdana, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #ffffff;
    border-color: #9c9e9d;
    box-sizing: border-box;
    background: transparent;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
  }

  .button-cerrar-primary:hover{
    background-color: #7f8180 !important;
  }

  .spanButton {
    display: inline-block;
    height: auto;
    line-height: 100%;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    font-size: 13px;
  }

  table.dataTable thead th {
    background-color: #8157D6; /* Morado */
    color: #ffffff; /* Blanco */
  }
  
  /* Datos: letra gris */
  table.dataTable tbody td {
    color: #6c757d; /* Gris */
  }

  #campanasContainer thead th {
    background-color: #6f42c1; /* Morado */
    color: #ffffff;            /* Blanco */
  }
  
  /* Datos con letra gris */
  #campanasContainer tbody td {
    color: #6c757d;            /* Gris */
  }

  .error-border {
    border: 1px solid red !important;
  }

  .content-hidden {
    display: none;
  }

  .input-icon-right {
    padding-right: 2.5rem; /* deja espacio para el ícono */
    margin-bottom: 5px;
    font-size: 15px;
  }
  /* Si usas position-absolute para el ícono */
  .input-icon-right-fuente {
    font-size: 1.5rem; /* Ajusta el tamaño según tus necesidades */
    opacity: 0.7; /* Valor entre 0 (transparente) y 1 (opaco) */
  }

  .position-absolute.end-0.me-3.top-50.translate-middle-y {
    color: #ced4da; /* gris claro para el icono */
    cursor: pointer; /* si quieres que parezca clicable */
  }

  .code-container {
    position: relative;
  }
  .copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
  }

  @media (min-width: 992px) {
    .modal-lg, .modal-xl {
      --bs-modal-width: 900px;
    }
  }
  