@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
:root {
  --bg: #2a1a41;
  --bg-light: #336079;
  --primary: #e943a1;
  --muted: #9aa4b2;
  --accent: #fae25d;
  --danger: #e04b4b;
  --card: #0d1318;
}

@keyframes soundBurst {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
  }
  18% {
    transform: scale(1.18) rotate(0deg);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.45);
  }
  36% {
    transform: scale(0.98) rotate(2.5deg);
  }
  52% {
    transform: scale(1.08) rotate(-2.5deg);
  }
  68% {
    transform: scale(0.99) rotate(1.5deg);
  }
  84% {
    transform: scale(1.03) rotate(-1.2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
  }
}
* {
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg), #07101a);
  color: #e6eef6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.card {
  background: #336079;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.muted {
  color: var(--muted);
}

.bt {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.bt-icon-small {
  padding: 6px;
}
.bt-icon-small svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.bt-small {
  padding: 6px 10px;
  font-size: 14px;
}
.bt-small svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.bt-medium {
  padding: 10px 16px;
  font-size: 16px;
}

.bt-large {
  padding: 14px 20px;
  font-size: 18px;
}

.bt-primary {
  background-color: #e943a1;
  color: #ffffff;
  transition: background-color 0.3s ease;
}
.bt-primary:hover {
  background-color: rgb(229.8571428571, 40.1428571429, 147.5714285714);
}

.bt-primary-outline {
  background: transparent;
  border: 1px solid #e943a1;
  color: #e943a1;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.bt-primary-outline svg {
  fill: #e943a1;
}
.bt-primary-outline svg path {
  fill: #e943a1;
}
.bt-primary-outline:hover {
  background-color: #e943a1;
  color: #ffffff;
}

.bt-primary-contrast-outline {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.bt-primary-contrast-outline:hover {
  background-color: #ffffff;
  color: #1a0d2e;
}

.bt-secondary {
  background-color: #34164f;
  color: #ffffff;
  transition: background-color 0.3s ease;
}
.bt-secondary:hover {
  background-color: rgb(46.8, 19.8, 71.1);
}

.bt-secondary-outline {
  background: transparent;
  border: 1px solid #34164f;
  color: #34164f;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.bt-secondary-outline:hover {
  background-color: #34164f;
  color: #ffffff;
}

button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Chrome, Edge, Safari e Opera */
::-webkit-scrollbar {
  width: 10px;
  /* largura da barra vertical */
  height: 10px;
  /* altura da barra horizontal */
}

::-webkit-scrollbar-track {
  background: #1a0d2e;
  /* fundo da trilha */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #34164f;
  /* “polegar” da barra (a parte que se move) */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e943a1;
  /* cor ao passar o mouse */
}

#loadingOverlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 13, 46, 0.9);
  z-index: 9999;
}
#loadingOverlay .container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loadingOverlay .box {
  background: transparent;
  color: #2a1a41;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
}
#loadingOverlay .spinner {
  width: 56px;
  height: 56px;
  border: 6px solid #fae25d;
  border-top-color: #2a1a41;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 12px;
}
#loadingOverlay.show {
  display: flex;
  pointer-events: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
input,
select {
  background: #2a1a41;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #e6eef6;
  padding: 8px;
  border-radius: 6px;
  width: 100%;
}

#hostToast {
  right: 16px;
  bottom: 16px;
}

.small {
  font-size: 13px;
}

.flex {
  display: flex;
  gap: 8px;
  align-items: center;
}

.right {
  margin-left: auto;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #fae25d;
  padding: 10px;
  border-radius: 6px;
  color: #1a0d2e;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
}

.pill {
  background: #0b7285;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.label {
  font-weight: 600;
}

/* utility classes used after removing inline styles */
.hidden {
  display: none;
}

.note {
  margin-top: 8px;
}

/* small utilities used in markup migrated from inline styles */
.flex-1 {
  flex: 1;
}

.mt-12 {
  margin-top: 12px;
}

.mt-8 {
  margin-top: 8px;
}

.gap-8 {
  gap: 8px;
}

.actions {
  display: flex;
  gap: 8px;
}

.room-modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 13, 46, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.room-modal .room-modal-container {
  width: 100%;
  max-width: 520px;
  padding: 20px;
}
.room-modal .room-modal-container .room-modal-box {
  background: #336079;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.room-modal .room-modal-container .room-modal-box .room-modal-message {
  margin-bottom: 18px;
  font-size: 18px;
  color: #ffffff;
}
.room-modal .room-modal-container .room-modal-box .room-modal-actions {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.room-modal .room-modal-container .room-modal-box .room-modal-actions .bt {
  min-width: 160px;
}

/* Host page specific styles */
.player-area {
  min-height: 120px;
}

#player {
  background: #000;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.actions-row {
  display: flex;
  gap: 8px;
}

/* Guest page specific */
#results li button {
  margin-left: 8px;
}

#myPending li {
  justify-content: space-between;
}

.page-landing {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  height: 100vh;
  background: radial-gradient(#2a1a41, #1a0d2e);
}
.page-landing .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.page-landing .container .logo {
  width: 300px;
  height: auto;
}
@media (max-width: 576px) {
  .page-landing .container .logo {
    width: 200px;
  }
}
.page-landing .container .box {
  padding: 40px;
  max-width: 420px;
  text-align: center;
}
.page-landing .container .cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
}

.page-host {
  min-height: 100vh;
  padding: 20px 0px;
}
.page-host .card-title {
  font-size: 18px;
  font-weight: 800;
}
.page-host .floating-buttons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.page-host .floating-buttons .bt {
  height: 50px;
  width: 50px;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.page-host .floating-buttons .bt:active {
  animation: soundBurst 600ms ease-out both;
}
.page-host .floating-buttons .bt svg {
  height: 25px;
  width: 25px;
}
.page-host .floating-buttons .bt svg path {
  fill: #ffffff;
}
.page-host .dashboard {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.page-host .header-host {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-host .header-host .room-info {
  width: 40%;
}
.page-host .header-host .room-info .room-code {
  display: flex;
  align-items: center;
  gap: 15px;
}
.page-host .header-host .room-info .room-code h2 {
  font-size: 24px;
  font-weight: 300;
}
.page-host .header-host .room-info .room-code .code {
  font-size: 60px;
  font-weight: 900;
}
.page-host .header-host .logo {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-host .header-host .logo img {
  max-width: 100px;
}
.page-host .header-host .room-btns {
  width: 40%;
  display: flex;
  justify-content: flex-end;
}
.page-host .player-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 350px;
}
.page-host .player-info .player-title {
  display: flex;
  align-items: center;
  gap: 15px;
}
.page-host .queue-info {
  height: 350px;
  display: flex;
  flex-direction: column;
}
.page-host .queue-info .list {
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}
.page-host .queue-info .list li {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.page-host .queue-info .list li .queue-content {
  display: flex;
  flex-direction: column;
}
.page-host .queue-info .list li .queue-content .queue-top, .page-host .queue-info .list li .queue-content .queue-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
}
.page-host .queue-info .list li .queue-content .queue-index {
  font-size: 18px;
  font-weight: 800;
  color: #9aa4b2;
}
.page-host .queue-info .list li .queue-content .queue-name {
  font-size: 18px;
  font-weight: 800;
}
.page-host .queue-info .list li .queue-content .queue-title {
  font-size: 14px;
  font-weight: 400;
  color: #9aa4b2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}
.page-host .queue-info .list li .queue-content .queue-channel {
  font-size: 14px;
  font-weight: 400;
  color: #9aa4b2;
  display: none;
}
.page-host .queue-info .list li .btn-list {
  display: flex;
  gap: 8px;
}
.page-host .queue-info .list li .btn-list .bt {
  padding: 5px;
  font-size: 12px;
  border-radius: 5px;
}
.page-host #copy {
  width: 16px;
  height: 16px;
  margin-left: 15px;
}
.page-host #copy path {
  fill: #e943a1;
}
.page-host .card {
  padding: 20px 30px;
}

.page-join {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.page-join .box {
  width: 420px;
}
.page-join .box .card {
  padding: 40px;
}
.page-join .box .card h2 {
  margin: 0px;
}

.page-guest {
  min-height: 100vh;
  padding: 20px 0px;
}
.page-guest .dashboard {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.page-guest .card {
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-guest .room-info {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}
.page-guest .room-info .room-code {
  display: flex;
  align-items: center;
  flex-direction: column;
  align-items: flex-start;
}

/* You can add page-specific overrides below if needed */

/*# sourceMappingURL=style.css.map */
