html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-header h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
  font-weight: 600;
}

.controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: space-between;
}

.planning-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.filters {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-content {
  display: flex;
  height: calc(100vh - 80px);
}

#map {
  flex: 1;
  height: 100%;
}

.sidebar {
  width: 280px;
  min-width: 250px;
  max-width: 600px;
  background: white;
  border-left: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-resizer {
  width: 4px;
  background: #ddd;
  cursor: col-resize;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.sidebar-resizer:hover {
  background: #1e88e5;
}

.sidebar-resizer::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 0;
  bottom: 0;
}

.sidebar-header {
  position: sticky;
  top: 0;
  z-index: 101;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}

.destination-count {
  font-size: 11px;
  color: #666;
  background: #e9ecef;
  padding: 2px 6px;
  border-radius: 10px;
}

.destination-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  min-height: 200px;
}

.destination-item {
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: grab;
  transition: background-color 0.2s, transform 0.2s;
  user-select: none;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  position: relative;
}

.destination-item:hover {
  background: #f8f9fa;
}

.destination-item.active {
  background: #e3f2fd;
  border-left: 3px solid #1e88e5;
}

.destination-item.dragging {
  opacity: 0.5;
  transform: rotate(2deg);
  cursor: grabbing;
}

.destination-item.drag-over {
  border-top: 3px solid #1e88e5;
}

.drag-handle {
  color: #999;
  margin-right: 8px;
  cursor: grab;
  font-size: 14px;
}

.drag-handle:hover {
  color: #666;
}

.destination-number {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1e88e5;
  color: white;
  text-align: center;
  line-height: 18px;
  font-size: 10px;
  font-weight: bold;
  flex-shrink: 0;
}

.destination-info {
  flex: 1;
}

.destination-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
  font-size: 13px;
  line-height: 1.2;
}

.destination-location {
  font-size: 11px;
  color: #666;
  margin-bottom: 4px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.destination-dates {
  font-size: 10px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
}

.destination-activity {
  display: inline-block;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
  color: white;
  margin: 0;
  white-space: nowrap;
}

.editable-duration {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 1px 3px;
  font-size: 11px;
  color: #888;
  width: 45px;
  text-align: center;
}

.editable-duration:hover {
  border-color: #ddd;
  background: white;
}

.editable-duration:focus {
  outline: none;
  border-color: #1e88e5;
  background: white;
}

.destination-notes {
  margin-top: 6px;
}

.editable-notes {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 11px;
  color: #666;
  width: 100%;
  resize: vertical;
  min-height: 0;
  height: auto;
  max-height: 200px;
  overflow-y: auto;
  font-family: inherit;
  line-height: 1.3;
  box-sizing: border-box;
}

.editable-notes:hover {
  border-color: #ddd;
  background: white;
}

.editable-notes:focus {
  outline: none;
  border-color: #1e88e5;
  background: white;
}

.editable-notes::placeholder {
  color: #999;
  font-style: italic;
}

.delete-destination-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border: none;
  background: #f44336;
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s;
}

.destination-item:hover .delete-destination-btn {
  opacity: 1;
}

.delete-destination-btn:hover {
  background: #d32f2f;
}

/* Compact Mode Toggle */
.compact-mode-toggle {
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px 8px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #666;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.compact-mode-toggle:hover {
  background: #f0f0f0;
  border-color: #bbb;
  color: #333;
}

.compact-mode-toggle.active {
  background: #1e88e5;
  border-color: #1e88e5;
  color: white;
}

.compact-icon {
  display: inline-block;
  font-weight: bold;
}

/* Compact Mode Styles */
.destination-list.compact-mode .destination-item {
  padding: 4px 8px;
  gap: 4px;
}

.destination-list.compact-mode .destination-number {
  width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 9px;
}

.destination-list.compact-mode .drag-handle {
  font-size: 12px;
  margin-right: 4px;
}

.destination-list.compact-mode .destination-name {
  font-size: 12px;
  margin-bottom: 2px;
}

.destination-list.compact-mode .destination-location {
  font-size: 10px;
  margin-bottom: 2px;
}

.destination-list.compact-mode .destination-dates {
  font-size: 9px;
}

.destination-list.compact-mode .destination-activity {
  font-size: 9px;
  padding: 1px 4px;
}

.destination-list.compact-mode .editable-duration {
  font-size: 10px;
  width: 40px;
}

/* Hide notes in compact mode */
.destination-list.compact-mode .destination-notes {
  display: none;
}

.destination-list.compact-mode .editable-notes {
  display: none;
}

.destination-list.compact-mode .delete-destination-btn {
  width: 18px;
  height: 18px;
  font-size: 12px;
  top: 4px;
  right: 4px;
}

.destination-list.compact-mode .date-lock-toggle {
  font-size: 14px;
}

/* Hide locked date pickers in compact mode */
.destination-list.compact-mode .locked-date-pickers {
  display: none !important;
}

/* Hide cost details and affordances in compact mode */
.destination-list.compact-mode .destination-cost-summary {
  display: none;
}

.destination-list.compact-mode .destination-cost-details {
  display: none;
}

.destination-list.compact-mode .destination-cost-missing {
  display: none;
}

.destination-list.compact-mode .update-costs-btn {
  display: none;
}

.destination-list.compact-mode .cost-category {
  display: none;
}

.destination-list.compact-mode .transport-segment {
  padding: 4px 8px;
}

.destination-list.compact-mode .transport-segment-icon {
  font-size: 14px;
  margin-right: 4px;
}

.destination-list.compact-mode .transport-segment-route {
  font-size: 11px;
}

.destination-list.compact-mode .transport-segment-details {
  font-size: 9px;
}

.destination-list.compact-mode .transport-segment-cost {
  font-size: 10px;
}

/* Unified Filter Section */
.unified-filter-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scenario-name-compact {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 200px;
}

.filter-select-compact {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 12px;
  cursor: pointer;
  height: 28px;
  box-sizing: border-box;
  min-width: 80px;
  flex-shrink: 0;
}

.filter-select-compact:focus {
  outline: none;
  border-color: #1e88e5;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.1);
}

.add-destination-bar-btn {
  padding: 4px 8px;
  border: 1px solid #1e88e5;
  border-radius: 4px;
  background: #1e88e5;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  height: 28px;
  min-width: 28px;
  flex-shrink: 0;
}

.transport-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  height: 28px;
  box-sizing: border-box;
  flex-shrink: 0;
  user-select: none;
  line-height: 1;
}

.transport-toggle input {
  margin: 0;
}

.transport-toggle span {
  line-height: 1;
}

.transport-toggle input:focus-visible {
  outline: 2px solid #1e88e5;
  outline-offset: 1px;
}

.add-destination-bar-btn:hover {
  background: #1565c0;
  border-color: #1565c0;
}

.add-destination-bar-btn:active {
  transform: scale(0.95);
}

.scenario-actions-btn-compact {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #666;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  height: 28px;
  min-width: 28px;
  flex-shrink: 0;
}

.scenario-actions-btn-compact:hover {
  background: #e9ecef;
  border-color: #999;
  color: #333;
}

.scenario-actions-btn-compact.active {
  background: #e3f2fd;
  border-color: #1e88e5;
  color: #1e88e5;
}

.btn-summary {
  padding: 6px 12px;
  background: #1e88e5;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-summary:hover {
  background: #1565c0;
}

.btn-summary:active {
  background: #0d47a1;
}

/* Scenario Section */
.scenario-section {
  padding: 4px 12px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

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

.scenario-label {
  font-size: 11px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.save-indicator {
  font-size: 12px;
  color: #27ae60;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.save-indicator.show {
  opacity: 1;
}

.scenario-controls {
  display: flex;
  gap: 4px;
  align-items: center;
}

/* scenario-selector removed; using scenario-name-display */

.scenario-actions-btn {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #666;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.scenario-actions-btn:hover {
  background: #e9ecef;
  border-color: #999;
  color: #333;
}

.scenario-actions-btn.active {
  background: #e3f2fd;
  border-color: #1e88e5;
  color: #1e88e5;
}

/* Scenario Actions Dropdown */
.scenario-section {
  position: relative;
}

.scenario-actions-dropdown {
  position: fixed;
  margin-top: 2px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000 !important;
  min-width: 200px;
  padding: 4px 0;
}

.scenario-actions-dropdown[style*="display: block"] {
  display: block !important;
}

.scenario-actions-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  transition: background 0.2s;
}

.scenario-actions-dropdown .dropdown-item:hover {
  background: #f5f5f5;
}

.scenario-actions-dropdown .dropdown-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #999;
}

.scenario-actions-dropdown .dropdown-item:disabled:hover {
  background: transparent;
}

.scenario-actions-dropdown .dropdown-item .icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.scenario-actions-dropdown .dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 4px 0;
}

/* Position the dropdown relative to sidebar */
.sidebar {
  position: relative;
}

/* Scenario list styles */
.scenario-list {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.scenario-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 8px;
  background: white;
}

.scenario-info {
  flex: 1;
}

.scenario-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.scenario-meta {
  font-size: 12px;
  color: #666;
}

.scenario-description {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}

.scenario-actions-btn {
  display: flex;
  gap: 6px;
}

.scenario-actions-btn button {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: white;
  cursor: pointer;
  font-size: 11px;
}

.scenario-actions-btn .btn-load {
  background: #1e88e5;
  color: white;
  border-color: #1e88e5;
}

.scenario-actions-btn .btn-load:hover {
  background: #1565c0;
}

.scenario-actions-btn .btn-rename {
  background: #ff9800;
  color: white;
  border-color: #ff9800;
}

.scenario-actions-btn .btn-rename:hover {
  background: #f57c00;
}

.scenario-actions-btn .btn-delete {
  background: #f44336;
  color: white;
  border-color: #f44336;
}

.scenario-actions-btn .btn-delete:hover {
  background: #d32f2f;
}

.empty-scenarios {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-style: italic;
}

/* File input styling */
input[type="file"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 14px;
  width: 100%;
}

textarea.form-input {
  resize: vertical;
  min-height: 60px;
}

/* Add destination controls */
.add-destination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin: 4px 12px;
  border: 1px dashed #ccc;
  border-radius: 4px;
  background: transparent;
  color: #999;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}

.add-destination-btn:hover {
  border-color: #1e88e5;
  color: #1e88e5;
  background: #f8f9fa;
}

.add-destination-btn:active {
  transform: scale(0.98);
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 20px;
}

.modal-overlay .modal {
  background: white;
  border-radius: 8px;
  padding: 24px;
  min-width: 400px;
  max-width: 500px;
  width: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 100001;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  box-sizing: border-box;
}

.modal h3 {
  margin: 0 0 16px 0;
  color: #333;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  color: #555;
}

.form-input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #1e88e5;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.1);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.modal-actions button {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.modal-actions .btn-primary {
  background: #1e88e5;
  color: white;
  border-color: #1e88e5;
}

.modal-actions .btn-primary:hover {
  background: #1565c0;
}

.modal-actions .btn-secondary {
  background: white;
  color: #666;
}

.modal-actions .btn-secondary:hover {
  background: #f5f5f5;
}

/* Google Places autocomplete styling */
.pac-container {
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #ddd;
  z-index: 100002 !important; /* Must be above modal (100001) */
}

.pac-item {
  padding: 12px 16px;
  font-size: 14px;
}

.pac-item:hover {
  background: #f8f9fa;
}

label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 14px;
}

input[type="checkbox"] {
  margin: 0;
}

#summary {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}


/* Custom info window styling */
.gm-style .gm-style-iw-c {
  padding: 0;
}

.gm-style .gm-style-iw-d {
  overflow: hidden;
}


/* Info window content */
.info-window {
  min-width: 260px;
  padding: 12px 14px;
}

.info-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

.info-subtitle {
  color: #666;
  margin-bottom: 4px;
}

.info-meta {
  color: #444;
  margin-bottom: 8px;
}

.info-badge {
  display: inline-block;
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 8px;
}

.info-highlights {
  margin: 8px 0 0 18px;
  padding: 0;
}
.info-highlights li {
  margin: 2px 0;
}

/* AI Chat Interface - Integrated in Sidebar */
.chat-resizer {
  height: 4px;
  background: #ddd;
  cursor: row-resize;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.chat-resizer:hover {
  background: #1e88e5;
}

.chat-resizer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  bottom: -2px;
}

.sidebar-chat {
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 300px;
  min-height: 150px;
  max-height: 600px;
  flex-shrink: 0;
}

.chat-header-sidebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.chat-header-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-header-sidebar h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-title-display {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.chat-title-display:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.chat-title-display.editing {
  background-color: rgba(0, 0, 0, 0.1);
  outline: 1px solid rgba(0, 0, 0, 0.2);
}

/* Floating chat title (has blue background) */
.floating-chat-header .chat-title-display:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.floating-chat-header .chat-title-display.editing {
  background-color: rgba(255, 255, 255, 0.2);
  outline: 1px solid rgba(255, 255, 255, 0.3);
}

.toggle-chat-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.3s;
}

.toggle-chat-btn.collapsed {
  transform: rotate(-90deg);
}

.sidebar-chat .toggle-chat-btn {
  color: #4b5563;
  border-radius: 4px;
  padding: 4px;
}

.sidebar-chat .toggle-chat-btn:hover {
  background: rgba(30, 136, 229, 0.12);
  color: #1e88e5;
}

.chat-column .toggle-chat-btn {
  color: #555;
  border-radius: 4px;
  padding: 4px;
}

.chat-column .toggle-chat-btn:hover {
  background: rgba(30, 136, 229, 0.12);
  color: #1e88e5;
}

.undock-chat-btn, .dock-chat-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.undock-chat-btn:hover, .dock-chat-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chat-container-sidebar {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #f5f5f5;
}

.chat-container-sidebar.hidden {
  display: none;
}

.sidebar-chat.minimized {
  height: auto !important;
  min-height: 0;
  max-height: none;
  border-top: none;
  flex: 0 0 auto;
}

.sidebar-chat.minimized .chat-header-sidebar {
  padding: 6px 10px;
  background: #f0f2f5;
}

.sidebar-chat.minimized .chat-header-sidebar h4 {
  font-size: 0.8rem;
}

#chat-resizer.hidden {
  display: none;
}

.chat-messages-sidebar {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f5f5f5;
  min-height: 150px;
}

.chat-message {
  display: flex;
  gap: 8px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  flex-direction: row-reverse;
}

.message-content {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  line-height: 1.4;
  font-size: 14px;
}

.chat-message.bot .message-content {
  background: white;
  color: #333;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-message.user .message-content {
  background: #1e88e5;
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-message.loading .message-content {
  background: white;
  color: #666;
  font-style: italic;
}

.chat-input-resizer {
  height: 4px;
  background: #ddd;
  cursor: row-resize;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.chat-input-resizer:hover {
  background: #1e88e5;
}

.chat-input-resizer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  bottom: -2px;
}

.chat-form-sidebar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: white;
  border-top: 1px solid #e0e0e0;
  min-height: 60px;
  max-height: 200px;
  flex-shrink: 0;
}

#chat-input-sidebar, #floating-chat-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 16px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 36px;
  max-height: 180px;
  font-family: inherit;
}

#chat-input-sidebar:focus, #floating-chat-input:focus {
  border-color: #1e88e5;
}

#chat-send-btn-sidebar, #floating-send-btn {
  padding: 8px 16px;
  background: #1e88e5;
  color: white;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s;
  min-width: 40px;
  align-self: flex-end;
}

#chat-send-btn-sidebar:hover, #floating-send-btn:hover {
  background: #1976d2;
}

#chat-send-btn-sidebar:disabled, #floating-send-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Floating Chat Window */
.floating-chat {
  position: fixed;
  top: 20%;
  right: 50px;
  width: 400px;
  height: 500px;
  min-width: 300px;
  min-height: 300px;
  max-width: 800px;
  max-height: 80vh;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

.floating-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1e88e5;
  color: white;
  cursor: move;
  user-select: none;
}

.floating-chat-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* Resize Handles */
.resize-handle {
  position: absolute;
  background: transparent;
  z-index: 10;
}

.resize-handle-n {
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  cursor: ns-resize;
}

.resize-handle-s {
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  cursor: ns-resize;
}

.resize-handle-e {
  top: 0;
  right: 0;
  bottom: 0;
  width: 8px;
  cursor: ew-resize;
}

.resize-handle-w {
  top: 0;
  left: 0;
  bottom: 0;
  width: 8px;
  cursor: ew-resize;
}

.resize-handle-ne {
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
}

.resize-handle-nw {
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
}

.resize-handle-se {
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
}

.resize-handle-sw {
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
}

/* Chat Action Buttons */
.chat-action-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Chat History Panel */
.chat-history-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  max-width: 90vw;
  max-height: 80vh;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 10000;
}

.chat-history-panel.hidden {
  display: none;
}

.chat-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #1e88e5;
  color: white;
  border-radius: 8px 8px 0 0;
}

.chat-history-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

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

.close-history-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-history-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  min-height: 200px;
  max-height: calc(80vh - 80px);
}

.chat-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #f5f5f5;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  transition: all 0.2s;
}

.chat-history-item:hover {
  background: #e8f4fd;
  border-color: #1e88e5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-history-info {
  flex: 1;
  min-width: 0;
}

.chat-history-title-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.chat-history-title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background-color 0.2s;
  flex: 1;
  min-width: 0;
}

.chat-history-title:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.chat-history-title.editing {
  background-color: rgba(0, 0, 0, 0.1);
  outline: 1px solid rgba(0, 0, 0, 0.2);
}

.chat-history-ai-title-btn {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  border-radius: 3px;
  opacity: 0.6;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-history-ai-title-btn:hover {
  opacity: 1;
  background-color: rgba(30, 136, 229, 0.1);
  transform: scale(1.1);
}

.chat-history-ai-title-btn:active {
  transform: scale(0.95);
}

.chat-history-meta {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}

.chat-history-time {
  font-size: 11px;
  color: #888;
  font-style: italic;
}

.chat-history-actions {
  display: flex;
  gap: 8px;
  margin-left: 12px;
}

.chat-history-load-btn,
.chat-history-delete-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.chat-history-load-btn {
  background: #1e88e5;
  color: white;
}

.chat-history-load-btn:hover {
  background: #1976d2;
}

.chat-history-delete-btn {
  background: #f44336;
  color: white;
}

.chat-history-delete-btn:hover {
  background: #d32f2f;
}

.chat-history-list .loading,
.chat-history-list .empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 14px;
}

/* Sidebar Title */
.sidebar-title {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 6px 12px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  min-height: 37px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-primary {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.header-secondary {
  font-size: 0.75rem;
  font-weight: 400;
  color: #999;
  line-height: 1.2;
  margin-top: 1px;
}

/* Chat Column */
.chat-column {
  width: 350px;
  min-width: 250px;
  max-width: 600px;
  background: white;
  border-left: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-column-resizer {
  width: 4px;
  background: #ddd;
  cursor: col-resize;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.chat-column-resizer:hover {
  background: #1e88e5;
}

.chat-column-resizer::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 0;
  bottom: 0;
}

#chat-column-resizer.hidden {
  display: none;
}

.chat-column.collapsed .chat-column-header .header-content,
.chat-column.collapsed .chat-column-header .chat-menu-btn {
  display: none;
}

.chat-column.collapsed .chat-column-header {
  justify-content: center;
  padding: 6px;
}

.chat-column.collapsed .chat-container-column {
  display: none;
}

.chat-column-header {
  position: relative;
  padding: 6px 12px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 37px;
}

.chat-column-header .header-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.chat-column-header h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.chat-container-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.chat-messages-column {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-form-column {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.chat-form-column input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.chat-form-column button {
  padding: 8px 16px;
  background: #1e88e5;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
}

.chat-form-column button:hover {
  background: #1565c0;
}

.column-chat-btn,
.undock-chat-btn {
  padding: 4px 8px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.2s;
}

.column-chat-btn:hover,
.undock-chat-btn:hover {
  background: #e9ecef;
  border-color: #999;
  color: #333;
}

/* Chat Menu Button and Dropdown */
.chat-menu-btn {
  padding: 4px 8px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  transition: all 0.2s;
}

.chat-menu-btn:hover {
  background: #e9ecef;
  border-color: #999;
  color: #333;
}

.chat-menu-dropdown {
  position: absolute;
  bottom: 100%;
  right: 8px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
  margin-bottom: 4px;
}

/* Column header dropdown should appear below since header is at top */
.chat-column-header .chat-menu-dropdown {
  top: 100%;
  bottom: auto;
  margin-top: 4px;
  margin-bottom: 0;
}

.chat-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  text-align: left;
  transition: background 0.2s;
}

.chat-menu-item:hover {
  background: #f8f9fa;
}

.chat-menu-item .icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* ============================================
   Transport Segment Styles
   ============================================ */

.transport-segment {
  position: relative;
  margin: 8px 0;
  padding: 0 12px;
}

.transport-segment-line {
  position: absolute;
  left: 42px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #ddd 0%, #ddd 50%, transparent 50%, transparent 100%);
  background-size: 4px 8px;
}

.transport-segment-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-left: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.transport-segment-content:hover {
  background: #f0f2f5;
  border-color: #3498db;
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.1);
}

.transport-segment-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.transport-segment-info {
  flex: 1;
  min-width: 0;
}

.transport-segment-route {
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transport-segment-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7f8c8d;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.transport-segment-details span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.transport-mode {
  text-transform: capitalize;
  font-weight: 500;
}

.transport-distance::before {
  content: "•";
  margin-right: 4px;
}

.transport-duration::before {
  content: "•";
  margin-right: 4px;
}

.transport-segment-cost {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

.transport-segment-cost .cost-amount {
  color: #3498db;
}

.confidence-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.transport-segment-notes {
  font-size: 12px;
  color: #7f8c8d;
  margin-top: 4px;
  font-style: italic;
}

.transport-segment-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.transport-edit-btn,
.transport-research-btn {
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.transport-edit-btn:hover {
  background: #3498db;
  border-color: #3498db;
  transform: scale(1.05);
}

.transport-research-btn:hover {
  background: #f39c12;
  border-color: #f39c12;
  transform: scale(1.05);
}

/* Compact view for transport segments */
.transport-segment.compact .transport-segment-details,
.transport-segment.compact .transport-segment-notes {
  display: none;
}

/* Status-based styling */
.transport-segment[data-booking-status="booked"] .transport-segment-content {
  border-left: 4px solid #27ae60;
}

.transport-segment[data-booking-status="researched"] .transport-segment-content {
  border-left: 4px solid #3498db;
}

.transport-segment[data-booking-status="estimated"] .transport-segment-content {
  border-left: 4px solid #95a5a6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .transport-segment-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .transport-segment-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .transport-segment-route {
    white-space: normal;
  }
}

/* ============================================
   Transport Modal Styling
   ============================================ */

.transport-modal {
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.transport-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-section {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.form-section:first-of-type {
  padding-top: 0;
}

.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.section-title {
  margin: 0 0 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #34495e;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #7f8c8d;
  font-style: italic;
  margin-top: 4px;
}

.form-input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-input:disabled {
  background-color: #f5f5f5;
  color: #7f8c8d;
  cursor: not-allowed;
}

.form-input::placeholder {
  color: #bdc3c7;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #e0e0e0;
}

/* Responsive modal */
@media (max-width: 768px) {
  .transport-modal {
    max-width: 95vw;
    margin: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions button {
    width: 100%;
  }
}

/* Date Locking Styles */
.destination-locked {
  border-left: 4px solid #ffc107 !important;
  background: #fffef7 !important;
}

.date-lock-toggle {
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}

/* Show lock button when destination is locked */
.destination-locked .date-lock-toggle {
  opacity: 1;
  pointer-events: auto;
}

/* Show lock button on hover for unlocked destinations */
.destination-item:hover .date-lock-toggle {
  opacity: 1;
  pointer-events: auto;
}

/* Full opacity when hovering the button itself */
.date-lock-toggle:hover {
  transform: scale(1.1);
}

.locked-date-pickers {
  background: #fff9e6;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ffe082;
}

.locked-date-pickers input[type="date"] {
  font-size: 12px;
  font-family: inherit;
}

.locked-date-pickers input[type="date"]:focus {
  outline: none;
  border-color: #ffc107;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

.editable-duration:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

#date-conflict-warnings {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Markdown Styling for Chat Messages
   ============================================ */

/* Base markdown paragraph styling */
.md-paragraph {
  margin: 0 0 8px 0;
  line-height: 1.5;
  color: inherit;
}

.md-paragraph:last-child {
  margin-bottom: 0;
}

/* Headers */
.md-h1, .md-h2, .md-h3 {
  margin: 12px 0 8px 0;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
}

.md-h1 {
  font-size: 1.4em;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 4px;
}

.md-h2 {
  font-size: 1.2em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 2px;
}

.md-h3 {
  font-size: 1.1em;
}

.md-h1:first-child, .md-h2:first-child, .md-h3:first-child {
  margin-top: 0;
}

/* Bold and italic text */
.md-bold {
  font-weight: 600;
  color: inherit;
}

.md-italic {
  font-style: italic;
  color: inherit;
}

/* Lists */
.md-list {
  margin: 8px 0;
  padding-left: 20px;
  color: inherit;
}

.md-li {
  margin: 4px 0;
  line-height: 1.4;
}

.md-li:last-child {
  margin-bottom: 0;
}

/* Code blocks */
.code-block {
  background: #f8f9fa;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 12px;
  margin: 8px 0;
  overflow-x: auto;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 13px;
  line-height: 1.4;
  color: #24292e;
}

.code-block code {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: inherit;
  color: inherit;
}

/* Inline code */
.inline-code {
  background: rgba(175, 184, 193, 0.2);
  border: 1px solid rgba(175, 184, 193, 0.4);
  border-radius: 3px;
  padding: 2px 4px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9em;
  color: #d73a49;
}

/* Line breaks */
.md-br {
  display: block;
  margin: 4px 0;
  content: "";
}

/* Bot message specific markdown styling */
.chat-message.bot .message-content .md-h1,
.chat-message.bot .message-content .md-h2,
.chat-message.bot .message-content .md-h3 {
  color: #2c3e50;
}

.chat-message.bot .message-content .md-bold {
  color: #2c3e50;
}

.chat-message.bot .message-content .code-block {
  background: #f1f3f4;
  border-color: #dadce0;
  color: #202124;
}

.chat-message.bot .message-content .inline-code {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: #c7254e;
}

/* User message specific markdown styling (keep it simple) */
.chat-message.user .message-content .md-bold {
  color: white;
  font-weight: 600;
}

.chat-message.user .message-content .md-italic {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.chat-message.user .message-content .inline-code {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95);
}

.chat-message.user .message-content .code-block {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

/* Cost update button states */
.update-costs-btn.update-costs-btn--sent {
  opacity: 0.65;
  cursor: progress;
}

.update-costs-btn.update-costs-btn--complete {
  background-color: #2563eb;
  color: #fff;
  border-color: #1d4ed8;
}

/* Responsive adjustments for markdown */
@media (max-width: 768px) {
  .md-h1 {
    font-size: 1.3em;
  }
  
  .md-h2 {
    font-size: 1.15em;
  }
  
  .md-h3 {
    font-size: 1.05em;
  }
  
  .code-block {
    font-size: 12px;
    padding: 10px;
  }
  
  .md-list {
    padding-left: 16px;
  }
}
