:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --background-color: #2c3e50;
  --text-color: #ecf0f1;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.video-editor-container {
  width: 100%;
  max-width: 600px;
  background-color: #34495e;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.video-preview {
  width: 100%;
  background-color: #000;
}

#videoPlayer {
  width: 100%;
  max-height: 400px;
}

.controls {
  padding: 15px;
}

.timeline {
  margin-bottom: 20px;
}

#videoSeeker {
  width: 100%;
  accent-color: var(--primary-color);
}

.time-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8em;
  color: #bdc3c7;
}

.edit-actions {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.edit-actions button {
  background-color: var(--primary-color);
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.edit-actions button:hover {
  background-color: #2980b9;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #3498db;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

.export-section {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#exportBtn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#exportBtn:hover {
  background-color: #27ae60;
}

.filter-categories {
  text-align: center;
}

.filter-categories h3 {
  color: white;
  margin-top: 15px;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.filter-options button {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.7em;
}

.filter-options button:hover {
  background-color: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.filter-options .new-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

#resetFilter {
  background-color: #e74c3c;
  width: 100%;
  margin-top: 15px;
}

#resetFilter:hover {
  background-color: #c0392b;
}

.crop-options {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.crop-options button {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 10px;
  border-radius: 5px;
}

input[type="range"] {
  width: 100%;
  margin: 10px 0;
}

input[type="text"], input[type="color"] {
  width: 100%;
  margin: 10px 0;
  padding: 8px;
  border-radius: 5px;
  border: none;
}

.voice-effects-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.voice-effects-options button {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.7em;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.voice-effects-options button:hover {
  background-color: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

#resetVoiceEffects {
  background-color: #e74c3c;
  width: 100%;
  margin-top: 15px;
}

#resetVoiceEffects:hover {
  background-color: #c0392b;
}

.video-select-section {
  padding: 10px;
  background-color: #34495e;
  text-align: center;
}

#videoFileInput {
  max-width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
}

.warp-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.warp-filters button {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.7em;
}