/* style.css */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.editor-container {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 700px;
}

h1 {
  text-align: center;
  color: #333;
}

.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.toolbar button, .toolbar select, .toolbar input[type="color"] {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
  background: #f0f0f0;
  transition: background 0.3s;
}

.toolbar button:hover, .toolbar select:hover, .toolbar input[type="color"]:hover {
  background: #ddd;
}

.editor {
  width: 100%;
  min-height: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  overflow-y: auto;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

button {
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: #667eea;
  color: rgb(0, 0, 0);
  transition: background 0.3s;
}

button:hover {
  background-color: #556cd6;
}

.hidden {
  display: none;
}

#shareLinkContainer {
  margin-top: 10px;
}
