* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}


/*-----------------main---------------*/

.main {
    /* display: flex; */
    /* margin-top: 60px; */
    background: #f5f5f5;
}

.main p {
    margin-bottom: unset !important;
}

.main .left {
    /* width: 22%; */
    height: auto;
    overflow: hidden;
    overflow-y: scroll;
    background: #f5f5f5;
    padding: 20px 6px 5px 10px;
    position: sticky;
    top: 10%;
}

.main .left::-webkit-scrollbar {
    width: 7px;
}

.main .left::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #f5f5f5;
}

.main .left:hover::-webkit-scrollbar-thumb {
    background: #cccccc;
}

.main .left .img {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.main .left .img:hover {
    background: #e3e3e3;
}

.main .left .img img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin: 8px 15px 8px 0;
}

.main .left hr {
    width: 100%;
    height: 1px;
    border: 0;
    background: #cccccc;
    margin: 10px 0;
}

.main .left h2 {
    font-size: 18px;
    color: #919191;
    margin: 5px 0;
}

.main .left .edit {
    color: #45abff;
    font-size: 15px;
    float: right;
    position: relative;
    bottom: 23px;
    cursor: pointer;
    opacity: 0;
}

.main .left:hover .edit {
    opacity: 1;
}

.main .left .shortcuts {
    /* display: flex; */
    align-items: center;
    transition: 0.2s;
}

.main .left .shortcuts:hover {
    /* background: #e3e3e3; */
    cursor: pointer;
}

.main .left .shortcuts img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin: 8px 15px 8px 0;
}


.main .center {
    /* width: 50%; */
    height: auto;
    padding: 20px 20px 0 20px;
    background: #f5f5f5;
    /* margin-left: 25%; */
}

.main .center::-webkit-scrollbar {
    width: 0;
}


.main .center .my_post {
    width: 100%;
    height: auto;
    background: #fff;
    padding: 5px;
    /* border-radius: 7px; */
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

/* .main .center .my_post img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
} */

.main .center .my_post .post_top {
    display: flex;
    align-items: center;
}

.main .center .my_post .post_top input {
    width: 90%;
    padding: 10px;
    margin-left: 20px;
    border: 0;
    outline: none;
    background: #efefef;
    border-radius: 30px;
    font-size: 17px;
}

.main .center .my_post .post_top input:hover {
    background: #e3e3e3;
    cursor: pointer;
}

.main .center .my_post hr {
    width: 100%;
    height: 1px;
    background: #cccccc;
    border: 0;
    margin: 10px 0;
}

.main .center .my_post .post_bottom {
    width: 95%;
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr; */
    margin: 5px auto;
}

.main .center .my_post .post_bottom .post_icon {
    display: flex;
    /* align-items: center;
    justify-content: center; */
    margin: 0 auto;
    padding: 7px 40px;
    cursor: pointer;
}

.main .center .my_post .post_bottom .post-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 7px 40px;
    cursor: pointer;
}

.right .first_warpper .post-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 7px 40px;
    cursor: pointer;
}

.main .center .my_post .post_bottom .post-button {
    background-color: #006874;
    border-radius: 8px;
    width: 100%;
    border: 1px solid #006874;
    padding: 5px 10px;
    color: #fff;
}

.main .center .my_post .post_bottom .post-button .submit-post {
    background-color: #006874;
    border-radius: 8px;
    width: 100%;
    border: 1px solid #006874;
    padding: 5px 10px;
    color: #fff;
}

.main .center .my_post .post_bottom .post_icon:hover {
    background: #efefef;
    border-radius: 8px;
}

.main .center .my_post .post_bottom .post_icon i.red {
    font-size: 23px;
    color: red;
    margin-right: 8px;
}

.main .center .my_post .post_bottom .post_icon i.green {
    font-size: 23px;
    color: #27cc37;
    margin-right: 8px;
}

.main .center .my_post .post_bottom .post_icon i.yellow {
    font-size: 23px;
    color: #f7b928;
    margin-right: 8px;
}

.main .center .room {
    width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 7px;
    display: flex;
    align-items: center;
}

.main .center .room .room_image {
    display: flex;
    align-items: center;
    border: 1px solid #45abff;
    padding: 10px;
    border-radius: 30px;
    width: 150px;
    margin-right: 5px;
}

.main .center .room .room_image:hover {
    background: #efefef;
    cursor: pointer;
}

.main .center .room .room_image img {
    width: 25px;
    margin-right: 8px;
}

.main .center .room .room_image .room_tag {
    color: #45abff;
}

.main .center .room .room_profile img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin: 0 8px;
    border: 3px solid #45abff;
}

.main .center .friends_post {
    margin: 10px 0;
    width: 100%;
    height: auto;
    background: #fff;
    padding: 10px 15px;
    border-radius: 7px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.main .center .friends_post .friend_post_top {
    /* display: flex; */
    /* align-items: center; */
    justify-content: space-between;
    margin-bottom: 15px;
}

.main .center .friends_post .friend_post_top .img_and_name {
    display: flex;
    justify-content: space-between;
}

.profile-img {
    width: 45px;
    /* Adjust as needed */
    height: 45px;
    /* Adjust as needed */
    overflow: hidden;
    border-radius: 50%;
}

.profile-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center;
    border-radius: 5px;
    /* border: 1px solid #000; */
}

.main .center .friends_post .friend_post_top .img_and_name .friends_name .friends_name {
    font-weight: bold;
    cursor: pointer;
}

.main .center .friends_post .friend_post_top .img_and_name .friends_name .friends_name:hover {
    text-decoration: underline;
}

/* .main .center .friends_post .friend_post_top .img_and_name .friends_name .time {
    font-size: 14px;
    color: #919191;
    margin: 3px 0;
} */

.main .center .friends_post .friend_post_top .img_and_name .friends_name .time i {
    font-size: 10px;
    margin-left: 5px;
}

.main .center .friends_post .friend_post_top .menu {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.main .center .friends_post .friend_post_top .menu:hover {
    background: #efefef;
    cursor: pointer;
}

.main .center .friends_post .friend_post_top .menu i {
    line-height: 35px;
    margin-left: 8px;
    font-size: 18px;
}

/* .main .center .friends_post img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
} */

.main .center .friends_post .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.main .center .friends_post .info .emoji_img {
    display: flex;
}

.main .center .friends_post .info .emoji_img img {
    width: 20px;
    height: 20px;
}

.main .center .friends_post .info .emoji_img p {
    margin-left: 10px;
    font-size: 16px;
    color: #919191;
}

/* .main .center .comment_wrapper {
    padding: 10px;
} */

/* .main .center .comments {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
} */
/* .comment {
    display: flex;
    margin-bottom: 15px;
} */

.main .center .inner-section {
    background-color: #fff;
    border: 1.5px solid #d8d8d8;
    border-radius: 10px;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    word-wrap: break-word;
    min-height: 42px;
    box-shadow: 8px 8px 5px #888888;
}

.main .center .comment_content {
    flex-grow: 1;
}

.main .center .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}



.username {
    margin: 0;
    font-weight: bold;
    color: #000;
}

.main .center .comment_text {
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}

.main .center .comment_text textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    resize: none;
}

.main .center .buttons.inline {
    display: inline-flex;
}

.main .center button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: unset;
    /* margin-left: 10px; */
}

.main .center .author {
    font-weight: bold;
}

.comment_time {
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}

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

.timestamp {
    /* font-size: 10px; */
    color: #999;
    /* Facebook comment text color */
}

.comment-content {
    flex-grow: 1;
}

.actions button:hover {
    text-decoration: underline;
}

.edit-comment {
    width: 85%;
    height: 30px;
    padding: 20px 15px;
    background: #efefef;
    border: 1px solid #efefef;
    border-radius: 30px;
}

.divider {
    border-top: 1px solid #dadde1;
    /* Facebook comment divider color */
    margin-top: 10px;
    margin-bottom: 20px;
}

.main .center .comment_timestamp {
    color: #666;
    font-size: 12px;
}

.actions {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.comment_actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.comment_actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.comment_actions button:hover {
    background-color: #f0f2f5;
    /* Change background color on hover if needed */
    border-radius: 50%;
    /* Add border radius for circular buttons */
}

.fa-edit,
.fa-trash {
    color: #888;
    /* Change icon color if needed */
    font-size: 16px;
    /* Adjust icon size if needed */
}

/* Hover effect for delete icon */
.fa-trash:hover {
    color: #dc3545;
    /* Change icon color on hover if needed */
}

.separator {
    margin: 0 5px;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .main .center .comment {
        flex-direction: column;
    }

    .main .center .avatar {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .comment_actions {
        margin-left: auto;
    }

    .main .center .comment_actions button {
        margin-left: 0;
        margin-top: 5px;
    }
}

.main .center .comment {
    display: flex;
    margin-bottom: 20px;
}

.main .center .friends_post .info .comment p {
    padding: 0 12px;
    font-size: 15px;
    color: #919191;
}

.main .center .friends_post hr {
    width: 100%;
    height: 1px;
    background: #cccccc;
    border: 0;
    margin: 10px 0;
}

.main .center .friends_post .like {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main .center .friends_post .like .like_icon {
    display: flex;
    align-items: center;
}

.main .center .friends_post .like .like_icon i {
    font-size: 20px;
    margin-right: 8px;
    color: #919191;
}

.main .center .friends_post .like .like_icon i.activi {
    color: #45abff;
}

.main .center .friends_post .comment_warpper {
    display: flex;
    align-items: center;
}

.main .center .friends_post .comment_warpper img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin-right: 15px;
}

.main .center .friends_post .comment_warpper .circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #27cc37;
    border: 2px solid #fff;
    position: relative;
    top: 15px;
    right: 25px;
}

.main .center .comment_search {
    width: 95%;
    padding: 5px 15px;
    background: #efefef;
    border-radius: 30px;
}

.main .center .comment_search input {
    width: 85%;
    height: 30px;
    background: none;
    border: none;
    outline: none;
}

.main .center .friends_post .comment_warpper .comment_search i {
    padding: 0 5px;
    color: #919191;
}

.main .center .loard {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 50px 0;
}

.main .center .loard button {
    background: none;
    padding: 5px 20px;
    border: 1px solid #919191;
    color: #919191;
    border-radius: 5px;
    cursor: pointer;
}

.main .center .end {
    font-size: 15px;
    text-align: center;
    color: #919191;
    margin: 10px 0;
}

.main .center .end span {
    margin-left: 8px;
    color: #45abff;
}

.main .center .end span i {
    margin-right: 8px;
}


/*-----------------right------------------*/

.main .right {
    /* width: 25%; */
    height: auto;
    overflow: hidden;
    overflow-y: scroll;
    background: #f5f5f5;
    padding: 20px 10px 5px 6px;
    position: sticky;
    top: 10%;
    right: 0;
}

.main .right::-webkit-scrollbar {
    width: 7px;
}

.main .right .post-button {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 7px 40px;
    cursor: pointer;
}

.main .right .post-button {
    background-color: #006874;
    border-radius: 8px;
    width: 100%;
    border: 1px solid #006874;
    padding: 5px 10px;
    color: #fff;
}

.main .right .post-button .submit-post {
    background-color: #006874;
    border-radius: 8px;
    width: 100%;
    border: 1px solid #006874;
    padding: 5px 10px;
    color: #fff;
}

.main .right .post-button a {
    text-align: center;
}

.main .right::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #f5f5f5;
}

.main .right:hover::-webkit-scrollbar-thumb {
    background: #cccccc;
}

.comment-count p:hover {
    text-decoration: underline;
    cursor: pointer;
}

.main .right .first_warpper .page {
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
}

.main .right .first_warpper .page h2 {
    font-size: 18px;
    color: #919191;
    margin: 5px 0;
}

.main .right .first_warpper .page .menu {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.main .right .first_warpper .page .menu:hover {
    background: #efefef;
    cursor: pointer;
}

.main .right .first_warpper .page .menu i {
    line-height: 35px;
    margin-left: 8px;
    font-size: 18px;
}

.main .right .first_warpper .page_img {
    /* display: flex; */
    align-items: center;
}

.main .right .first_warpper .page_img img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin: 8px 15px 8px 0;
    cursor: pointer;
}

.main .right .first_warpper .page_icon {
    display: flex;
    align-items: center;
}

.main .right .first_warpper .page_icon i {
    color: #919191;
    font-size: 20px;
    margin: 8px 15px 8px 0;
}

.main .right hr {
    width: 100%;
    height: 1px;
    border: 0;
    background: #cccccc;
    margin: 10px auto;
}

.main .right .second_warpper h2 {
    font-size: 18px;
    color: #919191;
    margin: 5px 0;
}

.main .right .second_warpper .img_and_tag {
    display: flex;
    align-items: center;
}

.main .right .second_warpper .img_and_tag img {
    width: 40px;
    margin: 8px 15px 8px 0;
}

.main .right .second_warpper .img_and_tag p {
    line-height: 22px;
}

.main .right .second_warpper .img_and_tag p span {
    font-weight: bold;
}

.main .right .third_warpper .contact_tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main .right .third_warpper .contact_tag h2 {
    font-size: 18px;
    color: #919191;
    margin: 5px 0;
}

.main .right .third_warpper .contact_tag .contact_icon i {
    margin: 0 5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
    padding-left: 10px;
}

.main .right .third_warpper .contact_tag .contact_icon i:hover {
    background: #efefef;
    cursor: pointer;
}

.main .right .third_warpper .contact {
    display: flex;
    align-items: center;
}

.main .right .third_warpper .contact img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin: 8px 15px 8px 0;
    border: 3px solid #45abff;
    cursor: pointer;
}

/* CSS for the loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 0.6s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*  */
.cmd-wrapper {
    display: flex;
}

/* group */
.left .group {
    background-color: #fff;
    color: #111;
    margin: 10px 0;
    border-radius: 0.5rem;
    box-shadow: 0 2px
}

.left .shortcuts {
    padding: 0.5rem 3rem 0.5rem 1rem;
    /* min-height: 3.5rem; */
    line-height: 1.25rem;
    font-weight: bold;
    /* display: flex; */
    align-items: center;
    position: relative;
    cursor: pointer;
}

.main .left .shortcuts p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post_top p,
a {
    font-size: 16px !important;
}

.post_top p a {
    text-decoration: underline;
}

.group-name {
    font-size: 16px;
}

.group-content p {
    font-size: 14px;
    font-weight: 300 !important;
}

#review-section .card {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
}