.dragDropContainer {
  position: relative;
  width: 100%;
  height: 100%;
}

.hiddenFileInput {
  position: absolute;
  top: -9999px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.dragOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--color-primary-rgb, 0, 123, 255), 0.1);
  border: 2px dashed var(--color-primary, #007bff);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease-in-out;
}

.dragOverlayContent {
  text-align: center;
  color: var(--color-primary, #007bff);
  padding: 2rem;
}

.dragIcon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.dragText {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dragSubtext {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 300px;
  line-height: 1.4;
}

.processingOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--color-bg-rgb, 255, 255, 255), 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease-in-out;
}

.processingContent {
  text-align: center;
  color: var(--color-text, #333);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-primary, #007bff);
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.processingText {
  font-size: 1.1rem;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Dark theme support */
[data-theme="dark"] .dragOverlay {
  background: rgba(var(--color-primary-rgb, 0, 123, 255), 0.15);
  border-color: var(--color-primary, #007bff);
}

[data-theme="dark"] .dragOverlayContent {
  color: var(--color-primary, #007bff);
}

[data-theme="dark"] .processingOverlay {
  background: rgba(var(--color-bg-rgb, 0, 0, 0), 0.9);
}

[data-theme="dark"] .processingContent {
  color: var(--color-text, #fff);
}

/* Responsive design */
@media (max-width: 768px) {
  .dragOverlayContent {
    padding: 1.5rem;
  }
  
  .dragIcon {
    font-size: 2.5rem;
  }
  
  .dragText {
    font-size: 1.25rem;
  }
  
  .dragSubtext {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .dragOverlayContent {
    padding: 1rem;
  }
  
  .dragIcon {
    font-size: 2rem;
  }
  
  .dragText {
    font-size: 1.1rem;
  }
  
  .dragSubtext {
    font-size: 0.85rem;
  }
}
