/* Global layout and typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold; /* All text bold as requested */
    background-color: rgb(235, 242, 250); /* Light professional blue background */
    color: rgb(15, 30, 45); /* Dark text for contrast */
    line-height: 1.5;
    padding-bottom: 40px;
}

.page-header,
.page-footer {
    text-align: center;
    padding: 16px;
    background-color: rgb(213, 225, 241);
    border-bottom: 2px solid rgb(0, 64, 128);
}

.page-footer {
    border-top: 2px solid rgb(0, 64, 128);
    border-bottom: none;
    margin-top: 24px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.tagline {
    font-size: 14px;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px;
    color: rgb(90, 90, 90);
}

/* Navigation bar */
.top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 12px;
    background-color: rgb(222, 232, 245);
    border-bottom: 2px solid rgb(0, 64, 128);
}

.top-nav button {
    border: 2px solid rgb(0, 64, 128);
    background-color: rgb(0, 64, 128);
    color: rgb(255, 255, 255);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.top-nav button:hover {
    background-color: rgb(0, 90, 160);
}

/* Main content layout */
.content {
    max-width: 1100px;
    margin: 16px auto;
    padding: 0 12px;
}

/* Card style for sections */
.card {
    background-color: rgb(248, 251, 255);
    border: 2px solid rgb(0, 64, 128); /* Professional border color */
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.card h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.card h3 {
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 4px;
}

/* Paragraphs and lists */
p {
    margin-bottom: 6px;
}

ul, ol {
    margin-left: 20px;
    margin-top: 4px;
    margin-bottom: 6px;
}

/* Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    margin-bottom: 8px;
}

.info-table th,
.info-table td {
    border: 1px solid rgb(0, 64, 128);
    padding: 6px;
    text-align: left;
}

.info-table thead {
    background-color: rgb(213, 225, 241);
}

/* Formula styling */
.formula {
    font-size: 16px;
    margin-top: 4px;
    margin-bottom: 8px;
}

/* Flowchart styles */
.flowchart {
    margin-top: 8px;
}

.flow-step {
    border: 2px solid rgb(0, 64, 128);
    background-color: rgb(230, 240, 255);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    margin-bottom: 6px;
    position: relative;
}

.flow-step::after {
    content: "↓";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgb(0, 64, 128);
}

/* Remove arrow from last step */
.flow-step:last-child::after {
    content: "";
}

/* Problems */
.problem {
    margin-bottom: 10px;
}

/* Mind map list styling */
.mindmap-root {
    list-style-type: none;
    margin-left: 0;
}

.mindmap-root > li {
    margin-bottom: 4px;
}

.mindmap-root ul {
    list-style-type: circle;
    margin-left: 20px;
}

/* Print styles */
@media print {
    .top-nav {
        display: none;
    }
    body {
        background-color: white;
    }
    .card {
        box-shadow: none;
    }
}
