/* Basic Reset & Font */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #1c1e21;
    margin: 0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- Navbar --- */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #dddfe2;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #0866ff;
    font-size: 24px;
    margin: 0;
}

.navbar input[type="text"] {
    border: 1px solid #dddfe2;
    border-radius: 20px;
    padding: 8px 12px;
    background-color: #f0f2f5;
}

/* --- Main Layout --- */
.main-content {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.sidebar-left, .sidebar-right {
    flex-basis: 25%;
}
.feed {
    flex-basis: 50%;
}

/* --- Sidebars --- */
.profile-box, .trends-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.trends-box ul {
    list-style: none;
    padding-left: 0;
}
.trends-box li {
    padding: 5px 0;
    font-weight: bold;
    color: #053b89;
}


/* --- Create Post Box --- */
.create-post-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#post-form {
    display: flex;
    flex-direction: column;
}

#post-text {
    width: 95%;
    border: none;
    border-bottom: 1px solid #dddfe2;
    padding: 10px;
    font-size: 16px;
    resize: none;
    margin-bottom: 10px;
}
#post-text:focus {
    outline: none;
}

.btn {
    background-color: #0866ff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-end;
}
.btn:hover {
    background-color: #0653d1;
}

/* --- Post Feed --- */
.post {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.post-header div {
    display: flex;
    flex-direction: column;
}
.post-header strong {
    font-size: 15px;
}
.post-time {
    font-size: 13px;
    color: #65676b;
}
.post-content {
    margin: 10px 0;
}