/* ══ NEXUS UI v2.0 - PREMIUM WIDGETS ══ */

#cryptoLiveWidget, #aiChat, #waChat {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.05);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Specific for Crypto Widget */
#cryptoLiveWidget {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 280px;
    z-index: 9998;
    overflow: hidden;
    padding: 0;
}

#cryptoLiveWidget.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

#cryptoLiveWidget:not(.active) {
    height: 45px;
    width: 150px;
    transform: translateY(10px) scale(0.98);
}

.clw-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-bottom: 1px solid var(--glass-border);
}

.clw-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.clw-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--t-2);
}

.clw-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clw-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.clw-sym { color: var(--gold); font-weight: bold; }
.clw-price { color: #fff; font-family: var(--f-mono); }
.clw-chg { font-size: 0.8rem; }
.t-up { color: #22c55e; }
.t-dn { color: #ef4444; }

.clw-toggle {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Social Proof (spToast) v2.0 */
.social-proof-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9997;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-proof-toast.active {
    transform: translateX(0);
}

.sp-icon {
    width: 35px;
    height: 35px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-content {
    display: flex;
    flex-direction: column;
}

.sp-title { font-weight: bold; font-size: 0.85rem; color: #fff; }
.sp-desc { font-size: 0.75rem; color: var(--t-2); }
