/* Dark theme styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #e2e2e2;
  background-color: #121212;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #1e1e1e;
  padding: 20px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #333;
}

header h1 {
  margin: 0;
}

header a {
  color: #6e9fff;
  text-decoration: none;
}

main {
  min-height: 90vh;
}

.private-notice, .thesis-box, .audience-box, .principles-box {
  background-color: #2d2d2d;
  border-left: 4px solid #6e9fff;
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 0 4px 4px 0;
}

.private-notice p, .thesis-box p {
  margin: 0;
  color: #f0f0f0;
}

.thesis-box {
  border-left-color: #4CAF50;
}

.audience-box {
  border-left-color: #FFC107;
}

.principles-box {
  border-left-color: #ff6e9f;
}

.thesis-box h3, .audience-box h3, .principles-box h3 {
  margin-top: 0;
  color: #ffffff;
}

.audience-box ol, .principles-box ul {
  margin-bottom: 0;
  padding-left: 20px;
}

/* Progress indicators */
.progress-indicator {
  display: inline-block;
  margin-right: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.complete {
  background-color: #4CAF50;
}

.in-progress {
  background-color: #FFC107;
}

.not-started {
  background-color: #757575;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #ffffff;
}

h1 { font-size: 2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.5em; }

a {
  color: #6e9fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #8fb3ff;
}

/* Code formatting */
pre, code {
  font-family: Consolas, Monaco, monospace;
  background-color: #2d2d2d;
  border-radius: 3px;
  font-size: 0.9em;
  color: #e2e2e2;
}

code {
  padding: 0.2em 0.4em;
}

pre {
  padding: 16px;
  overflow: auto;
}

pre code {
  padding: 0;
  background-color: transparent;
}

/* Chapter list */
.chapter-list {
  list-style: none;
  padding: 0;
}

.chapter-list li {
  margin-bottom: 8px;
}

.chapter-title {
  font-weight: 500;
  color: #ffffff;
}

.section-list {
  list-style: none;
  padding-left: 20px;
  margin-top: 5px;
}

.section-list li {
  margin-bottom: 5px;
  color: #b8b8b8;
}

/* Status labels */
.status-label {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8em;
  margin-left: 8px;
  font-weight: normal;
}

.status-completed {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.status-in-progress {
  background-color: rgba(255, 193, 7, 0.2);
  color: #FFC107;
}

.status-not-started {
  background-color: rgba(117, 117, 117, 0.2);
  color: #b8b8b8;
}

/* Post styles */
.post {
  margin-bottom: 40px;
}

.post .chapter-title {
  color: #ffffff;
  font-size: 2em;
  margin-bottom: 30px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 4px;
}