/* GitHub/GitLab style alerts */
.markdown-alert {
    padding: 1rem;
    margin-bottom: 16px;
    color: inherit;
    border-left: .25em solid #d0d7de;
    border-radius: 0.375rem;
    position: relative;
    padding-left: 3rem;
}

.markdown-alert::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.markdown-alert.note {
    background-color: #f6f8fa;
    border-left-color: #0969da;
}

.markdown-alert.note::before {
    content: "\f05a";  /* fa-info-circle */
    color: #0969da;
}

.markdown-alert.warning {
    background-color: #fff8c5;
    border-left-color: #9a6700;
}

.markdown-alert.warning::before {
    content: "\f071";  /* fa-exclamation-triangle */
    color: #9a6700;
}

.markdown-alert.important {
    background-color: #ffebe9;
    border-left-color: #cf222e;
}

.markdown-alert.important::before {
    content: "\f06a";  /* fa-exclamation-circle */
    color: #cf222e;
}

.markdown-alert.tip {
    background-color: #dafbe1;
    border-left-color: #1a7f37;
}

.markdown-alert.tip::before {
    content: "\f0eb";  /* fa-lightbulb */
    color: #1a7f37;
}

.markdown-alert > p {
    margin: 0;
    padding: 0;
}

.markdown-alert > p + p,
.markdown-alert > ul,
.markdown-alert > ol {
    margin-top: 0.5rem;
}

.markdown-alert > ul,
.markdown-alert > ol {
    list-style-position: inside;
    padding-left: 0;
}

/* Für verschachtelte Listen */
.markdown-alert > ul ul,
.markdown-alert > ul ol,
.markdown-alert > ol ul,
.markdown-alert > ol ol {
    padding-left: 1.5rem;
} 