/* CORP Page Specific Styles */

.code-block {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    border: 1px solid #e9ecef;
}

.code-block pre {
    margin-bottom: 0;
    white-space: pre-wrap;
}

.directive-card {
    border-left: 4px solid #0d6efd;
    margin-bottom: 1.5rem;
}

.directive-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.directive-tag {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 8px;
}

.tag-restrictive {
    background-color: #dc3545;
    color: white;
}

.tag-moderate {
    background-color: #ffc107;
    color: black;
}

.tag-permissive {
    background-color: #0dcaf0;
    color: black;
}

.resource-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    border-left: 3px solid #0d6efd;
    background-color: #f8f9fa;
    margin-bottom: 10px;
}

.resource-link:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.resource-link i {
    margin-right: 10px;
    color: #0d6efd;
}

.related-headers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.related-header-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.related-header-link:hover {
    background-color: #e9ecef;
    border-left-color: #0d6efd;
    color: #0d6efd;
}

.related-header-link i.fa-arrow-right {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.related-header-link:hover i.fa-arrow-right {
    opacity: 1;
    transform: translateX(0);
}

.header-section {
    margin-bottom: 30px;
}

.key-point {
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 5px 5px 0;
}

.comparison-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-top: 1px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table tr:hover {
    background-color: #e9ecef;
}

.server-config-tab {
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    margin-right: 5px;
    transition: all 0.2s ease;
}

.server-config-tab.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.server-config-content {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 0 5px 5px 5px;
    background-color: #fff;
}

.quote {
    font-style: italic;
    padding: 15px 30px;
    position: relative;
    color: #6c757d;
    border-left: 3px solid #0d6efd;
    background-color: #f8f9fa;
    margin: 20px 0;
}

.quote::before {
    content: "\201C";
    font-size: 3rem;
    position: absolute;
    left: 5px;
    top: -10px;
    color: #0d6efd;
    opacity: 0.3;
} 