@font-face {
  font-family: Poppins-Regular;
  src: url('../../fuentes/poppins/Poppins-Regular.ttf');
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../../fuentes/poppins/Poppins-Medium.ttf');
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../../fuentes/poppins/Poppins-Bold.ttf');
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('../../fuentes/poppins/Poppins-SemiBold.ttf');
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: Poppins-Regular, sans-serif;
}


input {
  outline: none;
  border: none;
}

button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

/*-- contenedor del Login--*/

.container-login {
  width: 100%;
  min-height: 100vh;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: -webkit-linear-gradient(to right, #00dbde, #16565e);
  background: linear-gradient(to right, #062323, #075366);
}

.wrap-login {
  width: 400px;
  background: #eceff1;
  border-radius: 20px;
  overflow: hidden;
  padding: 45px 55px 53px 55px;
  -webkit-box-shadow: 25px 40px 28px 0px rgba(0, 0, 0, 0.38);
  /* box-shadow: eje-x | eje-y | blur-radius | color */
}


/*----Formulario de user y password----*/

.login-form {
  width: 100%;
}

.login-form-title {
  display: block;
  font-family: Poppins-Bold;
  font-size: 25px;
  color: #333333;
  line-height: 1.5;
  text-align: center;
  padding-top: 30px;
}


/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid #adadad;
  margin-bottom: 37px;
}

.input100 {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #555555;
  line-height: 1.2;

  display: block;
  width: 100%;
  height: 45px;
  background: transparent;
  padding: 0 5px;
}

/*---------------------------------------------*/
.focus-efecto {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-efecto::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 4px;
  /*ancho de la linea que hace el efecto de barra de progeso en el input al hacer foco*/

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: #6a7dfe;
  background: -webkit-linear-gradient(left, #21d4fd, #1906ac);
  background: -o-linear-gradient(left, #21d4fd, #1906ac);
  background: -moz-linear-gradient(left, #21d4fd, #1906ac);
  background: linear-gradient(left, #21d4fd, #1906ac);
}

.focus-efecto::after {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #999999;
  line-height: 1.2;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 16px;
  left: 0px;
  padding-left: 5px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus+.focus-efecto::after {
  top: -15px;
}

.input100:focus+.focus-efecto::before {
  width: 100%;
}

.has-val.input100+.focus-efecto::after {
  top: -15px;
}

.has-val.input100+.focus-efecto::before {
  width: 100%;
}

/*---------------img logo index------------------------------*/
.loginLogo {
  padding-top: 1px;
  display: block;
  width: 35%;
  margin: auto;
}

/*------------------------------------------------------------------
[ Button ]*/
.container-login-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 10px;
}

.wrap-login-form-btn {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 40px 5px;
  overflow: hidden;
  margin: 0 auto;
}

.login-form-bgbtn {
  position: absolute;
  z-index: -1;
  width: 300%;
  height: 100%;
  background: #a64bf4;
  background: -webkit-linear-gradient(right, #21d4fd, #14828c, #073843, #1906ac);
  background: -o-linear-gradient(right, #21d4fd, #2136ad, #051417, #083b3d);
  top: 0;
  left: -100%;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login-form-btn {
  font-family: Poppins-Medium;
  font-size: 25px;
  color: #fff;
  line-height: 1.2;
  /*text-transform: uppercase;*/

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
}

.wrap-login-form-btn:hover .login-form-bgbtn {
  left: 0;
}


/*--- Para dispositivos small responsive ---*/

@media (max-width: 576px) {
  .wrap-login {
    padding: 77px 15px 33px 15px;
  }
}

/* INICIO TRT566
CSS PARA DAR ESTILOS A   <ul id="diag_posData" style="display:none;"></ul>
 EN EL FORMULARIO REGISTRO PACIENTES AL MOMENTO DE HACE UNA BUSQUEDA
*/
/*-------------------------------------------------*/
.estilo-busqueda {
  /* Estilos para el ul */
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #E9ECEF;
  border: 2px solid #2e09d2;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: block;
  /* Mostrar el ul cuando se realiza la búsqueda */
}

.estilo-busqueda li {
  /* Estilos para cada item de la lista */
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.estilo-busqueda li:hover {
  /* Estilos para cuando se pasa el mouse sobre un item */
  background-color: #517cda;
  cursor: pointer;
}

.estilo-busqueda li:last-child {
  /* Estilos para el último item de la lista */
  border-bottom: none;
}

/* FIN  TRT566*/
/*-----------------esto es para verificar los campos vacios al momento de guardar los registros--------------------------------*/
.error-border {
  border: 3px solid red !important;
  border-radius: 4px;
}

.succes-border {
  border: 3px solid rgb(3, 115, 144) !important;
  border-radius: 4px;
}
.fondo-input {
  border: 3px solid rgb(0, 0, 0) !important;
  border-radius: 4px;
}

/*-------------------------------------------------*/
/* Estilos para la tabla */
.estiloTabla {
  margin: 0;
  padding: 15px;
  background-color: #92928f;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.estiloTabla thead {
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 10px;
}

.estiloTabla tbody {
  background-color: #f9f9f9;
}

.estiloTabla td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.estiloTabla td button {
  background-color: #0ea206;
  color: #fff;
  border: none;
  padding: 5px 20px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 5px;
}

.estiloTabla td button:hover {
  background-color: #b32a08;
}

/* FIN  XAA544*/

/*-------------------------------------------------*/
/* estilo para los botones del formulario Guardar y salir de registros.php */
/* estilo para botones de otras páginas */
#consultarQuirurgicos {
  padding: 5px 20px;
  margin-top: 8px;
  border-radius: 5px;
}
/* estilo para los botones del formulario Guardar y salir de EditarPaciente.php */
#update,
#cancelatBtn,
#nuevoRegistro {
  /* background-color: #b32a08;*/
  padding: 5px 10px;
  margin-top: 33px;
  border-radius: 5px;
}

/*-------------modan reeingreso despues de 10 minutos de inactivo centro quirurgicos---------------------------*/
/* Estilos para el modal de advertencia */
#sessionWarningModal,
#reenterPasswordModal,
#updateEstadoModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(36, 40, 38);
  padding: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  max-width: 80%;
  /* Ajusta el ancho máximo del modal */
  max-height: 80%;
  /* Ajusta el alto máximo del modal */
  min-width: 300px;
  /* Ajusta el ancho mínimo del modal */
  min-height: 200px;
  /* Ajusta el alto mínimo del modal */
  overflow: auto;
  /* Permite el scroll si el contenido excede el tamaño del modal */
}

#sessionWarningModal p,
#reenterPasswordModal p {
  margin: 0 0 20px 0;
}

#sessionWarningModal button,
#reenterPasswordModal button {
  margin-right: 10px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 0, 0, 0.5);
  z-index: 999;
  /* Asegúrate de que la superposición esté encima de otros elementos */
  display: none;
  /* Oculto por defecto */
}

.ModalReingreso {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  z-index: 1000;
  /* Asegúrate de que el contenido del modal esté encima de la superposición */
  display: none;
  /* Oculto por defecto */
  max-width: 40%;
  /* Ajusta el ancho máximo del contenido del modal */
  max-height: 40%;
  /* Ajusta el alto máximo del contenido del modal */
  min-width: 300px;
  /* Ajusta el ancho mínimo del contenido del modal */
  min-height: 200px;
  /* Ajusta el alto mínimo del contenido del modal */
  overflow: auto;
  /* Permite el scroll si el contenido excede el tamaño del modal */
}

#reenterPassword {
  width: 70%;
  height: 40px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #babac2;
  border-radius: 10px;
  border: 5px solid #ecc0c0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.textoModal {
  color: #e1e1e1;
  font-size: 18px;
  font-weight: bold;
}
/*--------------------------*/
.LogoCabecera {
  padding-top: 1px;
  display: block;
  width: 60px;
  margin: auto;
  height: 60px;
}
/*----------mostrar pdf en la pestaña home.php----------------*/
#manual_pdf {
  width: 70%; /* Define el ancho del contenedor */
  margin: 0 auto; /* Centra horizontalmente el div */
  text-align: center; /* Centra el contenido del texto */
}

#manual_H3 {
  margin-bottom: 20px; /* Añade un margen inferior para separar el título del PDF */
}
/*--------------------------*/
/*estilo para cuando seencuentra el paciente*/
.found-data {
  background-color: #abf4ee; /* Light blue color */
  border-color: rgb(24, 203, 117);
}
/*esto es para la hora*/
#hora-flotante {
  position:  fixed;
  top: 70px;
  right: 20px;
  background-color: #3a3b45;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}



#savetask {
  background: linear-gradient(135deg, #0f2444, #1c4e80);
  color: #fff;
  border: none;
}

#salir {
  background: #dc3545;
  color: #fff;
}

/* ---------- Listas desplegables de búsqueda (autocompletar) ---------- */
.estilo-busqueda {
  border-color: var(--hsj-azul, #1c4e80) !important;
  border-radius: 10px !important;
}

.estilo-busqueda li:hover {
  background-color: var(--hsj-azul, #1c4e80) !important;
  color: #fff;
}

/* ---------- Tablas de items seleccionados (diagnósticos / operaciones) ---------- */
.estiloTabla {
  background-color: #fff !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.estiloTabla thead {
  background-color: var(--hsj-azul-oscuro, #0f2444) !important;
}

.estiloTabla td button {
  background-color: var(--hsj-azul, #1c4e80);
  border-radius: 8px !important;
}

.estiloTabla td button:hover {
  background-color: #a12a2a;
}

/* ---------- Reloj flotante ---------- */
#hora-flotante {
  background: var(--hsj-azul-oscuro, #0f2444);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 36, 68, .25);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  .estilosQuirurgicos {
    padding: 12px 10px 40px;
  }

  .estilosQuirurgicos .separarDiv,
  .estilosQuirurgicos .separarDivDiag {
    padding: 16px 10px 4px;
  }

  #registrarPaciente > label {
    font-size: 13px;
  }

  .estilosQuirurgicos .input-group.col-sm-12:first-of-type {
    flex-direction: column;
    align-items: stretch;
  }

  .estilosQuirurgicos .btn,
  #savetask,
  #salir {
    width: 100%;
  }
}