body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh; /* Ensure it takes up full viewport height */
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px; /* Add some space between the form and workspace */
  margin: 20px;
}

.workspace {
  width: 1000px;
  height: 600px;
  background-color: #deb887;
  position: relative;
  border: 2px solid #333;
}

.sign {
  width: 150px;
  height: 200px;
  background-color: black;
  color: white;
  position: absolute;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
}

.sign div {
  font-size: 13px;
  color: white;
  text-align: left;
  position: relative;
  transform-origin: top left; /* Anchor point for rotation */
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.popup textarea {
  width: 200px;
  height: 100px;
}

.popup button {
  margin: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.btn-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: none;
}

.btn svg {
  width: 2rem;
  height: 2rem;
}

.add {
  background-color: greenyellow;
}

.export {
  background-color: lightgray;
  color: green;
}

.clear {
  background-color: red;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 300px;
  padding: 20px;
  border-radius: 10px;
  background-color: white;
}

form input,
form button {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
}

form button {
  background-color: #333;
  color: white;
  cursor: pointer;
}

form button:hover {
  background-color: #555;
}
