/* Base styles and aesthetics */
body {
    margin: 0;
    overflow: hidden;
    background-color: #050505;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

#canvas-container {
    width: 100vw;
    height: 100vh;
}

/* Glassmorphism UI */
.glass-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Interactive elements styles */
.service-btn {
    transition: all 0.2s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    border-color: rgba(56, 189, 248, 0.5);
}

.service-btn:active {
    transform: translateY(0);
}

.service-btn.active {
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid #38bdf8;
    box-shadow: inset 0 0 10px rgba(56, 189, 248, 0.2);
}

.time-btn {
    transition: all 0.1s ease;
}

.time-btn.active {
    background: rgba(56, 189, 248, 0.4);
    border-color: #38bdf8;
    color: white;
}

.tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    display: none;
    z-index: 100;
    border: 1px solid #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}



/* Onboarding Modal Styles */
.onboarding-step {
    display: none;
}

.onboarding-step.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.key-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: monospace;
    font-size: 0.8em;
    color: #fff;
}

/* Neon Green Pulse for Play Button */
.pulse-green {
    background-color: #39ff14 !important;
    color: #000 !important;
    border-color: #39ff14 !important;
    box-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14;
    animation: neonPulse 1.5s infinite;
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14;
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 20px #39ff14, 0 0 30px #39ff14;
        transform: scale(1.1);
    }

    100% {
        box-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14;
        transform: scale(1);
    }
}

/* Animation for Onboarding Flow */
.flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.flow-node {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    background: #1f2937;
    border: 1px solid #374151;
}

.flow-line {
    width: 60px;
    height: 2px;
    background: #4b5563;
    position: relative;
}

.flow-packet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: -3px;
    left: 0;
    animation: flowMove 1.5s infinite linear;
}

@keyframes flowMove {
    0% {
        left: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}