
.global-flash-area {
    position: relative;
    z-index: 80;
    display: grid;
    gap: .65rem;
    margin-bottom: 1rem;
}

.global-flash-area:empty {
    display: none;
}

.app-flash {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    width: 100%;
    min-height: 54px;
    padding: .9rem 3rem .9rem 1rem;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .11);
    animation: app-flash-in .2s ease;
}

.app-flash-icon {
    flex: 0 0 auto;
    margin-top: .08rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.app-flash-content {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.app-flash-close {
    position: absolute;
    top: 50%;
    right: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 1.35rem;
    line-height: 1;
    opacity: .68;
    cursor: pointer;
    transform: translateY(-50%);
}

.app-flash-close:hover,
.app-flash-close:focus-visible {
    background: rgba(255, 255, 255, .58);
    opacity: 1;
    outline: none;
}

.app-flash-success {
    border-color: #abefc6;
    background: #ecfdf3;
    color: #05603a;
}

.app-flash-error {
    border-color: #fecdca;
    background: #fef3f2;
    color: #912018;
}

.app-flash-warning {
    border-color: #fedf89;
    background: #fffaeb;
    color: #7a5b12;
}

.app-flash-info {
    border-color: #b2ccff;
    background: #eff4ff;
    color: #1849a9;
}

.app-flash.is-dismissing {
    pointer-events: none;
    animation: app-flash-out .16s ease forwards;
}

@keyframes app-flash-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes app-flash-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@media (max-width: 640px) {
    .app-flash {
        padding-left: .85rem;
    }
}


.public-flash-shell {
    position: relative;
    z-index: 90;
    padding: 1rem 0 0;
    background: transparent;
}

.public-flash-shell .global-flash-area {
    margin-bottom: 0;
}

.public-flash-shell .app-flash {
    max-width: 960px;
    margin: 0 auto;
}

.public-dynamic-form [aria-busy="true"] {
    cursor: wait;
    opacity: .72;
}
