.jobnote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.jobnote-header h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.jobnote-actions {
  display: flex;
  gap: 12px;
}

.editor-container {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 32px;
}

.title-input-wrapper {
  padding: 24px 24px 0 24px;
}

.title-input {
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-primary);
  background: transparent;
  transition: border-color 0.2s;
  outline: none;
}

.title-input:focus {
  border-bottom-color: var(--border-color);
}

.title-input::placeholder {
  color: #9CA3AF;
}

/* Quill Overrides */
.ql-toolbar.ql-snow {
  border: none !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 12px 24px !important;
  background-color: var(--bg-color);
  font-family: inherit;
}

.ql-container.ql-snow {
  border: none !important;
  font-family: var(--font-family) !important;
  font-size: 1rem !important;
}

.ql-editor {
  min-height: 400px;
  padding: 24px !important;
  line-height: 1.6;
}

.ql-editor h1, .ql-editor h2, .ql-editor h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.ql-editor p {
  margin-bottom: 1em;
}

/* PDF Generation View (Hidden by default, used for rendering) */
#pdf-render-container {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 794px; /* A4 width at 96 DPI */
  background: white;
  color: black;
  font-family: 'Inter', sans-serif;
  padding: 40px;
}

.pdf-page-container {
  padding: 20px;
  background: white;
}

.pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.pdf-header img {
  height: 65px;
}

.pdf-header-info {
  text-align: right;
}

.pdf-header-info h2 {
  font-size: 1.2rem;
  margin: 0;
}

.pdf-header-info p {
  color: #555;
  margin: 4px 0 0 0;
  font-size: 0.9rem;
}

.pdf-doc-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.pdf-body {
  font-size: 11pt;
  line-height: 1.6;
}

.pdf-body h1 { font-size: 18pt; margin-bottom: 12px; }
.pdf-body h2 { font-size: 16pt; margin-bottom: 10px; }
.pdf-body h3 { font-size: 14pt; margin-bottom: 8px; }
.pdf-body p { margin-bottom: 12px; }
.pdf-body ul, .pdf-body ol { margin-bottom: 12px; padding-left: 20px; }

/* The footer is usually injected via jsPDF, but we can set up a class for rendering if needed */
