:root {
    --bg-color: #0f172a;
    --accent-color: #38bdf8;
    --danger-color: #ef4444;
    --card-bg: #1e293b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: white;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 800px;
    text-align: center;
}

/* Login Style */
.login-box input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-bottom: 10px;
}


.controls {
    display: grid;
    grid-template-areas:
        ". up ."
        "left stop right"
        ". down .";
    gap: 10px;
    justify-content: center;
}

button {
    background: #334155;
    color: white;
    border: none;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

button:active {
    background: var(--accent-color);
    transform: scale(0.95);
}

.btn-up {
    grid-area: up;
}

.btn-left {
    grid-area: left;
}

.btn-right {
    grid-area: right;
}

.btn-down {
    grid-area: down;
}

.btn-stop {
    grid-area: stop;
    background: var(--danger-color);
}

.map-container {
    background: #000;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}