.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 99999999999;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px;
}

.modal-content.small {
    margin-top: 20px;
    width: 30%;
}

.modal-content.medium {
    margin-top: 20px;
    width: 50%;
}

.modal-content.large {
    width: 80%;
    margin-top: 20px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-header .close{
    border: none;
    background-color: unset;
}



@media only screen and (max-width: 991px) {
    .modal-content.large {
        width: 100%;
    }
    .modal-content.medium {
        width: 100%;
    }
    .modal-content.small {
        width: 100%;
    }
}









.unique-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.unique-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    background: #fff;
    width: 50%;
    max-width: 600px;
    transition: right 0.3s ease;
    z-index: 2;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.unique-sidebar.unique-active {
    right: 0;
}

.unique-overlay.unique-active {
    opacity: 1;
    visibility: visible;
}

.unique-open-btn,
.unique-close-btn {
    padding: 5px 10px;
    cursor: pointer;
    color: white;
    border: none;
    border-radius: 5px;
}

.unique-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.card-avatar-commenetaire {
    height: 50px;
    width: 50px;
    overflow: hidden;
    border-radius: 100%;
}
.card-avatar-commenetaire img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .unique-sidebar {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .unique-sidebar {
        width: 50%;
    }
}







