/**
 * SaaS Pro: Premium UI Styles
 * Modern glassmorphism and animations for live activity pulses.
 */
:root {
    --saas-primary: #a855f7;
    --saas-accent: #6366f1;
    --saas-bg-glass: rgba(15, 23, 42, 0.7);
    --saas-border-glass: rgba(168, 85, 247, 0.2);
    --saas-text: #f8fafc;
}

.saas-pulse-container {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 320px;
    max-height: 480px;
    background: var(--saas-bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--saas-border-glass);
    border-radius: 20px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(168, 85, 247, 0.05);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    color: var(--saas-text);
    animation: saas-pulse-in 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.saas-pulse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--saas-border-glass);
    padding-bottom: 12px;
}

.saas-pulse-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.saas-pulse-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 12px #10b981;
    animation: saas-glow 1.5s infinite;
}

.saas-pulse-feed {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: none;
}
.saas-pulse-feed::-webkit-scrollbar { display: none; }

.saas-pulse-item {
    font-size: 0.85rem;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--saas-primary);
    transition: all 0.3s ease;
    animation: saas-item-slide 0.5s ease forwards;
}

.saas-pulse-item:hover {
    background: rgba(255,255,255,0.06);
    transform: translateX(-5px);
}

.saas-pulse-meta {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--saas-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.saas-pulse-text {
    line-height: 1.5;
    opacity: 0.9;
}

.saas-highlight {
    color: #fff;
    font-weight: 700;
    text-decoration: underline decoration-var(--saas-primary);
}

.saas-stats-banner {
    background: linear-gradient(135deg, var(--saas-primary), var(--saas-accent));
    color: white;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

@keyframes saas-pulse-in {
    from { transform: translateY(50px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1.0); opacity: 1; }
}

@keyframes saas-glow {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 12px #10b981; }
    50% { transform: scale(1.2); opacity: 0.7; box-shadow: 0 0 20px #10b981; }
}

@keyframes saas-item-slide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Tax Calendar */
.tax-calendar-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
.tax-calendar-row:hover {
    background: rgba(255,255,255,0.04);
    transform: scale(1.01);
}
.tax-date {
    background: linear-gradient(135deg, var(--saas-primary), var(--saas-accent));
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
}
.tax-info strong {
    display: block;
    margin-bottom: 4px;
}

/* Responsive Hide for small screens */
@media (max-width: 768px) {
    .saas-pulse-container { display: none; }
}
