:root {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell',
    'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light;
  color: rgba(0, 0, 0, 0.87);
  background-color: #ffffff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body,
#root {
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
  display: flex;
  min-width: 320px;
  min-height: 100vh;
}

#root {
  width: 100%;
}
.main-layout {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-header {
  background: #001529;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.main-header h1 {
  color: white;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.main-content {
  margin-top: 64px;
  margin-bottom: 48px;
  flex: 1;
  overflow: hidden;
  display: flex;
}

.main-footer {
  background: #f0f2f5;
  padding: 12px 24px;
  text-align: right;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-top: 1px solid #d9d9d9;
}

.main-footer span {
  color: #666;
  font-size: 14px;
}
.error-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 24px;
}

.error-details {
  margin-top: 24px;
  text-align: left;
  max-width: 800px;
}

.error-details details {
  background-color: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 16px;
  cursor: pointer;
}

.error-details summary {
  font-weight: 500;
  color: #595959;
  user-select: none;
  outline: none;
}

.error-details summary:hover {
  color: #262626;
}

.error-stack {
  margin-top: 12px;
  padding: 12px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #262626;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.error-stack strong {
  color: #cf1322;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body,
#root {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell',
    'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
