body {
  font-family: Arial, sans-serif;
  background-color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tabs button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.tabs button:hover {
  background-color: #0056b3;
}

.tab-content {
  display: none;
}

.tab-content form {
  display: flex;
  flex-direction: column;
}

.tab-content form input {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.tab-content form button {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.tab-content form button:hover {
  background-color: #218838;
}

#parent-username-status, #child-username-status {
  margin-top: -10px;
  margin-bottom: 10px;
  font-size: 0.9em;
}

#post-content {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
  box-sizing: border-box;
}

#post-button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 100%;
  margin-bottom: 20px;
}

#post-button:hover {
  background-color: #0056b3;
}

#posts-container {
  margin-top: 20px;
}

.post {
  padding: 16px;
  border-bottom: 1px solid #ddd;
  background-color: rgba(255, 255, 255, 0.9); /* Changed to white */
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Added subtle shadow for separation */
}

.post:last-child {
  border-bottom: none;
}

.post-header {
  display: flex;
  align-items: center;
}

.post-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
}

.post-info {
  flex: 1;
}

.post-info h2 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.post-info p {
  margin: 4px 0;
  font-size: 14px;
  color: #666;
}

.post-content {
  margin-top: 8px;
}

.post-content p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  word-wrap: break-word;
}

.post-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.action-btn {
  background-color: transparent;
  border: none;
  color: #1da1f2;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 14px;
}

.action-btn:hover {
  background-color: #e8f5fe;
  border-radius: 5px;
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 10px;
  }
  
  .tabs button {
    padding: 8px 15px;
    font-size: 15px;
  }

  .post {
    padding: 12px;
  }
  
  .post-header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .post-info h2 {
    font-size: 14px;
  }
  
  .post-info p {
    font-size: 12px;
  }
  
  .post-content p {
    font-size: 14px;
  }
  
  .action-btn {
    padding: 4px 8px;
    font-size: 12px;
  }

  #post-button {
    font-size: 14px;
    padding: 8px 15px;
  }
}

.post {
  background-color: #ffffff;
}

.post {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.verified-icon {
  width: 5px;
  height: 5px;
  margin-left: 5px;
}