﻿.post.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.add-comment {
    padding: 1rem;
    background: var(--lighter-background);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-text {
    min-height: 80px;
    /*        border: 1px solid #ced4da;
*/ border-radius: 4px;
    padding: 0.5rem;
}

.comment-actions {
    gap: 0.5rem;
}

.emoji-picker-button {
    padding: 0.25rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.btn-add-comment {
    padding: 0.25rem 1rem;
    height: fit-content;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.comment-item {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 0.75rem;
    background: var(--lighter-background);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

    .comment-item img {
        width: 32px;
        height: 32px;
        object-fit: cover;
    }

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.comment-p {
    font-weight: 400;
    font-size: 0.5rem;
    margin-bottom: 0.25rem;
}

.comment-text-content {
    font-size: 0.95rem;
    color: #333;
}

.comment-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

/*tag user*/
.mention-textarea {
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    resize: none;
    background-color: var(--bg-color);
    border: 1px solid #dbdbdb;
}

.tribute-container {
    z-index: 9999 !important;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
}
    .tribute-container li.highlight {
        background: var(--bg-color-shade2) !important;
    }
/*tag user*/

.btn-comment {
    color: var(--text-color);
}
.btn-share {
    color: var(--text-color);
}
.btn-like {
    color: var(--text-color);
}



.media-viewer {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

    .media-viewer img,
    .media-viewer iframe,
    .media-viewer video {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /*menu-items*/
.media-container {
    /*      margin: 10px;
        display: inline-block;
        vertical-align: top;*/
    max-height: 600px;
}

    .media-container img, .media-container video {
        width: 100%;
        height: auto;
    }

.media-row {
    text-align: center;
}

.moreOption-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    float: right;
}

    .moreOption-button svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

/*.dropdown-wrapper {
        position: relative;
        display: inline-block;
        margin-bottom: 10px;*/ /* Space between multiple dropdowns */
/*}*/

/* Make sure the dropdown menu is hidden by default */
.dropdown-menu {
    /*display: none;*/
    position: absolute; /* Position relative to the nearest positioned ancestor */
    top: 6%; /* Position directly below the button */
    left: 53%; /* Position directly to the right of the button */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 1000;
}

    /* Show the dropdown menu when the 'show' class is added */
    .dropdown-menu.show {
        display: block !important;
    }

/* Style for menu items */
.menu-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item:hover {
        background-color: var(--hover);
    }

    .menu-item i {
        margin-right: 10px;
        font-size: 18px;
    }
    /*menu-items*/


/*.emoji {
    font-size: 24px;
    margin: 5px;
    cursor: pointer;
}*/

@media only screen and (max-width: 479px) {
    .btn-group-sm > .btn, .btn-sm {
/*        padding: 0.25rem 0.5rem;
        font-size: .875rem;
        line-height: 1.5;
        border-radius: -0.8rem;*/
        /* width: 91% !important; */
        height: 35px !important;
    }
    .emojiPicker {
        width: 163px !important;
    }
    .emoji {
        font-size: 13px !important;
        margin: 4px !important;
        cursor: pointer;
    }
}


.carousel-slide {
    flex: 0 0 100%;
    position: relative;
    background: #f9f9f9;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 460px; /* Set fixed or relative height */
}
    .carousel-slide img,
    .carousel-slide video,
    .carousel-slide audio {
        max-width: 100%;
        max-height: 100%;
        border-radius: 8px;
        display: block;
    }


