:root {
    --neon: #00ff41;
    --bg: #050505;
    --card: #121212;
    --border: #222;
}

body {
    background: var(--bg);
    color: white;
    font-family: sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.login-body {
    align-items: center;
    justify-content: center;
}

.login-form {
    background: var(--card);
    padding: 40px;
    border: 1px solid var(--neon);
    border-radius: 8px;
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.dashboard-container {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

nav a {
    color: var(--neon);
    text-decoration: none;
    font-weight: bold;
}

.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

.video-section {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
    border: 1px solid var(--border);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.status-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    padding: 5px 12px;
    color: var(--neon);
    font-family: monospace;
    font-weight: bold;
    border-left: 3px solid var(--neon);
    z-index: 10;
}

.control-card {
    background: var(--card);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.control-card h3 {
    margin-top: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    border-bottom: 1px solid #222;
    padding-bottom: 5px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background: #000;
    border: 1px solid #333;
    color: white;
    box-sizing: border-box;
    border-radius: 4px;
}

input:focus {
    border-color: var(--neon);
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: var(--neon);
    color: black;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
}

button:hover {
    filter: brightness(1.2);
}

button:active {
    transform: translateY(1px);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    display: block;
}
