/* LLM Principles Page Styles */
.llm-principles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
}

/* Hero Section */
.hero-section {
    margin-bottom: 60px;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: #000000;
}

.hero-description {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

.hero-description p {
    font-size: 16px;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-description a {
    color: #000000;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}

.hero-description a:hover {
    color: #666666;
}

/* Glossary Section */
.glossary-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 3px solid #6f42c1;
    padding-bottom: 10px;
}

h3.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid #6f42c1;
    padding-bottom: 10px;
}

.glossary-item {
    margin-bottom: 30px;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #6f42c1;
}

.glossary-term {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.glossary-item p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.glossary-item a {
    color: #000000;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}

.glossary-item a:hover {
    color: #666666;
}

.two-column-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.info-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.info-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.info-card p {
    font-size: 15px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-card strong {
    font-weight: 700;
    color: #000000;
}

.info-card a {
    color: #000000;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}

.info-card a:hover {
    color: #666666;
}

.extended-info-section {
    margin-bottom: 60px;
}


.extended-info-section p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.extended-info-link {
    color: #000000;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}

.extended-info-link:hover {
    color: #666666;
}

.code-block-container {
    background-color: #2d2d2d;
    color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    overflow-x: auto;
    border: 1px solid #404040;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
}

.code-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #cccccc;
    border-bottom: 1px solid #404040;
    padding-bottom: 10px;
}

.code-header svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    fill: #cccccc;
}

.code-header span {
    font-weight: 700;
    font-size: 16px;
}

.code-content pre {
    margin: 0;
    white-space: pre;
    overflow-x: auto;
    font-size: 13px;
    min-width: max-content;
}

.code-content .keyword {
    color: #569cd6; /* Blue */
}

.code-content .string {
    color: #ce9178; /* Orange */
}

.code-content .comment {
    color: #6a9955; /* Green */
}

.code-content .type {
    color: #4ec9b0; /* Teal */
}

.code-content .variable {
    color: #9cdcfe; /* Light Blue */
}

.category-definitions {
    margin-top: 40px;
    margin-bottom: 40px;
}


.category-definitions ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.category-definitions li {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 5px;
}

.curation-stability {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 40px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.curation-matrix-section {
    margin-bottom: 60px;
}


.curation-matrix-section p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.curation-matrix-table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    max-width: 100%;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.curation-matrix-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 14px;
    min-width: 1200px;
}

.curation-matrix-table th,
.curation-matrix-table td {
    border: 1px solid #e0e0e0;
    padding: 5px 15px;
    text-align: left;
    white-space: nowrap;
}

.curation-matrix-table th {
    background-color: #f8f9fa;
    font-weight: 700;
    color: #000000;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.curation-matrix-table th.workshop-editorial {
    background-color: #dc3545;
    color: #ffffff;
}

.curation-matrix-table td {
    color: #333333;
    font-size: 13px;
}

.curation-matrix-table td.exclude {
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
}

.curation-matrix-table td.disclaimer {
    background-color: #ffc107;
    color: #000000;
    font-weight: 600;
}

.curation-matrix-table td.no-action {
    background-color: #ffffff;
    color: #6c757d;
}

.curation-matrix-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.curation-matrix-table tbody tr:hover {
    background-color: #e9ecef;
}

.disclaimer-grouping-section {
    margin-bottom: 60px;
}

.disclaimer-grouping-section p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.disclaimer-group {
    margin-bottom: 30px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #6f42c1;
}

.disclaimer-group h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
}

.disclaimer-group ul {
    list-style-type: disc;
    margin-left: 20px;
}

.disclaimer-group li {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 5px;
}

.disclaimer-group code {
    background-color: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 14px;
    color: #e83e8c;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .llm-principles-container {
        max-width: 992px; /* fixed page width for large tablets/small desktops */
    }
}

@media (max-width: 992px) {
    .llm-principles-container {
        max-width: 768px; /* fixed page width for tablets */
    }
    
    .main-title {
        font-size: 2.4rem;
    }
    
    .section-title,
    h3.section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .llm-principles-container {
        padding: 20px 15px;
        max-width: 576px; /* fixed page width for large phones */
    }
    
    .main-title {
        font-size: 2.1rem;
    }
    
    .section-title,
    h3.section-title {
        font-size: 1.6rem;
    }
    
    .glossary-term {
        font-size: 1.2rem;
    }
    
    .info-card-title {
        font-size: 18px;
    }
    
    .disclaimer-group h3 {
        font-size: 18px;
    }
    
    .extended-info-section-title,
    .curation-matrix-section-title {
        font-size: 24px;
    }
    
    .two-column-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .info-card {
        max-width: 100%;
        min-width: auto;
    }
    
    .curation-matrix-table-container {
        font-size: 12px;
    }
    
    .curation-matrix-table th,
    .curation-matrix-table td {
        padding: 6px 10px;
    }
    
    .code-block-container {
        font-size: 12px;
    }
    
    .code-content pre {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .llm-principles-container {
        max-width: 100%; /* small phones take full width of viewport */
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .section-title,
    h3.section-title {
        font-size: 1.4rem;
    }
    
    .glossary-term {
        font-size: 1.15rem;
    }
    
    .info-card-title {
        font-size: 17px;
    }
    
    .disclaimer-group h3 {
        font-size: 16px;
    }
    
    .curation-matrix-table {
        font-size: 10px;
    }
    
    .curation-matrix-table th,
    .curation-matrix-table td {
        padding: 4px 8px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .disclaimer-group {
        padding: 15px;
    }
}
