/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, rgb(240, 230, 130) 0%, rgb(230, 225, 140) 100%);
    color: rgb(20, 30, 48);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, rgb(125, 55, 95) 0%, rgb(141, 82, 90) 100%);
    color: rgb(255, 255, 255);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 30px;
    border: 3px solid rgb(15, 40, 80);
}

header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: rgb(255, 215, 0);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.disclaimer {
    font-size: 0.95em;
    font-style: italic;
    font-weight: 600;
    margin-top: 15px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border: 2px solid rgb(255, 215, 0);
}

.print-btn {
    background-color: rgb(255, 215, 0);
    color: rgb(25, 55, 109);
    border: 3px solid rgb(200, 170, 0);
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.print-btn:hover {
    background-color: rgb(255, 235, 100);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Navigation Styles */
.navigation {
    background-color: rgb(255, 255, 255);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid rgb(25, 55, 109);
}

.navigation h3 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgb(25, 55, 109);
    border-bottom: 3px solid rgb(41, 82, 152);
    padding-bottom: 10px;
}

.navigation ul {
    list-style: none;
}

.navigation li {
    margin-bottom: 12px;
}

.navigation button {
    width: 100%;
    background-color: rgb(41, 82, 152);
    color: rgb(255, 255, 255);
    border: 2px solid rgb(25, 55, 109);
    padding: 15px;
    font-size: 1.05em;
    font-weight: 700;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navigation button:hover {
    background-color: rgb(25, 55, 109);
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Content Section Styles */
.content-section {
    background-color: rgb(255, 255, 255);
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid rgb(41, 82, 152);
}

.content-section h2 {
    font-size: 2em;
    font-weight: 700;
    color: rgb(25, 55, 109);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 4px solid rgb(41, 82, 152);
}

.explanation h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: rgb(41, 82, 152);
    margin-top: 25px;
    margin-bottom: 15px;
}

.explanation p {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgb(40, 50, 70);
    line-height: 1.8;
}

.explanation ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.explanation li {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgb(40, 50, 70);
    line-height: 1.7;
}

.explanation strong {
    color: rgb(25, 55, 109);
    font-weight: 700;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid rgb(41, 82, 152);
}

thead {
    background-color: rgb(25, 55, 109);
    color: rgb(255, 255, 255);
}

th {
    padding: 18px;
    text-align: left;
    font-weight: 700;
    font-size: 1.15em;
    border: 2px solid rgb(15, 40, 80);
}

td {
    padding: 15px;
    border: 2px solid rgb(200, 215, 235);
    font-weight: 600;
    font-size: 1.05em;
    color: rgb(40, 50, 70);
}

tbody tr:nth-child(even) {
    background-color: rgb(240, 245, 250);
}

tbody tr:hover {
    background-color: rgb(230, 240, 255);
}

/* Example Box Styles */
.example-box {
    background-color: rgb(255, 250, 240);
    border-left: 5px solid rgb(255, 165, 0);
    border: 3px solid rgb(255, 200, 100);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.example-box p {
    font-weight: 600;
    color: rgb(80, 50, 20);
}

.example-box strong {
    color: rgb(180, 80, 0);
    font-weight: 700;
}

/* Case Law Styles */
.case-law {
    background-color: rgb(245, 255, 250);
    border-left: 5px solid rgb(40, 167, 69);
    border: 3px solid rgb(100, 200, 150);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.case-law p {
    font-weight: 600;
    margin-bottom: 12px;
    color: rgb(20, 60, 40);
}

.case-law strong {
    color: rgb(0, 100, 50);
    font-weight: 700;
}

/* Visualization Section Styles */
.visualization-section {
    background-color: rgb(255, 255, 255);
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid rgb(41, 82, 152);
}

.visualization-section h2 {
    font-size: 2em;
    font-weight: 700;
    color: rgb(25, 55, 109);
    margin-bottom: 25px;
    text-align: center;
}

.chart-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

/* Flowchart Styles */
.flowchart-start {
    fill: rgb(40, 167, 69);
    stroke: rgb(20, 120, 40);
    stroke-width: 3;
}

.flowchart-end {
    fill: rgb(220, 53, 69);
    stroke: rgb(180, 30, 50);
    stroke-width: 3;
}

.flowchart-process {
    fill: rgb(0, 123, 255);
    stroke: rgb(0, 80, 200);
    stroke-width: 3;
}

.flowchart-decision {
    fill: rgb(255, 193, 7);
    stroke: rgb(200, 150, 0);
    stroke-width: 3;
}

.flowchart-arrow {
    stroke: rgb(25, 55, 109);
    stroke-width: 3;
    fill: rgb(25, 55, 109);
}

.flowchart-text {
    fill: rgb(255, 255, 255);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.flowchart-label {
    fill: rgb(25, 55, 109);
    font-weight: 700;
    font-size: 13px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.flowchart-legend {
    fill: rgb(240, 248, 255);
    stroke: rgb(25, 55, 109);
    stroke-width: 2;
}

/* Mind Map Styles */
.mindmap-central {
    fill: rgb(25, 55, 109);
    stroke: rgb(15, 40, 80);
    stroke-width: 4;
}

.mindmap-node-1 {
    fill: rgb(220, 53, 69);
    stroke: rgb(180, 30, 50);
    stroke-width: 3;
}

.mindmap-node-2 {
    fill: rgb(255, 193, 7);
    stroke: rgb(200, 150, 0);
    stroke-width: 3;
}

.mindmap-node-3 {
    fill: rgb(40, 167, 69);
    stroke: rgb(20, 120, 40);
    stroke-width: 3;
}

.mindmap-node-4 {
    fill: rgb(0, 123, 255);
    stroke: rgb(0, 80, 200);
    stroke-width: 3;
}

.mindmap-node-5 {
    fill: rgb(111, 66, 193);
    stroke: rgb(80, 40, 150);
    stroke-width: 3;
}

.mindmap-node-6 {
    fill: rgb(23, 162, 184);
    stroke: rgb(15, 120, 140);
    stroke-width: 3;
}

.mindmap-node-7 {
    fill: rgb(253, 126, 20);
    stroke: rgb(200, 90, 10);
    stroke-width: 3;
}

.mindmap-node-8 {
    fill: rgb(108, 117, 125);
    stroke: rgb(70, 80, 90);
    stroke-width: 3;
}

.mindmap-line {
    stroke: rgb(25, 55, 109);
    stroke-width: 4;
    fill: none;
}

.mindmap-subline {
    stroke: rgb(100, 120, 150);
    stroke-width: 3;
    fill: none;
}

.mindmap-text {
    fill: rgb(255, 255, 255);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.mindmap-text-large {
    fill: rgb(255, 255, 255);
    font-weight: 700;
    font-size: 18px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.mindmap-subnode {
    fill: rgb(240, 248, 255);
    stroke: rgb(25, 55, 109);
    stroke-width: 2;
}

.mindmap-subtext {
    fill: rgb(25, 55, 109);
    font-weight: 700;
    font-size: 12px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.mindmap-concept {
    fill: rgb(255, 250, 240);
    stroke: rgb(255, 165, 0);
    stroke-width: 3;
}

.mindmap-concept-text {
    fill: rgb(80, 50, 20);
    font-weight: 700;
    font-size: 13px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Roadmap Styles */
.roadmap-title {
    fill: rgb(25, 55, 109);
    font-weight: 700;
    font-size: 28px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.roadmap-subtitle {
    fill: rgb(41, 82, 152);
    font-weight: 700;
    font-size: 18px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.roadmap-step {
    fill: rgb(41, 82, 152);
    stroke: rgb(25, 55, 109);
    stroke-width: 3;
}

.roadmap-step-title {
    fill: rgb(255, 215, 0);
    font-weight: 700;
    font-size: 16px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.roadmap-step-text {
    fill: rgb(255, 255, 255);
    font-weight: 700;
    font-size: 13px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.roadmap-connector {
    stroke: rgb(25, 55, 109);
    stroke-width: 4;
    fill: rgb(25, 55, 109);
}

.roadmap-timeline-bg {
    fill: rgb(245, 250, 255);
    stroke: rgb(25, 55, 109);
    stroke-width: 3;
}

.roadmap-section-title {
    fill: rgb(25, 55, 109);
    font-weight: 700;
    font-size: 22px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.roadmap-example {
    fill: rgb(255, 255, 255);
    stroke: rgb(41, 82, 152);
    stroke-width: 3;
}

.roadmap-example-title {
    fill: rgb(25, 55, 109);
    font-weight: 700;
    font-size: 15px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.roadmap-example-text {
    fill: rgb(40, 50, 70);
    font-weight: 600;
    font-size: 13px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.roadmap-key-points {
    fill: rgb(255, 250, 240);
    stroke: rgb(255, 165, 0);
    stroke-width: 3;
}

.roadmap-key-title {
    fill: rgb(180, 80, 0);
    font-weight: 700;
    font-size: 18px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.roadmap-key-text {
    fill: rgb(80, 50, 20);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Footer Styles */
footer {
    background-color: rgb(25, 55, 109);
    color: rgb(255, 255, 255);
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    margin-top: 40px;
    border: 3px solid rgb(15, 40, 80);
}

footer p {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .print-btn,
    .navigation {
        display: none;
    }
    
    .content-section,
    .visualization-section {
        page-break-inside: avoid;
        border: 2px solid rgb(25, 55, 109);
    }
    
    header {
        background: rgb(25, 55, 109);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    header h2 {
        font-size: 1.5em;
    }
    
    .content-section h2 {
        font-size: 1.6em;
    }
    
    table {
        font-size: 0.9em;
    }
    
    th, td {
        padding: 10px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styles */
::selection {
    background-color: rgb(255, 215, 0);
    color: rgb(25, 55, 109);
}

::-moz-selection {
    background-color: rgb(255, 215, 0);
    color: rgb(25, 55, 109);
}