:root {
  --bg-color: #111;
  --text-color: #fff;
  --accent-color: #0ff;
}

.light-mode {
  --bg-color: #f0f0f0;
  --text-color: #111;
  --accent-color: #007bff;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 0 30px var(--accent-color);
  width: 90%;
  max-width: 600px;
  text-align: center;
  transition: background 0.3s, color 0.3s;
}

.section {
  margin-top: 2rem;
}

.drop-zone {
  border: 2px dashed var(--accent-color);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.drop-zone:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

button {
  background: var(--accent-color);
  color: var(--bg-color);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #00bbbb;
}

.file-name {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: italic;
}

#status {
  margin-top: 1rem;
  font-style: italic;
  color: lime;
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

ul li {
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.toggle-mode {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 10px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  background-color: white;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--accent-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}
