/* css/main.css */
:root {
    --primary-color: #0ff;
    --secondary-color: #f0f;
    --background-dark: #0a0a2a;
    --background-darker: #050515;
    --panel-bg: rgba(10, 20, 40, 0.8);
    --border-color: rgba(0, 255, 255, 0.3);
    --text-color: #fff;
    --button-bg: linear-gradient(45deg, #00f, #0ff);
    --button-hover: linear-gradient(45deg, #0ff, #00f);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-darker);
    color: var(--text-color);
    height: 100vh;
    overflow: hidden;
}

.main-header {
    background: linear-gradient(to right,
            var(--primary-color),
            transparent 20%,
            transparent 80%,
            var(--primary-color));
    padding: 15px;
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    z-index: 100;
    color: white;
    text-shadow:
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.6),
        0 0 30px rgba(0, 255, 255, 0.4);
    font-weight: bold;
}

.main-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.container {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    grid-template-rows: 1fr 1fr;
    height: calc(100vh - 70px);
    gap: 10px;
    padding: 10px;
}

.panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.panel-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
    text-align: center;
}

.status-item,
.drone-item,
.nest-item {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    border-left: 3px solid var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.info-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-radius: 3px;
    font-size: 0.9rem;
}

.info-label {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.info-value {
    font-weight: bold;
    margin-top: 3px;
}

.progress-bar {
    height: 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    border-radius: 3px;
}