:root {
  --color-primario: #0761bd;
  --color-hover: #134477;
  --fuente-principal: 'Quicksand', sans-serif;
}

body {
  margin: 0;
  font-family: var(--fuente-principal);
  background-color: #ffffff;
  color: #333;
}

.container {
  max-width: 400px;
  margin: auto;
  padding: 20px;
}

h1 {
  text-transform: uppercase;
  font-size: 40px;
  text-align: center;
  color: var(--color-hover);
  margin-bottom: 10px;
  margin-top: 0;
}

.saludo {
  text-align: center;
  font-size: 22px;
  margin-bottom: 5px;
}

.frase {
  text-align: center;
  font-size: 18px;
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.frase.fade-out {
  opacity: 0;
  transform: scale(0.8);
}

.reloj {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--color-hover);
}

.reloj i {
  margin-right: 6px;
}

.boton {
  display: flex;
  /*flex-direction: column;*/
  align-items: center;
  justify-content: center;
  min-height: 100px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 15px;
  background-color: var(--color-primario);
  color: white;
  font-size: 30px;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 20px 0;
}

.boton:hover,
.boton:active,
.boton:focus {
  background-color: var(--color-hover);
}

.boton i {
  font-size: 28px;
  margin-bottom: 6px;
}


.pantalla-exito {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
}

.contenido-exito {
  text-align: center;
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  /*box-shadow: 0 0 20px rgba(0,0,0,0.1);*/
  animation: zoomIn 0.6s ease;
}

.cronometro {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

.contenido-exito h2 {
  font-size: 28px;
  color: #134477;
  font-weight: bold;
  margin: 0;
}






#btnIngreso {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}
#btnIngreso > div {
  width: 100%;
}

.titAccion {
  font-size: 30px;
  font-weight: bold;
  width: 100%;
}

.hora-marcada {
  font-size: 12px;
  font-weight: 600;
  width: 100%;
}

.frase-estado-boton {
  font-size: 12px;
  width: 100%;
  opacity: 0.9;
}



.bloqueado {
  pointer-events: none;
  cursor: not-allowed;
  transition: all 0.3s ease;
}


#btnReceso {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
  background-color: var(--color-primario);
  color: white;
  transition: background-color 0.3s ease;
}
#btnReceso > div {
  width: 100%;
}

.receso-activo {
  background-color: #00b4d1 !important;
}

.receso-finalizado {
  background-color: #5db351 !important;
  animation: zoomIn 0.5s ease;
}

/*
@media (max-width: 480px) {
  .titAccion {
    font-size: 25px;
  }
  .hora-marcada {
    font-size: 15px;
  }
  .frase-estado-boton {
    font-size: 10px;
  }
  .frase-estado-fin{
    font-size: 15px;
  }
}
*/

.frase-estado-fin{
  font-size: 25px;
}


#btnSalida {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
  background-color: var(--color-primario);
  color: white;
  transition: background-color 0.3s ease;
}


#btnSalida.bloqueado {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.7;
}


#ubicacionStatus{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  border: 0px solid #000000;
  margin-bottom: 10px;  
}

#btnCerrarSesion{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
  background-color: #cf4242;
  color: white;
  transition: background-color 0.3s ease;  
  text-decoration: none;
}
#btnCerrarSesion:hover{
  background-color: #f81414;
}
