body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  padding: 1rem;
}

.top-bar, header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.spinner {
  text-align: center;
  margin: 1rem 0;
  font-size: 1.2rem;
  color: #666;
  display: none;
}

.spinner.visible {
  display: block;
}

#posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.post {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post img {
  width: 100%;
  height: auto;
}

.post-content {
  padding: 1rem;
}

.read-more a {
  color: #007aff;
  text-decoration: none;
}

button.schedule {
  background: #007aff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  border-radius: 5px;
}

input#search {
  display: none;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input#search.visible {
  display: inline-block;
}

button.active {
  background-color: #007aff;
  color: white;
}

.login-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.login-container input {
  width: 90%;
  padding: 0.5rem;
  margin: 0.5rem 0;
}
