.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2b2b2b54;

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    z-index: 999;
}

.modal {
    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;

    font-size: 16px;
    font-family: Oswald;

    background-color: #fff;

    border-radius: 10px;

    box-shadow: 0 2px 5px #000;

    user-select: none;
}

.modal__button-group {
    display: flex;
    gap: 10px;
    justify-content: space-between;

    width: 100%;
}

.modal__button {
    padding: 10px;
    background-color: #fff;
    border: none;

    border-radius: 10px;
    font-size: 12px;
    font-family: Oswald;
    color: #000;

    cursor: pointer;

    transition: background-color 0.3s ease-in-out;
}

.modal__button:hover {
    color: #fff;
}

.modal__button_type_decline {
    border: 2px solid rgb(163, 50, 50);
}

.modal__button_type_accept {
    border: 2px solid rgb(44, 158, 129);
}

.modal__button_type_decline:hover {
    background-color: rgb(163, 50, 50);
}

.modal__button_type_accept:hover {
    background-color: rgb(44, 158, 129);
}
