/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', serif;
    background-color: rgb(101, 201, 10);
    color: #000000;
    line-height: 1.8;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background-color: rgb(101, 201, 10);
    border: 5px solid rgb(206, 230, 168);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
header {
    text-align: center;
    padding: 30px;
    background-color: rgba(206, 230, 168, 0.5);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    margin-bottom: 30px;
}

header h1 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
}

header h2 {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-decoration: underline;
}

header h3 {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

.disclaimer {
    background-color: rgba(255, 255, 0, 0.3);
    padding: 15px;
    border: 2px solid rgb(206, 230, 168);
    border-radius: 5px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
}

/* Navigation Styles */
.navigation {
    background-color: rgba(206, 230, 168, 0.7);
    padding: 20px;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.navigation h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.navigation button {
    background-color: rgb(206, 230, 168);
    color: #000000;
    border: 2px solid #000000;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navigation button:hover {
    background-color: rgb(101, 201, 10);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.print-btn {
    background-color: #ffd700 !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
}

/* Section Styles */
.section {
    background-color: rgba(206, 230, 168, 0.4);
    padding: 30px;
    margin-bottom: 30px;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
}

.section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
}

.section h3 {
    font-size: 22px;
    font-weight: bold;
    color: #000000;
    margin-top: 20px;
    margin-bottom: 15px;
}

.section h4 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-top: 15px;
    margin-bottom: 10px;
}

.section p {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-align: justify;
}

.section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.section li {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

/* Table of Contents */
.toc {
    list-style-type: none;
    margin-left: 0;
}

.toc li {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    border-bottom: 2px solid rgb(206, 230, 168);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.8);
    border: 3px solid rgb(206, 230, 168);
}

table th {
    background-color: rgb(206, 230, 168);
    color: #000000;
    padding: 15px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #000000;
}

table td {
    padding: 12px;
    border: 2px solid rgb(206, 230, 168);
    font-size: 15px;
    font-weight: bold;
    color: #000000;
}

table tr:nth-child(even) {
    background-color: rgba(206, 230, 168, 0.3);
}

table tr:hover {
    background-color: rgba(206, 230, 168, 0.5);
}

/* Example Boxes */
.example-box {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    margin: 20px 0;
    border: 3px solid rgb(206, 230, 168);
    border-left: 8px solid rgb(206, 230, 168);
    border-radius: 5px;
}

.example-box h4 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.example-box p {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

/* Case Boxes */
.case-box {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    margin: 20px 0;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.case-box h4 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-decoration: underline;
}

.case-box p {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

/* Scenario Boxes */
.scenario-box {
    background-color: rgba(255, 255, 200, 0.6);
    padding: 20px;
    margin: 20px 0;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 5px;
}

.scenario-box h4 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.scenario-box p {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

/* Flowchart Styles */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
}

.flow-box {
    background-color: rgb(206, 230, 168);
    border: 3px solid #000000;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    min-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.flow-arrow {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    margin: 5px 0;
}

/* Q&A Section */
.qa-item {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    margin: 20px 0;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
}

.qa-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.answer-btn {
    background-color: rgb(206, 230, 168);
    color: #000000;
    border: 2px solid #000000;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.answer-btn:hover {
    background-color: rgb(101, 201, 10);
    transform: scale(1.05);
}

.answer {
    background-color: rgba(206, 230, 168, 0.7);
    padding: 20px;
    margin-top: 15px;
    border: 2px solid rgb(206, 230, 168);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.answer.hidden {
    display: none;
}

.answer p {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.answer ul {
    margin-left: 30px;
    margin-top: 10px;
}

.answer li {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 25px;
    background-color: rgba(206, 230, 168, 0.6);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    margin-top: 30px;
}

footer p {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        border: 2px solid black;
        box-shadow: none;
    }
    
    .navigation {
        display: none;
    }
    
    .answer-btn {
        display: none;
    }
    
    .answer {
        display: block !important;
    }
    
    .section {
        page-break-inside: avoid;
        border: 2px solid black;
    }
    
    table {
        page-break-inside: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 10px;
    }
    
    header h1 {
        font-size: 24px;
    }
    
    header h2 {
        font-size: 28px;
    }
    
    .navigation button {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
    
    .flow-box {
        min-width: 200px;
        font-size: 14px;
    }
    
    table {
        font-size: 12px;
    }
    
    table th, table td {
        padding: 8px;
    }
}