.rating-table-wrapper {
    width: 100%;
    margin: 20px -15px;
    padding: 0 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rating-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    line-height: 1.5;
}

.rating-table thead {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
}

.rating-table th {
    padding: 8px 6px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.rating-table tbody tr {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #e9ecef;
}

.rating-table tbody tr:last-child {
    border-bottom: none;
}

.rating-table td {
    padding: 8px 6px;
    vertical-align: middle;
    color: #495057;
}

.rating-table-image {
    max-width: 60px;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rating-empty-state {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin: 20px 0;
}

.rating-empty-state p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

@media screen and (min-width: 768px) {
    .rating-table-wrapper {
        margin: 20px 0;
        padding: 0;
        overflow: visible;
    }
    .rating-table {
        font-size: 13px;
        min-width: 0;
    }
    .rating-table th {
        padding: 10px 8px;
        font-size: 12px;
    }
    .rating-table td {
        padding: 10px 8px;
    }
    .rating-table-image {
        max-width: 70px;
    }
    .rating-empty-state {
        padding: 50px 20px;
    }
}

@media screen and (min-width: 1024px) {
    .rating-table-wrapper {
        margin: 30px 0;
    }
    .rating-table {
        font-size: 14px;
    }
    .rating-table th {
        padding: 14px 12px;
        font-size: 13px;
    }
    .rating-table td {
        padding: 12px;
    }
    .rating-table tbody tr:hover {
        background-color: #f8f9fa;
    }
    .rating-table-image {
        max-width: 80px;
    }
    .rating-empty-state {
        padding: 60px 20px;
        font-size: 15px;
    }
}