body {
  font-family: system-ui, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

button {
  background: #0366d6;
  color: #fff;
  border: none;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #024ea2;
}

input {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.4rem;
}

input:focus {
  outline: none;
  border-color: #0366d6;
  box-shadow: 0 0 0 2px rgba(3, 102, 214, 0.2);
}

.container {
  max-width: 1000px;
  min-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

nav a {
  color: #0366d6;
  text-decoration: none;
  margin-right: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

section {
  margin-bottom: 2rem;
}

pre {
  font-family: monospace;
  background: #f6f8fa;
  border: 1px solid #ddd;
  padding: 0.5rem;
  overflow-y: auto;
}

#file-content {
  max-height: 300px;
}

ul#files {
  list-style: none;
  padding: 0;
}

ul#files li {
  padding: 0.25rem 0;
}

.file-name {
  cursor: pointer;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.file-date {
  font-size: 0.8rem;
  color: #666;
  margin-left: 0.5rem;
}

.file-name:hover {
  text-decoration: underline;
}

.auth-info {
  margin-top: 0.5rem;
}

#login-form {
  display: flex;
  margin-bottom: 1rem;
  gap: 0.5rem;
}
#logout-button {
  display: inline-block;
  margin-bottom: 1rem;
}

.auth-status {
  margin-bottom: 1rem;
  font-weight: bold;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f6f8fa;
  padding: 0.5rem;
  text-align: center;
  border-top: 1px solid #ddd;
}

#accept-cookies {
  margin-left: 1rem;
  padding: 0.25rem 0.5rem;
}

/* New navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0366d6;
  color: #fff;
  padding: 0.5rem 1rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin-right: 0.5rem;
}

.navbar a:hover {
  text-decoration: underline;
}

.nav-links {
  display: flex;
  align-items: center;
  background: #f6f8fa;
  padding: 0.5rem 1rem;
}

.nav-links a {
  margin-right: 1rem;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.api-name {
  font-weight: bold;
  margin-right: 1rem;
}

#login-form {
  display: flex;
  margin-bottom: 0;
  gap: 0.25rem;
}

#logout-button {
  margin-bottom: 0;
}

.auth-status {
  margin-bottom: 0;
  font-weight: bold;
}

.blog-manager {
  display: flex;
  gap: 1rem;
}

.feeds-column {
  flex: 0 0 35%;
  border-right: 1px solid #ddd;
  padding-right: 1rem;
}

#feeds-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

 .feed-item:hover {
   background: #f0f4ff;
 }

 .feed-item.active {
   background: #e6f0ff;
 }

.feed-name {
  flex: 1;
}

.feed-name:hover {
  text-decoration: underline;
}

.feed-actions button {
  margin-left: 0.25rem;
}

.editor-column {
  flex: 0 0 65%;
  padding-left: 1rem;
}

.feeds-header {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .blog-manager {
    flex-direction: column;
  }
  .feeds-column {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-right: 0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .editor-column {
    flex: 0 0 100%;
  padding-left: 0;
  }
}

