.modal__content {
    position: relative;

    box-sizing: border-box;
    width: 500px;
    padding: 24px;

    border-radius: 4px;
}

.modal__title {
    margin-top: -6px;
    margin-bottom: 12px;
    padding-right: 44px;

    font-size: 1.6em;
    font-weight: 500;
    line-height: 1.1;
}

.modal__title:empty {
    display: none;
}

.modal__body_type_warning {
    padding-left: 42px;

    background: url('../../../static/i/warning-filled.svg') 0 0/25px no-repeat;
}

.modal__actions {
    display: flex;
    align-items: center;

    margin-top: 20px;
}

.modal__actions > .modal__actions {
    margin-top: 0;
}

.modal__actions_side_left .control {
    margin-right: 18px;
}

.modal__actions_side_right {
    flex: 1;
    justify-content: flex-end;
}

.modal__actions_side_right .control {
    margin-left: 18px;
}

.modal__close-button {
    position: absolute;
    top: 8px;
    right: 8px;

    opacity: .35;

    transition: opacity .2s;
}

.modal__close-button:hover {
    opacity: 1;
}

.modal__close-button .icon {
    width: 12px;
    height: 12px;
}

.modal__title:not(:empty) + .modal__close-button {
    top: 21px;
    right: 20px;
}

.modal__title:not(:empty) + .modal__close-button .icon {
    width: 24px;
    height: 24px;
}

.modal__close-button_clickable {
    cursor: pointer;
}

.modal__busy {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    border-radius: 4px;
    background: rgba(255, 255, 255, .8);
}

.modal__meta {
    position: absolute;
    bottom: .5em;
    left: 50%;

    font-family: monospace;
    font-size: .6em;
    white-space: nowrap;

    opacity: .05;

    transform: translateX(-50%);
}
