.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modalContent {
  background: white;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 90vw;
  height: 90vh;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modalHeader {
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modalHeader h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.closeButton {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.closeButton:hover {
  background-color: #f0f0f0;
  color: #333;
}

.mainContent {
  display: flex;
  flex: 1;
  overflow: hidden;
  gap: 0;
}

.formSection {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: width 0.3s ease-out;
  border-right: 1px solid #e0e0e0;
  background: #f9f9f9;
}

.previewSection {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: width 0.3s ease-out;
  background: #f0f0f0;
}

.modalFooter {
  padding: 16px 24px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: white;
}

.cancelButton {
  padding: 10px 24px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cancelButton:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

.saveButton {
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  background: var(--color-primary-accent);
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.saveButton:hover {
  background: #6cd2ff;
}

.saveButton:active {
  transform: scale(0.98);
}
