* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  user-select: none;
}
body {
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow: hidden;
}

.brand-text {
  display: flex;
  align-items: center; /* Centra verticalmente la imagen y el texto */
  gap: 8px; /* Agrega un pequeño espacio entre el logo y "BB POS" */
}

.brand-text img {
  width: 24px; /* Ajusta este tamaño para que quede proporcional a tu texto */
  height: auto;
}

/* PRELOADER */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.banana-logo {
  margin-bottom: 20px;
  animation: bounce 1s infinite alternate;
  text-align: center; /* Opcional: ayuda a centrar la imagen */
}

.banana-logo img {
  width: 80px; /* Reemplaza el font-size de 80px para darle el mismo tamaño a la imagen */
  height: auto; /* Mantiene las proporciones del logo */
}
.preloader-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1px;
}
.preloader-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: 40px;
}
.preloader-status {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-20px);
  }
}

/* ROLE SELECTOR */
#role-selector {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 9990;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.role-btn {
  background: var(--surface);
  padding: 30px 40px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 200px;
}
.role-btn:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}
.role-btn span {
  font-size: 32px;
}

/* UTILS */
.hidden {
  display: none !important;
}
.flex-row {
  display: flex;
  gap: 10px;
}
