/* Ümumi Stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f8fa;
    color: #14171a;
    line-height: 1.6;
    padding-bottom: 70px; /* Aşağı menyu üçün yer */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Başlıq */
.main-header {
    background: white;
    border-bottom: 1px solid #e1e8ed;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 a {
    color: #1da1f2;
    text-decoration: none;
    font-size: 24px;
}

.search-bar form {
    display: flex;
}

.search-bar input {
    padding: 8px 12px;
    border: 1px solid #e1e8ed;
    border-radius: 20px 0 0 20px;
    width: 300px;
}

.search-bar button {
    background: #1da1f2;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

.top-nav a {
    color: #657786;
    margin-left: 20px;
    font-size: 20px;
    text-decoration: none;
}

.top-nav a:hover {
    color: #1da1f2;
}

/* Postlar */
.posts-container {
    max-width: 600px;
    margin: 20px auto;
}

.post {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.user-info h4 {
    margin-bottom: 5px;
}

.user-info h4 .verified-badge {
    color: #1da1f2;
    margin-left: 5px;
}

.post-time {
    color: #657786;
    font-size: 14px;
}

.post-content {
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 10px;
}

.hashtag {
    color: #1da1f2;
    text-decoration: none;
}

.hashtag:hover {
    text-decoration: underline;
}

.post-media {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.post-actions {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #e1e8ed;
    padding-top: 10px;
}

.action-btn {
    background: none;
    border: none;
    color: #657786;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.action-btn i {
    margin-right: 5px;
}

.action-btn:hover {
    background: #f5f8fa;
}

.like-btn.liked {
    color: #e0245e;
}

.comment-btn:hover {
    color: #1da1f2;
}

.repost-btn.reposted {
    color: #17bf63;
}

/* Formlar */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    font-size: 16px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #1da1f2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background: #0d8bd9;
}

.btn-secondary {
    background: #657786;
}

.btn-secondary:hover {
    background: #4a5a66;
}

/* Şərhlər */
.comments-section {
    margin-top: 15px;
    border-top: 1px solid #e1e8ed;
    padding-top: 15px;
}

.comment {
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
    background: #f5f8fa;
    border-radius: 5px;
}

.comment-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comment-author {
    font-weight: 500;
}

.comment-time {
    color: #657786;
    font-size: 12px;
}

.add-comment {
    display: flex;
    margin-top: 15px;
}

.add-comment input {
    flex: 1;
    padding: 10px;
    border: 1px solid #e1e8ed;
    border-radius: 5px 0 0 5px;
}

.add-comment button {
    background: #1da1f2;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}