/* Simple static loading screen styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1a1a1a; /* Dark background to match theme */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top */
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 300;
}

.loading-content p {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #cccccc;
}

.loading-counter {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #999999;
}

.loading-counter #files-loaded-count {
  color: #007acc;
  font-weight: bold;
}

.loading-file-list {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 400px;
}

.file-list-header {
  font-size: 0.9rem;
  color: #cccccc;
  margin-bottom: 0.5rem;
  text-align: left;
}

.file-list-scroll {
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  height: 120px;
  overflow-y: auto;
  padding: 8px;
  text-align: left;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
}

.file-list-scroll::-webkit-scrollbar {
  width: 8px;
}

.file-list-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.file-list-scroll::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.file-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #777;
}

.file-entry {
  color: #aaaaaa;
  margin-bottom: 2px;
  word-break: break-all;
  line-height: 1.2;
}

.file-entry.success {
  color: #90ee90;
}

.file-entry.error {
  color: #ff6b6b;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #333;
  border-top: 4px solid #007acc; /* Blue accent color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hidden state for when loading is complete */
.loading-screen.hidden {
  display: none;
}