/* =========   ERROR BOUNDARY STYLES   ========= */
.error-boundary {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  color: white;
  text-align: center;
}

.error-content {
  background: white;
  color: #333;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.error-content h3 {
  margin-top: 0;
  color: #e74c3c;
}

.error-content button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.error-content button:hover {
  background: #0056b3;
}

/* File upload validation styles */
.file-validation-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #ffebee;
  border: 1px solid #e74c3c;
  border-radius: 4px;
}

.file-preview {
  max-width: 200px;
  max-height: 200px;
  margin: 1rem 0;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.session-timeout-warning {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ff9800;
  color: white;
  padding: 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.session-timeout-warning button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.session-timeout-warning button:hover {
  background: rgba(255, 255, 255, 0.3);
}