.Modal {
    width: 100%;
    height: 100vh;

    display: grid;
    place-items: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;

    backdrop-filter: blur(0.1rem);
    overscroll-behavior: contain;

    color: var(--black);
}
.Modal .Container {
    width: min(80%, 500px);
    background-color: white;

    border-radius: 1rem;
    box-shadow: 10px 10px 50px -5px rgba(0, 0, 0, 0.27);

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.Modal :is(.CrossIcon, .TickIcon) {
    width: 56px;
    display: flex;
    gap: 8px;
    padding: 10px;
    align-items: center;
    border-radius: 50%;
}

.Modal .TickIcon {
    border: 8px solid #e8fcef;
    background: var(--success-100, #d1fadf);
}
.Modal .CrossIcon {
    border: 8px solid #f1cdcd;
    background: var(--success-100, #f6afaf);
}

.Modal :is(h2, p) {
    all: revert;
    margin: 0px;
}

.Modal .Form {
    width: 100%;
}

.Modal input {
    margin: 50px 0 20px 0;
}

.Modal .ButtonContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.Modal .ButtonContainer button {
    flex-grow: 1;
    flex-basis: calc(50% - 10px);
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 0;
}

.Modal .Decline {
    background-color: var(--InputDefaultBackground);
    color: var(--Primary);
}

.Modal .Decline:hover {
    background-color: lightgray;
    box-shadow: 0 5px 15px -10px rgba(208, 92, 92, 0.6);
    transform: translateY(-3px);
}

.Modal .Confirm {
    background-color: var(--Primary);
    color: var(--White);
}

.Modal .Confirm:hover {
    background-color: var(--Blue800);
    box-shadow: 0 10px 20px -10px rgba(62, 165, 255, 0.6);
    transform: translateY(-5px);
}
