.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(.25rem);
    -webkit-backdrop-filter: blur(.25rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: .5rem;
}

.feedback-modal__body {
    position: relative;
    max-width: 20rem;
    width: 100%;
    border-radius: .625rem;
    background: var(--color-surface-container) 0% 0% no-repeat padding-box;
    box-shadow: 0px 5px 50px 0px var(--color-shadow);
    overflow: hidden;
}

.feedback-modal__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 75vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #F0F1F1 rgba(0, 0, 0, 0.25);
}

.feedback-modal__icon {
    position: relative;
    height: 2.75rem;
    width: 2.75rem;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feedback-modal__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 2.75rem;
    width: 2.75rem;
    border-radius: 50%;
    border: .2rem solid var(--color-on-surface-container);
}

.feedback-modal.-success .feedback-modal__icon {
    color: var(--color-success);
}

.feedback-modal.-success .feedback-modal__icon::before {
    border-color: var(--color-success);
}

.feedback-modal.-error .feedback-modal__icon {
    color: var(--color-warning);
}

.feedback-modal.-error .feedback-modal__icon::before {
    border-color: var(--color-warning);
}

.feedback-modal__footer {
    border-top: .0625rem solid #ABABAB;
}

.feedback-modal__button {
    border: none;
    border-radius: .5rem;
    color: var(--color-button-text);
    background-color: var(--color-primary);
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}

.feedback-modal__button:hover {
    opacity: .8;
}

.feedback-modal.-success .feedback-modal__button {
    background-color: var(--color-success);
}

.feedback-modal.-error .feedback-modal__button {
    background-color: var(--color-warning);
}

@media screen and (min-width: 800px) {
    .feedback-modal {
        align-items: flex-start;
        padding: 14vh .5rem 0 .5rem;
    }
}