@keyframes discount-notice-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.f-discount-notice {
    position: fixed;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 356px;
    box-shadow: var(--md-shadow-1-x, 0) var(--md-shadow-1-y, 4px) var(--md-shadow-1-blur, 6px) var(--md-shadow-1-spread, -1px) var(--md-color, rgba(0, 0, 0, 0.10)), var(--md-shadow-2-x, 0) var(--md-shadow-2-y, 2px) var(--md-shadow-2-blur, 4px) var(--md-shadow-2-spread, -2px) var(--md-color, rgba(0, 0, 0, 0.10));
    border-radius: 8px;
    z-index: 10000;
    animation: discount-notice-in 0.25s ease-out both;

    display: flex;
    padding: 12px 16px;
    gap: 12px;
}

.f-discount-notice--success {
    background-color: rgb(240, 253, 244);
}

.f-discount-notice--success .icon {
    color: rgb(21, 128, 61);
}

.f-discount-notice--info {
    background-color: #F5F5F5;
}

.f-discount-notice--info .icon {
    display: none;
}

.f-discount-notice--error {
    background: linear-gradient(0deg, var(--alpha-white-switch-alpha-90, rgba(255, 255, 255, 0.90)) 0%, var(--alpha-white-switch-alpha-90, rgba(255, 255, 255, 0.90)) 100%), var(--shadcn-colors-general-destructive, #DC2626);
}

.f-discount-notice--error .icon {
    color: var(--shadcn-colors-general-destructive, #DC2626);
}

.f-discount-notice .icon {
    font-size: 16px;
    margin-top: 4px;
}

.admin-bar .f-discount-notice {
    top: 48px;
}
