.main-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

body {
  background: #f0f2f5;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  margin: 0;
}

/* Profile Card */
.profile-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 400px;
  text-align: center;
  margin-bottom: 40px;
}

.profile-card h1 {
  font-size: 26px;
  margin-bottom: 20px;
}

.avatar img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ccc;
  margin-bottom: 25px;
}

.section h2 {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.section p {
  color: #444;
  font-size: 14px;
}

/* Post Feed Container */
.post-feed {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 400px;
}

/* Post Card */
.post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

/* Post Header */
.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.post-header img.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.post-meta {
  font-size: 14px;
  line-height: 1.3;
}

.timestamp {
  color: #888;
  font-size: 12px;
}

/* Post Body */
.post-content {
  margin: 15px 0;
  font-size: 15px;
}

.post-content ul {
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 8px;
}

/* Post Actions */
.post-actions {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.post-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: #555;
}

.post-actions button:hover {
  color: #1877f2;
}

/* Post Footer */
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.post-footer input[type="text"] {
  flex: 1;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.footer-icons {
  display: flex;
  gap: 10px;
  margin-left: 10px;
  font-size: 18px;
}
