﻿#refBar {
    cursor: pointer;
    background: #2582A5;
    color: white;
}

/* Top referral bar wrapper */
.snb-referral-bar {
    width: 100%;
    background-color: #2582A5;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 12px 0;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
    animation: snbSlideDown 0.45s ease-out;
}

/* Inner container using flexbox for alignment */
.snb-referral-inner {
    max-width: 1300px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* The text */
.snb-referral-text {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-align: center;
    cursor: pointer;
}

/* Close button */
.snb-referral-close {
    position: absolute;
    right: 0;
    border: none;
    background: none;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #3A2E2A;
    cursor: pointer;
    padding: 0;
}

    .snb-referral-close:hover {
        opacity: 0.65;
    }

/* Slide-down animation */
@keyframes snbSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* ----------------------------------------- */
/* MOBILE RESPONSIVENESS */
/* ----------------------------------------- */
@media (max-width: 600px) {
    .snb-referral-text {
        font-size: 14px;
        padding-right: 25px;
    }

    .snb-referral-close {
        font-size: 20px;
        right: 5px;
    }
}
