/* ============================================================
   VICICHAT: MODERN PREMIUM UI (SLEEK FLOATING THEME)
   ============================================================ */

/* 0. LOGO HEADER PULSATING GLOW */
.vc-header-title, .vici-logo-art {
    color: #ffffff !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px;
    display: inline-block;
    filter: drop-shadow(0 0 2px rgba(0, 180, 216, 0.3));
    animation: vcLogoHeartbeat 2.5s infinite ease-in-out;
    will-change: filter, transform;
}

@keyframes vcLogoHeartbeat {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0, 180, 216, 0.4)); }
    7% { transform: scale(1.06); filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.9)); }
    14% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(0, 180, 216, 0.5)); }
    21% { transform: scale(1.03); filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.7)); }
    35% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0, 180, 216, 0.4)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0, 180, 216, 0.4)); }
}

/* 1. MODERN WHITE ACTION PANEL & INPUT FIX */
.vc-action-container {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #ffffff !important; 
    border-top: 1px solid #eeeeee;
    border-radius: 0 0 15px 15px; 
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03); 
}

#vc-user-input::placeholder {
    color: #888888 !important;
    opacity: 0.35 !important;
    transition: none !important;
}

#vc-user-input:focus::placeholder {
    color: #888888 !important;
    opacity: 0.35 !important; 
}

/* 2. HIGH-END SOLID BUTTONS */
.vc-glass-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 6px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: #ffffff !important;
    background-image: none !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

#vc-search-btn { background-color: #00B4D8 !important; }
#vc-post-btn { background-color: #00AB66 !important; }

.vc-glass-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* 3. UPGRADED SLEEK @vicitags */
.vc-vicitag {
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    margin: 1px 2px;
    border: none !important;
    max-width: 100%;           
    vertical-align: middle;
    white-space: nowrap;      
    overflow: hidden;         
    text-overflow: ellipsis;  
    font-size: clamp(0.75rem, 2.8vw, 0.9rem); 
}

.vc-vicitag.standard {
    color: #004466 !important;      
    background: #f0faff !important; 
    box-shadow: 0 2px 5px rgba(0, 180, 216, 0.15);
    animation: vcTagPulseBlue 3s infinite ease-in-out;
}

.vc-vicitag.compound {
    color: #5d2906 !important;      
    background-color: #fff9f0 !important; 
    box-shadow: 0 2px 5px rgba(255, 140, 0, 0.15) !important;
    animation: vcTagPulseOrange 3s infinite ease-in-out !important;
}

/* 4. MESSAGE CARDS */
.vc-card {
    padding: 12px 15px;
    border-radius: 18px;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
}

.vc-message-right .vc-card { background: #00B4D8; color: #ffffff; }
.vc-message-left .vc-card { background: #f1f3f5; color: #212529; border: 1px solid #e9ecef; }

/* 5. HEART PULSATION & ALERT OVERLAY */
@keyframes heartPulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.4); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.vc-heart-icon { display: inline-block; transition: transform 0.2s; cursor: pointer; }
.heart-active { animation: heartPulse 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275); color: #ff4757 !important; }

/* 6. OPAQUE GUEST ALERT SYSTEM */
#vc-alert-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #ffffff !important; /* Total Opaque White */
    z-index: 2500;
    display: none; 
    align-items: center;
    justify-content: center;
    padding: 25px;
}

#vc-alert-box {
    text-align: center;
    width: 100%;
}

#vc-alert-text {
    font-size: 16px;
    font-weight: 800 !important; /* Bold Warning */
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Internal Alert Login Button */
.vc-alert-login-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: #00B4D8 !important;
    color: #fff !important;
    border-radius: 14px;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

#vc-alert-close {
    background: none;
    border: none;
    color: #ff4757;
    font-weight: 800;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}

/* 7. GUEST LOGIN ATTENTION FLASH (Header) */
.vc-auth-flash {
    animation: vcAuthFlashRed 0.8s ease-in-out 4;
}

@keyframes vcAuthFlashRed {
    0%, 100% { background: rgba(0, 115, 170, 0.1); color: #0073aa; border-color: rgba(0, 115, 170, 0.2); }
    50% { 
        background: #ff4757 !important; 
        color: #fff !important; 
        border-color: #ff4757 !important; 
        transform: scale(1.1); 
        box-shadow: 0 0 15px rgba(255, 71, 87, 0.6); 
    }
}