@media only screen and (min-width: 1px) {
    summary {
        position: relative;
        cursor: pointer; /* Добавляем курсор указывающий на то, что элемент кликабельный */
    }

/* Показываем блок details-modal, когда details открыты */
details[open] .details-modal {
    display: block;
    pointer-events: auto;
}
/* Показываем overlay, когда details открыты */
    details[open] .details-modal-overlay {
    display: block;
    }

    .details-modal-overlay {
    display: none; /* По умолчанию скрываем overlay */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Добавляем полупрозрачный цвет фона */
    z-index: 30;
    }

    .details-modal {
        background: #ffffff;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        width: 875px;
        pointer-events: none;
        position: absolute;
        z-index: 60;
        /* top: 50%; */
        top: -300px;
        left: 20px;
        /* transform: translate(-50%, -50%); */
        text-align: left;
        /* max-height: 1000px; */
        height: 250px;
        display: flex;
        flex-direction: column;
        padding: 20px;
}

.modall_main_butt_dell{
    margin: 0px;
    font-size: 25px;
    font-weight: bold;
    color: #4e7fff;
    background-color: transparent;
    border: solid 1px #4e7fff;
    border-radius: 15px;
    padding: 5px 50px 10px 70px;
    background-image: url(/static/images/chat/close.png);
    background-position-x: 10px;
    background-position-y: 5px;
    background-repeat: no-repeat;
}

.modall_main_butt_upp{
    margin: 0px;
    font-size: 25px;
    font-weight: bold;
    color: #4e7fff;
    background-color: transparent;
    border: solid 1px #4e7fff;
    border-radius: 15px;
    padding: 5px 50px 10px 70px;
    background-image: url(/static/images/chat/upp.png);
    background-position-x: 10px;
    background-position-y: 5px;
    background-repeat: no-repeat;
}

.details-modal-close {
    align-items: center;
    color: #111827;
    display: flex;
    height: 60px;
    width: 300px;
    cursor: pointer;
    position: absolute;
    left: 550px;
    /*top: 200px;*/
    background-color: #e9e9e9;
    justify-content: center;
    border-radius: 15px;
}

.details-modal-close p{
    font-size: 30px;
    font-weight: bold;
    color: #4e7fff;
}

.modal_info{
    color: #4e7fff;
    font-size: 35px !important;
    margin: 30px 0px 10px 0px !important;
}

.modal-line{
    margin: 20px 0;
    padding: 0;
    height: 0;
    border: none;
    border-top: 1px solid #333;
}

}
