/* ref: https://github.com/squidfingers/hugo-shortcodes */

.alert {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    background-color: rgba(0, 133, 253, 0.25);
    border-radius: 0.25rem; 
}
.alert .alert__body {
    flex-grow: 1; 
}
.alert .alert__body > :last-child {
    margin-bottom: 0; 
}
.alert.alert--info {
    background-color: rgba(0, 133, 253, 0.25); 
}
.alert.alert--success {
    background-color: rgba(46, 125, 50, 0.25); 
}
.alert.alert--warning {
    background-color: rgba(237, 143, 2, 0.25); 
}
.alert.alert--error {
    background-color: rgba(211, 47, 47, 0.25); 

}
.alert.alert--small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.icon {
    display: inline-block;
    vertical-align: var(--icon-vertical-align);
    width: 24px;
    height: 24px; 
}
.icon.icon--primary path {
    fill: #0085fd; 
}
.icon.icon--secondary path {
    fill: #999; 
}
.icon.icon--info path {
    fill: #0085fd;
 }
.icon.icon--success path {
    fill: #2e7d32; 
}
.icon.icon--warning path {
    fill: #ed8f02;
 }
.icon.icon--error path {
    fill: #d32f2f; 
}
.icon.icon--current path {
    fill: currentColor;
}
.icon.icon--large {
    width: 32px;
    height: 32px; 
}
.icon.icon--medium {
    width: 24px;
    height: 24px; 
}
.icon.icon--small {
    width: 20px;
    height: 20px; 
}