/* jobs_outlook/static/css/style.css */

/* Variables for NKU Colors and Styling */
:root {
    --nku-black: #060606; /* NKU Primary black (Dark) */
    --nku-gold: #ffc72c; /* NKU Secondary Gold */
    --nku-light-gray: #f4f4f9;
    --text-dark: #333;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--nku-light-gray);
    color: var(--text-dark);
}

/* Header */
.nku-header {
    background-color: var(--nku-black);
    color: white;
    padding: 15px 30px;
    border-bottom: 5px solid var(--nku-gold);
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.nku-logo {
    height: 40px; 
    margin-right: 15px;
}

.logo-container h1 {
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nku-header h2 {
    font-size: 1em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* Main Layout */
.main-layout {
    display: flex;
    min-height: calc(100vh - 120px);
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0; /* Prevent sidebar from shrinking */
}

.cead-nav {
    display: flex;
    flex-direction: column;
}

.nav-link {
    padding: 15px 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-left: 5px solid transparent;
    transition: background-color 0.2s, border-left-color 0.2s;
}

.nav-link:hover {
    background-color: var(--nku-light-gray);
    border-left-color: rgba(0, 48, 87, 0.2);
}

.nav-link.active {
    background-color: var(--nku-light-gray);
    border-left-color: var(--nku-gold);
    color: var(--nku-black);
    font-weight: 700;
}

.cead-contact {
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

.cead-contact h3 {
    color: var(--nku-black);
    margin-bottom: 5px;
}

.cead-contact a {
    display: inline-block;
    margin-top: 10px;
    color: var(--nku-gold);
    text-decoration: none;
    font-weight: 700;
}

/* Main Content Area */
.content {
    flex-grow: 1;
    padding: 30px;
    /* Ensure content doesn't overflow horizontally */
    max-width: 100%; 
    overflow-x: hidden; 
}

/* --- RESPONSIVE / MOBILE STYLES (New Section) --- */
@media (max-width: 768px) {
    /* Stack the layout vertically */
    .main-layout {
        flex-direction: column;
    }

    /* Make sidebar full width and remove height constraints */
    .sidebar {
        width: 100%;
        padding: 0;
        box-shadow: none;
        border-bottom: 1px solid #ddd;
    }

    /* Adjust nav links to be more compact or grid-like if desired */
    .cead-nav {
        flex-direction: row;
        overflow-x: auto; /* Allow scrolling if many links */
        background: #fff;
    }

    .nav-link {
        padding: 15px 15px;
        font-size: 0.9em;
        border-left: none;
        border-bottom: 4px solid transparent;
        white-space: nowrap;
    }

    .nav-link:hover, .nav-link.active {
        border-left: none;
        border-bottom-color: var(--nku-gold);
    }

    /* Hide contact info on mobile to save space, or style it differently */
    .cead-contact {
        display: none; 
    }

    /* Reduce padding for main content */
    .content {
        padding: 15px;
    }

    /* Adjust Header text size */
    .logo-container h1 {
        font-size: 1.2em;
    }
    .nku-header h2 {
        font-size: 0.9em;
    }
    .nku-header {
        padding: 10px 15px;
    }
}
/* --- END RESPONSIVE STYLES --- */


/* Tool Content Cards (Desktop) */
.tool-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 30px;
}

.data-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.data-card h2 {
    color: var(--nku-black);
    font-size: 1.4em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--nku-light-gray);
}

.filter-panel { grid-column: 1 / 2; height: fit-content; }
.chart-display { grid-column: 2 / 3; }
.key-metrics { grid-column: 1 / 3; display: flex; justify-content: space-around; }

.key-metrics ul {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.key-metrics li {
    font-size: 1.1em;
    padding: 10px 20px;
    border-left: 3px solid var(--nku-gold);
    margin-bottom: 10px;
}

.key-metrics li span {
    display: block;
    font-weight: 400;
    color: #777;
    font-size: 0.9em;
}

.key-metrics li strong {
    font-size: 1.5em;
    color: var(--nku-black);
}

/* Filters Styling */
.filter-group { margin-bottom: 15px; }
.filter-group label { display: block; margin-bottom: 5px; font-weight: 500; }
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 1em;
    appearance: none;
}

.apply-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--nku-gold);
    color: var(--text-dark);
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.apply-btn:hover { background-color: #e5b120; }

.placeholder-chart {
    height: 350px;
    background-color: var(--nku-light-gray);
    border: 1px dashed #ccc;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #999;
    padding: 20px;
}

.nku-footer {
    text-align: center;
    padding: 15px;
    background-color: #333;
    color: white;
    font-size: 0.85em;
}

.definitions-content .data-card { margin-top: 20px; }
.definitions-content h3 {
    color: var(--nku-gold);
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.2em;
}

/* Additional override for single column layout on mobile for tool content */
@media (max-width: 768px) {
    .tool-content {
        grid-template-columns: 1fr;
    }
    .filter-panel, .chart-display, .key-metrics {
        grid-column: 1 / -1;
    }
    .key-metrics ul {
        flex-direction: column;
        align-items: center;
    }
    .key-metrics li {
        border-left: none;
        border-bottom: 3px solid var(--nku-gold);
        text-align: center;
        width: 100%;
    }
}