/* =========================
Live News Pro
Frontend Styles
========================= */

#lnp-live-wrapper{
margin:30px 0;
border:1px solid #e5e7eb;
border-radius:12px;
overflow:hidden;
background:#fff;
}

.lnp-live-header{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
padding:15px;
background:#fafafa;
border-bottom:1px solid #eee;
}

.lnp-live-badge{
display:inline-flex;
align-items:center;
gap:6px;
background:#dc2626;
color:#fff;
padding:6px 12px;
border-radius:30px;
font-size:13px;
font-weight:700;
}

.lnp-live-badge:before{
content:"";
width:8px;
height:8px;
border-radius:50%;
background:#fff;
animation:lnpBlink 1.5s infinite;
}

@keyframes lnpBlink{
0%{opacity:1;}
50%{opacity:.3;}
100%{opacity:1;}
}

.lnp-live-count{
font-size:13px;
color:#666;
font-weight:600;
}

#lnp-live-updates{
}

.lnp-update{
position:relative;
padding:15px;
margin-bottom:15px;
border-radius:10px;
background:#fafafa;
border-right:4px solid #dc2626;
}

.lnp-update:last-child{
margin-bottom:0;
}

.lnp-update-time{
display:flex;
align-items:center;
gap:8px;
font-size:13px;
color:#666;
margin-bottom:10px;
font-weight:600;
}

.lnp-live-dot{
width:10px;
height:10px;
border-radius:50%;
background:#22c55e;
flex-shrink:0;
animation:lnpPulse 1.5s infinite;
}

@keyframes lnpPulse{
0%{
transform:scale(1);
opacity:1;
}


50%{
    transform:scale(1.4);
    opacity:.6;
}

100%{
    transform:scale(1);
    opacity:1;
}


}

.lnp-update-content h4{
margin:0 0 10px;
font-size:18px;
font-weight:700;
line-height:1.5;
}

.lnp-update-content p:last-child{
margin-bottom:0;
}

.lnp-live-notification{
position:fixed;
bottom:25px;
left:25px;
background:#16a34a;
color:#fff;
padding:12px 18px;
border-radius:8px;
z-index:999999;
opacity:0;
transform:translateY(20px);
transition:.3s ease;
}

.lnp-live-notification.show{
opacity:1;
transform:translateY(0);
}

/* =========================
Dark Mode
========================= */

body.dark #lnp-live-wrapper{
background:#1f2937;
border-color:#374151;
}

body.dark .lnp-live-header{
background:#111827;
border-color:#374151;
}

body.dark .lnp-live-count{
color:#d1d5db;
}

body.dark .lnp-update{
background:#111827;
border-color:#dc2626;
}

body.dark .lnp-update-content,
body.dark .lnp-update-content p,
body.dark .lnp-update-content h4{
color:#f3f4f6;
}

body.dark .lnp-update-time{
color:#9ca3af;
}

body.dark .lnp-live-notification{
background:#22c55e;
}

/* =========================
Mobile
========================= */

@media(max-width:768px){


.lnp-live-header{
    flex-direction:column;
    align-items:flex-start;
}

.lnp-update{
    padding:12px;
}

.lnp-update-content h4{
    font-size:16px;
}


}
.lnp-live-tools{
margin-right:auto;
}

.lnp-refresh-btn{
border:0;
background:#2563eb;
color:#fff;
padding:6px 12px;
border-radius:6px;
cursor:pointer;
font-size:13px;
font-weight:600;
}

.lnp-refresh-btn:hover{
opacity:.9;
}

.lnp-status-live{
    background:#dc2626;
}

.lnp-status-paused{
    background:#f59e0b;
}

.lnp-status-ended{
    background:#6b7280;
}