/* Futuristic CPMS Design - Technology Focused */

/* CPMS Hero - Dark Tech Theme */
.cpms-hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
    padding: 140px 0 100px;
}

.cpms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-pulse 20s linear infinite;
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Futuristic Circuit Lines */
.cpms-hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(8, 124, 167, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: pulse-glow 8s ease-in-out infinite;
    pointer-events: none;
}

.cpms-hero .container {
    position: relative;
    z-index: 10;
}

/* Enhanced CPMS Hero Badge */
.cpms-hero .hero-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(8, 124, 167, 0.2));
    border: 2px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3), inset 0 0 20px rgba(16, 185, 129, 0.1);
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.2), inset 0 0 10px rgba(16, 185, 129, 0.1);
        border-color: rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.4), inset 0 0 20px rgba(16, 185, 129, 0.2);
        border-color: rgba(16, 185, 129, 0.6);
    }
}

/* CPMS Dashboard Mockup with 3D Tilt */
.cpms-dashboard-mockup {
    perspective: 1500px;
    transform-style: preserve-3d;
}

.mockup-window {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotateY(-5deg) rotateX(5deg);
    animation: float-dashboard 6s ease-in-out infinite;
}

@keyframes float-dashboard {
    0%, 100% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0);
    }
    50% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(-20px);
    }
}

.mockup-window:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mockup-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(8, 124, 167, 0.3));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animated Chart Bars */
.chart-bars .bar {
    background: linear-gradient(180deg, #10B981, #059669);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    animation: bar-pulse 2s ease-in-out infinite;
}

@keyframes bar-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
    }
}

.chart-bars .bar:nth-child(1) { animation-delay: 0s; }
.chart-bars .bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bars .bar:nth-child(3) { animation-delay: 0.4s; }
.chart-bars .bar:nth-child(4) { animation-delay: 0.6s; }
.chart-bars .bar:nth-child(5) { animation-delay: 0.8s; }
.chart-bars .bar:nth-child(6) { animation-delay: 1s; }
.chart-bars .bar:nth-child(7) { animation-delay: 1.2s; }

/* Who Cards with Holographic Effect */
.who-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.who-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(16, 185, 129, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.who-card:hover::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.who-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Feature Cards with 3D Depth */
.feature-card-large {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.feature-card-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10B981, #34D399, #10B981);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 16px 16px 0 0; /* Match card border-radius at top */
}

.feature-card-large:hover::after {
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.feature-card-large:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(16, 185, 129, 0.2);
}

.feature-icon-large {
    position: relative;
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    transition: all 0.4s;
}

.feature-card-large:hover .feature-icon-large {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

/* Integration Steps with Connected Lines */
.integration-steps {
    position: relative;
}

.integration-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, #10B981, #34D399);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.step {
    position: relative;
    z-index: 1;
}

.step-number {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow:
        0 4px 15px rgba(16, 185, 129, 0.4),
        0 0 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow:
        0 6px 20px rgba(16, 185, 129, 0.6),
        0 0 40px rgba(16, 185, 129, 0.5);
}

/* Demo Form with Futuristic Styling */
.demo-form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(16, 185, 129, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.1),
        0 0 20px rgba(16, 185, 129, 0.3);
}

.demo-form label {
    color: rgba(255, 255, 255, 0.9);
}

.demo-form h3 {
    color: white;
}

/* Benefit Items with Icon Glow */
.benefit-item i {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow:
        0 5px 20px rgba(16, 185, 129, 0.4),
        0 0 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
}

.benefit-item:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 8px 25px rgba(16, 185, 129, 0.6),
        0 0 40px rgba(16, 185, 129, 0.5);
}

.benefit-item h4 {
    color: white;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive - Mobile First */
@media (max-width: 768px) {
    .cpms-hero {
        padding: 100px 0 60px;
    }

    .cpms-hero .container {
        padding: 0 20px;
    }

    .mockup-window {
        transform: none;
        animation: none;
    }

    .mockup-window:hover {
        transform: scale(1.01);
    }

    .mockup-content {
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 12px;
    }

    .chart-placeholder {
        padding: 16px;
        height: 100px;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .who-card {
        padding: 24px 20px;
    }

    .who-icon {
        width: 56px;
        height: 56px;
    }

    .who-icon i {
        font-size: 24px;
    }

    .features-grid-large {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        padding: 28px 20px;
    }

    .feature-card-large:hover {
        transform: translateY(-5px);
    }

    .feature-icon-large {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .integration-steps::before {
        left: 20px;
    }

    .step {
        display: flex;
        flex-direction: row;
        gap: 16px;
        align-items: flex-start;
        margin-bottom: 32px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .step-content {
        flex: 1;
        min-width: 0;
    }

    .demo-form-container {
        padding: 28px 20px;
    }

    .demo-form h3 {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .demo-info {
        margin-bottom: 40px;
    }

    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Dark theme overrides for CPMS page */
.features-section,
.integration-section,
.demo-section {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f3a 50%, #0a0e27 100%);
    color: white;
    position: relative;
}

.features-section::before,
.integration-section::before,
.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(16, 185, 129, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(16, 185, 129, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.features-section .section-title,
.integration-section .section-title,
.demo-section .section-title {
    color: white;
}

.features-section .section-subtitle,
.integration-section .section-subtitle,
.demo-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.feature-card-large h3,
.integration-text h2,
.demo-info h2 {
    color: white;
}

.feature-card-large p,
.integration-description,
.demo-description {
    color: rgba(255, 255, 255, 0.7);
}

.feature-list li {
    color: rgba(255, 255, 255, 0.8);
}

.step-content h4 {
    color: white;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
}

.integration-graphic {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(8, 124, 167, 0.1));
}

.graphic-layer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.graphic-layer p {
    color: white;
}

.graphic-arrow {
    color: #10B981;
}

/* ========================================
   DYNAMIC DASHBOARD ANIMATIONS
   ======================================== */

/* Stats Grid - Dynamic */
.stats-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box-dynamic {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box-dynamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10B981, transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-box-dynamic:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.stat-icon-dynamic {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(8, 124, 167, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    font-size: 22px;
    margin-bottom: 4px;
}

.stat-icon-dynamic.pulse-green {
    animation: pulse-green 2s ease-in-out infinite;
}

.stat-icon-dynamic.pulse-blue {
    animation: pulse-blue 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.6), 0 0 40px rgba(16, 185, 129, 0.3);
    }
}

@keyframes pulse-blue {
    0%, 100% {
        box-shadow: 0 0 10px rgba(8, 124, 167, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(8, 124, 167, 0.6), 0 0 40px rgba(8, 124, 167, 0.3);
    }
}

.stat-value-dynamic {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label-dynamic {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.stat-change {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.stat-change.positive {
    color: #10B981;
}

/* Live Sessions Section */
.live-sessions-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header-mini h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section-header-mini h4 i {
    color: #10B981;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #10B981;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px #10B981;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.session-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
    align-items: center;
    transition: all 0.3s ease;
    animation: slide-in 0.5s ease-out;
}

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

.session-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}

.session-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.session-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
}

.session-value {
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.session-value.revenue {
    color: #10B981;
    font-size: 15px;
}

.session-progress {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #34D399);
    border-radius: 2px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: glow-bar 2s ease-in-out infinite;
}

@keyframes glow-bar {
    0%, 100% {
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 16px rgba(16, 185, 129, 0.8);
    }
}

/* Charger Grid Section */
.charger-grid-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.charger-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.charger-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.charger-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.charger-item:hover::before {
    opacity: 1;
}

.charger-item.available {
    border-color: rgba(16, 185, 129, 0.4);
}

.charger-item.charging {
    border-color: rgba(8, 124, 167, 0.6);
    animation: charging-pulse 2s ease-in-out infinite;
}

.charger-item.offline {
    border-color: rgba(239, 68, 68, 0.4);
}

.charger-item.faulted {
    border-color: rgba(245, 158, 11, 0.4);
}

@keyframes charging-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(8, 124, 167, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(8, 124, 167, 0.6);
    }
}

.charger-icon {
    font-size: 24px;
}

.charger-item.available .charger-icon {
    color: #10B981;
}

.charger-item.charging .charger-icon {
    color: #087CA7;
}

.charger-item.offline .charger-icon {
    color: #EF4444;
}

.charger-item.faulted .charger-icon {
    color: #F59E0B;
}

.charger-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.charger-item:hover {
    transform: scale(1.05);
    border-color: rgba(16, 185, 129, 0.6);
}

/* Chart Section */
.chart-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.chart-container {
    width: 100%;
    height: 200px;
    position: relative;
}

#energy-chart {
    width: 100% !important;
    height: 100% !important;
}

/* Scrollbar Styling */
.sessions-list::-webkit-scrollbar {
    width: 6px;
}

.sessions-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.sessions-list::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.4);
    border-radius: 3px;
}

.sessions-list::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.6);
}

/* Value Change Flash Effect */
@keyframes value-flash {
    0%, 100% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(16, 185, 129, 0.2);
    }
}

.stat-value-dynamic.updating {
    animation: value-flash 0.6s ease-out;
}

/* Continuous pulse for live indicators */
@keyframes continuous-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.stat-box-dynamic.live-updating {
    animation: continuous-pulse 2s ease-in-out infinite;
}

/* Revenue flash effect */
.session-value.revenue.flash {
    animation: revenue-flash 0.8s ease-out;
}

@keyframes revenue-flash {
    0%, 100% {
        color: #10B981;
        text-shadow: none;
    }
    50% {
        color: #34D399;
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    }
}

/* Mobile Responsive for Dynamic Dashboard */
@media (max-width: 768px) {
    .stats-grid-dynamic {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-box-dynamic {
        padding: 16px;
    }

    .stat-value-dynamic {
        font-size: 24px;
    }

    .stat-icon-dynamic {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .session-item {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .session-progress {
        grid-column: 1 / -1;
    }

    .charger-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }

    .charger-icon {
        font-size: 20px;
    }

    .charger-label {
        font-size: 9px;
    }

    .chart-container {
        height: 150px;
    }

    .live-sessions-section,
    .charger-grid-section,
    .chart-section {
        padding: 16px;
    }

    .section-header-mini h4 {
        font-size: 14px;
    }
}
