.report-editor {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.editor-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Load Report Dialog */
.load-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.load-dialog {
  background: white;
  border-radius: 8px;
  width: 500px;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.load-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.load-dialog-header h2 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.load-dialog-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  line-height: 1;
}

.load-dialog-close:hover {
  color: #333;
}

.load-dialog-actions {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
}

.load-dialog-new-btn {
  padding: 8px 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.load-dialog-new-btn:hover {
  background: #5a6fd6;
}

.load-dialog-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.load-dialog-loading,
.load-dialog-empty {
  padding: 40px 20px;
  text-align: center;
  color: #999;
}

.load-dialog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.load-dialog-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}

.load-dialog-item:hover {
  background: #f8f8f8;
}

.load-dialog-item--current {
  background: #e8f0ff;
}

.load-dialog-item--current:hover {
  background: #dde8ff;
}

.load-dialog-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.load-dialog-item-name {
  font-weight: 500;
  color: #333;
}

.load-dialog-item-date {
  font-size: 12px;
  color: #999;
}

.load-dialog-item-delete {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.load-dialog-item-delete:hover {
  opacity: 1;
}
