/* Global reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #000000;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Contenedor principal */
.wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo */
.logo-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.app-logo {
  width: 100px;
  height: 100px;
}

/* Carrusel */
.carousel-banner {
  background-color: #000;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  height: 40px;
  width: 100%;
  margin-top: 30px;
  position: relative;
}

.carousel-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 15s linear infinite;
  will-change: transform;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Botones principales */
.main-button,
.logout-button {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.main-button:hover,
.logout-button:hover {
  background-color: #333;
}

/* Contenido de páginas */
.page-content {
  margin-top: 40px;
  width: 100%;
  text-align: center;
}

.install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  color: white;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-family: sans-serif;
}

.install-banner button {
  margin-left: 10px;
  background: #ffffff;
  border: none;
  color: #000;
  padding: 0.5em 1em;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

/* Cartel próxima clase */
.clase-aviso {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e03131;
    border-radius: 10px;
    padding: 10px 14px;
    margin: 12px 0 12px 0;
    background: #fff0f0;
    text-align: left;
    box-sizing: border-box;
    width: 100%;
}

.clase-aviso-icono {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.clase-aviso-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.clase-aviso-titulo {
    font-weight: 700;
    font-size: 0.95rem;
    color: #e03131;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clase-aviso-detalle {
    font-size: 0.82rem;
    color: inherit;
    opacity: 0.85;
}