.validation-summary-valid.alert {
    display: none !important;
}

.validation-summary-errors.alert {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    border: 1px solid rgba(143, 47, 39, 0.24);
    border-left: 4px solid var(--red, #8f2f27);
    border-radius: 10px;
    background: #fff6f4;
    color: #6f1f18;
    box-shadow: 0 8px 20px rgba(143, 47, 39, 0.08);
    padding: 12px 14px;
}

.validation-summary-errors.alert::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(143, 47, 39, 0.12);
    color: var(--red, #8f2f27);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.validation-summary-errors.alert ul {
    margin: 0;
    padding-left: 1.1rem;
}

.validation-summary-errors.alert ul:has(> li:only-child) {
    list-style: none;
    padding-left: 0;
}

.validation-summary-errors.alert li {
    margin: 2px 0;
}
