/* Citation Styles */
.citation {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.citation-source {
    font-weight: bold;
}

.citation-date {
    color: #888;
}

.citation-link {
    color: #1a3a6e;
    text-decoration: none;
}

.citation-link:hover {
    text-decoration: underline;
}

/* Evidence Citation Styles */
.evidence-citation {
    background-color: #f0f4f8;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.evidence-source {
    display: block;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.evidence-description {
    display: block;
    margin-bottom: 0.25rem;
}

.evidence-date {
    display: block;
    color: #666;
    font-style: italic;
}

/* Quote Styles */
blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #1a3a6e;
    background-color: #f8f9fa;
    font-style: italic;
}

blockquote p {
    margin: 0;
}

blockquote footer {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
    background-color: transparent;
    padding: 0;
    text-align: right;
}

blockquote cite {
    font-style: normal;
    font-weight: bold;
}

/* Reference List Styles */
.references {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.references h3 {
    margin-top: 0;
}

.reference-list {
    padding-left: 0;
    list-style-type: none;
}

.reference-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    text-indent: -2rem;
}

/* Footnote Styles */
.footnote {
    font-size: 0.8rem;
    vertical-align: super;
    color: #1a3a6e;
    cursor: pointer;
}

.footnotes {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
}

.footnote-item {
    margin-bottom: 0.5rem;
}

.footnote-number {
    font-weight: bold;
    color: #1a3a6e;
    margin-right: 0.5rem;
}

/* Patent Citation Styles */
.patent-citation {
    font-family: monospace;
    background-color: #f0f4f8;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Legal Citation Styles */
.legal-citation {
    font-style: italic;
}

.case-name {
    font-style: normal;
    font-weight: bold;
}

/* Screenshot Citation Styles */
.screenshot-citation {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    max-width: 100%;
}

/* Source Code Citation Styles */
.code-citation {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    font-family: monospace;
    white-space: pre-wrap;
    margin: 1.5rem 0;
    border-left: 4px solid #1a3a6e;
    overflow-x: auto;
}

.code-citation-header {
    margin-bottom: 0.5rem;
    color: #666;
    font-style: italic;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
