
/* ======================================== */
/* CTU TACTICAL OPERATIONS NETWORK          */
/* LOS ANGELES DIVISION                     */
/* GLOBAL STYLES AND COLOR SYSTEM           */
/* ======================================== */

:root {

    /* Main Background Colors */
    --background: #08131F;
    --panel-background: #142638;
    --secondary-background: #1C3449;

    /* CTU Interface Colors */
    --ctu-blue: #78ACC9;
    --ctu-blue-bright: #A3CDE3;
    --ctu-amber: #E5AD58;
    --ctu-green: #7CC7A1;
    --ctu-red: #D96464;

    /* Text Colors */
    --text-primary: #DFEAF1;
    --text-secondary: #91AABD;
    --text-muted: #617C91;

    /* Borders and Dividers */
    --border-primary: #34546B;
    --border-secondary: #233D52;

    /* Typography */
    --font-primary: Arial, Helvetica, sans-serif;
    --font-technical: "Courier New", monospace;

}

/* ======================================== */
/* GLOBAL RESET                             */
/* ======================================== */

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

body {
    background: var(--background);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 13px;
    line-height: 1.5;
}

/* ======================================== */
/* MAIN WORKSTATION CONTAINER               */
/* ======================================== */

.ctu-workstation {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ======================================== */
/* WORKSTATION SECTIONS                     */
/* ======================================== */

.ctu-header {
    min-height: 90px;
    background: var(--panel-background);
    border-bottom: 2px solid var(--border-primary);
}

.ctu-navigation {
    min-height: 45px;
    background: var(--secondary-background);
    border-bottom: 1px solid var(--border-primary);
}

.ctu-main {
    flex: 1;
    padding: 20px;
    background: var(--background);
}

.ctu-footer {
    min-height: 35px;
    background: var(--panel-background);
    border-top: 1px solid var(--border-primary);
}

/* ======================================== */
/* TECHNICAL TEXT UTILITIES                 */
/* ======================================== */

.technical-text {
    font-family: var(--font-technical);
    letter-spacing: 1px;
}

.status-online {
    color: var(--ctu-green);
}

.status-warning {
    color: var(--ctu-amber);
}

.status-critical {
    color: var(--ctu-red);
}


/* ======================================== */
/* CTU WORKSTATION HEADER                   */
/* ======================================== */

.ctu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 25px;
}

/* CTU Identity */

.ctu-identity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ctu-logo {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-background);
    border: 2px solid var(--ctu-blue);
    color: var(--ctu-blue-bright);
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 2px;
}

.ctu-identity-text h1 {
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.ctu-identity-text p {
    font-size: 12px;
    color: var(--ctu-blue);
    letter-spacing: 2px;
}

.ctu-identity-text span {
    font-family: var(--font-technical);
    font-size: 10px;
    color: var(--text-muted);
}

/* Network Status Indicators */

.ctu-header-status {
    display: flex;
    gap: 30px;
}

.header-status-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-label {
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.header-status-item span:last-child {
    font-family: var(--font-technical);
    font-size: 12px;
    font-weight: bold;
}

/* Operational Clock */

.ctu-clock-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 150px;
}

.clock-label,
.clock-subtitle {
    font-family: var(--font-technical);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

#ctu-clock {
    font-family: var(--font-technical);
    font-size: 29px;
    font-weight: bold;
    color: var(--ctu-amber);
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

/* ======================================== */
/* CTU DIVISION NAVIGATION                  */
/* ======================================== */

.ctu-navigation {
    display: flex;
    align-items: stretch;
    padding: 0 20px;
    gap: 4px;
    overflow-x: auto;
}

.nav-button {
    appearance: none;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-technical);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 13px 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.nav-button:hover {
    background: var(--panel-background);
    color: var(--ctu-blue-bright);
}

.nav-button.active {
    background: var(--panel-background);
    color: var(--ctu-amber);
    border-bottom-color: var(--ctu-amber);
}

.nav-button:focus-visible {
    outline: 2px solid var(--ctu-blue-bright);
    outline-offset: -4px;
}


/* ======================================== */
/* CTU OPERATIONS CENTER                    */
/* DASHBOARD HEADER                         */
/* ======================================== */

.ctu-division-panel {
    width: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding: 20px 25px;
    margin-bottom: 20px;

    background: var(--panel-background);
    border: 1px solid var(--border-primary);
    border-left: 4px solid var(--ctu-blue);
}

.dashboard-title-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dashboard-eyebrow {
    font-family: var(--font-technical);
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--ctu-blue);
}

.dashboard-title-group h2 {
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.dashboard-title-group p {
    font-family: var(--font-technical);
    font-size: 11px;
    color: var(--text-secondary);
}

/* Operational Readiness Indicator */

.dashboard-readiness {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 18px;
    background: var(--secondary-background);
    border: 1px solid var(--border-secondary);
}

.readiness-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ctu-green);
    box-shadow: 0 0 10px rgba(124, 199, 161, 0.5);
}

.readiness-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.readiness-text span {
    font-family: var(--font-technical);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.readiness-text strong {
    font-family: var(--font-technical);
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--ctu-green);
}

/* Dashboard Responsive Layout */

@media (max-width: 700px) {

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

}
