/* Frontend Widget Styles - Clean Premium v1.1.0 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.jesb-counter-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 12px;
    padding: 18px 24px;
    width: max-content;
    min-width: 180px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.jesb-counter-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.jesb-theme-light {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.jesb-theme-dark {
    background: #111827;
    color: #f9fafb;
    border: 1px solid #374151;
}

.jesb-widget-header {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.jesb-theme-dark .jesb-widget-header {
    color: #9ca3af;
}

.jesb-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: jesb-pulsing 2s infinite;
}

@keyframes jesb-pulsing {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.jesb-widget-body {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.jesb-widget-footer {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
