/* App.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
  background-color: #f0f2f5;
}

/* Remove old layout styles */
/*
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-container {
  flex: 1;
  padding: 20px;
}

@media (max-width: 768px) {
  .content-container {
    padding: 10px;
  }
}
*/

/* Remove or comment out #root restrictions to allow full width */
/*
#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}
*/

/* Add styles for the logo in the sidebar */
.sidebar-logo {
  height: 32px;
  margin: 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  text-align: center;
  line-height: 32px;
  color: white;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap; /* Prevent text wrap when collapsed */
}

/* Add styles for fixed sidebar and scrollable content */
.ant-layout-sider-children {
  overflow-y: hidden !important; /* Prevent sidebar content from scrolling */
}

.site-layout-background {
  overflow-y: auto;
  overflow-x: hidden; /* Hide horizontal scrollbar */
}

/* Remove the overflow: hidden that's preventing scrolling */
/* html, body {
  overflow: hidden;
} */

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .ant-layout-sider {
    position: absolute !important;
    z-index: 100;
  }

  .ant-layout-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* Remove the rule for the now-deleted .site-layout element */
/* 
.site-layout {
  flex: 1;
}
*/

/* Keep other potentially useful styles if needed, e.g., card, logo animation, etc. */
/* These might be template defaults or used elsewhere, review if needed */
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}
