:root {
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.3);
  --accent-primary: #4f46e5;
}

body {
  background: linear-gradient(160deg, #6679da 0%, #00a0c3 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  padding-bottom: 20px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: white;
}

.queue-display {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--accent-primary);
  line-height: 1;
}

/* Marquee */

.marquee-box {
  background: rgb(92,125,216);
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 20s linear infinite;
}

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

/* Navigation Pills */

.nav-pills {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px;
}

.nav-pills .nav-link {
  border-radius: 15px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px;
}

.nav-pills .nav-link.active {
  background: #fff;
  color: var(--accent-primary);
}

/* Form Controls */

.form-control {
  border-radius: 15px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.8);
}

/* Service Cards Selection */

.service-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 5px;
  margin-top: 10px;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card.selected {
  border-color: var(--accent-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.selected-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--accent-primary);
  font-size: 1.2rem;
  display: none;
}

.service-card.selected .selected-icon {
  display: block;
}

.btn-reg {
  background: var(--accent-primary);
  color: white;
  border-radius: 15px;
  padding: 15px;
  font-weight: 700;
  border: none;
  width: 100%;
  transition: opacity 0.3s;
}

.btn-reg:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive Table */

.table-responsive {
  border-radius: 15px;
  background: white;
}

.table {
  font-size: 0.85rem;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .queue-display {
    font-size: 3.5rem;
  }
}

/* Hidden Ticket */

#ticket-render {
  position: absolute;
  left: -9999px;
  width: 350px;
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
  color: #333;
}

/* Custom Scrollbar */

.service-container::-webkit-scrollbar {
  width: 5px;
}

.service-container::-webkit-scrollbar-track {
  background: transparent;
}

.service-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.5);
  border-radius: 10px;
}

.history-card {
  border-radius: 16px;
  padding: 10px;
  background-color: #f0f2f5;
}

.history-up {
  color: #1f2937;
}

.pintop {
  border-radius: 16px;
  font-size: 16px;
  /*position: absolute;*/
  right: 0px;
  top: 0px;
  /*margin-top: 13px;*/
  /*margin-right: 43px;*/
  margin-bottom: 8px;
}

.badge {
  border-radius: 16px;
}

/* Audio Toggle Style */

.audio-control {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.audio-control.enabled {
  background: #10b981;
  color: white;
  border-color: transparent;
}

.audio-control i {
  margin-right: 8px;
}

