.settings-window .window-content {
  padding: 16px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-y: auto;
  max-height: calc(100% - 40px);
  box-sizing: border-box;
  background-color: #fafafa;
}

.settings-window .settings-ui {
  display: flex;
  flex-direction: column;
}

.settings-window .settings-section {
  margin-bottom: 24px;
}

.settings-window .settings-section h2 {
  font-size: 16px;
  border-left: 4px solid #3498db;
  padding-left: 8px;
  margin-bottom: 10px;
}

.settings-window .settings-section p {
  margin: 4px 0 12px;
}

.settings-window label.file-label {
  display: inline-block;
  padding: 8px 12px;
  background-color: #3498db;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 12px;
  font-weight: bold;
}

.settings-window label.file-label input[type="file"] {
  display: none;
}

.settings-window .preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.settings-window .preset-buttons button {
  padding: 6px 12px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.settings-window .preset-buttons button:hover {
  background-color: #ddd;
}

.settings-window .preview-background {
  width: 100%;
  height: 100px;
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
  margin-bottom: 8px;
  border-radius: 6px;
}

.settings-window button {
  padding: 8px 12px;
  font-size: 13px;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.settings-window button:hover {
  background-color: #27ae60;
}

@media screen and (max-width: 480px) {
  .settings-window {
    width: 90vw !important;
    left: 5vw !important;
    top: 10vh !important;
    height: auto !important;
  }

  .settings-window .window-content {
    padding: 12px;
    font-size: 13px;
  }

  .settings-window .preset-buttons {
    flex-direction: column;
  }
}
