* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #070b12;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}


/* NAVBAR */

.navbar {
    height: 78px;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    border-bottom: 1px solid rgba(88, 176, 255, 0.12);
    background: rgba(7, 11, 18, 0.96);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 160, 255, 0.6);
    background: #0b1b35;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 600;
}

.brand-name span:last-child {
    color: #6e7b8d;
    font-size: 8px;
    margin-top: 3px;
}

.page-title {
    margin-left: auto;
    margin-right: 35px;
    color: #58b0ff;
    font-size: 11px;
    letter-spacing: 0.18em;
    font-weight: 600;
}

.admin-link {
    color: #7f8a99;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.admin-link:hover {
    color: #58b0ff;
}


/* MAIN */

.activities {
    padding: 60px 5vw 80px;
    max-width: 1500px;
    margin: auto;
}

.activity-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-label {
    color: #58b0ff;
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.activity-header h1 {
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: 0.04em;
    font-weight: 600;
}

.activity-header p {
    margin-top: 12px;
    color: #7f8a99;
    font-size: 13px;
}


/* LIVE STATUS */

.live-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(88, 176, 255, 0.2);
    color: #58b0ff;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #58b0ff;
    box-shadow: 0 0 10px rgba(88, 176, 255, 0.8);
}


/* DASHBOARD */

.flight-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
}


/* MAP */

.radar-container {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    border: 1px solid rgba(88, 176, 255, 0.16);
    background: #070b12;
}


/* LEAFLET MAP */

#flight-map {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;

    border: 1px solid rgba(88, 176, 255, 0.22);
    border-radius: 18px;

    background: #070b12;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(88, 176, 255, 0.04);
}


/* RADAR SWEEP */

#flight-map .radar-sweep {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    z-index: 999999 !important;
    pointer-events: none !important;

    background: transparent !important;
    overflow: hidden;
}

#flight-map .radar-sweep::after {
    content: "";

    position: absolute;

    width: 50%;
    height: 3px;

    left: 50%;
    top: 50%;

    transform-origin: left center;

    background: linear-gradient(
        90deg,
        rgba(88, 176, 255, 0.9),
        rgba(88, 176, 255, 0)
    );

    box-shadow: 0 0 14px rgba(88, 176, 255, 0.8);

    animation: radarSweep 10s linear infinite;
}

@keyframes radarSweep {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* RUNWAY LABELS */

.runway-label {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    pointer-events: none;

    -webkit-text-stroke: 2px #000000;
    paint-order: stroke fill;
}


/* AIRCRAFT */

.aircraft-marker {
    background: transparent;
    border: none;
}

.aircraft-icon {
    width: 44px;
    height: 44px;
    display: block;
    transform-origin: center center;
}


/* AIRCRAFT PANEL */

.flight-panel {
    border: 1px solid rgba(88, 176, 255, 0.16);

    background:
        linear-gradient(
            145deg,
            rgba(18, 48, 82, 0.25),
            rgba(7, 16, 29, 0.65)
        );

    min-height: 650px;
}

.panel-header {
    height: 65px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(88, 176, 255, 0.12);
}

.panel-header span {
    color: #7f8a99;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.panel-header strong {
    color: #58b0ff;
    font-size: 20px;
    font-weight: 500;
}

.aircraft-list {
    padding: 12px;
}

.empty-state {
    padding: 45px 15px;
    text-align: center;
    color: #46515f;
    font-size: 9px;
    letter-spacing: 0.15em;
}


/* ATC */

.operations-panel {
    margin-top: 18px;
    border: 1px solid rgba(88, 176, 255, 0.16);
    background: rgba(9, 18, 31, 0.7);
}

.panel-title {
    height: 55px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(88, 176, 255, 0.12);

    color: #7f8a99;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.panel-status {
    color: #46515f;
}

.atc-box {
    display: flex;
    gap: 10px;
    padding: 15px;
}

.atc-box input {
    flex: 1;
    min-width: 0;

    padding: 14px 15px;

    border: 1px solid rgba(88, 176, 255, 0.15);
    outline: none;

    background: #070b12;
    color: white;

    font-size: 12px;
}

.atc-box input:focus {
    border-color: rgba(88, 176, 255, 0.5);
}

.atc-box button {
    padding: 0 24px;

    border: 1px solid rgba(88, 176, 255, 0.35);

    background: rgba(30, 110, 180, 0.15);
    color: #58b0ff;

    cursor: pointer;

    font-size: 10px;
    letter-spacing: 0.12em;

    transition: 0.2s ease;
}

.atc-box button:hover {
    background: rgba(30, 110, 180, 0.3);
    border-color: #58b0ff;
}


/* FOOTER */

footer {
    display: flex;
    justify-content: space-between;

    padding: 25px 5vw;

    border-top: 1px solid rgba(88, 176, 255, 0.1);

    color: #46515f;
    font-size: 9px;
    letter-spacing: 0.12em;
}


/* MOBILE */

@media (max-width: 900px) {

    .flight-dashboard {
        grid-template-columns: 1fr;
    }

    .radar-container,
    .flight-panel {
        min-height: auto;
    }

    .radar-container {
        padding: 0;
    }

    .flight-panel {
        min-height: 300px;
    }
}

@media (max-width: 600px) {

    .navbar {
        padding: 0 20px;
    }

    .page-title {
        display: none;
    }

    .activities {
        padding: 40px 20px 60px;
    }

    .activity-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .atc-box {
        flex-direction: column;
    }

    .atc-box button {
        height: 45px;
    }

    footer {
        flex-direction: column;
        gap: 8px;
    }
}
.aircraft-card {
    padding: 15px;
    margin-bottom: 10px;

    border: 1px solid rgba(88, 176, 255, 0.14);

    background:
        linear-gradient(
            145deg,
            rgba(18, 48, 82, 0.28),
            rgba(7, 16, 29, 0.65)
        );
}

.aircraft-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aircraft-card-top strong {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.aircraft-card-top span {
    color: #58b0ff;
    font-size: 8px;
    letter-spacing: 0.12em;
}

.aircraft-type {
    margin-top: 7px;
    color: #7f8a99;
    font-size: 10px;
}

.aircraft-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.aircraft-data div {
    padding-top: 8px;
    border-top: 1px solid rgba(88, 176, 255, 0.1);
}

.aircraft-data small {
    display: block;
    color: #46515f;
    font-size: 7px;
    letter-spacing: 0.12em;
}

.aircraft-data strong {
    display: block;
    margin-top: 4px;
    color: #58b0ff;
    font-size: 11px;
}
.aircraft-card {
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.aircraft-card:hover {
    transform: translateX(4px);
    border-color: rgba(88, 176, 255, 0.45);
    background:
        linear-gradient(
            145deg,
            rgba(25, 70, 115, 0.35),
            rgba(7, 16, 29, 0.7)
        );
}