/* Blockhead Odyssey Equine Registry — scoped wpDataTables presentation */

.bhodyssey-equine-registry-wrap {
    --bh-eq-bg: #081025;
    --bh-eq-panel: #101a35;
    --bh-eq-panel-alt: #0c1630;
    --bh-eq-head: #17284c;
    --bh-eq-border: #29466e;
    --bh-eq-text: #edf4ff;
    --bh-eq-muted: #a9b8d1;
    --bh-eq-accent: #55ffff;
    --bh-eq-health: #ff6b6b;
    --bh-eq-speed: #55ffff;
    --bh-eq-jump: #55ff77;
    --bh-eq-gold: #ffd75a;
    --bh-eq-warning: #ffb86c;
    --bh-eq-danger: #ff6b6b;
}

.bhodyssey-equine-registry-wrap,
.bhodyssey-equine-registry-wrap .wpDataTablesWrapper,
.bhodyssey-equine-registry-wrap .dataTables_wrapper {
    background: transparent !important;
    color: var(--bh-eq-text) !important;
}

.bhodyssey-equine-registry-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: var(--bh-eq-bg) !important;
    color: var(--bh-eq-text) !important;
    border: 1px solid var(--bh-eq-border) !important;
    overflow: hidden;
}

.bhodyssey-equine-registry-table thead th,
.bhodyssey-equine-registry-table thead td {
    background: var(--bh-eq-head) !important;
    color: #ffffff !important;
    border-color: var(--bh-eq-border) !important;
    font-weight: 700 !important;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.bhodyssey-equine-registry-table tbody tr,
.bhodyssey-equine-registry-table tbody td {
    background: var(--bh-eq-panel) !important;
    color: var(--bh-eq-text) !important;
    border-color: rgba(88, 121, 165, .35) !important;
}

.bhodyssey-equine-registry-table tbody tr:nth-child(even) td {
    background: var(--bh-eq-panel-alt) !important;
}

.bhodyssey-equine-registry-table tbody tr:hover td {
    background: #182b4d !important;
}

.bhodyssey-equine-registry-table .bh-eq-col-registry-id {
    color: var(--bh-eq-accent) !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.bhodyssey-equine-registry-table .bh-eq-col-health-stars {
    color: var(--bh-eq-health) !important;
    font-weight: 700 !important;
    letter-spacing: .05em;
}

.bhodyssey-equine-registry-table .bh-eq-col-speed-stars {
    color: var(--bh-eq-speed) !important;
    font-weight: 700 !important;
    letter-spacing: .05em;
}

.bhodyssey-equine-registry-table .bh-eq-col-jump-stars {
    color: var(--bh-eq-jump) !important;
    font-weight: 700 !important;
    letter-spacing: .05em;
}

.bhodyssey-equine-registry-table .bh-eq-col-quality {
    font-weight: 700 !important;
}

.bhodyssey-equine-registry-table .bh-eq-quality-excellent,
.bhodyssey-equine-registry-table .bh-eq-quality-perfect {
    color: var(--bh-eq-gold) !important;
}

.bhodyssey-equine-registry-table .bh-eq-quality-good {
    color: #55ff77 !important;
}

.bhodyssey-equine-registry-table .bh-eq-quality-fair,
.bhodyssey-equine-registry-table .bh-eq-quality-average {
    color: #7ed7ff !important;
}

.bhodyssey-equine-registry-table .bh-eq-quality-poor {
    color: var(--bh-eq-warning) !important;
}

.bhodyssey-equine-registry-table .bh-eq-status-active {
    color: #55ff77 !important;
    font-weight: 700 !important;
}

.bhodyssey-equine-registry-table .bh-eq-status-market-retired,
.bhodyssey-equine-registry-table .bh-eq-status-sanctuary-retired,
.bhodyssey-equine-registry-table .bh-eq-status-retired {
    color: var(--bh-eq-gold) !important;
}

.bhodyssey-equine-registry-table .bh-eq-status-lost {
    color: var(--bh-eq-warning) !important;
}

.bhodyssey-equine-registry-table .bh-eq-status-dead {
    color: var(--bh-eq-danger) !important;
}

.bhodyssey-equine-registry-wrap input[type="search"],
.bhodyssey-equine-registry-wrap select {
    background: #0b1730 !important;
    color: var(--bh-eq-text) !important;
    border: 1px solid var(--bh-eq-border) !important;
}

.bhodyssey-equine-registry-wrap .paginate_button,
.bhodyssey-equine-registry-wrap .wpDataTablePagination li a,
.bhodyssey-equine-registry-wrap .wpDataTablePagination li span {
    color: var(--bh-eq-text) !important;
}

.bhodyssey-equine-registry-wrap .paginate_button.current,
.bhodyssey-equine-registry-wrap .wpDataTablePagination li.active a,
.bhodyssey-equine-registry-wrap .wpDataTablePagination li.active span {
    background: var(--bh-eq-accent) !important;
    color: #00131a !important;
    border-color: var(--bh-eq-accent) !important;
}

.bhodyssey-equine-registry-wrap .dataTables_info,
.bhodyssey-equine-registry-wrap .dataTables_length,
.bhodyssey-equine-registry-wrap .dataTables_filter,
.bhodyssey-equine-registry-wrap .wpDataTablesInfo {
    color: var(--bh-eq-muted) !important;
}

/* Keep links readable when REGISTRY_ID becomes clickable later. */
.bhodyssey-equine-registry-table a {
    color: var(--bh-eq-accent) !important;
    text-decoration: none;
}

.bhodyssey-equine-registry-table a:hover {
    text-decoration: underline;
}
