/* GST Case Laws Educational Webpage - Styles */
/* Main background: RGB(101, 201, 10) */
/* Border color: RGB(206, 230, 168) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: linear-gradient(135deg, rgb(101, 201, 10) 0%, rgb(80, 180, 8) 100%);
    color: #000000;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    border: 5px solid rgb(206, 230, 168);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, rgb(101, 201, 10) 0%, rgb(70, 170, 5) 100%);
    color: #ffffff;
    padding: 40px;
    text-align: center;
    border-bottom: 5px solid rgb(206, 230, 168);
}

header h1 {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

header h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fffacd;
}

header h3 {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffff99;
    margin-bottom: 20px;
}

.disclaimer {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border: 2px solid rgb(206, 230, 168);
    font-size: 1.1em;
}

/* Print Button */
.print-section {
    padding: 20px;
    text-align: center;
    background-color: rgb(101, 201, 10);
}

.print-btn {
    background-color: #ffffff;
    color: rgb(101, 201, 10);
    border: 3px solid rgb(206, 230, 168);
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.print-btn:hover {
    background-color: rgb(206, 230, 168);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Quick Navigation */
.quick-nav {
    background-color: rgb(101, 201, 10);
    padding: 30px;
    border-bottom: 5px solid rgb(206, 230, 168);
}

.quick-nav h3 {
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.quick-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.quick-nav li {
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quick-nav li:hover {
    background-color: rgb(206, 230, 168);
    transform: translateX(10px);
}

.nav-link {
    display: block;
    padding: 15px;
    color: rgb(70, 150, 5);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.nav-link:hover {
    color: rgb(40, 100, 0);
}

/* Case Sections */
.case-section {
    padding: 40px;
    border-bottom: 5px solid rgb(206, 230, 168);
}

.case-section h2 {
    background: linear-gradient(135deg, rgb(101, 201, 10) 0%, rgb(80, 180, 8) 100%);
    color: #ffffff;
    padding: 20px;
    font-size: 2em;
    font-weight: bold;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 3px solid rgb(206, 230, 168);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subsection {
    margin-bottom: 40px;
}

.subsection h3 {
    background-color: rgb(206, 230, 168);
    color: rgb(40, 100, 0);
    padding: 15px;
    font-size: 1.6em;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 8px solid rgb(101, 201, 10);
}

.subsection h4 {
    color: rgb(70, 150, 5);
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

/* Content Boxes */
.content-box {
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-box ul,
.content-box ol {
    margin-left: 25px;
}

.content-box li {
    margin-bottom: 12px;
    font-weight: bold;
    color: #000000;
}

.content-box ul ul,
.content-box ol ul {
    margin-top: 10px;
}

.content-box strong {
    color: rgb(70, 150, 5);
    font-weight: bold;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #ffffff;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th {
    background: linear-gradient(135deg, rgb(101, 201, 10) 0%, rgb(80, 180, 8) 100%);
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
}

td {
    padding: 15px;
    border-bottom: 2px solid rgb(206, 230, 168);
    font-weight: bold;
    color: #000000;
}

tr:hover {
    background-color: rgba(206, 230, 168, 0.3);
}

tr:last-child td {
    border-bottom: none;
}

.info-table th {
    width: 30%;
}

.comparison-table th {
    text-align: center;
}

.comparison-table td {
    text-align: left;
}

.center-text {
    text-align: center;
}

.practical-table th,
.practical-table td {
    font-size: 0.95em;
}

/* Case Details */
.case-details {
    margin-bottom: 30px;
}

/* Decision Box */
.decision-box {
    background: linear-gradient(135deg, rgba(101, 201, 10, 0.1) 0%, rgba(206, 230, 168, 0.3) 100%);
    border: 4px solid rgb(101, 201, 10);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.decision-box h4 {
    color: rgb(70, 150, 5);
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 3px solid rgb(206, 230, 168);
    padding-bottom: 10px;
}

.decision-box ul {
    list-style: none;
    margin-left: 0;
}

.decision-box li {
    padding: 10px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-left: 5px solid rgb(101, 201, 10);
    border-radius: 5px;
    font-weight: bold;
}

/* Principle Boxes */
.principle-box {
    background-color: rgba(206, 230, 168, 0.4);
    border: 3px solid rgb(101, 201, 10);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.principle-box h4 {
    color: rgb(40, 100, 0);
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
}

.principle-box p {
    margin-bottom: 12px;
    font-weight: bold;
    color: #000000;
}

.principle-card {
    background-color: #ffffff;
    border: 4px solid rgb(206, 230, 168);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.principle-card h4 {
    background: linear-gradient(135deg, rgb(101, 201, 10) 0%, rgb(80, 180, 8) 100%);
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 20px;
}

.principle-content p,
.principle-content ul,
.principle-content li {
    font-weight: bold;
    color: #000000;
}

.principle-content strong {
    color: rgb(70, 150, 5);
}

/* Highlight Text */
.highlight-text {
    background-color: rgb(206, 230, 168);
    color: rgb(40, 100, 0);
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    border: 3px solid rgb(101, 201, 10);
    margin: 20px 0;
}

/* Checklist */
.checklist {
    list-style: none;
    margin-left: 0;
}

.checklist li {
    background-color: rgba(206, 230, 168, 0.3);
    padding: 12px;
    margin-bottom: 10px;
    border-left: 5px solid rgb(101, 201, 10);
    border-radius: 5px;
    font-weight: bold;
}

/* Flowchart */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 15px;
    margin: 20px 0;
}

.flow-step {
    background-color: #ffffff;
    border: 4px solid rgb(101, 201, 10);
    border-radius: 12px;
    padding: 20px;
    margin: 10px 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    min-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flow-step.start {
    background: linear-gradient(135deg, rgb(101, 201, 10) 0%, rgb(80, 180, 8) 100%);
    color: #ffffff;
}

.flow-step.question {
    background-color: rgb(206, 230, 168);
    color: rgb(40, 100, 0);
}

.flow-step.decision {
    background-color: #fffacd;
    border-color: rgb(101, 201, 10);
    color: rgb(40, 100, 0);
}

.flow-step.relief {
    background-color: #90ee90;
    border-color: rgb(101, 201, 10);
    color: rgb(40, 100, 0);
}

.flow-step.end {
    background: linear-gradient(135deg, rgb(80, 180, 8) 0%, rgb(101, 201, 10) 100%);
    color: #ffffff;
}

.flow-arrow {
    font-size: 2em;
    font-weight: bold;
    color: rgb(101, 201, 10);
    margin: 5px 0;
}

.flowchart-note {
    background-color: #fff3cd;
    border: 3px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    font-weight: bold;
}

/* Q&A Section */
.qa-container {
    margin-top: 20px;
}

.qa-item {
    background-color: #ffffff;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.question-btn {
    width: 100%;
    background: linear-gradient(135deg, rgb(101, 201, 10) 0%, rgb(80, 180, 8) 100%);
    color: #ffffff;
    border: none;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.question-btn:hover {
    background: linear-gradient(135deg, rgb(80, 180, 8) 0%, rgb(70, 170, 5) 100%);
}

.q-icon {
    background-color: #ffffff;
    color: rgb(101, 201, 10);
    padding: 8px 15px;
    border-radius: 50px;
    margin-right: 15px;
    font-weight: bold;
}

.q-text {
    flex: 1;
}

.toggle-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.question-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.answer {
    background-color: rgba(206, 230, 168, 0.2);
    padding: 25px;
    border-top: 3px solid rgb(206, 230, 168);
}

.answer p,
.answer ul,
.answer ol,
.answer li {
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
}

.answer strong {
    color: rgb(70, 150, 5);
}

.answer table {
    margin: 15px 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgb(101, 201, 10) 0%, rgb(70, 170, 5) 100%);
    color: #ffffff;
    padding: 40px;
    border-top: 5px solid rgb(206, 230, 168);
}

footer h3 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

footer ul {
    list-style: none;
    margin-left: 0;
}

footer li {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 12px;
    margin-bottom: 10px;
    border-left: 5px solid rgb(206, 230, 168);
    border-radius: 5px;
    font-weight: bold;
}

.footer-note {
    background-color: rgba(255, 255, 255, 0.2);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-note p {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        border: none;
        box-shadow: none;
    }

    .print-section {
        display: none;
    }

    .quick-nav {
        display: none;
    }

    .question-btn {
        background: #f0f0f0 !important;
        color: #000000 !important;
    }

    .answer {
        display: block !important;
    }

    .flow-step {
        break-inside: avoid;
    }

    .case-section {
        break-inside: avoid;
    }

    table {
        break-inside: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 2em;
    }

    header h2 {
        font-size: 1.5em;
    }

    .case-section {
        padding: 20px;
    }

    .flow-step {
        min-width: 250px;
        font-size: 1em;
    }

    table {
        font-size: 0.9em;
    }

    th, td {
        padding: 10px;
    }

    .quick-nav ul {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Style */
::selection {
    background-color: rgb(206, 230, 168);
    color: rgb(40, 100, 0);
}