
:root {
  --primary: #2196F3;
  --primary-dark: #1976D2;
  --bg-light: #f8f9fa;
  --text: #2c3e50;
  --shadow: 0 4px 15px rgba(33, 150, 243, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

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

h1, h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

h1 i {
  font-size: 2rem;
}

.converter {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.upload-area {
  border: 2px dashed var(--primary);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.upload-area:hover {
  border-color: var(--primary-dark);
  background: rgba(33, 150, 243, 0.05);
}

.upload-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--primary);
}

.upload-message svg {
  stroke: var(--primary);
}

.upload-message p {
  margin: 0;
  line-height: 1.5;
}

.upload-area.drag-over {
  background: rgba(33, 150, 243, 0.1);
  border-color: var(--primary-dark);
}

button {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.conversion-history {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.supported-formats {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.supported-formats h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.supported-formats ul {
  columns: 2;
  list-style: none;
  gap: 1rem;
}

.supported-formats li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.supported-formats li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.conversion-history {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.conversion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.conversion-header h2 {
  color: var(--primary);
  margin: 0;
}

.history-item {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.history-item:hover {
  background: rgba(76, 175, 80, 0.05);
}

.history-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.history-item a i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.history-item:hover a i {
  opacity: 1;
}

.progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(33, 150, 243, 0.05);
  border-radius: 8px;
}

.progress-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}

.progress-text {
  color: var(--primary);
  font-weight: 500;
}

.progress-filename {
  color: var(--text);
  font-weight: 400;
}
    45deg,
    rgba(255, 255, 255, .15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, .15) 50%,
    rgba(255, 255, 255, .15) 75%,
    transparent 75%,
    transparent
  );
}

.footer {
  background: white;
  border-top: 1px solid var(--primary);
  padding: 1rem 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 -4px 6px -1px rgba(33, 150, 243, 0.1);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer p {
  margin: 0.5rem 0;
  color: var(--text);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--primary-dark);
}

.container {
  margin-bottom: 150px;
}

@keyframes progress {
  0% { background-position: 0 0; }
  100% { background-position: 30px 0; }
}
.zip-button {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    margin: 1rem 0;
    cursor: pointer;
    font-weight: 500;
    width: auto;
}

.zip-button:hover {
    background: var(--primary-dark);
}
