  /* General Reset and Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    color: #262626;
}

a {
    text-decoration: none;
    color: inherit;
}

.topnav {
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    border-bottom: 1px solid #dbdbdb;
    padding: 10px 0;
}

.topnav a {
    margin: 0 15px;
    font-size: 16px;
    color: #262626;
    font-weight: bold;
}

.topnav a.active {
    border-bottom: 2px solid #0095f6;
}

.feed-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

h2 {
    font-size: 20px;
    margin: 20px 0;
    font-weight: bold;
}

form {
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    margin-bottom: 10px;
    resize: vertical;
}

input[type="file"] {
    display: block;
    margin: 10px 0;
}

button {
    background-color: #0095f6;
    border: none;
    color: white;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #007bb5;
}

.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-slide {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
}

.post-image {
    max-width: 100%;
    border-radius: 8px;
    margin: 10px 0;
}

.like-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #262626;
}

.like-button.liked {
    color: #ed4956; /* Instagram red */
}

.like-button.not-liked {
    color: #262626;
}

.comment {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #dbdbdb;
}

.comment p {
    margin: 5px 0;
}

.comment textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
    font-size: 14px;
}

.comment button {
    background-color: #0095f6;
    border: none;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.comment button:hover {
    background-color: #007bb5;
}

input[type="hidden"] {
    display: none;
}

/* Pagination Styles for Swiper */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
}

.swiper-pagination-bullet {
    background: #0095f6;
}

.swiper-pagination-bullet-active {
    background: #007bb5;
}
