/* Alert block — Racelogic predefined alert types */

.rl-alert {
    --rl-alert-colour: #54616c;
    --rl-alert-bg: #f7f9fb;

    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-left: 0.4rem solid var(--rl-alert-colour);
    border-radius: 0.5rem;
    background-color: var(--rl-alert-bg);
    color: var(--rl-alert-colour);
}

.rl-alert-heading {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 0.12rem solid var(--rl-alert-colour);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.rl-alert-body p {
    margin: 0;
}

.rl-alert-body p + p {
    margin-top: 0.75rem;
}

/* Note — blue */
.rl-alert-note {
    --rl-alert-colour: #1d5fbf;
    --rl-alert-bg: #eef6ff;
}

/* Tip — green */
.rl-alert-tip {
    --rl-alert-colour: #1f7a3f;
    --rl-alert-bg: #eefaf1;
}

/* Limitation — purple */
.rl-alert-limitation {
    --rl-alert-colour: #5b3fd6;
    --rl-alert-bg: #f4efff;
}

/* Important — amber */
.rl-alert-important {
    --rl-alert-colour: #7a5200;
    --rl-alert-bg: #fff7e6;
}

/* Warning — red */
.rl-alert-warning {
    --rl-alert-colour: #b42318;
    --rl-alert-bg: #fff1f0;
}

/* Plain — grey (defaults from .rl-alert, no overrides needed) */
