:root {
  --primary: #00b894;
  --primary-hover: #019875;
  --background: #111;
  --card-bg: #1e1e1e;
  --text: #f5f5f5;
  --text-secondary: #b0b0b0;
  --error: #ff6b6b;
  --success: #00b894;
}

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

body {
  background: var(--background);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Navbar Styles */
.navbar {
  background: var(--card-bg);
  width: 100%;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
}

.navbar-links {
  display: flex;
  gap: 20px;
}

.navbar-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
}

.navbar-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.navbar-links a.active {
  color: var(--primary);
  background: rgba(0, 184, 148, 0.1);
}

/* Main Content Styles */
.main-content {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Original Container Styles */
.container {
  width: 100%;
  max-width: 500px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin: 20px 0;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text);
}

h2 span {
  color: var(--primary);
}

.upload-area {
  border: 2px dashed #444;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover {
  border-color: var(--primary);
  background: rgba(0, 184, 148, 0.05);
}

.upload-area.active {
  border-color: var(--primary);
  background: rgba(0, 184, 148, 0.1);
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 10px;
  color: var(--primary);
}

.upload-text {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.file-input {
  display: none;
}

.file-info {
  margin-top: 15px;
  font-size: 14px;
  color: var(--text-secondary);
}

.btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 15px;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn:disabled {
  background: #555;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #444;
  color: var(--text);
  margin-top: 10px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

#result {
  margin-top: 25px;
  word-wrap: break-word;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#result.success {
  background: rgba(0, 184, 148, 0.1);
  border-left: 4px solid var(--success);
}

#result.error {
  background: rgba(255, 107, 107, 0.1);
  border-left: 4px solid var(--error);
}

#result.loading {
  background: rgba(255, 255, 255, 0.05);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #333;
  border-radius: 3px;
  margin-top: 15px;
  overflow: hidden;
  display: none;
}

.progress {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 0.3s ease;
}

.file-preview {
  max-width: 100px;
  max-height: 100px;
  margin-top: 15px;
  border-radius: 4px;
  display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .navbar-links {
    width: 100%;
    justify-content: space-around;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 20px;
  }
  
  h2 {
    font-size: 20px;
  }
  
  .upload-area {
    padding: 20px;
  }
  
  .navbar-links a {
    padding: 6px 10px;
    font-size: 14px;
  }
  }
