
/* Upload Section Styling */
.upload-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.upload-section h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Upload Container */
.upload-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* File Input Styling */
#fasta-file-input {
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  flex: 1;
  min-width: 250px;
}

#fasta-file-input:focus {
  outline: none;
  border-color: #4285f4;
}

/* Upload Button */
.upload-button {
  background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.upload-button:hover {
  background: linear-gradient(135deg, #3367d6 0%, #2c5aa0 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.upload-button:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Upload Status */
.upload-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.upload-status.success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border-color: #c3e6cb;
}

.upload-status.error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border-color: #f5c6cb;
}

.upload-status.info {
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
  border-color: #bee5eb;
}

/* Upload History */
.upload-history {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.upload-history h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #495057;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Upload List with Vertical Scrolling */
#upload-list {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom Scrollbar Styling */
#upload-list::-webkit-scrollbar {
  width: 8px;
}

#upload-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#upload-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

#upload-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Upload Item */
.upload-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.upload-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.upload-item:last-child {
  margin-bottom: 0;
}

/* Upload Info */
.upload-info {
  flex: 1;
}

.upload-info strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #2c3e50;
  font-size: 1rem;
}

.upload-meta {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.4;
}

/* Delete Button */
.delete-upload {
  background: linear-gradient(135deg, #ea4335 0%, #d33b2c 100%);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(234, 67, 53, 0.3);
}

.delete-upload:hover {
  background: linear-gradient(135deg, #d33b2c 0%, #b52d20 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

/* No Uploads Message */
.no-uploads {
  color: #6c757d;
  font-style: italic;
  text-align: center;
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

/* To make strand options colum direction */
.strand-options {
  flex-direction: column;
}