/* ../spart/css/spart.css */
.spa-page:not(.active) {
  display: none;
}
#toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  pointer-events: none;
  text-align: center;
}
.toast-message {
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.toast-message span {
  display: inline-block;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  max-width: 400px;
  pointer-events: auto;
}
.busy-indicator {
  margin-bottom: 10px;
  padding: 12px 20px;
}
.busy-indicator span {
  scale: 1.25;
  color: red;
}
.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 12px solid #f3f3f3;
  border-top: 12px solid #3498db;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin-spinner 1s linear infinite;
}
@keyframes spin-spinner {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.progress-bar-container {
  position: relative;
  height: 24px;
  width: 80%;
  max-width: 400px;
  background: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
.progress-bar-content {
  width: 0%;
  height: 100%;
  background: #76c7c0;
}
.progress-bar-content .smooth {
  transition: width 0.4s ease;
}
.progress-bar-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  font-size: 0.9em;
  font-weight: bold;
  pointer-events: none;
  user-select: none;
}

/* spa/css/login.css */
#login-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#login-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 300px;
}
#login-form h2 {
  margin-top: 0;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
.form-buttons {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
#login-btn {
  background: #28a745;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
#create-anonymous-btn {
  background: #fd7e14;
  color: #333;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

/* spa/css/home.css */
:root {
  --primary: #222;
  --primary-light: #333;
}
html,
body,
.spa-container,
.spa-page {
  height: 100%;
}
body {
  margin: 0;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.page-header {
  background-color: var(--primary);
  color: #fff;
  padding: 0.5em 0.75em;
  font-size: 1.25em;
}
.page-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1em;
}
.refresh-button {
  color: yellow;
  margin-right: 1em;
}
.refresh-button.disabled {
  color: grey;
}
.app-language {
  border-color: transparent;
  border-radius: 4px;
}
.vote-results {
  margin: 1em 0;
  width: 100%;
}
.vote-results th {
}
.vote-results td {
  border-top: 1px solid black;
}
.vote-results th,
.vote-results td {
  padding: 8px 4px;
}
.submit-results {
  padding: 1em;
  text-align: center;
}
.avatar {
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  box-sizing: content-box;
}
img.avatar {
  object-fit: cover;
}
div.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

/* spa/css/add.css */
.form-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}
/*!
 * Spart.css - SPA Art
 *
 * Support for Spart.js,
 * a lightweight raw JavaScript library for building web user interfaces.
 *
 * (c) 2025 Rhyscitlema
 * Released under the MIT License
 */
/*# sourceMappingURL=app.css.map */
