/* Legal Document Styling */
.policy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 20px;
}

.policy-header h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.last-updated {
    font-size: 1rem;
    color: #666;
}

.version {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.policy-section h3 {
    font-size: 1.3rem;
    color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-section h4 {
    font-size: 1.1rem;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-section p {
    margin-bottom: 15px;
}

.policy-section ul, .policy-section ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 8px;
}

.policy-section code {
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #d63384;
}

.important-notice {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.policy-table th {
    background-color: #0066cc;
    color: white;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
}

.policy-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.policy-table tr:hover {
    background-color: #f9f9f9;
}

/* Status Indicators */
.status-compliant {
    color: #28a745;
    font-weight: 600;
}

.status-certified {
    color: #0066cc;
    font-weight: 600;
}

.status-audited {
    color: #6f42c1;
    font-weight: 600;
}

.status-available {
    color: #fd7e14;
    font-weight: 600;
}

.status-mapped {
    color: #20c997;
    font-weight: 600;
}

.status-implemented {
    color: #17a2b8;
    font-weight: 600;
}

.status-process {
    color: #6c757d;
    font-weight: 600;
}

.status-published {
    color: #6610f2;
    font-weight: 600;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 20px;
}

.faq-item p {
    margin-bottom: 5px;
}

.faq-item strong {
    color: #0066cc;
}

/* Contact Section */
.contact-section {
    margin-top: 50px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.contact-section h2 {
    margin-top: 0;
    border-bottom: 1px solid #dee2e6;
}

.contact-section ul {
    list-style: none;
    padding: 0;
}

.contact-section li {
    margin-bottom: 10px;
}

.contact-section a {
    color: #0066cc;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .policy-table {
        font-size: 0.9rem;
    }
    
    .policy-table th,
    .policy-table td {
        padding: 8px 10px;
    }
}

@media print {
    .policy-container {
        padding: 20px;
    }
    
    .policy-header {
        border-bottom: 2px solid #000;
    }
    
    .policy-section h2 {
        color: #000;
    }
    
    .contact-section {
        background-color: #fff;
        border: 1px solid #ccc;
    }
}