/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #ffffff;
  color: #000000;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  transition: background-color 0.3s, color 0.3s;
}

[data-theme="dark"] {
  background-color: #121212;
  color: #ffffff;
}

.container {
  background: var(--bg-color, #ffffff);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 500px;
  text-align: center;
}

h1 {
  font-size: 2rem;
  color: var(--text-color, #333);
  margin-bottom: 1.5rem;
}

/* Upload Box */
.upload-box {
  border: 2px dashed #007bff;
  border-radius: 8px;
  padding: 2rem;
  background: #f9f9f9;
  cursor: pointer;
  transition: background 0.3s ease;
}

.upload-box:hover {
  background: #e6f7ff;
}

.upload-box span {
  font-size: 1rem;
  color: #007bff;
}

#imageInput {
  display: none;
}

/* Image Preview */
.preview {
  margin-top: 1.5rem;
}

.preview img {
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* Optional Features */
.optional {
  margin-top: 1rem;
}

/* Text Editor */
#editor {
  height: 150px;
  margin-top: 1rem;
}

/* Buttons */
button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 1rem;
  width: 100%;
  max-width: 200px;
}

button:hover {
  background: #0056b3;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Progress Bar */
progress {
  width: 100%;
  margin-top: 1rem;
}

/* Progress Indicator */
.progress {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #007bff;
}

/* Responsive Design */
@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .upload-box {
    padding: 1rem;
  }

  button {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .upload-box {
    padding: 1rem;
  }

  button {
    width: 100%;
    max-width: none;
  }
}