body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  margin: 0;
}

.toolbar {
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.app-container {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 20px;
  padding: 20px;
}

.sidebar-nav,
.editor-pane,
.preview-pane {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.preview-pane {
  overflow: auto;
  box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.5);
  margin: 5px;
}

/* Sidebar Mini-View */
#mini-view-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#mini-view-list li {
  background: #eee;
  padding: 10px;
  margin-bottom: 5px;
  border: 1px solid #ddd;
  cursor: move;
  font-size: 0.9em;
}
#mini-view-list .ui-sortable-placeholder {
  background: #e0f7fa;
  border: 1px dashed #007bff;
  height: 30px;
  margin-bottom: 5px;
}

/* Editor Block Styling */
.editor-block {
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 15px;
  background: #fdfdfd;
}
.editor-block h3 {
  margin-top: 0;
}
.editor-block [contenteditable=true] {
  background: #fefefe;
  border: 1px dashed #aaa;
  padding: 5px;
  min-height: 20px;
}
.editor-block [contenteditable=true]:focus {
  outline: 2px solid #007bff;
  background: #fff;
}

/* Preview Pane (The "Paper" CV) */
.cv-paper {
  background: white;
  min-height: 800px;
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 1.5cm;
  line-height: 1.5;
}
.cv-paper h1 {
  font-size: 22pt;
}
.cv-paper h2 {
  font-size: 16pt;
  border-bottom: 2px solid #333;
}
.cv-paper p {
  line-height: 1.4;
}

/* ... (existing styles) ... */
/* Preview Pane (The "Paper" CV) */
.cv-paper .preview-section {
  margin-bottom: 20px;
}
.cv-paper .item {
  margin-bottom: 15px;
}
.cv-paper .skill-category {
  margin-bottom: 8px;
}
.cv-paper .skill-category strong {
  display: inline-block;
  min-width: 180px;
}
.cv-paper .skill-category span {
  display: inline-block;
  background: #eee;
  border-radius: 4px;
  padding: 2px 8px;
  margin: 2px;
  font-size: 0.9em;
}

select,
.editable-field,
textarea,
editable,
input {
  margin: 3px;
  padding: 5px;
  border: 1px dashed silver;
}

label {
  font-size: small;
  color: #567;
}

body {
  background: #567;
}

button {
  padding: 5px 15px;
  border-radius: 5px;
}

.preview-pane .rendering-pdf {
  overflow: hidden !important;
}