/* Global Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Orbitron', monospace;
        background: #0a0a0a;
        color: #ffffff;
        overflow-x: hidden;
    }

    /* Glass Card Effect */
    .glass-card {
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .glass-card:hover {
        border-color: rgba(9, 222, 127, 0.3);
        box-shadow: 0 0 20px rgba(9, 222, 127, 0.1);
        transform: translateY(-2px);
    }

    /* Button Styles */
    .bot-action-btn {
        background: rgba(9, 222, 127, 0.1);
        border: 1px solid rgba(9, 222, 127, 0.3);
        color: #09DE7F;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        cursor: pointer;
        text-align: left;
    }

    .bot-action-btn:hover {
        background: rgba(9, 222, 127, 0.2);
        border-color: #09DE7F;
        box-shadow: 0 0 15px rgba(9, 222, 127, 0.3);
        transform: translateX(4px);
    }

    .bot-action-btn:active {
        transform: translateX(2px);
    }

    /* Terminal Styles */
    .terminal-window {
        font-family: 'Courier New', monospace;
        font-size: 14px;
        line-height: 1.4;
    }

    .terminal-line {
        margin-bottom: 4px;
        word-wrap: break-word;
    }

    .terminal-line.success {
        color: #09DE7F;
    }

    .terminal-line.error {
        color: #ff4757;
    }

    .terminal-line.warning {
        color: #ffa502;
    }

    .terminal-line.info {
        color: #70a1ff;
    }

    /* Animations */
    @keyframes pulse {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0.5;
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    .animate-pulse {
        animation: pulse 2s infinite;
    }

    .animate-fadeInUp {
        animation: fadeInUp 0.5s ease-out;
    }

    .animate-slideInRight {
        animation: slideInRight 0.5s ease-out;
    }

    /* Chain Status Styles */
    .chain-status-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .chain-status-item:last-child {
        border-bottom: none;
    }

    .status-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin-right: 8px;
    }

    .status-online {
        background-color: #09DE7F;
        box-shadow: 0 0 8px rgba(9, 222, 127, 0.5);
    }

    .status-offline {
        background-color: #ff4757;
        box-shadow: 0 0 8px rgba(255, 71, 87, 0.5);
    }

    .status-maintenance {
        background-color: #ffa502;
        box-shadow: 0 0 8px rgba(255, 165, 2, 0.5);
    }

    /* Table Styles */
    table {
        border-collapse: collapse;
    }

    table th {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    table td {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    table tr:hover {
        background: rgba(9, 222, 127, 0.05);
    }

    /* Bot Status Badges */
    .bot-status {
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
    }

    .bot-status.running {
        background: rgba(9, 222, 127, 0.2);
        color: #09DE7F;
    }

    .bot-status.stopped {
        background: rgba(255, 71, 87, 0.2);
        color: #ff4757;
    }

    .bot-status.pending {
        background: rgba(255, 165, 2, 0.2);
        color: #ffa502;
    }

    /* Action Buttons */
    .action-btn {
        padding: 4px 8px;
        border-radius: 4px;
        border: none;
        cursor: pointer;
        font-size: 12px;
        font-weight: 500;
        transition: all 0.2s ease;
        margin-right: 4px;
    }

    .action-btn.stop {
        background: rgba(255, 71, 87, 0.2);
        color: #ff4757;
    }

    .action-btn.stop:hover {
        background: rgba(255, 71, 87, 0.3);
    }

    .action-btn.view {
        background: rgba(112, 161, 255, 0.2);
        color: #70a1ff;
    }

    .action-btn.view:hover {
        background: rgba(112, 161, 255, 0.3);
    }

    /* Modal Styles */
    #deployModal {
        backdrop-filter: blur(10px);
    }

    #deployModal.hidden {
        display: none !important;
    }

    #deployModal.flex {
        display: flex !important;
    }

    /* Scrollbar Styles */
    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(9, 222, 127, 0.3);
        border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(9, 222, 127, 0.5);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .grid {
            grid-template-columns: 1fr;
        }
        
        .terminal-window {
            font-size: 12px;
        }
        
        table {
            font-size: 12px;
        }
        
        .glass-card {
            padding: 16px;
        }
    }

    /* Loading States */
    .loading {
        position: relative;
        overflow: hidden;
    }

    .loading::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(9, 222, 127, 0.1),
            transparent
        );
        animation: loading-shimmer 1.5s infinite;
    }

    @keyframes loading-shimmer {
        0% {
            left: -100%;
        }
        100% {
            left: 100%;
        }
    }

    /* Success/Error States */
    .success-state {
        border-color: #09DE7F;
        box-shadow: 0 0 20px rgba(9, 222, 127, 0.3);
    }

    .error-state {
        border-color: #ff4757;
        box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
    }

    /* Notification Styles */
    .notification {
        position: fixed;
        top: 100px;
        right: 20px;
        z-index: 1000;
        padding: 16px 20px;
        border-radius: 8px;
        font-weight: 500;
        max-width: 400px;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.3s ease;
    }

    .notification.show {
        opacity: 1;
        transform: translateX(0);
    }

    .notification.success {
        background: rgba(9, 222, 127, 0.2);
        border: 1px solid #09DE7F;
        color: #09DE7F;
    }

    .notification.error {
        background: rgba(255, 71, 87, 0.2);
        border: 1px solid #ff4757;
        color: #ff4757;
    }

    .notification.warning {
        background: rgba(255, 165, 2, 0.2);
        border: 1px solid #ffa502;
        color: #ffa502;
    }