
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #0b1020;
    color: white;
    font-family: Arial, sans-serif;
}

.dashboard {
    max-width: 1200px;
    margin: auto;
    padding: 25px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #26334a;
    padding-bottom: 15px;
}

header h1 {
    font-size: 21px;
    letter-spacing: 2px;
}

#status {
    color: #ff7777;
    font-weight: bold;
    font-size: 12px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.card, .map-section, .details, .inspector {
    background: #151f33;
    border: 1px solid #293750;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}

.card h3 {
    color: #91a0b8;
    font-size: 13px;
}

.card h2 {
    font-size: 30px;
}

.map-section h2,
.details h2,
.inspector h2 {
    font-size: 16px;
}

#map {
    display: block;
    width: 100%;
    height: 450px;
    background: #091426;
    border: 1px solid #34445d;
    border-radius: 8px;
    touch-action: none;
    cursor: grab;
}

.map-section p {
    color: #91a0b8;
    font-size: 12px;
}

.part {
    background: #202e45;
    padding: 12px;
    margin: 8px 0;
    border-radius: 7px;
    cursor: pointer;
}

.part:hover {
    background: #304461;
}

.part.selected {
    border: 1px solid #52d6cf;
}

.inspector p {
    color: #aebbd0;
}

.inspector span {
    color: #52d6cf;
}

@media(max-width: 600px) {
    .dashboard {
        padding: 12px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    #map {
        height: 350px;
    }
}