/* GitHub Dark Theme */

/* Base Styles */
html {
  font-size: 16px;
  line-height: 1.5;
  color: #c9d1d9;
  background-color: #0d1117;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  margin: 0;
  padding: 0;
}

a {
  color: #58a6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #c9d1d9;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.25em;
}

p {
  margin-top: 0;
  margin-bottom: 16px;
  color: #c9d1d9;
}

/* Code and Preformatted Text */
code, pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 14px;
  background-color: #161b22;
  border-radius: 6px;
  padding: 0.2em 0.4em;
  color: #c9d1d9;
}

pre {
  padding: 16px;
  overflow: auto;
  line-height: 1.45;
  background-color: #161b22;
  border-radius: 6px;
}

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

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

th, td {
  padding: 6px 13px;
  border: 1px solid #30363d;
}

th {
  background-color: #161b22;
  font-weight: 600;
  color: #c9d1d9;
}

td {
  color: #c9d1d9;
}

/* Blockquotes */
blockquote {
  margin: 0;
  padding: 0 1em;
  color: #8b949e;
  border-left: 0.25em solid #30363d;
}

/* Lists */
ul, ol {
  padding-left: 2em;
  margin-top: 0;
  margin-bottom: 16px;
}

li {
  margin-bottom: 0.25em;
  color: #c9d1d9;
}

/* Buttons */
button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  color: #c9d1d9;
  background-color: #21262d;
  border: 1px solid rgba(240, 246, 252, 0.1);
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #30363d;
}

button:active {
  background-color: #161b22;
}

/* Forms */
input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  padding: 6px 12px;
  color: #c9d1d9;
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
}

input:focus, textarea:focus, select:focus {
  border-color: #58a6ff;
  outline: none;
}

/* Alerts */
.alert {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.alert-success {
  background-color: #132a13;
  border: 1px solid #238636;
  color: #c9d1d9;
}

.alert-warning {
  background-color: #2d2005;
  border: 1px solid #f9c713;
  color: #c9d1d9;
}

.alert-error {
  background-color: #2d0a0a;
  border: 1px solid #f85149;
  color: #c9d1d9;
}

/* Containers */
.container {
  max-width: 1012px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Navigation */
.navbar {
  background-color: #161b22;
  border-bottom: 1px solid #30363d;
  padding: 16px;
}

.navbar a {
  color: #c9d1d9;
  margin-right: 16px;
}

.navbar a:hover {
  text-decoration: none;
  color: #58a6ff;
}

/* Footer */
.footer {
  background-color: #161b22;
  border-top: 1px solid #30363d;
  padding: 16px;
  text-align: center;
  color: #8b949e;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: #8b949e;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-16 {
  margin-top: 16px;
}

.mb-16 {
  margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }

  .navbar {
    padding: 8px;
  }

  .footer {
    padding: 8px;
  }
}
