/* Výsledková listina */
.bop-results-wrap {
    margin: 20px 0;
}

.bop-results-wrap h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 26px;
    text-align: center;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.bop-results-info {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.bop-results-info strong {
    color: #0073aa;
    font-size: 18px;
}

.bop-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.bop-results-table th,
.bop-results-table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
}

.bop-results-table th {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.bop-results-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.bop-results-table tbody tr:hover {
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}

/* Speciální styling pro první tři místa */
.bop-results-table tbody tr:nth-child(1) {
    background: linear-gradient(135deg, #fff2cc 0%, #ffe066 100%);
    font-weight: bold;
    border-left: 4px solid #FFD700;
}

.bop-results-table tbody tr:nth-child(2) {
    background: linear-gradient(135deg, #f2f2f2 0%, #e0e0e0 100%);
    font-weight: bold;
    border-left: 4px solid #C0C0C0;
}

.bop-results-table tbody tr:nth-child(3) {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    font-weight: bold;
    border-left: 4px solid #CD7F32;
}

/* Pořadí sloupec */
.bop-results-table td:first-child {
    font-weight: bold;
    font-size: 16px;
    color: #0073aa;
}

/* Čas sloupec */
.bop-results-table td:nth-child(5) {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 15px;
    color: #d63031;
}

/* Jméno sloupec */
.bop-results-table td:nth-child(2) {
    font-weight: 600;
}

/* DataTables ovládání pro výsledky */
.bop-results-wrap .dataTables_wrapper .dataTables_filter {
    text-align: right !important;
    margin-bottom: 15px !important;
}

.bop-results-wrap .dataTables_wrapper .dataTables_filter label {
    font-weight: normal !important;
    color: #555 !important;
    font-size: 14px !important;
}

.bop-results-wrap .dataTables_wrapper .dataTables_filter input {
    margin-left: 8px !important;
    width: 250px !important;
    padding: 6px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.bop-results-wrap .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #0073aa !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3) !important;
}

.bop-results-wrap .dataTables_wrapper .dataTables_info {
    color: #666 !important;
    font-size: 13px !important;
}

.bop-results-wrap .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px !important;
    margin: 0 2px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    color: #0073aa !important;
    background: white !important;
}

.bop-results-wrap .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #0073aa !important;
    color: white !important;
    border-color: #0073aa !important;
}

.bop-results-wrap .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0073aa !important;
    color: white !important;
    border-color: #0073aa !important;
}

/* Responsive styling */
@media (max-width: 768px) {
    .bop-results-table {
        font-size: 12px;
    }

    .bop-results-table th, 
    .bop-results-table td {
        padding: 6px 8px;
    }

    .bop-results-wrap .dataTables_wrapper .dataTables_filter input {
        width: 200px !important;
    }
}