body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f7f9;
  margin: 0;
  padding: 0;
}

.info-container, .editor-container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 2em;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header h1 {
  color: #1b4d89;
  border-bottom: 3px solid #ddd;
  padding-bottom: 0.3em;
  margin-top: 0;
}

.section-header {
  margin-top: 2.5em;
  margin-bottom: 0;
  border-left: 5px solid #1b4d89;
  padding-left: 1em;
  background-color: #f0f5fa;
  padding: 1em;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h2 {
  color: #2c3e50;
  margin: 0;
  flex: 1;
}

.section-content {
  padding: 1.5em;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 4px 4px;
  margin-bottom: 1em;
  line-height: 1.6;
}

.info-block {
  margin-bottom: 2em;
}

.btn-util {
    padding: 8px 16px;
    background-color: #1b4d89;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.edit-link {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-left: 10px;
    text-decoration: none;
}

.edit-link:hover {
    text-decoration: underline;
}

.doc-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.doc-card {
    background: white;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
}

.doc-card a {
    color: #1b4d89;
    font-weight: bold;
    text-decoration: none;
}

/* Editor Specific Styles */
.editor-toolbar {
  margin-bottom: 15px;
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.editor-toolbar button {
  padding: 6px 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.editor-toolbar button:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.editor-views {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.editor-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.editor-panel h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  color: #555;
}

textarea#content-editor {
  width: 100%;
  height: 500px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
}

.preview-panel {
  width: 100%;
  height: 500px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  overflow-y: auto;
  box-sizing: border-box;
}

.button-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

button[type="submit"] {
  padding: 12px 25px;
  background-color: #1b4d89;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s;
}

button[type="submit"]:hover {
  background-color: #0d2a52;
}

.back-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

.preview-panel h2 { color: #1b4d89; margin-top: 1.5em; }
.preview-panel h3 { color: #2c3e50; margin-top: 1.2em; }
.preview-panel p { margin-bottom: 1em; }
.preview-panel ul, .preview-panel ol { margin-bottom: 1em; padding-left: 2em; }
.preview-panel li { margin-bottom: 0.5em; }
