@charset "utf-8";
/* Title: Nice Industries Party Time Notifications
** Description: Notifications, alerts, warnings, etc.
** Author: Jessica Greenwalt
** Created: 03-23-2026
** Updated: 03-23-2026
************************************** */

/* = Top Banner Notifications
** ----------------------- */
.bnr-notify {
    display: block;
    margin-bottom: 10px;
    padding: 10px 20px 14px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    color: #000;
    background: rgba(255, 255, 255, 0.8);
}

.bnr-notify.green {
    color: #46b900;
    background: #ddfdce;
    border: 2px solid #5df700;
}

.bnr-notify.yellow {
    color: #c49f14;
    background: #fcfcbd;
    border: 2px solid #f7f732;
}

.bnr-notify.pink {
    color: #bf2789;
    background: #ffd2ee;
    border: 2px solid #ff34b7;
}

/* Hidden state — collapses layout space with smooth fade and slide-up */
.bnr-notify {
    max-height: 200px;
    overflow: hidden;
    transition: opacity 0.3s ease,
                transform 0.3s ease,
                max-height 0.3s ease,
                margin-bottom 0.3s ease,
                padding-top 0.3s ease,
                padding-bottom 0.3s ease,
                border-top-width 0.3s ease,
                border-bottom-width 0.3s ease;
}

.bnr-notify.bnr-hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-width: 0;
    border-bottom-width: 0;
}


/* = Referrals Page Toast
** ----------------------- */
.bnr-notify.referrals-toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 240px;
    max-width: calc(100vw - 32px);
}

.bnr-notify.referrals-toast.bnr-hidden {
    /* Slide UP off-screen when dismissing, instead of the default downward collapse */
    transform: translateX(-50%) translateY(-20px);
}
