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


body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: #070b12;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================
   NAVBAR
========================= */

.navbar {

    height: 82px;

    padding: 0 5vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

    background:
        rgba(7, 11, 18, 0.97);

}


.brand {

    display: flex;

    align-items: center;

    gap: 13px;

    color: #ffffff;

    text-decoration: none;

}


.brand-icon {

    width: 46px;
    height: 46px;

    min-width: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(30, 160, 255, 0.6);

    border-radius: 50%;

    overflow: hidden;

    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;

}


.brand-name span:first-child {

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.12em;

}


.brand-name span:last-child {

    margin-top: 3px;

    color: #7f8a99;

    font-size: 8px;

    letter-spacing: 0.18em;

}


.nav-center {

    position: absolute;

    left: 50%;

    transform:
        translateX(-50%);

    color: #58b0ff;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.18em;

}


.nav-right {

    display: flex;

    align-items: center;

    gap: 24px;

}


.admin-status {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #7f8a99;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.12em;

}


.status-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #58b0ff;

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

}


#logout-button {

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

    background: transparent;

    color: #7f8a99;

    padding: 9px 13px;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.12em;

    cursor: pointer;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;

}


#logout-button:hover {

    color: #ffffff;

    border-color:
        rgba(88, 176, 255, 0.6);

    background:
        rgba(88, 176, 255, 0.06);

}


/* =========================
   MAIN
========================= */

.admin-dashboard {

    width: 90%;

    max-width: 1450px;

    margin: 0 auto;

    padding: 70px 0 80px;

}


/* =========================
   HEADER
========================= */

.dashboard-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 45px;

}


.section-label {

    margin-bottom: 13px;

    color: #58b0ff;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.18em;

}


.dashboard-header h1 {

    font-size: 32px;

    font-weight: 600;

    letter-spacing: 0.08em;

}


.dashboard-header p {

    max-width: 570px;

    margin-top: 13px;

    color: #7f8a99;

    font-size: 12px;

    line-height: 1.7;

}


.dashboard-time {

    padding-left: 30px;

    border-left:
        1px solid
        rgba(88, 176, 255, 0.18);

}


.time-label {

    display: block;

    margin-bottom: 8px;

    color: #4e5967;

    font-size: 8px;

    letter-spacing: 0.14em;

}


.dashboard-time strong {

    color: #58b0ff;

    font-size: 11px;

    letter-spacing: 0.12em;

}


/* =========================
   CONTROL GRID
========================= */

.control-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

}


.control-card {

    position: relative;

    min-height: 235px;

    padding: 25px;

    display: flex;

    flex-direction: column;

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

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

    color: #ffffff;

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;

}


.control-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background: #58b0ff;

    transition:
        height 0.3s ease;

}


.control-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(88, 176, 255, 0.5);

    background:
        linear-gradient(
            145deg,
            rgba(25, 70, 115, 0.35),
            rgba(7, 16, 29, 0.7)
        );

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.35),

        0 0 25px
        rgba(88, 176, 255, 0.05);

}


.control-card:hover::before {

    height: 100%;

}


.control-number {

    color: #3f4b59;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.12em;

}


.control-icon {

    width: 42px;
    height: 42px;

    margin-top: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

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

    border-radius: 50%;

    font-size: 16px;

    background:
        rgba(5, 15, 28, 0.45);

}


.control-content {

    margin-top: 23px;

}


.control-content h2 {

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.12em;

}


.control-content p {

    margin-top: 9px;

    color: #7f8a99;

    font-size: 10px;

    line-height: 1.6;

}


.control-arrow {

    position: absolute;

    right: 22px;

    bottom: 20px;

    color: #58b0ff;

    font-size: 18px;

    transition:
        transform 0.25s ease;

}


.control-card:hover
.control-arrow {

    transform:
        translateX(5px);

}


/* =========================
   LOWER PANELS
========================= */

.dashboard-lower {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-top: 12px;

}


.info-panel {

    min-height: 235px;

    padding: 25px;

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

    background:
        linear-gradient(
            145deg,
            rgba(13, 30, 50, 0.32),
            rgba(7, 14, 25, 0.62)
        );

}


.panel-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 17px;

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

    color: #9ba7b5;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.14em;

}


.panel-live {

    color: #58b0ff;

}


/* =========================
   STATUS ROWS
========================= */

.status-row {

    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

}


.status-row:last-child {

    border-bottom: none;

}


.status-row span {

    color: #667281;

    font-size: 9px;

    letter-spacing: 0.08em;

}


.status-row strong {

    color: #58b0ff;

    font-size: 9px;

    letter-spacing: 0.1em;

}


/* =========================
   ACTIVITY
========================= */

.activity-item {

    min-height: 55px;

    display: flex;

    align-items: center;

    gap: 13px;

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

}


.activity-item:last-child {

    border-bottom: none;

}


.activity-dot {

    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #58b0ff;

    box-shadow:
        0 0 8px
        rgba(88, 176, 255, 0.7);

}


.activity-item strong {

    display: block;

    color: #b5c0cc;

    font-size: 10px;

    font-weight: 500;

}


.activity-item small {

    display: block;

    margin-top: 4px;

    color: #4e5967;

    font-size: 8px;

}


/* =========================
   FOOTER
========================= */

footer {

    min-height: 65px;

    padding: 0 5vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

    color: #4e5967;

    font-size: 8px;

    letter-spacing: 0.12em;

}


/* =========================
   MOBILE
========================= */

@media (max-width: 1000px) {

    .control-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 700px) {

    .navbar {

        height: 72px;

        padding: 0 22px;

    }


    .nav-center {

        display: none;

    }


    .admin-status {

        display: none;

    }


    .admin-dashboard {

        width: 92%;

        padding: 45px 0 55px;

    }


    .dashboard-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 25px;

    }


    .dashboard-time {

        padding-left: 0;

        border-left: none;

    }


    .dashboard-header h1 {

        font-size: 25px;

    }


    .control-grid {

        grid-template-columns: 1fr;

    }


    .dashboard-lower {

        grid-template-columns: 1fr;

    }


    footer {

        padding: 0 22px;

    }


    footer span:last-child {

        display: none;

    }

}