/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgb(240, 248, 255), rgb(230, 240, 250));
    color: rgb(30, 30, 30);
    line-height: 1.8;
    font-weight: 600;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, rgb(25, 60, 115), rgb(40, 90, 160));
    color: rgb(255, 255, 255);
    padding: 40px;
    text-align: center;
    border-bottom: 5px solid rgb(200, 160, 50);
    position: relative;
}

header h1 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.4em;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 25px;
}

.print-btn {
    background-color: rgb(200, 160, 50);
    color: rgb(255, 255, 255);
    border: 3px solid rgb(255, 255, 255);
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 800;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.print-btn:hover {
    background-color: rgb(180, 140, 30);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Table of Contents */
.table-of-contents {
    background-color: rgb(245, 250, 255);
    padding: 30px;
    margin: 30px;
    border: 4px solid rgb(40, 90, 160);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.table-of-contents h2 {
    color: rgb(25, 60, 115);
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid rgb(200, 160, 50);
    padding-bottom: 10px;
}

.table-of-contents ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.table-of-contents li button {
    width: 100%;
    background: linear-gradient(135deg, rgb(40, 90, 160), rgb(60, 110, 180));
    color: rgb(255, 255, 255);
    border: 3px solid rgb(25, 60, 115);
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 800;
    cursor: pointer;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.table-of-contents li button:hover {
    background: linear-gradient(135deg, rgb(60, 110, 180), rgb(80, 130, 200));
    transform: translateX(10px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

/* Main Content */
main {
    padding: 30px;
}

.content-section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: rgb(252, 254, 255);
    border: 4px solid rgb(40, 90, 160);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: rgb(25, 60, 115);
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 4px solid rgb(200, 160, 50);
}

.content-section h3 {
    color: rgb(40, 90, 160);
    font-size: 1.8em;
    font-weight: 800;
    margin: 30px 0 20px 0;
    padding-left: 15px;
    border-left: 6px solid rgb(200, 160, 50);
}

.content-section p {
    font-size: 1.15em;
    font-weight: 600;
    margin: 20px 0;
    padding: 15px;
    background-color: rgb(248, 252, 255);
    border-left: 5px solid rgb(100, 150, 220);
    border-radius: 5px;
}

/* Table Styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 1.05em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid rgb(40, 90, 160);
    border-radius: 8px;
    overflow: hidden;
}

.info-table thead tr {
    background: linear-gradient(135deg, rgb(25, 60, 115), rgb(40, 90, 160));
    color: rgb(255, 255, 255);
    text-align: left;
    font-weight: 800;
}

.info-table th,
.info-table td {
    padding: 18px 15px;
    font-weight: 700;
    border: 2px solid rgb(200, 220, 240);
}

.info-table tbody tr {
    background-color: rgb(250, 253, 255);
    transition: all 0.3s ease;
}

.info-table tbody tr:nth-of-type(even) {
    background-color: rgb(245, 250, 255);
}

.info-table tbody tr:hover {
    background-color: rgb(230, 245, 255);
    transform: scale(1.01);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Flowchart Styles */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    padding: 30px;
    background-color: rgb(248, 252, 255);
    border: 4px solid rgb(40, 90, 160);
    border-radius: 12px;
}

.flow-item {
    margin: 10px 0;
    width: 100%;
    max-width: 600px;
}

.flow-box {
    background: linear-gradient(135deg, rgb(220, 235, 255), rgb(200, 225, 255));
    border: 4px solid rgb(40, 90, 160);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    font-weight: 800;
    font-size: 1.2em;
    color: rgb(25, 60, 115);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.flow-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.flow-box span {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    font-weight: 700;
    color: rgb(60, 100, 160);
}

.start-box {
    background: linear-gradient(135deg, rgb(150, 220, 150), rgb(120, 200, 120));
    color: rgb(0, 60, 0);
    border-color: rgb(0, 100, 0);
}

.end-box {
    background: linear-gradient(135deg, rgb(255, 200, 200), rgb(255, 170, 170));
    color: rgb(100, 0, 0);
    border-color: rgb(180, 0, 0);
}

.flow-arrow {
    font-size: 3em;
    font-weight: 900;
    color: rgb(40, 90, 160);
    text-align: center;
    margin: 15px 0;
}

/* Mind Map Styles */
.mindmap-container {
    background-color: rgb(248, 252, 255);
    padding: 30px;
    border: 4px solid rgb(40, 90, 160);
    border-radius: 12px;
    overflow: auto;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, rgb(25, 60, 115), rgb(40, 90, 160));
    color: rgb(255, 255, 255);
    padding: 40px;
    margin-top: 50px;
    border-top: 5px solid rgb(200, 160, 50);
}

.disclaimer {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border: 3px solid rgb(200, 160, 50);
    border-radius: 10px;
    margin-bottom: 25px;
}

.disclaimer h3 {
    color: rgb(255, 220, 100);
    font-size: 1.6em;
    font-weight: 800;
    margin-bottom: 15px;
}

.disclaimer p {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.8;
    color: rgb(255, 255, 255);
    background-color: transparent;
    border: none;
    padding: 0;
}

.copyright {
    text-align: center;
    font-size: 1.1em;
    font-weight: 800;
    color: rgb(255, 255, 255);
    background-color: transparent;
    border: none;
    padding: 0;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .print-btn {
        display: none;
    }
    
    .table-of-contents {
        page-break-after: always;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
    
    .info-table {
        page-break-inside: avoid;
    }
    
    header, footer {
        page-break-after: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .content-section h2 {
        font-size: 1.8em;
    }
    
    .content-section h3 {
        font-size: 1.4em;
    }
    
    .table-of-contents ul {
        grid-template-columns: 1fr;
    }
    
    .info-table {
        font-size: 0.9em;
    }
    
    .info-table th,
    .info-table td {
        padding: 12px 8px;
    }
    
    .flow-box {
        font-size: 1em;
        padding: 15px;
    }
}