/* Global 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 {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgb(101, 201, 10);
    border: 5px solid rgb(206, 230, 168);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
header {
    background-color: rgb(206, 230, 168);
    padding: 30px;
    text-align: center;
    border-bottom: 5px solid rgb(50, 100, 5);
}

header h1 {
    font-size: 2.5em;
    color: #003300;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header h2 {
    font-size: 1.5em;
    color: #005500;
    margin-bottom: 15px;
    font-weight: bold;
}

.disclaimer {
    font-size: 0.9em;
    color: #cc0000;
    font-weight: bold;
    font-style: italic;
    margin-top: 10px;
}

/* Navigation Styles */
.navigation {
    background-color: rgb(206, 230, 168);
    padding: 15px;
    text-align: center;
    border-bottom: 3px solid rgb(50, 100, 5);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nav-btn, .print-btn {
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    background-color: rgb(50, 100, 5);
    color: #ffffff;
    border: 3px solid rgb(101, 201, 10);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover, .print-btn:hover {
    background-color: rgb(30, 80, 5);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.print-btn {
    background-color: #ff6600;
    border-color: #cc5200;
}

.print-btn:hover {
    background-color: #cc5200;
}

/* Main Content Styles */
main {
    padding: 30px;
}

.content-section {
    background-color: rgba(206, 230, 168, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.content-section h2 {
    font-size: 2em;
    color: #003300;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 4px solid rgb(50, 100, 5);
    padding-bottom: 10px;
    text-transform: uppercase;
}

.content-section h3 {
    font-size: 1.5em;
    color: #005500;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

.content-section h4 {
    font-size: 1.3em;
    color: #006600;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: bold;
}

.content-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #000000;
}

.content-section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-section li {
    font-size: 1.05em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000000;
}

/* Example Box Styles */
.example-box {
    background-color: rgba(255, 255, 200, 0.7);
    border: 3px solid rgb(206, 230, 168);
    border-left: 6px solid #ff9900;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.example-box p {
    font-size: 1.05em;
    margin-bottom: 12px;
    font-weight: bold;
    color: #000000;
}

/* Case Law Box Styles */
.case-law {
    background-color: rgba(255, 230, 200, 0.7);
    border: 4px solid rgb(206, 230, 168);
    border-left: 8px solid #cc0000;
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.case-law h4 {
    font-size: 1.4em;
    color: #990000;
    margin-bottom: 15px;
    font-weight: bold;
}

.case-law p {
    font-size: 1.05em;
    margin-bottom: 12px;
    font-weight: bold;
    color: #000000;
}

.case-law ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.case-law li {
    font-size: 1.02em;
    margin-bottom: 8px;
    font-weight: bold;
    color: #000000;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 25px 0;
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.9);
}

table thead {
    background-color: rgb(50, 100, 5);
    color: #ffffff;
}

table th {
    padding: 15px;
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    border: 2px solid rgb(206, 230, 168);
}

table td {
    padding: 12px 15px;
    border: 2px solid rgb(206, 230, 168);
    font-size: 1.02em;
    font-weight: bold;
    color: #000000;
}

table tbody tr:nth-child(even) {
    background-color: rgba(206, 230, 168, 0.3);
}

table tbody tr:hover {
    background-color: rgba(206, 230, 168, 0.6);
}

/* Flowchart Styles */
.flowchart {
    margin: 30px 0;
    text-align: center;
}

.flowchart-box {
    background-color: rgba(255, 255, 255, 0.9);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 20px;
    margin: 15px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.start-box {
    background-color: rgba(255, 200, 150, 0.8);
    border-color: #ff6600;
    max-width: 500px;
    font-size: 1.2em;
}

.question-box {
    background-color: rgba(200, 220, 255, 0.8);
    border-color: #0066cc;
    max-width: 350px;
}

.result-box {
    max-width: 350px;
    min-height: 180px;
}

.copyright-box {
    background-color: rgba(255, 220, 220, 0.8);
    border-color: #cc0000;
}

.trademark-box {
    background-color: rgba(220, 255, 220, 0.8);
    border-color: #009900;
}

.patent-box {
    background-color: rgba(220, 220, 255, 0.8);
    border-color: #0066cc;
}

.flowchart-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.flowchart-branch {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
}

.arrow {
    font-size: 2em;
    font-weight: bold;
    color: #003300;
    margin: 10px 0;
}

.flowchart-box p {
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.flowchart-box ul {
    text-align: left;
    margin-left: 20px;
}

.flowchart-box li {
    font-size: 0.95em;
    margin-bottom: 6px;
    font-weight: bold;
}

/* Q&A Section Styles */
.qa-item {
    background-color: rgba(255, 255, 255, 0.9);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.question-header {
    background-color: rgb(50, 100, 5);
    color: #ffffff;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.question-header:hover {
    background-color: rgb(30, 80, 5);
}

.question-header h3 {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.toggle-icon {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

.answer-content.show {
    max-height: 3000px;
    padding: 25px;
}

.answer-content p {
    font-size: 1.05em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #000000;
}

.answer-content ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.answer-content li {
    font-size: 1.02em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000000;
}

/* Footer Styles */
footer {
    background-color: rgb(206, 230, 168);
    padding: 25px;
    text-align: center;
    border-top: 5px solid rgb(50, 100, 5);
    font-weight: bold;
}

footer p {
    font-size: 0.95em;
    margin-bottom: 8px;
    color: #003300;
    font-weight: bold;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        border: none;
        box-shadow: none;
    }
    
    .navigation {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
        border: 2px solid #000000;
    }
    
    .answer-content {
        max-height: none !important;
        padding: 20px !important;
    }
    
    .toggle-icon {
        display: none;
    }
    
    table {
        page-break-inside: avoid;
    }
    
    .flowchart-row {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    
    header h2 {
        font-size: 1.2em;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .nav-btn, .print-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.6em;
    }
    
    .flowchart-row {
        flex-direction: column;
        align-items: center;
    }
    
    .flowchart-branch {
        width: 100%;
        max-width: 100%;
    }
    
    table {
        font-size: 0.9em;
    }
    
    table th, table td {
        padding: 8px;
    }
}

/* Strong Text Emphasis */
strong {
    font-weight: bold;
    color: #003300;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Link Styles (if any) */
a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #003399;
}