* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, rgb(245, 250, 92) 0%, rgb(92, 250, 155) 100%);
    color: #1a1a1a;
    line-height: 1.8;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    border: 5px solid rgb(50, 100, 55);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, rgb(50, 200, 55) 0%, rgb(174, 41, 204) 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid rgb(101, 201, 150);
    position: relative;
}

header h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: rgb(101, 201, 150);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.print-btn {
    background-color: rgb(101, 201, 150);
    color: rgb(50, 100, 55);
    font-weight: bold;
    border: 3px solid white;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.print-btn:hover {
    background-color: white;
    color: rgb(50, 100, 55);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.navigation {
    background-color: rgb(101, 201, 150);
    padding: 20px;
    border-bottom: 4px solid rgb(50, 100, 55);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.navigation h3 {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    color: rgb(50, 100, 55);
    margin-bottom: 10px;
}

.navigation button {
    background-color: rgb(50, 100, 55);
    color: white;
    font-weight: bold;
    border: 3px solid white;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.navigation button:hover {
    background-color: white;
    color: rgb(50, 100, 55);
    border-color: rgb(50, 100, 55);
    transform: scale(1.05);
}

.content-section {
    padding: 40px;
    border-bottom: 3px solid rgb(101, 201, 150);
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section h2 {
    font-size: 2.2em;
    font-weight: bold;
    color: rgb(50, 100, 55);
    margin-bottom: 25px;
    border-bottom: 4px solid rgb(101, 201, 150);
    padding-bottom: 10px;
}

.content-section h3 {
    font-size: 1.8em;
    font-weight: bold;
    color: rgb(50, 100, 55);
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section h4 {
    font-size: 1.4em;
    font-weight: bold;
    color: rgb(40, 80, 45);
    margin-top: 20px;
    margin-bottom: 12px;
}

.content-section p {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: justify;
}

.content-section ul,
.content-section ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    font-size: 1.05em;
    font-weight: bold;
    margin-bottom: 10px;
}

.key-points {
    background-color: rgba(101, 201, 150, 0.2);
    border: 3px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.key-points h3 {
    color: rgb(50, 100, 55);
    font-weight: bold;
    margin-top: 0;
}

.highlight-box {
    background-color: rgba(101, 201, 150, 0.3);
    border: 3px solid rgb(50, 100, 55);
    border-left: 8px solid rgb(50, 100, 55);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.highlight-box.warning {
    background-color: rgba(255, 200, 100, 0.2);
    border-color: rgb(200, 100, 50);
    border-left-color: rgb(200, 100, 50);
}

.highlight-box h4 {
    margin-top: 0;
    font-weight: bold;
}

.table-container {
    overflow-x: auto;
    margin: 25px 0;
    border: 3px solid rgb(50, 100, 55);
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

table thead {
    background-color: rgb(50, 100, 55);
    color: white;
}

table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid white;
}

table td {
    padding: 12px 15px;
    border: 2px solid rgb(101, 201, 150);
    font-weight: bold;
}

table tbody tr:nth-child(odd) {
    background-color: rgba(101, 201, 150, 0.1);
}

table tbody tr:nth-child(even) {
    background-color: white;
}

table tbody tr:hover {
    background-color: rgba(101, 201, 150, 0.3);
}

.duties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.duty-card {
    background-color: rgba(101, 201, 150, 0.2);
    border: 3px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.duty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(50, 100, 55, 0.3);
    background-color: rgba(101, 201, 150, 0.4);
}

.duty-card h4 {
    color: rgb(50, 100, 55);
    font-weight: bold;
    margin-bottom: 10px;
}

.duty-card p {
    font-weight: bold;
}

.example-box {
    background-color: rgba(101, 201, 150, 0.15);
    border: 3px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.example-box h3 {
    color: rgb(50, 100, 55);
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
}

.case-box {
    background-color: rgba(255, 250, 230, 0.5);
    border: 4px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 30px;
    margin: 25px 0;
}

.case-citation {
    background-color: rgb(50, 100, 55);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: bold;
}

.quote-box {
    background-color: rgba(101, 201, 150, 0.2);
    border-left: 6px solid rgb(50, 100, 55);
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 5px;
}

.quote-box p {
    font-weight: bold;
    margin-bottom: 15px;
}

.supporting-cases {
    background-color: rgba(101, 201, 150, 0.15);
    border: 2px solid rgb(50, 100, 55);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.supporting-cases p {
    font-weight: bold;
    margin-bottom: 10px;
}

.flowchart {
    background-color: rgba(255, 255, 255, 0.8);
    border: 4px solid rgb(50, 100, 55);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.flow-step {
    background-color: rgb(101, 201, 150);
    border: 3px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 20px;
    margin: 10px auto;
    max-width: 600px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flow-step.start {
    background-color: rgb(50, 100, 55);
    color: white;
}

.flow-step.end {
    background-color: rgb(200, 100, 50);
    color: white;
    border-color: rgb(150, 70, 30);
}

.flow-step.success {
    background-color: rgb(80, 180, 80);
    color: white;
    border-color: rgb(50, 130, 50);
}

.flow-decision {
    background-color: rgb(255, 230, 150);
    border: 3px solid rgb(200, 150, 50);
    border-radius: 50%;
    padding: 30px;
    margin: 20px auto;
    max-width: 300px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flow-arrow {
    font-size: 2em;
    font-weight: bold;
    color: rgb(50, 100, 55);
    margin: 10px 0;
}

.flow-note {
    display: block;
    font-size: 0.9em;
    font-style: italic;
    color: rgb(40, 80, 45);
    margin-top: 5px;
}

.flow-detail {
    display: block;
    font-size: 0.85em;
    margin-top: 8px;
}

.flow-split {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.flow-branch {
    flex: 1;
    min-width: 300px;
}

.question-card {
    background-color: rgba(101, 201, 150, 0.15);
    border: 3px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.question {
    font-size: 1.2em;
    font-weight: bold;
    color: rgb(40, 80, 45);
    margin-bottom: 15px;
}

.solution-btn {
    background-color: rgb(50, 100, 55);
    color: white;
    font-weight: bold;
    border: 3px solid rgb(101, 201, 150);
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.solution-btn:hover {
    background-color: rgb(101, 201, 150);
    color: rgb(50, 100, 55);
    border-color: rgb(50, 100, 55);
    transform: scale(1.05);
}

.solution {
    display: none;
    background-color: white;
    border: 3px solid rgb(101, 201, 150);
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

.solution.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution h4 {
    color: rgb(50, 100, 55);
    font-weight: bold;
    margin-bottom: 15px;
}

footer {
    background-color: rgb(50, 100, 55);
    color: white;
    text-align: center;
    padding: 25px;
    font-weight: bold;
}

footer p {
    margin: 8px 0;
}

@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .container {
        border: 2px solid black;
        box-shadow: none;
    }
    
    .print-btn,
    .navigation,
    .solution-btn {
        display: none;
    }
    
    .solution {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-width: 3px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    header h2 {
        font-size: 1.3em;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.8em;
    }
    
    .content-section h3 {
        font-size: 1.4em;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .navigation button {
        width: 100%;
    }
    
    .flow-split {
        flex-direction: column;
    }
    
    .duties-grid {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.9em;
    }
    
    table th,
    table td {
        padding: 8px;
    }
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgb(101, 201, 150);
}

::-webkit-scrollbar-thumb {
    background: rgb(50, 100, 55);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(40, 80, 45);
}

strong {
    font-weight: bold;
}