* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #f4f6f8;
}

.layout {
  display: flex;
  height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.logo {
  margin-bottom: 30px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 15px 0;
  cursor: pointer;
}

/* MAIN */
.main {
  flex: 1;
  padding: 30px;
  margin-left: 50px;
}


h1 {
  margin-bottom: 20px;
}

/* CARDS */
.card {
  background: white;
  border-radius: 15px;
  padding: 20px;
}

/* INPUT CARD */
.input-card {
  position: relative;
  margin-bottom: 30px;
  border: white;
  height: 250px;
}

.input-card textarea {
  width: 100%;
  height: 80%;
  border: none;
  outline: none;
  resize: none;
  font-size: 1.1em;
}

textarea {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  border: none;
  padding: 15px;
  font-size: 16px;
  resize: none;
  background: white;
}

.send-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #1f3b6d;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 15px;
  cursor: pointer;
}

/* RESULTS */
.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 30px;
}

.checks li {
  list-style: none;
  margin: 10px 0;
}

.check-ok {
  color: green;
  font-weight: bold;
}

.check-bad {
  color: red;
  font-weight: bold;
}


/* ESTILOS DEL LOADER (CARGA EN LAS CARDS) */
@import url('//fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,900&display=swap');


#contenedorLoader1, #contenedorLoader2 {  
  display: none;
  place-content: center;
  height: 30vh;
  color: #000;
}

.cargando{ 
  position: relative; 
  color: #0a0505;
  margin-top: 2em;
  /* letter-spacing: 0.08em;   */
}

.rueda {
  border: 10px solid #1f3b6d;
  border-radius: 50%;
  border-left-color: transparent;
  width: 80px;
  height: 80px;
  animation: giro 1s linear infinite;
}

@keyframes giro {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ESTADOS DEL SIDEBAR */

.nav-item {
  margin: 15px 0;
  cursor: pointer;
  opacity: 1;
  transition: 0.3s;
}

.nav-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.nav-item.active {
  font-weight: bold;
  color: #00ffcc;
}

.nav-item.completed {
  color: #4caf50;
  font-weight: bold;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .layout {
    flex-direction: column;
    min-height: 100vh;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }

  .main {
    margin-left: 0;
  }

  .results {
    grid-template-columns: 1fr;
  }
}

.next-btn {
  background: #1f3b6d;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 15px;
  cursor: pointer;
  margin-top: 20px;
  display: none;
}

.btnCopiar{
  background: #1f3b6d;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 15px;
  cursor: pointer;
  margin-top: 20px;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  display: none;
}

/* SIDEBAR MODO MÓVIL */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    width: 250px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .sidebar.active {
    left: 0;
  }

  .main {
    margin-left: 0 !important;
  }
}

/*Logo*/
.logo-container {
  text-align: center;
  padding: 20px 0;
  background-color: #f4f6f8;
}

.logo-img {
  max-width: 120px;
  height: auto;
}

.logo-text {
  margin: 0;
  font-size: 18px;
}

.logo-box {
  background-color: #0D1B2A; /* azul oscuro */
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu {
  background-color: #314e7a; /* gris claro */
  flex: 1;
  padding-top: 20px;
}

.nav-item {
  padding: 12px 20px;
  cursor: pointer;
  color: #ffffff;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}


.token-container {
  max-width: 600px; /* Lo reduje un poco para que los 6 bloques no se vean tan estirados */
  margin: 100px auto;
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center; /* Centra el texto y el botón */
}

.sectionTitle {
  color: #333;
  margin-bottom: 25px;
}

/* Contenedor Flex para alinear los inputs */
.token-inputs {
  display: flex;
  justify-content: center;

  gap: 10px;
  margin-bottom: 30px;
}

/* Estilo para cada bloque individual */
.token-box {
  width: 50px;
  height: 60px;
  font-size: 28px;
  text-align: center;
  border-radius: 10px;
  border: 2px solid #ccc;
  background: #f9f9f9;
  font-weight: bold;
  color: #333;
  transition: all 0.2s ease-in-out;
}

/* Efecto cuando el usuario está escribiendo en el bloque */
.token-box:focus {
  border-color: #1f3b6d;
  background: #fff;
  outline: none;
  box-shadow: 0 0 8px rgba(31, 59, 109, 0.2);
}

.submitToken {
  background: #1f3b6d;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.submitToken:hover {
  background: #152b52;
}

.tokenNumber {
  font-size: 64px;
  font-weight: bold;
  color: #1a73e8;
  margin: 20px 0;
}

.tempoCambioToken {
  font-size: 20px;
  color: #555;
}