:root {
  --verde: #1f8a8a;
  --verde-oscuro: #166b6b;
  --texto-verde: #166b6b;
  --fondo: #f4f7f7;
  --suave-fondo: #eef1f4;
  --suave-texto: #4a4f57;
  --exito-fondo: #e6f7ee;
  --exito-texto: #1d7a4a;
  --info-fondo: #e7f2fc;
  --info-texto: #1b6aa8;
  --aviso-fondo: #fdf3dc;
  --aviso-texto: #8a5a00;
  --peligro-fondo: #fdecee;
  --peligro-texto: #b42335;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --texto-verde: #6fd6d6;
    --fondo: #121417;
    --suave-fondo: #2a2f36;
    --suave-texto: #d5d9de;
    --exito-fondo: #173d2b;
    --exito-texto: #7fe0aa;
    --info-fondo: #163650;
    --info-texto: #8cc8f5;
    --aviso-fondo: #43361a;
    --aviso-texto: #f5cd6b;
    --peligro-fondo: #44202a;
    --peligro-texto: #ff9aa8;
  }
}

:root[data-theme="dark"] {
  --texto-verde: #6fd6d6;
  --fondo: #121417;
  --suave-fondo: #2a2f36;
  --suave-texto: #d5d9de;
  --exito-fondo: #173d2b;
  --exito-texto: #7fe0aa;
  --info-fondo: #163650;
  --info-texto: #8cc8f5;
  --aviso-fondo: #43361a;
  --aviso-texto: #f5cd6b;
  --peligro-fondo: #44202a;
  --peligro-texto: #ff9aa8;
}

body {
  background: var(--fondo);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
.barra {
  background: var(--verde);
}

.barra .navbar-item,
.barra .navbar-item:hover {
  color: white;
  background: transparent;
}
.barra .navbar-menu {
  background: var(--verde);
}
.barra .navbar-burger {
  color: white;
}

.marca {
  font-weight: bold;
  font-size: 1.2rem;
}
.boton-principal {
  background: var(--verde);
  color: white;
  border-color: transparent;
}

.boton-principal:hover {
  background: var(--verde-oscuro);
  color: white;
}
#mis-datos li {
  padding: 0.25rem 0;
}
.tabla-con-scroll {
  overflow-x: auto;
}
.boton-hora {
  border-color: var(--verde);
  color: var(--texto-verde);
  background: transparent;
}

.boton-hora.is-elegida {
  background: var(--verde);
  color: white;
}
.resumen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 0.75rem;
  text-align: center;
}

.resumen > div {
  flex: 0 1 5.5rem;
}

.resumen .numero {
  font-size: 2rem;
  font-weight: bold;
}
.tag.is-light,
.button.is-light {
  background-color: var(--suave-fondo);
  color: var(--suave-texto);
}

.tag.is-success.is-light {
  background-color: var(--exito-fondo);
  color: var(--exito-texto);
}

.tag.is-info.is-light {
  background-color: var(--info-fondo);
  color: var(--info-texto);
}

.tag.is-warning.is-light {
  background-color: var(--aviso-fondo);
  color: var(--aviso-texto);
}

.button.is-danger.is-light {
  background-color: var(--peligro-fondo);
  color: var(--peligro-texto);
}

.button.is-light:hover,
.button.is-danger.is-light:hover {
  filter: brightness(1.1);
}
