#alert-popup, #confirm-popup, #prompt-popup {
    @apply bg-popup-surface;

    h2 {
        @apply text-fontcolor;
    }

    p {
        @apply text-fontcolor-soft;
    }

    .action-buttons {
        @apply border-box-edge text-fontcolor;

        button {
            @apply shadow ml-3 min-w-[100px] bg-secondary text-white;

            &.cancel {
                @apply bg-error-tertiary;
                &:hover {
                    @apply bg-error-tertiary;
                }
            }

            &:hover {
                @apply bg-secondary text-white cursor-pointer;
            }
        }

        hr {
            @apply border-box-edge;
        }
    }
}

.is-popup {
    background: rgb(0 0 0 / 40%);

    .elevation-surface {
        @apply bg-box-elevation-background border-box-elevation-edge text-fontcolor;
        &.hoverable:hover {
            @apply bg-box-elevation-hover text-fontcolor;
        }

        &.success {
            @apply bg-success-primary border-success-secondary text-fontcolor;
            &.hoverable:hover {
                @apply bg-success-secondary text-fontcolor;
            }
        }
        
        &.error {
            @apply bg-error-primary border-error-secondary text-fontcolor;
            &.hoverable:hover {
                @apply bg-error-secondary text-fontcolor;
            }
        }
    
        &.info {
            @apply bg-info-primary border-info-secondary text-fontcolor;
            &.hoverable:hover {
                @apply bg-info-secondary text-fontcolor;
            }
        }
    
        &.warning {
            @apply bg-warning-primary border-warning-secondary text-fontcolor;
            &.hoverable:hover {
                @apply bg-warning-secondary text-fontcolor;
            }
        }
    }
}