/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: rgb(101, 201, 10);
    color: #000000;
    line-height: 1.6;
    font-weight: bold;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.15);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.header h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #000000;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.case-details {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #1a1a1a;
}

.disclaimer {
    font-size: 0.95em;
    font-style: italic;
    color: #2a2a2a;
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-weight: bold;
}

/* Navigation */
.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 10px;
}

.nav-btn {
    background-color: rgba(255, 255, 255, 0.25);
    color: #000000;
    border: 2px solid rgb(206, 230, 168);
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-btn:active {
    transform: translateY(0);
}

.print-btn {
    background-color: rgba(255, 255, 255, 0.35);
    font-size: 1.1em;
}

/* Main Content */
.content {
    background-color: rgba(255, 255, 255, 0.12);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    margin-bottom: 50px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    scroll-margin-top: 20px;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 25px;
    color: #000000;
    font-weight: bold;
    border-bottom: 3px solid rgb(206, 230, 168);
    padding-bottom: 10px;
}

.subsection {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgb(206, 230, 168);
    border-radius: 6px;
}

.subsection h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #000000;
    font-weight: bold;
}

/* Lists */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-weight: bold;
    color: #000000;
}

ul li:before {
    content: "▶";
    position: absolute;
    left: 10px;
    color: #000000;
    font-weight: bold;
}

.nested-list {
    margin-top: 10px;
    padding-left: 20px;
}

.nested-list li:before {
    content: "◆";
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.2);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    overflow: hidden;
}

th {
    background-color: rgba(255, 255, 255, 0.3);
    color: #000000;
    font-weight: bold;
    padding: 15px;
    text-align: left;
    border: 2px solid rgb(206, 230, 168);
    font-size: 1.1em;
}

td {
    padding: 12px 15px;
    border: 2px solid rgb(206, 230, 168);
    font-weight: bold;
    color: #000000;
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.08);
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.yes-cell {
    background-color: rgba(255, 100, 100, 0.3);
    font-weight: bold;
}

.no-cell {
    background-color: rgba(100, 255, 100, 0.3);
    font-weight: bold;
}

/* Flowchart */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
}

.flow-box {
    background-color: rgba(255, 255, 255, 0.25);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    width: 80%;
    max-width: 600px;
    text-align: center;
    font-weight: bold;
    color: #000000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.flow-box.start {
    background-color: rgba(100, 150, 255, 0.3);
    border-color: rgb(206, 230, 168);
    border-width: 4px;
}

.flow-box.decision {
    background-color: rgba(255, 200, 100, 0.3);
    border-color: rgb(206, 230, 168);
    border-width: 4px;
}

.flow-box.final {
    background-color: rgba(100, 255, 150, 0.3);
    border-color: rgb(206, 230, 168);
    border-width: 4px;
}

.flow-arrow {
    font-size: 2.5em;
    color: #000000;
    font-weight: bold;
    margin: 5px 0;
}

/* Questions Section */
.test-intro {
    font-size: 1.1em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    color: #000000;
}

.question-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-box {
    background-color: rgba(255, 255, 255, 0.15);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.question-btn {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #000000;
    border: none;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.q-number {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: bold;
    border: 2px solid rgb(206, 230, 168);
}

.answer {
    display: none;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.25);
    border-top: 3px solid rgb(206, 230, 168);
    font-weight: bold;
    color: #000000;
    line-height: 1.8;
}

.answer.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.answer strong {
    color: #000000;
    font-size: 1.1em;
    font-weight: bold;
}

.answer ul {
    margin-top: 10px;
}

.answer ol {
    margin-top: 10px;
    padding-left: 25px;
    font-weight: bold;
}

.answer ol li {
    margin-bottom: 10px;
    padding-left: 10px;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: rgba(255, 255, 255, 0.15);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    font-weight: bold;
    color: #000000;
}

.footer p {
    margin-bottom: 12px;
    font-weight: bold;
}

.copyright {
    margin-top: 20px;
    font-style: italic;
    font-weight: bold;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .navigation,
    .print-btn {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        border: 2px solid black;
        background-color: white;
    }
    
    .answer {
        display: block !important;
    }
    
    table,
    .flow-box {
        page-break-inside: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.6em;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
    }
    
    .flow-box {
        width: 95%;
    }
    
    table {
        font-size: 0.9em;
    }
    
    th, td {
        padding: 8px;
    }
}

/* Strong elements */
strong {
    font-weight: bold;
    color: #000000;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgb(206, 230, 168);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgb(206, 230, 168);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}