/* ThienLv Web Push — Bell Button + Popup */

.tlvpush-bell {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1B2A4A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(27,42,74,0.4);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tlvpush-bell:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(27,42,74,0.5);
}
.tlvpush-bell.subscribed {
    display: none;
}

.tlvpush-bell.subscribed::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    background: #27AE60;
    border-radius: 50%;
    border: 2px solid white;
}

.tlvpush-popup {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 280px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: tlvpush-slide 0.3s ease;
}

@keyframes tlvpush-slide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tlvpush-btn-allow {
    flex: 1;
    padding: 8px 16px;
    background: #1B2A4A;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.tlvpush-btn-allow:hover { background: #2A3F6B; }

.tlvpush-btn-dismiss {
    flex: 1;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}
.tlvpush-btn-dismiss:hover { background: #e0e0e0; }

@media (max-width: 480px) {
    .tlvpush-popup { right: 12px; left: 12px; width: auto; bottom: 80px; }
    .tlvpush-bell { bottom: 16px; right: 16px; }
}
