/* Citation System Styles */

.citation {
    color: #7048e8;
    text-decoration: none;
    font-weight: 500;
    padding: 1px 3px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.citation:hover {
    background-color: rgba(112, 72, 232, 0.1);
    text-decoration: none;
}

.citation-error {
    color: #e03131;
    background-color: rgba(224, 49, 49, 0.1);
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 500;
}

.bibliography {
    margin-top: 3em;
    padding: 2em 0;
}

.bibliography h2 {
    color: #2d3748;
    font-size: 1.6em;
    margin-bottom: 1em;
    font-weight: 600;
}

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

.reference-item {
    counter-increment: reference-counter;
    margin-bottom: 0.4em;
    padding: 0.4em 0.6em;
    background: #f8f9fa;
    border-left: 2px solid #7048e8;
    border-radius: 0 4px 4px 0;
    line-height: 1.3;
    position: relative;
    font-size: 0.9em;
}

.reference-item::before {
    content: "[" counter(reference-counter) "]";
    font-weight: bold;
    color: #7048e8;
    margin-right: 0.5em;
    font-size: 0.85em;
}

.reference-item:target {
    background-color: rgba(112, 72, 232, 0.1);
    animation: highlight 2s ease-out;
}

@keyframes highlight {
    0% {
        background-color: rgba(112, 72, 232, 0.3);
    }
    100% {
        background-color: rgba(112, 72, 232, 0.1);
    }
}

.reference-item em {
    font-style: italic;
}

/* Characteristics Grid Styles */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.characteristic-item {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding: 1.5em;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(112, 72, 232, 0.04);
    transition: all 0.3s ease;
}

.characteristic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(112, 72, 232, 0.08);
    border-color: #7048e8;
}

.characteristic-icon {
    font-size: 2em;
    flex-shrink: 0;
    margin-top: 0.2em;
}

.characteristic-content h3 {
    color: #7048e8;
    margin: 0 0 0.8em 0;
    font-size: 1.2em;
    font-weight: 600;
}

.characteristic-content p {
    margin: 0;
    line-height: 1.6;
    color: #4a5568;
}

/* Responsive design */
@media (max-width: 768px) {
    .bibliography {
        padding: 1.5em 0;
    }
    
    .reference-item {
        padding: 0.8em;
        font-size: 0.95em;
    }
    
    .reference-item::before {
        font-size: 0.9em;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    
    .characteristic-item {
        padding: 1.2em;
    }
    
    .characteristic-icon {
        font-size: 1.6em;
    }
}

/* Section Link Styles */
.section-link {
    color: #7048e8;
    text-decoration: none;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(112, 72, 232, 0.1);
    transition: all 0.2s ease;
}

.section-link:hover {
    background: rgba(112, 72, 232, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}


