    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1) !important;
}

.passcard_error_msg {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.passcard_error_msg.passcard_visible {
    display: block;
}

/* =====================================================
   racelist_closed_entrow.css
   Styles for the expanded detail row (entrow_) 
   in races_list.j2
   ===================================================== */

.racelist_closed_detail_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 12px 16px;
    background-color: #f5f7ee;
    border-left: 4px solid #3cb043;
    border-radius: 0 0 6px 6px;
    font-family: inherit;
    font-size: 0.88em;
}

.racelist_closed_detail_group {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.racelist_closed_detail_label {
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.racelist_closed_detail_value {
    font-size: 1em;
    color: #222;
    font-weight: 500;
}

.racelist_closed_detail_value.racelist_closed_highlight {
    color: #3cb043;
    font-weight: 700;
}

.racelist_closed_detail_value a {
    color: #2a52be;
    text-decoration: none;
}

.racelist_closed_detail_value a:hover {
    text-decoration: underline;
}

.racelist_closed_section_divider {
    width: 100%;
    border: none;
    border-top: 1px solid #dde5c8;
    margin: 6px 0;
}

.racelist_closed_badges_wrap {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}


.stable_page_transfer_panel {
    padding: 20px;
    margin-bottom: 20px;
}

