/**
 * VICICHAT NOTIF ADDON - AESTHETICS (STABLE 1.2.1)
 * Updated: 2026-06-10
 */

/* 1. THE NOTIF TRIGGER BUTTON */
.vici-notif-trigger {
    position: fixed !important; 
    z-index: 999999 !important; 
    top: 20px !important;
    right: 20px !important;
    padding: 10px 20px !important;
    border-radius: 14px !important;
    font-family: inherit;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    
    /* DEFAULT HIDDEN STATE */
    display: none !important; 
    align-items: center;
    justify-content: center;
    
    background: rgba(15, 5, 30, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Visibility logic: Button only appears when vici-active is present */
.vici-notif-trigger.vici-active {
    display: flex !important;
}

.vici-notif-trigger.glow-alert {
    background: rgba(255, 40, 90, 0.95) !important; 
    border: 2px solid #fff !important;
    box-shadow: 0 0 30px rgba(255, 40, 90, 0.8), 0 0 10px rgba(255, 40, 90, 0.4) !important;
    color: #fff !important;
    animation: viciSignalPulse 1.2s infinite ease-in-out !important;
}

/* 2. THE NOTIF DRAWER (Styles remain unchanged) */
#vici-notif-drawer {
    position: fixed !important; top: -600px; left: 50%; transform: translateX(-50%); 
    width: 90%; max-width: 420px; max-height: 480px; z-index: 999998 !important; padding: 25px; border-radius: 28px;
    background: rgba(15, 2, 35, 0.92) !important; backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important; border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1); display: flex; flex-direction: column; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}
#vici-notif-drawer.is-open { top: 30px; }

.vici-drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.vici-drawer-title { font-size: 13px; font-weight: 900; letter-spacing: 2px; color: #fff; text-transform: uppercase; }
.vici-drawer-close { background: none; border: none; color: rgba(255, 255, 255, 0.5); font-size: 24px; cursor: pointer; line-height: 1; }
.vici-drawer-close:hover { color: #ff285a; }

/* 3. NOTIF CARDS */
#vici-notif-list { overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: #00f3ff transparent; }
#vici-notif-list::-webkit-scrollbar { width: 4px; }
#vici-notif-list::-webkit-scrollbar-track { background: transparent; }
#vici-notif-list::-webkit-scrollbar-thumb { background: #00f3ff; border-radius: 10px; }

.vici-notif-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 16px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; }
.vici-notif-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(0, 243, 255, 0.4); transform: translateY(-2px); }
.vici-notif-info { flex: 1; margin-right: 15px; overflow: hidden; }
.vici-notif-handle { display: block; color: #00f3ff; font-weight: 900; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.vici-notif-snippet { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 13px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vici-notif-open-btn { background: #00f3ff; border: none; color: #000; padding: 8px 16px; border-radius: 12px; font-size: 11px; font-weight: 900; cursor: pointer; box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3); transition: all 0.2s ease; }
.vici-notif-open-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0, 243, 255, 0.5); background: #fff; }

/* 4. ANIMATIONS */
@keyframes viciSignalPulse {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.08); filter: brightness(1.2); }
    100% { transform: scale(1); filter: brightness(1); }
}
.vici-pulse-update { animation: viciCardFlash 0.6s ease; }
@keyframes viciCardFlash {
    0% { background: rgba(0, 243, 255, 0.2); border-color: #00f3ff; }
    100% { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
}
.vici-fade-in { animation: viciFadeIn 0.4s ease-out forwards; }
@keyframes viciFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}