/*
  * This is a manifest file that'll be compiled into application.css, which will include all the files
  * listed below.
  *
  * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
  * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
  *
  * You're free to add application-wide styles to this file and they'll appear at the bottom of the

  * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
  * files in this directory. Styles in this file should be added after the last require_* statement.
  * It is generally better to create a new file per style scope.
  *
  *= require_self
  *= require lobby
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

html, body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--color-bg-darkest);
}

.field_with_errors { display: inline; }
.logo_online { color: #96B396 !important }

form { margin: 0; }

/* Loading Spinner */
.gb-loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.gb-loading-content {
  text-align: center;
}

.gb-spinner {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
}

.gb-spinner-ring {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: gb-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.2) transparent transparent;
}

.gb-spinner-ring:nth-child(1) {
  animation-delay: -0.45s;
}

.gb-spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
}

.gb-spinner-ring:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes gb-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.gb-loading-text {
  color: #ffffff;
  font-size: var(--text-lg);
  font-weight: 500;
  margin: 0;
  animation: gb-fade-in 1s ease-in-out;
}

@keyframes gb-fade-in {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.sound-toggle-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 100;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sound-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}
