.Modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: hsl(0, 0%, 0%, 0.7);
    backdrop-filter: blur(2px);
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    scrollbar-width: none;
}

.Modal::-webkit-scrollbar {
    display: none;
}

.Modal-content {
    max-width: 576px;
    width: 90%;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px hsl(0, 0%, 0%, 0.2);
    margin-top: auto;
    margin-bottom: auto;
}

.Modal-content .Form_TextInput-input {
    width: 100%;
}

.Modal-content .Page_H2 {
    padding-right: 20px;
}

.Modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.Modal_flex_row .Modal_content {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.Modal_flex_row .Modal_content>div {
    width: calc(50% - 8px);
    height: fit-content;
}

@media (max-width: 992px) {

    .Modal_flex_row .Modal_content {
        flex-direction: column;
    }

    .Modal_flex_row .Modal_content>div {
        width: 100%;
    }
}

.Modal_buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
}

.Modal_buttons .Yes {
    background-color: var(--green);
    cursor: pointer;
    padding: 4px 12px;
    color: white;
    border-radius: 4px;
}

.Modal_buttons .No {
    background-color: var(--red);
    cursor: pointer;
    padding: 4px 12px;
    color: white;
    border-radius: 4px;
}

.Intervention_Replacement {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.Modal-content .Form_PersonInput_Action_Container {
    width: fit-content;
}