/* /css/styles.css */

/* ==========================================
   RESET Y BASE (FULL-WIDTH / RESPONSIVE)
   ========================================== */
* {
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
}

body {
  overflow-x: hidden;
  color: #1e293b;
}

#app-container {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

/* ==========================================
   UTILIDADES DE SCROLLBAR
   ========================================== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==========================================
   ANIMACIONES
   ========================================== */
.fade-in {
  animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease-out;
}

.slide-up.active {
  transform: translateY(0%);
}

@media (min-width: 640px) {
  .slide-up {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }
  .slide-up.active {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================
   TICKET / BOLETA
   ========================================== */
.ticket-wrapper {
  background: white;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.ticket-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 16px;
  background-size: 16px 16px;
  background-image: radial-gradient(
    circle at 8px 16px,
    transparent 10px,
    white 11px
  );
}

/* ==========================================
   DROPDOWN DE CONFIGURACIÓN
   ========================================== */
#settings-menu {
  transform-origin: top right;
}

