#auth-form, #upload-form {
  margin-bottom: 1.5rem;
}

#file-input {
  display: block;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 400px;
}

#upload-progress {
  margin-top: 1rem;
  display: none;
  width: 100%;
  max-width: 400px;
}

.progress-container {
  position: relative;
  height: 24px;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #4CAF50, #8BC34A);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 12px;
}

.progress-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  line-height: 24px;
  text-align: center;
  color: #333;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

#status-message {
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  animation: fadeIn 0.3s;
  max-width: 400px;
}

/* File list styling */
#file-list-container {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 4px;
  max-width: 400px;
  max-height: 200px;
  overflow-y: auto;
}

#file-list-container h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #4267B2;
}

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

.file-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-list li:last-child {
  border-bottom: none;
}

.file-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.file-size {
  color: #757575;
  font-size: 0.9em;
}

/* Progress indicators */
.overall-progress, .current-file-progress {
  margin-bottom: 1.5rem;
}

.overall-progress h4, .current-file-progress h4 {
  margin-bottom: 0.5rem;
  color: #4267B2;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  margin: 10px auto;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #4267B2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

#upload-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}