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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Common sans-serif font */
    line-height: 1.6;
    background-color: #f4f7f6; /* Light gray background */
    color: #333;
    display: flex;
    min-height: 100vh;
}

/* Layout */
.container {
    display: flex;
    width: 100%;
}

.sidebar {
    width: 250px;
    background-color: #0c2169; /* Dark blue */
    color: #fff;
    padding: 20px 0;
    position: fixed;
    height: 100%;
    overflow-y: auto;
}

.main-content {
    margin-left: 250px; /* Same as sidebar width */
    padding: 30px;
    width: calc(100% - 250px);
    background-color: #fff; /* White content background */
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 1.5em;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin-bottom: 5px;
}

.sidebar nav ul li a {
    display: block;
    color: #e0e0e0; /* Lighter text for links */
    text-decoration: none;
    padding: 12px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar nav ul li a:hover {
    background-color: #1f3a8a; /* Slightly lighter blue on hover */
    color: #fff;
    border-left-color: #e74c3c; /* Red accent */
}

.sidebar nav ul li a.active {
    background-color: #1f3a8a;
    color: #fff;
    font-weight: bold;
    border-left-color: #e74c3c; /* Red accent for active */
}

/* Submenu (for Decisions) */
.sidebar nav ul ul {
    margin-left: 20px;
    margin-top: 5px;
}

.sidebar nav ul ul li a {
    padding: 8px 20px;
    font-size: 0.9em;
}

/* Main Content Area */
.main-content h1 {
    color: #0c2169; /* Dark blue headings */
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.main-content h2 {
    color: #1f3a8a; /* Lighter blue subheadings */
    margin-top: 30px;
    margin-bottom: 15px;
}

.main-content h3 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.main-content p {
    margin-bottom: 15px;
}

.main-content ul, .main-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.main-content li {
    margin-bottom: 8px;
}

.main-content a {
    color: #e74c3c; /* Red accent for links */
    text-decoration: none;
}

.main-content a:hover {
    text-decoration: underline;
}

.main-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.main-content th, .main-content td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.main-content th {
    background-color: #f2f2f2;
    color: #0c2169;
}

.main-content pre {
    background-color: #eee;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

.main-content code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}

/* Responsive adjustments (optional but good practice) */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }
    .container {
        flex-direction: column;
    }
}

