* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uploader-container {
  width: 100%;
  max-width: 600px;
}

.uploader-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 40px 30px;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  text-align: center;
  margin-bottom: 30px;
}

.header h1 {
  margin: 0 0 10px 0;
  color: #2d3748;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.subtitle {
  color: #718096;
  font-size: 16px;
  margin: 0;
  font-weight: 400;
}

#uppy {
  margin: 20px 0;
}

/* Uppy Dashboard customization */
.uppy-Root {
  font-family: inherit;
}

.uppy-Dashboard {
  border-radius: 12px;
  border: 2px dashed #cbd5e0;
  background: #f7fafc;
}

.uppy-Dashboard--modal {
  border-radius: 12px;
}

.uppy-Dashboard-AddFiles {
  padding: 40px 20px;
  background: #f7fafc;
  border-radius: 12px;
  border: 2px dashed #cbd5e0;
}

.uppy-DragDrop-browse {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.uppy-DragDrop-browse:hover {
  color: #764ba2;
  text-decoration: underline;
}

.uppy-StatusBar {
  background: #edf2f7;
  border-top: 1px solid #e2e8f0;
}

.uppy-StatusBar-actionBtn {
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.uppy-StatusBar-actionBtn:hover {
  background: #764ba2;
}

.uppy-StatusBar-actionBtn:disabled {
  background: #cbd5e0;
  cursor: not-allowed;
}

.uppy-c-File {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  margin-bottom: 10px;
}

.uppy-c-File-progress {
  background: #667eea;
  border-radius: 8px;
}

.uppy-c-File-name {
  color: #2d3748;
  font-weight: 500;
}

.uppy-c-File-size {
  color: #718096;
}

.uppy-Informer {
  background: #edf2f7;
  color: #2d3748;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 12px 16px;
  font-size: 14px;
}

.uppy-Informer--success {
  background: #c6f6d5;
  color: #22543d;
}

.uppy-Informer--error {
  background: #fed7d7;
  color: #742a2a;
}

.uppy-Informer--info {
  background: #bee3f8;
  color: #2c5282;
}

.footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.powered-by {
  color: #a0aec0;
  font-size: 13px;
  margin: 0;
}

.powered-by a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.powered-by a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 600px) {
  .uploader-card {
    padding: 25px 20px;
  }

  .header h1 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 14px;
  }

  .uppy-Dashboard-AddFiles {
    padding: 30px 15px;
  }
}
