/* SOP Page Styles */

.sop-content {
    background: var(--card-bg, #1e1e1e);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sop-content h1 {
    color: var(--primary-color, #4a9eff);
    border-bottom: 2px solid var(--primary-color, #4a9eff);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.sop-content h1:first-child {
    margin-top: 0;
}

.sop-content h2 {
    color: var(--secondary-color, #66bb6a);
    border-bottom: 1px solid rgba(102, 187, 106, 0.3);
    padding-bottom: 0.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.sop-content h3 {
    color: var(--text-primary, #e0e0e0);
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
}

.sop-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary, #b0b0b0);
}

.sop-content ul, .sop-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.sop-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary, #b0b0b0);
}

.sop-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.sop-content th {
    background: var(--primary-color, #4a9eff);
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
}

.sop-content td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary, #b0b0b0);
}

.sop-content tr:last-child td {
    border-bottom: none;
}

.sop-content tr:hover {
    background: rgba(74, 158, 255, 0.1);
}

.sop-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    color: #ff6b6b;
}

.sop-content pre {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
    border-left: 3px solid var(--primary-color, #4a9eff);
}

.sop-content pre code {
    background: none;
    padding: 0;
    color: #a8d8ff;
    font-size: 0.85em;
}

.sop-content blockquote {
    border-left: 4px solid var(--secondary-color, #66bb6a);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-secondary, #b0b0b0);
    font-style: italic;
}

.sop-content hr {
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.sop-content strong {
    color: var(--text-primary, #e0e0e0);
    font-weight: 600;
}

.sop-content em {
    color: var(--text-secondary, #b0b0b0);
    font-style: italic;
}

.sop-content a {
    color: var(--primary-color, #4a9eff);
    text-decoration: none;
    transition: color 0.2s;
}

.sop-content a:hover {
    color: #6bb5ff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sop-content {
        padding: 1rem;
    }

    .sop-content table {
        font-size: 0.9em;
    }

    .sop-content th,
    .sop-content td {
        padding: 0.5rem;
    }

    .sop-content pre {
        font-size: 0.8em;
    }
}
