/* --- Brand Variables --- */
:root {
    --deep-blue: #1E3A8A;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --dark-grey: #1A1A1A;
    --light-grey: #2A2A2A;
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--black);
    color: var(--white);
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar Navigation --- */
.sidebar {
    width: 250px;
    background-color: var(--deep-blue);
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--light-grey);
}
.logo h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 40px; }
.logo span { color: var(--gold); }
.nav-menu { display: flex; flex-direction: column; gap: 10px; }
.nav-item {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}
.nav-item:hover, .nav-item.active {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-left: 3px solid var(--gold);
}

/* --- Main Content --- */
.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}
.top-header { margin-bottom: 30px; }
.top-header h1 { font-size: 2rem; color: var(--gold); }
.subtitle { color: rgba(255,255,255,0.6); margin-top: 5px; font-size: 1.1rem; }

/* --- Sections & Cards --- */
.section-card {
    background-color: var(--dark-grey);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid var(--light-grey);
}
.section-card h3 { 
    color: var(--white); 
    margin-bottom: 20px; 
    font-size: 1.25rem;
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 10px;
}

.mission-section p { font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,0.8); }

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: var(--black);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--light-grey);
    transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold); }
.card h4 { color: var(--gold); margin-bottom: 8px; }
.card .role, .card .category { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* --- Agent Status Indicators --- */
.status-indicator {
    width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px;
}
.online { background-color: #10B981; box-shadow: 0 0 8px #10B981; }
.ready { background-color: var(--gold); box-shadow: 0 0 8px var(--gold); }
.standby { background-color: #6B7280; }
.status-text { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 10px; display: block; }

/* --- AI Chat Interface --- */
.chat-window {
    background-color: var(--black);
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    height: 200px;
    overflow-y: auto;
    padding: 15px;
    margin-bottom: 15px;
}
.chat-message { margin-bottom: 10px; padding: 10px; border-radius: 8px; max-width: 80%; }
.chat-message.bot { background-color: var(--deep-blue); color: var(--white); }
.chat-message.user { background-color: var(--light-grey); color: var(--white); margin-left: auto; text-align: right;}

.chat-input-area { display: flex; gap: 10px; }
.chat-input-area input {
    flex: 1; padding: 12px; background: var(--black); border: 1px solid var(--light-grey);
    border-radius: 8px; color: var(--white); outline: none;
}
.chat-input-area input:focus { border-color: var(--gold); }
.chat-input-area button {
    padding: 12px 24px; background: var(--gold); color: var(--black); border: none;
    border-radius: 8px; font-weight: bold; cursor: pointer; transition: background 0.2s;
}
.chat-input-area button:hover { background: #b5952f; }
