html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

.container {
  flex: 1;
}

textarea { 
  font-family: monospace; 
}

.choices__inner {
  min-height: 2.25rem;
  border-radius: 0.375rem;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color, #ced4da);
  font-size: 1rem;
  color: var(--bs-body-color);
}

.choices__list--multiple .choices__item {
  background: var(--bs-secondary-bg, #e9ecef);
  color: var(--bs-body-color, #212529);
  border-radius: 0.25rem;
  margin: 2px 4px 2px 0;
  padding: 0.15em 0.5em 0.15em 0.35em;
  font-size: 0.97em;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
}

[data-bs-theme="dark"] .choices__list--multiple .choices__item {
  background: #343a40;
  color: #f8f9fa;
}

.choices__list--multiple .choices__item .choices__button {
  color: inherit;
  opacity: 0.7;
  margin-left: 0.25em;
  font-size: 1em;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.choices__list--multiple .choices__item .choices__button:after {
  content: "×";
  font-weight: bold;
  font-size: 1.1em;
}

.choices__list--multiple .choices__item.is-highlighted {
  background: var(--bs-primary-bg-subtle, #cfe2ff);
  color: var(--bs-primary, #0d6efd);
}

.choices__input {
  background: transparent;
  color: var(--bs-body-color);
  font-size: 1em;
  padding: 0.2em 0.4em;
}

.choices__input::placeholder {
  color: var(--bs-secondary-color);
}

.choices__list--dropdown, .choices__list[aria-expanded] {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-radius: 0.375rem;
  border: 1px solid var(--bs-border-color, #ced4da);
  font-size: 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

[data-bs-theme="dark"] .choices__list--dropdown, 
[data-bs-theme="dark"] .choices__list[aria-expanded] {
  box-shadow: 0 0.125rem 0.25rem rgba(255, 255, 255, 0.1);
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: var(--bs-primary-bg-subtle, #cfe2ff);
  color: var(--bs-primary, #0d6efd);
}

[data-bs-theme="dark"] .choices__inner {
  background: var(--bs-dark);
  border-color: var(--bs-border-color);
  color: var(--bs-light);
}

[data-bs-theme="dark"] .choices__input {
  color: var(--bs-light);
}

[data-bs-theme="dark"] .choices__input::placeholder {
  color: var(--bs-secondary-color);
}

[data-bs-theme="dark"] .choices__list--dropdown .choices__item--selectable {
  color: var(--bs-light);
}

[data-bs-theme="dark"] .choices__list--dropdown .choices__item--selectable:hover,
[data-bs-theme="dark"] .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: var(--bs-primary);
  color: white;
}

[data-bs-theme="light"] .choices__inner {
  background: var(--bs-light, #f8f9fa);
  border-color: var(--bs-border-color, #ced4da);
  color: var(--bs-dark);
}

[data-bs-theme="light"] .choices__input {
  color: var(--bs-dark);
}

[data-bs-theme="light"] .choices__list--dropdown .choices__item--selectable {
  color: var(--bs-dark);
}

footer {
  margin-top: auto;
}

.floating-folder {
  position: fixed;
  bottom: 0;
  right: 0;
  transform: translate(60%, 60%);
  background: transparent;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
  opacity: 0.85;
}
.floating-folder .folder-icon {
  transition: transform 0.3s cubic-bezier(.4,2,.6,1);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}
.floating-folder:hover {
  transform: translate(-20%, -20%) scale(1.15);
  box-shadow: none;
  opacity: 1;
}
.floating-folder:hover .folder-icon {
  transform: scale(1.25) rotate(-10deg);
}
@media (max-width: 600px) {
  .floating-folder {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}

.floating-credits {
  position: fixed;
  bottom: 0;
  left: 0;
  transform: translate(-60%, 60%);
  background: transparent;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
  opacity: 0.85;
}
.floating-credits .credits-icon {
  transition: transform 0.3s cubic-bezier(.4,2,.6,1);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}
.floating-credits:hover {
  transform: translate(20%, -20%) scale(1.15);
  box-shadow: none;
  opacity: 1;
}
.floating-credits:hover .credits-icon {
  transform: scale(1.25) rotate(10deg);
}
@media (max-width: 600px) {
  .floating-credits {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}

/* Maintenance Page Styles */
.maintenance-container {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.maintenance-card {
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 3rem 2rem;
}

.maintenance-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.maintenance-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.maintenance-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.maintenance-message {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.eta-info {
  background: var(--bs-secondary-bg);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ffc107;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

/* Maintenance Status Page Styles */
.status-bg {
  background: linear-gradient(120deg, #f8fafc 0%, #f3f6fb 100%);
}
[data-bs-theme="dark"] .status-bg {
  background: linear-gradient(120deg, #23272f 0%, #181b20 100%);
}
.status-emoji {
  filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.12));
}
.status-card {
  border-radius: 1.25rem;
}
.eta-info {
  font-size: 1.08rem;
}

.discord-dropdown {
  background: var(--bs-light, #fff);
  border-radius: 0.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  min-width: 160px;
  border: 1px solid var(--bs-border-color, #e7e7e7);
  transition: box-shadow 0.2s, background 0.2s, border-color 0.2s;
  color: var(--bs-body-color, #212529);
}

.discord-dropdown .dropdown-item {
  background: transparent;
  border: none;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.discord-dropdown .dropdown-item:hover {
  background: var(--bs-secondary-bg, #f3f3f3);
  color: var(--bs-primary, #007bff);
}

.discord-dropdown .dropdown-item.text-danger:hover {
  color: var(--bs-danger, #dc3545);
}

/* Dark theme overrides */
[data-bs-theme="dark"] .discord-dropdown {
  background: var(--bs-dark, #343a40);
  border-color: var(--bs-border-color, #495057);
  color: var(--bs-light, #f8f9fa);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .discord-dropdown .dropdown-item:hover {
  background: var(--bs-primary-bg-subtle, #0d6efd33);
  color: var(--bs-primary, #0d6efd);
}

[data-bs-theme="dark"] .discord-dropdown .dropdown-item.text-danger:hover {
  color: var(--bs-danger, #dc3545);
}

/* Halloween Theme Styles */
.halloween-theme {
    --halloween-orange: #ff6b35;
    --halloween-purple: #6b2c91;
    --halloween-black: #1a1a1a;
    --halloween-green: #4a5d23;
    --halloween-blood: #8b0000;
}

.halloween-theme body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b3d 50%, #1a1a1a 100%);
    color: #f8f9fa;
}

.halloween-theme .card {
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid var(--halloween-orange);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.halloween-theme .btn-primary {
    background: linear-gradient(45deg, var(--halloween-orange), var(--halloween-blood));
    border: none;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.halloween-theme .btn-primary:hover {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
    transform: translateY(-2px);
}

.halloween-theme .form-control {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--halloween-orange);
    color: #f8f9fa;
}

.halloween-theme .form-select {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--halloween-orange);
    color: #f8f9fa;
}

.halloween-theme .choices__inner {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--halloween-orange);
    color: #f8f9fa;
}

.halloween-theme .form-control:focus {
    border-color: var(--halloween-blood);
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.halloween-theme h1, .halloween-theme h2, .halloween-theme h3, .halloween-theme h4, .halloween-theme h5 {
    color: var(--halloween-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Halloween decorations */
.halloween-decoration {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

.pumpkin {
    font-size: 3rem;
    color: var(--halloween-orange);
    animation: float 3s ease-in-out infinite;
}

.ghost {
    font-size: 2.5rem;
    color: #f8f9fa;
    animation: float 4s ease-in-out infinite reverse;
}

.bat {
    font-size: 2rem;
    color: #333;
    animation: fly 5s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fly {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

.halloween-theme .modal-content {
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid var(--halloween-orange);
}

.halloween-theme .dropdown-menu {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--halloween-orange);
}