.se-footnote-trigger {
    padding: 0 0.1rem;
    border-bottom-style: dotted;
    border-bottom-width: 1px;
    border-color: rgba(59, 130, 246, 0.5);
    color: #2563eb;
    transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.se-footnote-trigger .se-footnote-icon {
    font-size: 0.9rem;
    margin-left: 0.15rem;
}

.se-footnote-trigger:hover {
    color: #1d4ed8;
    background-color: rgba(59, 130, 246, 0.08);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transform: translateY(-0.5px);
}

.se-footnote-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 23, 42, 0.35);
    z-index: 9999;
}

.se-footnote-modal {
    max-width: 24rem;
    width: 100%;
    margin: 1.5rem;
    background-color: #0f172a;
    color: #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.7);
    padding: 1rem 1.25rem 1.25rem;
    position: relative;
}

.se-footnote-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.se-footnote-close:hover {
    color: #e5e7eb;
}

.se-footnote-body {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .se-footnote-modal {
        max-width: 100%;
        margin: 0.75rem;
        border-radius: 0.75rem;
    }
}

