html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

.main-container {
    display: flex;
    flex-grow: 1;
    width: 100%;
    height: calc(100vh - 60px); /* Оставшаяся высота окна */
}

.left-panel, .center-panel, .right-panel {
    height: 100%;
}

.left-panel {
    width: 15%;
}

.center-panel {
    width: 70%;
}

.right-panel {
    width: 15%;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.content {
    flex-grow: 1; /* Элемент занимает все доступное место по ширине */
    display: flex; /* Используем flexbox для центрирования содержимого */
    justify-content: center; /* Горизонтальное центрирование содержимого */
    align-items: center; /* Вертикальное центрирование содержимого */
    /* width: 100%;
    height: 100%; */
    text-align: center;
    /* Здесь применяется масштабирование, если понадобится, через JS */
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Устанавливаем высокий z-index */
}

.modal #photo-upload  {
    box-sizing: border-box;
    min-width: 600px;
    max-width: 70%;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    position: relative;
    line-height: 20px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1em; 
    cursor: pointer;
}

.modal-content h2 {
    color: #152e4c; /* Цвет текста */
    font-size: 20px; 
    line-height: 20px;
}

.modal-content .close {
    color: #152e4c;
    font-size: 1em; 
    cursor: pointer; /* Указатель мыши в виде руки */
}

.modal-content #upload_photo {
    display: block;
    text-align: left;
    margin-left: 20px;
}