/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

#app {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#auth,
#tweet-section {
  display: flex;
  flex-direction: column;
}

/* Tweet section styles */
#tweet-header {
  display: flex;
  flex-direction: column;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

#search-bar input {
  width: calc(100% - 22px);
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

#sort-options select {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

#tweet-feed {
  margin-bottom: 20px;
}

.tweet {
  padding: 15px;
  border-bottom: 1px solid #ddd;
}

.tweet-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tweet-header strong {
  font-size: 1.2em;
}

.tweet p {
  margin: 0;
}

.tweet-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.tweet-actions button {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  background-color: #eee;
  color: #333;
}

.tweet-actions button:hover {
  background-color: #ddd;
}

.tweet-actions .like-button {
  background-color: #ff6b6b;
  color: #fff;
}

.tweet-actions .like-button.liked {
  background-color: #ff4757;
}

.tweet-actions .comment-button {
  background-color: #1e90ff;
  color: #fff;
}

.comment-section {
  margin-top: 10px;
}

.comment {
  padding: 5px;
  border-top: 1px solid #ddd;
}

.comment strong {
  display: block;
  margin-bottom: 5px;
}

#pagination {
  text-align: center;
  margin-top: 20px;
}

#pagination button {
  margin: 0 5px;
}
