/* ================================================
   Global Styles
   ================================================ */

body {
  font-family: 'Prompt', sans-serif;
  padding-top: 0 !important;
  margin: 0;
  line-height: 1.6;
}

/* ================================================
   Content Area
   ================================================ */

.markdown-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ================================================
   Navigation Bar
   ================================================ */

nav.app-nav {
  padding: 0.5rem 1rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.app-name {
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

/* ================================================
   Sidebar
   ================================================ */

.sidebar {
  padding-top: 0 !important;
  top: 0 !important;
  border-right: 1px solid #eee;
}

.sidebar > h1 {
  margin: 0 !important;
  padding: 0.6rem 1rem !important;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.sidebar > h1 a {
  color: white !important;
}

.sidebar-nav {
  padding-top: 0.5rem;
}

.sidebar-nav ul {
  padding: 0;
}

.sidebar-nav li {
  margin: 0.2rem 0;
}

.sidebar-nav a {
  transition: all 0.3s ease;
}

.sidebar-nav a:hover {
  color: #667eea;
  font-weight: 500;
}

/* ================================================
   Cover Page
   ================================================ */

.cover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.cover.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.cover-main {
  text-align: center;
  color: white;
  padding: 2rem;
}

.cover h1 {
  color: white !important;
  font-size: 2.5rem !important;
  margin: 0 0 1rem 0 !important;
  font-weight: 700;
}

.cover blockquote {
  color: rgba(255, 255, 255, 0.9) !important;
  border-left: 4px solid rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

.cover ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
  display: inline-block;
}

.cover ul li {
  color: white;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  line-height: 1.8;
}

.cover a {
  background: white !important;
  color: #667eea !important;
  padding: 0.8rem 2rem !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  display: inline-block;
  margin: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
}

.cover a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cover a:active {
  transform: translateY(0);
}

.cover p {
  margin: 1rem 0;
}

/* Remove top spacing when no cover page */
main {
  padding-top: 0 !important;
}

section.content {
  padding-top: 0 !important;
}

/* ================================================
   Mobile Responsive
   ================================================ */

@media screen and (max-width: 768px) {
  /* Hide sidebar completely on mobile */
  .sidebar {
    display: none !important;
  }

  /* Hide sidebar toggle button on mobile */
  .sidebar-toggle {
    display: none !important;
  }

  /* Content area - full width on mobile */
  .content {
    left: 0 !important;
    position: relative;
    padding-left: 0;
    margin-left: 0 !important;
  }
}
