/*
Theme Name: Astra Child
Theme URI: http://example.com/astra-child
Description: Astra Child Theme
Author: Ahmad Asif
Author URI: http://example.com
Template: astra
Version: 4.11.16
Text Domain: astra-child
*/

/* Custom CSS yahan add karo */
      /*
Theme Name: Astra Child
Theme URI: http://example.com/astra-child
Description: Astra Child Theme
Author: Ahmad Asif
Author URI: http://example.com
Template: astra
Version: 4.11.16
Text Domain: astra-child
*/

/* Custom CSS yahan add karo */
          #canvas-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* z-index: 1; */
        }

        /* --- Status Bar --- */
        .status-bar {
/*             position: absolute;
            bottom: 40px; */
            width: 100%;
            text-align: center;
            /* z-index: 5; */
            transition: opacity 0.5s;
        }

        .status-text {
            font-size: 12px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 1);
            font-weight: 700;
            animation: pulse 3s infinite;
            text-shadow: 0 0 15px var(--primary-color);
            background: rgba(0,0,0,0.6);
            padding: 8px 20px;
            border-radius: 20px;
            display: inline-block;
            border: 1px solid rgba(3, 247, 181, 0.5);
            backdrop-filter: blur(4px);
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.8; box-shadow: 0 0 10px rgba(3, 247, 181, 0.2); }
            50% { opacity: 1; box-shadow: 0 0 25px rgba(3, 247, 181, 0.5); }
        }

        /* --- LABEL SYSTEM --- */
        .node-label {
            position: absolute;
            /* z-index: 100; */
            transform: translate(-50%, -100%); 
            display: flex;
            flex-direction: column;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none; 
            will-change: transform, opacity;
        }

        .node-card {
            background: rgba(0, 0, 0, 0.9);
            border: 1px solid var(--primary-color);
            padding: 10px 18px;
            border-radius: 4px;
            box-shadow: 0 0 20px rgba(3, 247, 181, 0.3);
            pointer-events: auto;
            cursor: pointer;
            text-align: center;
            transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
        }

        @media (max-width: 768px) {
            .node-card { padding: 8px 14px; min-width: 90px; }
            .node-title { font-size: 11px; }
            .status-bar { bottom: 30px; }
        }

        .node-card:active {
            background: var(--primary-color);
            transform: scale(0.95);
        }
        .node-card:active .node-title { color: black; }

        @media (min-width: 769px) {
            .node-card:hover {
                background: linear-gradient(87deg, #03F7B5 -15.16%, #1590DA 49.48%, #262AFF 114.11%) !important;
                transform: scale(1.05);
                box-shadow: 0 0 40px var(--primary-color);
            }
            .node-card:hover .node-title { color: #fff; }
        }
        
        .node-title {
            color: white;
            font-weight: 800;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .node-line {
            width: 2px;
            height: 40px;
            /* Gradient: Blue -> Lime -> Cyan */
            background: linear-gradient(to bottom, #262AFF, #87E64B, #03F7B5, transparent);
            box-shadow: 0 0 8px rgba(3, 247, 181, 0.6);
        }

        .node-target {
            width: 6px;
            height: 6px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 0 10px white, 0 0 20px var(--primary-color);
        }
        
        #loading {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            color: var(--primary-color);
            font-family: monospace;
            letter-spacing: 2px;
            font-weight: bold;
            text-shadow: 0 0 10px var(--primary-color);
            text-align: center;
        }