.disp_block{
    background-color: white;
    margin: 30px 0;
    border-radius: 24px;
    padding: 40px;
}

    .container {
        max-width: 1200px;
        margin: 10vh auto;
        /*display: grid;*/
        grid-template-columns: 1fr 1fr;
        /*gap: 2rem;*/
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 10px;
        display: flex;
        align-items: flex-start; /* Выравнивание по верхней границе */
        gap: 16px; /* Отступ между блоками */
        height: fit-content; /* Автоматическая высота */
    }

    .post-card {
        /*background: white;*/
        padding: 2rem;
    }


    .header-post {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 1.5rem;
    }


    .status-badge {
        padding: 0.5rem 1rem;
        background: #e6f3ff;
        border-radius: 5px;
        font-size: 0.875rem;
    }

    .user-info {
        margin-bottom: 2rem;
    }

    .address, .date {
        display: flex;
        align-items: center;
        margin: 0.5rem 0;
        color: #666;
    }

    .icon {
        width: 20px;
        height: 20px;
        fill: #888;
        margin-right: 0.5rem;
    }

    .message p {
        line-height: 1.6;
        color: #333;
    }

    .action-buttons {
        margin-top: 2rem;
        display: flex;
        gap: 1rem;
    }

    .btn {
        padding: 1rem 2rem;
        border: none;
        border-radius: 5px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: Nunito, serif;
        font-size: 15px;
    }

    .interim {
        background: #2196F3;
        color: white;
    }

    .interim:hover {
        background: #1976D2;
    }

    .final {
        background: #4CAF50;
        color: white;
    }

    .final:hover {
        background: #388E3C;
    }

    .file-container {
        /*background: white;*/
        padding: 2rem;
        /*border-radius: 10px;*/
        /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
    }

    .attached-file {
        max-width: 100%;
        border-radius: 5px;
    }

.file-container.no-files {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #faeeda;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.file-container.no-files p {
    margin: 0;
    font-weight: 500;
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;     /* Расстояние от верха */
    right: 20px;   /* Расстояние от правого края */
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 1001; /* Убедитесь, что кнопка поверх изображения */
}



.modal-content {
    max-width: 90%;
    max-height: 90%;
    opacity: 0;
    transform: scale(0.9);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* Состояние активного модального окна */
.modal.active {
    display: flex;
    opacity: 1;
}

/* Состояние активного изображения */
.modal-content.active {
    opacity: 1;
    transform: scale(1);
}

.close-modal {
    color: white;
    float: right;
    font-size: 24px;
    cursor: pointer;
    margin: 10px;
    transition: color 0.2s ease;
}

.close-modal:hover {
    transform: scale(1.2);
    color: #ff4444;
}

/* Стили для кнопки полноэкранного режима */
.fullscreen-btn {
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.fullscreen-btn svg {
    margin-right: 6px;
}




.title {
    /*font-size: 24px;*/
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    position: relative;
    text-transform: uppercase;
}

.title {
    font-family: "Golos Text", serif;
    font-weight: 800;
}

/*.title::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    bottom: -5px;*/
/*    width: 4px; !* Уменьшили толщину полоски *!*/
/*    height: 12px;*/
/*    background: #2962ff;*/
/*    border-radius: 2px;*/
/*}*/

.tab {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 20px 0 0 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
}

/* Шапка таблицы */
thead {
    background: #f8f9fa; /* Светлый фон вместо градиента */
}

th {
    padding: 12px;
    text-align: left;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

th:first-child,
td:first-child {
    text-align: center;
}

/* Строки таблицы */
tbody tr:hover {
    background: #f1f5f9;
    transition: background 0.2s ease;
}

td {
    padding: 12px;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

td:last-child {
    text-align: right;
    padding-right: 16px;
}

/* Кнопки */
button {
    background: none;
    border: none;
    color: #2962ff;
    cursor: pointer;
    font-size: inherit;
    transition: color 0.2s ease;
}

button:hover {
    text-decoration: underline;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Упростили дизайн */
/*body {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 20px;*/
/*}*/

/* Убрали лишние элементы */






.main-post{
    display: flex;
    flex-direction: row;
    /*width: 80vw;*/
    background-color: white;
    border-radius: 24px;
    padding: 40px;
    margin: 20px auto;
}

.header-post h1{
    margin: 0 10px 0 0;
    font-family: "Golos Text", serif;
}



.back-btn {
    position: fixed;
    bottom: 32px;
    left: 32px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.back-btn:hover {
    transform: scale(0.95);
}

.back-btn .icon {
    width: 24px;
    height: 24px;
    fill: #2962ff;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}





/* Стили контейнера */


/* Разделитель */
.vertical-separator {
    height: 1px;
    background: #eee;
    margin: 24px 0;
}








.filter-container {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.filter-select:focus {
    border-color: #2962ff;
    outline: none;
}

.filter-btn {
    background: #2962ff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-btn:hover {
    background: #004baa;
}

.reset-btn {
    background: #e0e6ed;
    color: #666;
}

.reset-btn:hover {
    background: #d4d8de;
}


















@media (min-width: 0px) and (max-width: 945px){
    .container{
        display: flex;
        flex-direction: column;
        margin: 5vh auto;
    }
    .header-post{
        flex-direction: column;
        align-items: flex-start;
    }
    .post-card form{
        display: flex;
        flex-direction: column;
    }
}