.movie-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1, h2, h3, h4 {
  color: #333;
  margin-bottom: 15px;
}

.input-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.url-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #45a049;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.error {
  color: #ff0000;
  background-color: #ffe6e6;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.result {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.categories-list {
  list-style-type: none;
  padding: 0;
}

.categories-list li {
  background-color: #e9e9e9;
  margin-bottom: 5px;
  padding: 8px 12px;
  border-radius: 4px;
}

.progress-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.progress-bar {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 13px;
  padding: 3px;
  margin-bottom: 15px;
}

.progress {
  background-color: #4CAF50;
  height: 20px;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
}

.new-movies-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
}

.completion-message {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
}

.start-button {
  margin-top: 15px;
  width: 100%;
}

.control-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.control-button {
  flex: 1 1 calc(50% - 5px);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  text-align: center;
}

.pause { background-color: #ffa500; }
.resume { background-color: #4caf50; }
.cancel { background-color: #f44336; }
.copy-log { background-color: #2196f3; }

@media (min-width: 768px) {
  .control-button {
    flex: 1 1 auto;
  }
}