/* styles.css */
:root {
    --tech-blue: #2a9df4;
    --tech-dark: #0a192f;
    --tech-glow: #00f7ff;
    --tech-bg: rgba(10, 25, 47, 0.95);
}

.tech-theme {
    background: var(--tech-dark);
    color: #e6f1ff;
    min-height: 100vh;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(var(--tech-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--tech-dark) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 0;
}

.dashboard-header {
    background: var(--tech-bg);
    border-bottom: 1px solid rgba(42, 157, 244, 0.2);
}

.control-panel {
    background: var(--tech-bg);
    border-right: 1px solid rgba(42, 157, 244, 0.1);
    backdrop-filter: blur(8px);
}

.tech-select, .tech-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--tech-blue);
    color: white;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 4px;
}

.tech-select:focus, .tech-input:focus {
    box-shadow: 0 0 15px var(--tech-blue);
    border-color: var(--tech-glow);
    background: rgba(255,255,255,0.1);
}

.btn-tech {
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-glow));
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(42, 157, 244, 0.3);
}

.btn-tech::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255,255,255,0.2), 
        transparent);
    transform: rotate(45deg);
    animation: btn-glow 3s infinite;
}

@keyframes btn-glow {
    0% { left: -50%; }
    100% { left: 150%; }
}

.render-area {
    background: rgba(0,0,0,0.3);
    border: 2px solid var(--tech-blue);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(42, 157, 244, 0.2);
    position: relative;
    overflow: auto;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.tech-footer {
    background: var(--tech-bg);
    border-top: 1px solid rgba(42, 157, 244, 0.2);
}

/* 保留原有屏幕绘制样式 */
.screen, .innerScreen {
    border: 1px solid var(--tech-blue);
    position: absolute;
    transition: all 0.3s ease;
}

.screen:hover {
    filter: brightness(1.2);
    z-index: 10;
}

@media (max-width: 768px) {
    .design-dashboard {
        flex-direction: column;
    }
    .control-panel {
        border-right: none;
        border-bottom: 1px solid rgba(42, 157, 244, 0.1);
    }
}