.container {
    display: flex;
    flex-wrap: nowrap;
    padding: 0px;
    gap: 0px;  
    margin: 0 auto; /* This centers the container horizontally */
    background-color: #fff; /* Optional: background for the container */
}
.sidebar {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    height: calc(100vh - 40px); /* Adjust based on padding and header height */
    overflow-y: auto; /* Allow vertical scrolling if content overflows */
}
/* Hide scrollbar for WebKit browsers */
.sidebar::-webkit-scrollbar {
    display: none; /* Hide the scrollbar */
}

.left-sidebar {
    flex: 1 1 20%;
}
.content {
    flex: 1 1 60%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.right-sidebar {
    flex: 1 1 20%;
    width: 180px;
}
.profile-box {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #f72600;
    color: #ffe8e3;
}
.profile {
    display: flex;
    align-items: center;
}
.profile-img-wrapper {
    position: relative;
}
.profile-img-wrapper.large img {
    border-radius: 90%;
    width: 170px;
    height: 200px;
}
.profile-img-wrapper.small img {
    border-radius: 50%;
    width: 50px;
    height: 40px;
}
.online-status {
    border-radius: 50%;
    position: absolute;
    border: 2px solid #fff;
}
.profile-img-wrapper.large .online-status {
    width: 15px;
    height: 15px;
    bottom: 15px;
    right: 25px;
}
.profile-img-wrapper.small .online-status {
    width: 10px;
    height: 10px;
    bottom: 3px;
    right: 3px;
}
.online {
    background-color: green;
}
.offline {
    background-color: red;
}
.profile-info {
    margin-left: 15px;
}
.profile-name {
    font-size: 1.2em;
    font-weight: bold;
}
.profile-name.professional {
    font-size: 1em;
    color: #555;
    font-weight: normal;
    display: block;
    margin: 0;
}
.blood-group {
    font-size: 0.9em;
    color: #777;
}
.availability {
    font-size: 0.9em;
    color: green;
    white-space: nowrap; /* Prevent line break */
}
.not-available {
    color: red;
}
.donor-profile {
    display: flex;
    align-items: center;
    padding: 10px 0;
    text-decoration: none; /* Remove underline from links */
     
}
.donor-info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
     text-decoration: none; /* Remove underline from links */
}
hr {
    border: 0;
    height: 1px;
    background: #ddd;
}
.write-status {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.write-status textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.post {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
.post:last-child {
    border: none;
}
.post-header {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make the text bold */
}

  
.post-header img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.post-content {
    margin-top: 10px;
    padding-left:10px;
}
.btn-primary {
    background-color: #d32f2f;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-sidebar, .right-sidebar, .content {
        width: 91%;
        order: 0;
    }
    .left-sidebar {
        display: none; /* Hide left sidebar on mobile */
    }
    .right-sidebar {
        display: block; /* Ensure right sidebar is visible on mobile */
    }
}
 

/* Last name link styling */
.post-header a {
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make the text bold */
    color: #333; /* Set a default color */
}

.post-header a:hover {
    color: #d32f2f; /* Change color on hover */
}

.post-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
    margin-top: 15px;
    border-top: 1px solid #ddd;
    text-align: left;
    background-color: #fafafa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-left: 10px;
}

.post-actions a {
    color: #555;
    font-weight: bold;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 30px;
    background-color: #e7e7e7;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Remove underline */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px; /* Space between buttons */
}

.post-actions a:hover {
    background-color: #d32f2f;
    color: #fff;
    transform: scale(1.05);
}

.post-actions .like-btn:before {
    content: '👍';
    margin-right: 10px;
    font-size: 1.2em;
}

.post-actions .comment-btn:before {
    content: '💬';
    margin-right: 10px;
    font-size: 1.2em;
}

.post-actions .share-btn:before {
    content: '🔗';
    margin-right: 10px;
    font-size: 1.2em;
}

.post-actions a.like-btn.active {
    background-color: #ff5252;
    color: #fff;
    box-shadow: 0 4px 8px rgba(255, 82, 82, 0.3);
}

.post-actions a.comment-btn.active {
    background-color: #4caf50;
    color: #fff;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.post-actions a.share-btn.active {
    background-color: #03a9f4;
    color: #fff;
    box-shadow: 0 4px 8px rgba(3, 169, 244, 0.3);
}

.post-actions a.active:hover {
    transform: scale(1.1);
}

/* Popup styles for like and comment sections */
.like-popup, .comment-popup {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.like-popup {
    top: 40px; /* Adjust as needed */
    left: 0;
}

.comment-popup {
    top: 40px; /* Adjust as needed */
    left: 0;
}




/* Call to Action */
.call-to-action {
    background-color: #d32f2f;
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 20px 0;
}
.call-to-action h2 {
    margin-bottom: 20px;
}
.call-to-action .btn-primary {
    padding: 15px 30px;
    font-size: 1.2em;
}

/* Bottom Content */
.bottom-content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    margin-top: 20px;
	 text-align: center;
}
.column {
    flex: 1;
    padding: 10px;
}
.column h4 {
    margin-bottom: 10px;
}
.column ul {
    list-style: none;
    padding: 0;
}
.column ul li {
    margin-bottom: 5px;
}
.column ul li a {
    color: #333;
    text-decoration: none;
}
.column ul li a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #990000;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

