* {
    --modal-border-radius: 8px;
}

.modal-overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    background: rgba(0, 0, 0, .5);

    z-index: 30;
}

.modal {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: #fff;

    border-radius: var(--modal-border-radius);
}

@media (max-width: 768px) {
    .modal {
        width: 95%;
    }
}

.modal-head {
    position: absolute;
    top: 0;
    left: 0;

    display: flex;
    justify-content: flex-end;
    width: 100%;

    z-index: 1;
}

.modal-close-btn {
    margin-right: 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: all .2s ease;
}

.modal-close-btn:hover {
    transform: scale(1.3);
}

.modal-close-pic {
    display: block;
    width: 32px;
    height: 32px;
    background: url(/images/svg/close.svg) no-repeat center;
}

.modal-body {
    height: 100%;
}

.modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;

    display: flex;
    justify-content: center;
    width: 100%;

    z-index: 1;
}

.modal-head.map-head {
    width: 50%;
    left: auto;
    right: 0;
}

.map {
    min-width: 300px;
    min-height: 300px;
    width: 100%;
    height: 100%;
    border-radius: var(--modal-border-radius);
    overflow: hidden;   
}

.map-modal {
    width: 80%;
    height: 80%;
}

.common-status-modal-body {
    padding: 14px 40px 17px 20px;
}

.simple-modal-body {
    min-width: 300px;
    min-height: 50px;
    padding: 14px 20px 20px 20px;
}