* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #1e1e2e;
  color: #e0e0e0;
  min-height: 100vh;
  font-size: 13px;
  display: flex;
  flex-direction: column;
}

.editor-header {
  background: #2a2a3e;
  padding: 20px;
  border-bottom: 1px solid #3a3a4e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.editor-header h2 {
  font-size: 18px;
  font-weight: 300;
  color: #e0e0e0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.editor-header small {
  font-size: 12px;
  color: #a0a0b0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: block;
  margin-top: 5px;
}

.editor-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.editor-info {
  font-size: 12px;
  color: #a0a0b0;
  margin-right: 15px;
}

.editor-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#monaco-editor {
  flex: 1;
  min-height: 500px;
}

.editor-footer {
  background: #2a2a3e;
  padding: 15px 20px;
  border-top: 1px solid #3a3a4e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.editor-status {
  font-size: 12px;
  color: #a0a0b0;
  display: flex;
  gap: 20px;
}

button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.cancel-btn {
  background: #6b7280;
}

.cancel-btn:hover {
  background: #4b5563;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.save-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.save-btn:hover {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  color: #a0a0b0;
  font-size: 14px;
}

.error-indicator {
  color: #ef4444;
  font-weight: 500;
}

.success-indicator {
  color: #10b981;
  font-weight: 500;
}
