/*
* Notice styles and animation
*/

.raic-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ea0101;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: raic-vibrate 0.3s linear 3;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
    max-width: 420px;
}

/* Tablet */
@media (max-width: 768px) {
    .raic-notice {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
        padding: 12px;
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .raic-notice {
        bottom: 12px;
        right: 12px;
        left: 12px;
        padding: 10px;
        font-size: 13px;
        border-radius: 4px;
    }

    .raic-notice-close {
        font-size: 16px;
    }
}

.raic-notice.hide {
    opacity: 0;
    transform: translateY(10px);
}

.raic-notice-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

@keyframes raic-vibrate {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}