<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Upload Section Styles */
.upload-section {
    text-align: center;
    padding: 80px 0 40px 0; /* Increased top padding to match other sections */
    background: white; /* Solid white to contrast with features */
}

.upload-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1e293b;
}

.upload-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 80px; /* Increased from 40px */
}

.upload-box {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.2s;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upload-box:hover {
    border-color: #93c5fd;
}

.upload-box.drag-over {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.dark-theme .upload-title {
    color: #f8fafc;
}

.dark-theme .upload-subtitle,
.dark-theme .drag-text {
    color: #94a3b8;
}

.dark-theme .upload-section {
    background: #020617; /* Darker than features for contrast */
}

/* Upload Button Styles */
.file-input {
  display: none;
}

.upload-btn {
  display: inline-block;
  padding: 12px 40px;
  background-color: #3b82f6;
  color: white;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  min-width: 160px;
  text-align: center;
  margin: 0 auto;
}

.upload-btn:hover {
  background-color: #1d4ed8;
}

.drag-text {
  margin-top: 16px;
  color: #64748b;
  font-size: 16px;
}

/* Circular progress indicator */
.upload-progress {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(16, 185, 129, 0.2); /* Lighter green */
    border-radius: 50%;
    border-top-color: #10b981; /* Solid green */
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
    vertical-align: middle;
    text-align: center;
}

.file-status.progress-container {
    position: relative;
    padding-right: 20px;
}

.file-status .progress-circle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* File List Styles */
.file-list {
    display: block;
    width: 100%;
    min-width: 200px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
    overflow-x: auto;
}

.file-list-header {
  text-align: center;
  padding: 12px 0;
  margin-bottom: 8px;
}

.file-list-header h3 {
  display: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.dark-theme .file-list-header {
  border-bottom-color: #334155;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    min-width: 280px !important;
    flex-shrink: 0; /* Prevent shrinking below min-width */
}

.dark-theme .file-item {
  background: #1e293b;
  border-color: #334155;
}

.file-info {
  display: flex;
  min-width: 0; /* Allows children to shrink */
  flex: 1;
}

.file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text);
  font-size: 32px;
  margin-right: 16px;
}

.fa-file {
  font-size: inherit !important;
}

.dark-theme .file-icon {
    background: #334155;
}

.file-details {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Crucial for text overflow */
  flex: 1;
}

.file-name-container {
  min-width: 0; /* Allows text overflow */
  flex: 1;
}

.file-name {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.file-meta {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.file-type {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: left; /* Ensure left alignment */
}

.file-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  padding-left: 20px;
}

.download-btn,
.overwrite-format-btn {
  position: relative;
  background: transparent;
  color: #3b82f6;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 160px;
  width: 160px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 15px;
  padding-right: 45px;
}

.download-btn {
  padding-right: 15px;
}

.download-btn:hover {
  background-color: #1d4ed8;
}

.overwrite-format-btn .edit-icon,
.overwrite-format-btn .reset-icon {
    font-size: 14px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.overwrite-format-btn .reset-icon {
    font-size: 16px;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 2px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.overwrite-format-btn .reset-icon:hover {
    background-color: rgba(0,0,0,0.1);
}

.dark-theme .overwrite-format-btn .reset-icon:hover {
    background-color: rgba(255,255,255,0.1);
}

.overwrite-format-btn .edit-icon {
    font-size: 16px;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overwrite-format-btn {
    position: relative;
    padding-right: 45px !important; /* Ensure space for icon */
}

.overwrite-format-btn:hover {
  background: #f1f5f9;
}

.overwrite-format-btn:disabled {
  color: #b0b0b0;
  border-color: #a0a0a0;
  cursor: default;
}
.overwrite-format-btn.disabled:hover {
    background-color: transparent;
    box-shadow: none;
    transform: none;
}

.dark-theme .overwrite-format-btn {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

.dark-theme .overwrite-format-btn:hover {
  background: #1e293b;
}

.overwrite-format-btn.custom-format {
    background-color: #f1f5f9 !important; /* Very light gray */
    border-color: #e2e8f0;
}

.dark-theme .overwrite-format-btn.custom-format {
    background-color: #1e293b !important;
    border-color: #334155;
}

/* Custom format highlight */
.overwrite-format-btn.custom-format {
    background-color: #dcfce7; /* Light green */
    border-color: #22c55e;
}

.overwrite-format-btn.unsupported-format {
    color: #ef4444;
    border-color: #ef4444;
    cursor: default;
    position: relative;
}

.overwrite-format-btn.unsupported-format:hover::after {
    content: 'This conversion is not supported';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    margin-bottom: 5px;
}

.dark-theme .overwrite-format-btn.unsupported-format {
    color: #ef4444;
    border-color: #ef4444;
    cursor: default;
}

/* Edit icon styling */
.overwrite-format-btn .edit-icon:hover {
    opacity: 0.8;
}

.download-btn {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
  text-decoration: none;
  position: relative;
  padding: 8px 20px 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 160px !important;
  width: 160px !important;
  height: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* File Actions Row - Hidden by default */
.file-actions-row {
    display: none; /* Changed from flex to none */
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px auto;
    justify-content: space-between;
    padding: 0;
}

/* Standard size for all action buttons */
#addMoreBtn,
#chooseFormatBtn,
#convertNowBtn,
#restartBtn {
    width: calc(25% - 20px) !important;
    min-width: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

#addMoreBtn:hover,
#chooseFormatBtn:hover,
#convertNowBtn:hover,
#restartBtn:hover {
    background: rgba(37, 99, 235, 0.1);
}

.dark-theme #addMoreBtn,
.dark-theme #chooseFormatBtn,
.dark-theme #convertNowBtn,
.dark-theme #restartBtn {
    background-color: #1e293b;
    color: #f8fafc;
}

.dark-theme #addMoreBtn:hover {
    background-color: #475569;
}

/* Disabled styles */
#addMoreBtn.disabled,
#chooseFormatBtn.disabled,
#convertNowBtn.disabled {
/*    background-color: #f0f0f0; */
    color: #b0b0b0;
    border-color: #a0a0a0;
    cursor: default;
}

#addMoreBtn.disabled:hover,
#chooseFormatBtn.disabled:hover,
#convertNowBtn.disabled:hover {
    background-color: transparent;
    box-shadow: none;
    transform: none;
}

/* Highlight styles */
#addMoreBtn.highlighted,
#chooseFormatBtn.highlighted,
#convertNowBtn.highlighted {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

#addMoreBtn.highlighted:hover,
#chooseFormatBtn.highlighted:hover,
#convertNowBtn.highlighted:hover {
    background-color: #2563eb;
}

.action-btn, .overwrite-format-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* Set consistent height */
  box-sizing: border-box;
}

.action-btn {
  min-width: auto;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-btn i {
  font-size: 16px;
}

/* Convert Dropdown Styles */
.convert-dropdown {
  position: absolute;
  display: none;
  z-index: 100;
  min-width: 200px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.dark-theme .convert-dropdown {
  background: #1e293b;
}

.dropdown-content {
  padding: 8px 0;
}

.dropdown-header {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid #e2e8f0;
}

.dark-theme .dropdown-header {
  border-bottom-color: #334155;
}

.dropdown-options {
  display: flex;
  flex-direction: column;
}

.dropdown-option {
  padding: 8px 16px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.dropdown-option:hover {
  background: #f1f5f9;
}

.dark-theme .dropdown-option:hover {
  background: #334155;
}

/* File status container */
.file-status {
    display: inline-flex;
    align-items: center;
    gap: 8px 15px;
    min-width: 150px;
    height: 24px;
}

.file-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
}

.file-status.ready {
  background: transparent;
  color: #64748b;
}

.file-status.converting {
  background: transparent;
  color: #3b82f6;
}

.file-status.completed {
  background: transparent;
  color: #10b981;
}

.file-status.error {
  background: transparent;
  color: #ef4444;
}

/* File Meta Styles */
.file-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
}

.file-type,
.file-size {
    white-space: nowrap;
}

.file-name {
    margin-bottom: 2px;
    font-weight: 500;
    text-align: left;
}

/* Dark theme adjustments for h2 */
.dark-theme .section-title {
    color: #f8fafc !important;
}

/* Dark theme adjustments for paragraphs */
.dark-theme .faq-subtitle,
.dark-theme .faq-answer {
    color: #e2e8f0 !important;
}

.dark-theme .faq-subtitle a {
    color: #93c5fd !important;
}

/* Dark theme shadow adjustments */
.dark-theme .faq-item {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

/* Dark theme FAQ adjustments */
.dark-theme .faq-question {
    color: #ffffff !important; /* Pure white for questions */
}

.dark-theme .faq-answer {
    color: #cbd5e1 !important; /* Light gray for answers */
    margin-top: 8px;
}

/* Responsive Upload Section */
@media (max-width: 640px) {
  .upload-section {
      padding-top: 40px;
  }
  
  .upload-title {
      font-size: 24px;
  }
  .upload-subtitle {
      margin-bottom: 30px;
  }
  .upload-box {
      min-height: 220px;
  }
  #addMoreBtn,
  #chooseFormatBtn,
  #convertNowBtn,
  #restartBtn {
    width: calc(100%) !important;
  }

  .file-item {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
  }
  
  /* First line container */
  .file-info-container {
      order: 1;
      display: flex;
      width: 100%;
  }
  
  .file-info {
      flex: 1;
      min-width: 0;
      text-align: left;
  }
  
  /* Second line container */
  .file-actions {
      order: 2;
      display: flex;
      gap: 12px;
      width: 100%;
      padding-left: 0;
  }

  .file-actions-row {
      flex-direction: column;
      gap: 8px;
  }
  
  .file-actions-row .action-btn {
      width: 100% !important;
      max-width: 100%;
      box-sizing: border-box;
      padding: 12px 16px;
  }
  
  .file-actions-row {
      gap: 12px;
  }
}

@media (max-width: 340px) {
  .upload-box {
    padding: 50px 20px;
    min-height: 150px;
  }
  .drag-text {
    font-size: 12px;
  }
  .upload-subtitle {
    font-size: 14px;
  }
}

/* Upload Status Section */
.upload-status {
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    background: #f8fafc;
    max-height: 300px;
    overflow-y: auto;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.status-item:last-child {
    border-bottom: none;
}

.file-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.file-name {
    font-weight: 500;
    color: #1e293b;
}

.file-status {
    font-size: 0.9em;
    color: #64748b;
}

.file-actions {
    display: flex;
    gap: 10px;
}

.delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    padding: 5px;
    border-radius: 4px;
}

.download-btn:disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.delete-btn {
    color: #ef4444;
}

/* Dark theme styles */
.dark-theme .upload-status {
    background: #1e293b;
    border-color: #334155;
}

.dark-theme .status-item {
    border-color: #334155;
}

.dark-theme .file-name {
    color: #f8fafc;
}

.dark-theme .file-status {
    color: #94a3b8;
}</pre></body></html>