/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #a6d4fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header styles */
header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

header p {
  color: #7f8c8d;
  font-size: 1.1rem;
}

/* Tabs styles */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-btn {
  padding: 1rem 2rem;
  background-color: #ecf0f1;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.tab-btn:hover {
  background-color: #d5dbdb;
}

.tab-btn.active {
  background-color: #3498db;
  color: white;
}

/* Tab content styles */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* Upload area styles */
.upload-container {
  margin-bottom: 2rem;
}

.upload-area {
  border: 2px dashed #bdc3c7;
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  background-color: white;
  cursor: pointer;
  margin-bottom: 1rem;
}

.upload-area:hover {
  border-color: #3498db;
}

.upload-area i {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 1rem;
}

.upload-area h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.upload-area p {
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.upload-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #3498db;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.upload-btn:hover {
  background-color: #2980b9;
}

/* File list styles */
.file-list {
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #ecf0f1;
}

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

.file-info {
  display: flex;
  align-items: center;
}

.file-icon {
  margin-right: 0.8rem;
  color: #3498db;
}

.file-name {
  font-size: 0.9rem;
  color: #2c3e50;
}

.file-size {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-left: 0.5rem;
}

.remove-file {
  color: #e74c3c;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.remove-file:hover {
  color: #c0392b;
}

/* Convert button styles */
.convert-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.convert-btn:hover {
  background-color: #27ae60;
}

.convert-btn:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

/* Result container styles */
.result-container {
  text-align: center;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease;
}

.result-container h2 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.download-btn {
  padding: 0.8rem 1.5rem;
  background-color: #3498db;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: #2980b9;
}

.new-conversion-btn {
  padding: 0.8rem 1.5rem;
  background-color: #ecf0f1;
  color: #2c3e50;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.new-conversion-btn:hover {
  background-color: #d5dbdb;
}

/* Loading overlay styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.loading-overlay p {
  color: white;
  font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Drag and drop highlight */
.upload-area.highlight {
  border-color: #3498db;
  background-color: #ebf5fb;
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .tab-btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .upload-area {
    padding: 2rem 1rem;
  }
  
  .upload-area i {
    font-size: 2.5rem;
  }
  
  .upload-area h3 {
    font-size: 1.2rem;
  }
  
  .result-actions {
    flex-direction: column;
  }
} 