@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: 'Inter', sans-serif; */
}

body {
  background-color: #f5f7fa;
  color: #333;
}

/* Container */
.file-converter-container {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Background */
.converter-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  /* background: linear-gradient(135deg, #e0f2fe, #bfdbfe); */
  z-index: -1;
  overflow: hidden;
}

.background-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,224C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
}
/* .main-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 2.5rem;
  max-width: 600px;
} */

/* .main-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #111;            
  font-size: 1.05rem;
  font-weight: 500;
} */

/* .main-features .tick {
  color: #28a428;          
  font-size: 1.25rem;
  line-height: 1;
} */


/* Header */
.converter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
    position: relative;
  z-index: 10;
  background-color: #f5f7fa; 
}

.logo-container {
  display: flex;
  align-items: center;
}

.converter-logo {
  width: 36px;
  height: 36px;
  margin-right: 0.5rem;
}

.logo-container h1 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

/* Format options in the middle */
.format-options ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.format-options li {
  margin: 0 0.25rem;
}

.format-options a {
  text-decoration: none;
  color: #4a5568;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.format-options a:hover {
  color: #0f66cc;
  background-color: rgba(15, 102, 204, 0.1);
}

.format-option {
  display: flex;
  align-items: center;
}

/* My Files on the right */
.my-files a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0f66cc;
  font-weight: 500;
}

.my-files a.active {
  color: #1d4ed8;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  background-color: #0f66cc;
  color: white;
  font-size: 0.7rem;
  border-radius: 50%;
  margin-left: 0.5rem;
}

/* Main content */
.converter-main {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  flex: 1;
  padding: 2rem;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2rem;
}

.main-subtitle {
  font-size: 1.1rem;
  color: #1e293b;
  margin: 1rem 0 2rem;
}

/* Drop zone */
.drop-zone {
  width: 100%;
  max-width: 700px;
  min-height: 200px;
  height: auto;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  margin: 0 auto;
  background: white;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  transition: all 0.3s;
}

.show-zone {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.drop-zone.dragging {
  border-color: #2563eb;
  background-color: #f0f9ff;
}

.drop-zone-content {
  text-align: center;
}

.upload-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
  color: #94a3b8;
}

.drop-text {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.55em;
}

/* File input */
.file-input {
  display: none;
}

/* Button group */
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn svg {
  margin-right: 0.5rem;
}

.btn-primary {
  background-color: #1d4ed8;
  color: white;
}

.btn-primary:hover {
  background-color: #1e40af;
}

.btn-secondary {
  background-color: #e2e8f0;
  color: #1e293b;
}

.btn-secondary:hover {
  background-color: #cbd5e1;
}

.format-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Features */
/* .features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
} */


/* slightly reduce the feature-text weight */
/* .main-features li {
  font-weight: 400;   
} */


/* .feature-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
} */

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.formats {
  background-color: #ebf8ff;
  color: #0c9fc7;
}

.speed {
  background-color: #ebf4ff;
  color: #3b82f6;
}

.cloud {
  background-color: #ecfdf5;
  color: #10b981;
}

.settings {
  background-color: #eef2ff;
  color: #6366f1;
}

.security {
  background-color: #f0fdf4;
  color: #22c55e;
}

.devices {
  background-color: #f0f9ff;
  color: #0ea5e9;
}

/* .feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.feature-card p {
  color: #64748b;
  line-height: 1.5;
  font-size: 0.9rem;
} */

/* Footer */
.converter-footer {
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid #e2e8f0;
  background-color: #fff;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* Toast notification */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.toast {
  padding: 12px 20px;
  background-color: #fff;
  color: #333;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  animation: slide-in 0.3s ease-out;
}

.toast.success {
  border-left: 4px solid #10b981;
}

.toast.info {
  border-left: 4px solid #0ea5e9;
}

.toast.error {
  border-left: 4px solid #ef4444;
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Image preview */
#image-preview {
  max-width: 100%;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#image-preview img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* Format option active state */
.format-option.active {
  background-color: #1d4ed8;
  color: white;
}

.auth-container {
  max-width: 100%;
  min-width: 25rem;
  margin: 5rem 40%;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.auth-form input {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.auth-form input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.auth-switch {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 1rem;
}

.auth-switch a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

/* Mobile responsive enhancements */
@media (max-width: 768px) {
  .converter-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .header-inner {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .format-options ul {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0.5rem 0;
  }
  
  .main-title {
    font-size: 1.8rem;

  }
  
  .main-subtitle {
    font-size: 1rem;
    margin: 0.5rem 0 1.5rem;
  }
  
  .converter-main {
    padding: 1rem;
  }
  
  .drop-zone {
    max-width: 100%;
    min-height: 180px;
    height: auto;
  }
  
  .format-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }
  
  .format-option {
    width: 100%;
  }
  
  .button-group {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }
  
  #initial-actions,
  #conversion-actions {
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* .features-container {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 0;
  } */
  
  .converter-footer {
    padding: 1rem 0;
    margin-top: 2rem;
  }
  
  .toast-container {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
  
  .toast {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .upload-icon {
    width: 50px;
    height: 50px;
  }
  
  .drop-zone {
    min-height: 150px;
    height: auto;
  }
/*   
  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.85rem;
  } */
  
  .format-options a {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .my-files a {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
}








/* a clean horizontal bar */
.section-divider {
  border: none;
  height: 3px;
  width: 80px;                 /* adjust length */
  background-color: #0066ff;   /* match your primary color */
  margin: 3rem auto;           /* vertical spacing, centered */
}

/* center & size the new section title */
.section-heading {
  text-align: center;
  font-size: 1.75rem;
  margin: 2rem 0 1rem;         /* space above and below */
  color: #333;                 /* or your darker text color */
}

/* optional: give your next section some grid styling */
/* .features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
  max-width: 1000px;
  margin: 0 auto 4rem;
} */










.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1d4ed8;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 8px;
}

.user-account {
  display: flex;
  align-items: center;
}

.user-account a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0f66cc;
  font-weight: 500;
}

/* Dummy logo */
.dummy-logo {
  height: 40px;
  width: auto;
}

/* Secure upload indicator */
.secure-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.secure-check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.secure-upload p {
  color: #10b981;
  font-weight: 600;
}

/* Pricing Section */
.pricing-section {
  margin: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1e293b;
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
/* Header buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pricing-card .ribbon {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  width: 70px;   /* adjust to taste */
  height: 70px;  /* same as width */
}

/* 3) The angled label */
.pricing-card .ribbon span {
  position: absolute;
  display: block;
  width: 100px;                 /* enough to cover corner */
  padding: 6px 0;               /* vertical space in ribbon */
  background: #0066ff;          /* your brand-blue */
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(45deg);
  transform-origin: 0 0;
  top: 8px;                     /* nudges ribbon down */
  right: -30px;                 /* nudges ribbon left */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.nav-btn {
  background-color: #1d4ed8;   /* your primary blue */
  color: white;
  border: none;                /* no more outline */
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background-color 0.2s, transform 0.1s;
  text-decoration: none;       /* absolutely no underlines */
}
.nav-btn:hover {
  background-color: #1e40af; 
  transform: translateY(-1px);
  text-decoration: none;
}


.pricing-card.popular {
   position: relative;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 2px solid #3b82f6;
  z-index: 10;
}
.upload-confirmation {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: #e6ffed;                 /* pale green bg */
  border: 1.5px solid #28a428;         /* darker green border */
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(40,164,40,0.2);
  animation: popIn 0.35s ease-out;
}

.upload-confirmation .tickmark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.4rem;
  height: 1.4rem;
  background: #28a428;                 /* solid green circle */
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  animation: rotateIn 0.45s ease-out;
}

/* pop the whole badge in */
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* spin the checkmark into place */
@keyframes rotateIn {
  from { transform: rotate(-90deg); opacity: 0; }
  to   { transform: rotate(0deg);    opacity: 1; }
}


.popular-tag {
  position: absolute;
  top: 28px;
  right: -35px;
  background: #3b82f6;
  color: white;
  padding: 0.25rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  width: 150px;
  text-align: center;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 0.75rem;
}

.currency, .period {
  font-size: 1rem;
  color: #64748b;
  vertical-align: middle;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
}

.pricing-subtitle {
  font-size: 0.9rem;
  color: #64748b;
}

/* .pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #1e293b;
}

.pricing-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 0.75rem;
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-included::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.feature-excluded::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
} */

.pricing-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #1d4ed8;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.pricing-button:hover {
  background: #1e40af;
}

.pricing-button.current {
  background: #e2e8f0;
  color: #1e293b;
  cursor: default;
}

@media (max-width: 768px) {
  .pricing-container {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
    order: -1;
  }
}



.upload-status,
.convert-status {
  margin: 0 1rem;
  font-size: 0.875rem;
}
.convert-btn {
  padding: 0.25rem 0.5rem;
  border: none;
  background-color: #3b82f6;
  color: #fff;
  border-radius: 0.25rem;
  cursor: pointer;
}
.convert-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Format selector */
.format-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.format-select {
  padding: 0.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
}



/* ── Drop-zone width tweaks ── */
.drop-zone { max-width: 800px; }

/* Per-file list */
.uploaded-files { list-style: none; padding: 0; margin: 1.5rem auto; }
.file-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem; border-bottom: 1px solid #e5e7eb;
}
.format-logo { 
  width: 28px;
}
.file-name { 
  flex: 1; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap;
}
.upload-status { flex: 1; min-width: 80px; }
.format-select { flex: 1; min-width: 80px; padding: 0.25rem; }
.file-size { flex: 1; text-align: right; min-width: 60px; }
.remove-btn {
  background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #9ca3af;
}
.remove-btn:hover { color: #dc2626; }
.convert-status { flex: 1; min-width: 100px; }

/* Batch & actions */
.batch-container, .action-buttons {
  display: flex; justify-content: center; align-items: center; gap: 1rem;
}
.batch-container[hidden], .action-buttons[hidden] { display: none; }
.action-buttons button:disabled { opacity: 0.5; cursor: not-allowed; }

/* Rotating icon */
.rotating-logo { width: 16px; height: 16px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/*─────────────────────────────────────────────────────────────────*/
/* 1) Center the initial “Drop files” UI inside the dashed box */
.drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* 2) Once files exist, hide that initial content */
.drop-zone.has-files .drop-zone-content {
  display: none;
}

/* 3) Make the white dashed box span the full width of its container */
.drop-zone {
  width: 100%;
}

/* 4) If you need a wider container overall, bump this up */
.convert-section {
  max-width: 1000px; /* or whatever fits your layout */
}

/* 5) Give the batch + action rows their own lines */
.batch-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.action-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* 6) Optional spacing between buttons */
.action-buttons button {
  margin: 0 0.5rem;
}
/*─────────────────────────────────────────────────────────────────*/
/* Make the whole drop‐zone a column flexbox */
.drop-zone {
  display: flex;
  flex-direction: column;
}

/* Push the controls block to the bottom */
.drop-zone .batch-container {
    margin-top: auto;
    margin-bottom: 1rem;
}
.drop-zone .action-buttons {
  margin-top: auto;
  /* optional: add a little breathing room from the bottom */
  margin-bottom: 2rem;
}
/* 1) Make the file list always fill its container */
.drop-zone .uploaded-files {
  width: 100%;
  margin: 1.5rem 0;       /* you can keep your top/bottom gutter */
  list-style: none;
  padding: 0;
}

/* 2) Always stretch each row to fill 100%,
      and push the first + last items to the edges */
.drop-zone .uploaded-files .file-item {
  display: flex;
  align-items: center;
  justify-content: space-between; /* new */
  gap: 1rem;
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

/* 3) (Optional) explicitly size your flex children */
.drop-zone .uploaded-files .file-name,
.drop-zone .uploaded-files .upload-status,
.drop-zone .uploaded-files .format-select,
.drop-zone .uploaded-files .file-size,
.drop-zone .uploaded-files .convert-status {
  flex: 1;
  min-width: 80px;     /* tweak per column */
}

/* 4) Ensure the remove-button never flexes */
.drop-zone .uploaded-files .remove-btn {
  flex: 0 0 auto;
}
/* ── Center the “choose files” UI when there are no uploads ── */
.drop-zone {
  display: flex;
  flex-direction: column;
}

/* When empty, center everything */
.drop-zone:not(.has-files) {
  justify-content: center;
  align-items: center;
}

/* When files exist, revert to top-aligned list */
.drop-zone.has-files {
  justify-content: flex-start;
  align-items: stretch;
}
/* hide the file-list entirely when there are no uploads */
.drop-zone:not(.has-files) .uploaded-files {
  display: none;
}
