/* Referrer Toast Notification */
.referrer-toast {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-family: inherit;
    font-size: 14px;
    max-width: 300px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.referrer-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.referrer-toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.referrer-toast-content i {
    color: #007cba;
    font-size: 16px;
}

.referrer-toast-text {
    font-weight: 500;
    line-height: 1.4;
}

.referrer-toast-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.referrer-toast-close:hover {
    color: #333;
}

.referrer-toast:hover {
    background-color: #f8f9fa;
    border-color: #007cba;
}

.referrer-toast:hover .referrer-toast-content i {
    color: #005a87;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .referrer-toast {
        left: 10px;
        right: 10px;
        max-width: none;
        font-size: 13px;
    }
}