/* ICDS I - Accounting Policies Stylesheet */
/* Background Color: RGB(53, 252, 249) - Cyan */
/* Border Color: RGB(202, 81, 232) - Purple */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: rgb(199, 237, 206);
    background: linear-gradient(135deg, rgb(202, 250, 211) 0%, rgb(223, 242, 148) 100%);
    color: #dff294;
    line-height: 1.6;
    padding: 20px;
}

/* Typography - All fonts bold as requested */
h1, h2, h3, h4, h5, h6, p, li, td, th, label, span, div, button {
    font-weight: bold;
}

/* Header Styling */
header {
    background: linear-gradient(135deg, rgb(202, 81, 232), rgb(150, 50, 200));
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 5px solid rgb(202, 81, 232);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

header .subtitle {
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: bold;
}

.print-btn {
    background: white;
    color: rgb(202, 81, 232);
    border: 3px solid white;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.print-btn:hover {
    background: rgb(53, 252, 249);
    color: rgb(202, 81, 232);
    transform: scale(1.05);
    border-color: rgb(202, 81, 232);
}

/* Navigation Table of Contents */
.table-of-contents {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 4px solid rgb(202, 81, 232);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.table-of-contents h2 {
    color: rgb(202, 81, 232);
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    border-bottom: 3px solid rgb(202, 81, 232);
    padding-bottom: 10px;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin: 10px 0;
}

.table-of-contents button {
    background: linear-gradient(135deg, rgb(53, 252, 249), rgb(100, 255, 250));
    color: #000000;
    border: 3px solid rgb(202, 81, 232);
    padding: 12px 20px;
    width: 100%;
    text-align: left;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.table-of-contents button:hover {
    background: rgb(202, 81, 232);
    color: white;
    transform: translateX(10px);
}

/* Main Content Sections */
main {
    max-width: 1400px;
    margin: 0 auto;
}

.content-section {
    background: white;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;
    border: 5px solid rgb(202, 81, 232);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.content-section h2 {
    color: rgb(202, 81, 232);
    font-size: 2em;
    margin-bottom: 25px;
    font-weight: bold;
    border-bottom: 4px solid rgb(202, 81, 232);
    padding-bottom: 15px;
}

.content-section h3 {
    color: rgb(150, 50, 200);
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

.content-section h4 {
    color: rgb(100, 30, 150);
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: bold;
}

.content-section h5 {
    color: rgb(50, 15, 100);
    font-size: 1.15em;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}

.content-section p {
    margin-bottom: 15px;
    font-size: 1.05em;
    font-weight: bold;
    color: #000000;
}

.content-section ul, .content-section ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 10px;
    font-size: 1.02em;
    font-weight: bold;
    color: #000000;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border: 4px solid rgb(202, 81, 232);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

thead {
    background: linear-gradient(135deg, rgb(202, 81, 232), rgb(150, 50, 200));
    color: white;
}

th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid rgb(202, 81, 232);
}

td {
    padding: 12px 15px;
    border: 2px solid rgb(202, 81, 232);
    font-weight: bold;
    color: #000000;
}

tbody tr:nth-child(even) {
    background: rgb(240, 250, 255);
}

tbody tr:hover {
    background: rgb(53, 252, 249);
    transition: background 0.3s ease;
}

/* Special Box Styles */
.highlight-box {
    background: linear-gradient(135deg, rgb(255, 250, 200), rgb(255, 255, 220));
    border-left: 6px solid rgb(202, 81, 232);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.warning-box {
    background: linear-gradient(135deg, rgb(255, 230, 230), rgb(255, 240, 240));
    border-left: 6px solid rgb(202, 81, 232);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.example-box {
    background: linear-gradient(135deg, rgb(230, 255, 230), rgb(240, 255, 240));
    border: 4px solid rgb(202, 81, 232);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.principle-card {
    background: white;
    border: 4px solid rgb(202, 81, 232);
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.case-law-box {
    background: linear-gradient(135deg, rgb(240, 230, 255), rgb(250, 240, 255));
    border: 4px solid rgb(202, 81, 232);
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.judgment-box {
    background: linear-gradient(135deg, rgb(255, 240, 240), rgb(255, 250, 250));
    border: 4px solid rgb(202, 81, 232);
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.case-summary {
    background: white;
    border: 3px solid rgb(202, 81, 232);
    border-left: 8px solid rgb(202, 81, 232);
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
}

.disclosure-list h4 {
    color: rgb(150, 50, 200);
    margin-top: 20px;
    font-weight: bold;
}

/* Q&A Section */
.qa-container {
    margin-top: 20px;
}

.question-box {
    margin-bottom: 20px;
}

.qa-button {
    width: 100%;
    background: linear-gradient(135deg, rgb(53, 252, 249), rgb(100, 255, 250));
    color: #000000;
    border: 4px solid rgb(202, 81, 232);
    padding: 18px;
    font-size: 1.15em;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}

.qa-button:hover {
    background: rgb(202, 81, 232);
    color: white;
    transform: scale(1.02);
}

.answer-box {
    background: white;
    border: 4px solid rgb(202, 81, 232);
    border-top: none;
    padding: 25px;
    border-radius: 0 0 10px 10px;
    margin-top: -5px;
}

/* Flowchart Styling */
.flowchart-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 4px solid rgb(202, 81, 232);
    margin: 30px 0;
}

.flowchart-container h3 {
    text-align: center;
    color: rgb(202, 81, 232);
    font-size: 1.7em;
    margin-bottom: 30px;
    font-weight: bold;
}

.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flow-step {
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.05em;
    min-width: 300px;
    border: 4px solid rgb(202, 81, 232);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.start-step {
    background: linear-gradient(135deg, rgb(100, 255, 100), rgb(150, 255, 150));
    color: #000000;
}

.decision-step {
    background: linear-gradient(135deg, rgb(255, 255, 150), rgb(255, 255, 200));
    color: #000000;
    border-radius: 50px;
}

.process-step {
    background: linear-gradient(135deg, rgb(53, 252, 249), rgb(100, 255, 250));
    color: #000000;
}

.highlight-step {
    background: linear-gradient(135deg, rgb(255, 200, 100), rgb(255, 220, 150));
    color: #000000;
    font-size: 1.15em;
}

.end-step {
    background: linear-gradient(135deg, rgb(150, 255, 150), rgb(180, 255, 180));
    color: #000000;
    font-size: 1.15em;
}

.end-step-no {
    background: linear-gradient(135deg, rgb(255, 150, 150), rgb(255, 180, 180));
    color: #000000;
}

.flow-arrow {
    font-size: 2em;
    font-weight: bold;
    color: rgb(202, 81, 232);
    margin: 5px 0;
}

.flow-branches {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.flow-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Disclaimer */
.disclaimer-section {
    background: linear-gradient(135deg, rgb(255, 240, 240), rgb(255, 250, 250));
    border: 4px solid rgb(202, 81, 232);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
}

.disclaimer-section p {
    font-size: 1.05em;
    font-weight: bold;
    color: #000000;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgb(202, 81, 232), rgb(150, 50, 200));
    color: white;
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
    border: 4px solid rgb(202, 81, 232);
}

footer p {
    margin: 8px 0;
    font-weight: bold;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .table-of-contents,
    .print-btn {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
        border: 2px solid #000;
    }
    
    .qa-button {
        background: white;
        color: black;
    }
    
    .answer-box {
        display: block !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .content-section {
        padding: 20px;
    }
    
    table {
        font-size: 0.9em;
    }
    
    .flow-branches {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-step {
        min-width: 250px;
        font-size: 0.95em;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgb(202, 81, 232);
    color: white;
}

/* Comparison Table Special Styling */
.comparison-table tbody tr:hover {
    background: rgb(255, 240, 255);
}

/* Additional emphasis for important text */
strong {
    font-weight: 900;
    color: #000000;
}

em {
    font-style: italic;
    font-weight: bold;
    color: rgb(150, 50, 200);
}