.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5rem;
}

.table th,
.table td {
    border: 1px solid #e2e2e2;
    padding: 0.5em 0.75em;
    text-align: center;
    font-size: 0.96em;
}

.table td a{
    color: var(--color-primary);
    font-weight: bold;
    cursor: pointer;
}

.table th {
    background: #f4f4f9;
    font-weight: 700;
}

#horse-rating-table img {
    display: inline-block;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.load-more-container {
    text-align: center;
    margin: 2em 0;
}

.loading-state {
    margin: 2em 0;
    text-align: center;
}

.skeleton-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.skeleton-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eee;
}

.skeleton-text {
    flex: 1;
}

.skeleton-line {
    height: 12px;
    background: #eee;
    margin: 6px 0;
    border-radius: 6px;
}

.skeleton-line.full-width {
    width: 100%;
}

.skeleton-line.three-quarter-width {
    width: 75%;
}

.skeleton-line.half-width {
    width: 50%;
}

.shimmer {
    animation: shimmer 1.6s infinite linear;
    background: linear-gradient(to right, #eee 8%, #f5f5f5 18%, #eee 33%);
    background-size: 1200px 100%;
}

@keyframes shimmer {
    0% {
        background-position: -1200px 0;
    }

    100% {
        background-position: 1200px 0;
    }
}

.empty-state {
    text-align: center;
    margin: 3em 0 2em 0;
}

.empty-state-message {
    color: #c23b3b;
    font-size: 1.2em;
    font-weight: 600;
}