/* Grok AI Use Cases Stylesheet */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
    background-color: rgb(245, 245, 245); /* Whitesmoke */
    color: rgb(0, 0, 0);
    line-height: 1.8;
    font-weight: bold;
}

/* Disclaimer Styles */
.disclaimer {
    background-color: rgb(255, 248, 220); /* Cornsilk */
    border: 4px solid rgb(255, 69, 0); /* Orange Red */
    padding: 25px;
    margin: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.disclaimer p {
    color: rgb(178, 34, 34); /* Firebrick */
    font-weight: bold;
    font-size: 15px;
    line-height: 1.6;
}

/* Navigation Panel */
.navigation {
    position: fixed;
    left: 0;
    top: 100px;
    width: 240px;
    background-color: rgb(25, 25, 112); /* Midnight Blue */
    border: 4px solid rgb(70, 130, 180); /* Steel Blue */
    border-radius: 12px;
    padding: 18px;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.4);
}

.navigation h2 {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 19px;
    margin-bottom: 18px;
    text-align: center;
    border-bottom: 3px solid rgb(70, 130, 180);
    padding-bottom: 12px;
}

.navigation button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background-color: rgb(65, 105, 225); /* Royal Blue */
    color: rgb(255, 255, 255);
    border: 2px solid rgb(70, 130, 180);
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.navigation button:hover {
    background-color: rgb(100, 149, 237); /* Cornflower Blue */
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navigation .print-btn {
    background-color: rgb(34, 139, 34); /* Forest Green */
    border: 3px solid rgb(0, 100, 0);
    margin-top: 18px;
    text-align: center;
    font-size: 15px;
    padding: 14px;
}

.navigation .print-btn:hover {
    background-color: rgb(50, 205, 50); /* Lime Green */
}

/* Container */
.container {
    max-width: 1150px;
    margin: 0 auto 0 260px;
    padding: 35px;
    background-color: rgb(255, 255, 255); /* White */
    border: 5px solid rgb(70, 130, 180); /* Steel Blue */
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

/* Header Styles */
header {
    text-align: center;
    padding: 45px 25px;
    background: linear-gradient(135deg, rgb(220, 20, 60), rgb(255, 69, 0));
    border: 5px solid rgb(178, 34, 34);
    border-radius: 18px;
    margin-bottom: 35px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

header h1 {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 52px;
    margin-bottom: 18px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
}

header h2 {
    color: rgb(255, 228, 196); /* Bisque */
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 12px;
}

header .subtitle {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 19px;
    font-style: italic;
}

/* Content Section Styles */
.content-section {
    margin-bottom: 55px;
    padding: 35px;
    background-color: rgb(248, 248, 255); /* Ghost White */
    border: 4px solid rgb(70, 130, 180);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.content-section h2 {
    color: rgb(220, 20, 60); /* Crimson */
    font-weight: bold;
    font-size: 34px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 5px solid rgb(178, 34, 34);
    text-transform: uppercase;
}

.content-section h3 {
    color: rgb(255, 69, 0); /* Orange Red */
    font-weight: bold;
    font-size: 26px;
    margin-top: 32px;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 6px solid rgb(255, 140, 0);
}

.content-section h4 {
    color: rgb(255, 140, 0); /* Dark Orange */
    font-weight: bold;
    font-size: 20px;
    margin-top: 22px;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 4px solid rgb(255, 165, 0);
}

.content-section p {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 18px;
    text-align: justify;
    color: rgb(0, 0, 0);
}

.content-section ul {
    margin-left: 35px;
    margin-bottom: 22px;
}

.content-section ul li {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 12px;
    color: rgb(0, 0, 0);
    line-height: 1.7;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    background-color: rgb(255, 255, 255);
    border: 4px solid rgb(70, 130, 180);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

thead {
    background-color: rgb(220, 20, 60); /* Crimson */
}

thead tr th {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 17px;
    padding: 18px;
    text-align: left;
    border-bottom: 4px solid rgb(178, 34, 34);
}

tbody tr {
    border-bottom: 2px solid rgb(176, 196, 222); /* Light Steel Blue */
}

tbody tr:nth-child(even) {
    background-color: rgb(240, 248, 255); /* Alice Blue */
}

tbody tr:nth-child(odd) {
    background-color: rgb(255, 255, 255);
}

tbody tr:hover {
    background-color: rgb(255, 228, 196); /* Bisque */
    transition: background-color 0.3s ease;
    transform: scale(1.01);
}

tbody td {
    padding: 14px 18px;
    font-weight: bold;
    font-size: 15px;
    color: rgb(0, 0, 0);
    border-right: 1px solid rgb(176, 196, 222);
}

tbody td:last-child {
    border-right: none;
}

/* Flowchart Styles */
.flowchart {
    background-color: rgb(248, 248, 255); /* Ghost White */
    border: 4px solid rgb(70, 130, 180);
    border-radius: 14px;
    padding: 35px;
    margin: 28px 0;
    text-align: center;
}

.flow-box {
    display: inline-block;
    padding: 18px 28px;
    margin: 12px;
    background-color: rgb(65, 105, 225); /* Royal Blue */
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 15px;
    border: 3px solid rgb(70, 130, 180);
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.flow-box.start {
    background-color: rgb(34, 139, 34); /* Forest Green */
    border: 4px solid rgb(0, 100, 0);
}

.flow-box.end {
    background-color: rgb(220, 20, 60); /* Crimson */
    border: 4px solid rgb(139, 0, 0);
}

.flow-box.decision {
    background-color: rgb(255, 165, 0); /* Orange */
    color: rgb(0, 0, 0);
    border: 4px solid rgb(255, 140, 0);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    padding: 28px 35px;
}

.flow-arrow {
    font-size: 36px;
    font-weight: bold;
    color: rgb(70, 130, 180);
    margin: 8px 0;
}

.flow-split {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
}

.flow-split2 {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 25px 0;
}

.flow-path, .flow-path2 {
    flex: 1;
    text-align: center;
}

/* Mind Map Styles */
.mindmap-container {
    background-color: rgb(248, 248, 255);
    border: 5px solid rgb(70, 130, 180);
    border-radius: 18px;
    padding: 25px;
    margin: 35px 0;
    overflow-x: auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.mindmap-container svg text {
    font-weight: bold;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 35px;
    background-color: rgb(220, 20, 60); /* Crimson */
    color: rgb(255, 255, 255);
    border: 4px solid rgb(178, 34, 34);
    border-radius: 12px;
    margin-top: 45px;
    font-weight: bold;
}

footer p {
    font-weight: bold;
    margin: 10px 0;
    font-size: 15px;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .navigation {
        display: none;
    }
    
    .container {
        margin: 0;
        padding: 20px;
        border: none;
        box-shadow: none;
    }
    
    .content-section {
        page-break-inside: avoid;
        border: 2px solid black;
    }
    
    table {
        page-break-inside: avoid;
    }
    
    .flowchart {
        page-break-inside: avoid;
    }
    
    .mindmap-container {
        page-break-inside: avoid;
    }
    
    h2 {
        page-break-after: avoid;
    }
    
    .disclaimer {
        border: 3px solid black;
        background-color: white;
    }
}

/* Responsive Design */
@media screen and (max-width: 1500px) {
    .navigation {
        width: 220px;
    }
    
    .container {
        margin-left: 240px;
    }
}

@media screen and (max-width: 1200px) {
    .navigation {
        position: relative;
        width: 100%;
        max-height: none;
        margin-bottom: 25px;
    }
    
    .container {
        margin: 0 auto;
        max-width: 95%;
    }
    
    header h1 {
        font-size: 40px;
    }
    
    header h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 18px;
    }
    
    header h1 {
        font-size: 32px;
    }
    
    header h2 {
        font-size: 20px;
    }
    
    .content-section h2 {
        font-size: 26px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    table {
        font-size: 13px;
    }
    
    .flow-split, .flow-split2 {
        flex-direction: column;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background-color: rgb(240, 248, 255);
    border-radius: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(70, 130, 180);
    border-radius: 12px;
    border: 3px solid rgb(240, 248, 255);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(65, 105, 225);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Enhancement for Tables */
table thead th {
    position: sticky;
    top: 0;
    background-color: rgb(220, 20, 60);
    z-index: 10;
}

/* Highlight Effect */
.highlight {
    background-color: rgb(255, 255, 0);
    transition: background-color 0.5s ease;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.content-section {
    animation: fadeIn 0.5s ease-in;
}

/* Button Hover Effects */
button {
    transition: all 0.3s ease;
}

button:active {
    transform: scale(0.96);
}

/* Enhanced Focus States */
button:focus,
a:focus {
    outline: 3px solid rgb(255, 165, 0);
    outline-offset: 2px;
}