/* Entry List Page Styles */

.entry-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 1rem;
}

.entry-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #E10600 0%, #101010 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.entry-info {
    color: #666;
    font-size: 1.1rem;
}

.entry-filters {
    margin-bottom: 40px;
    text-align: center;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.entry-filters select {
    padding: 14px 24px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    min-width: 300px;
    transition: all 0.3s ease;
}

.entry-filters select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.entry-filters select:hover {
    border-color: #E10600;
}

.entry-filters select:focus {
    outline: none;
    border-color: #E10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.loading {
    text-align: center;
    padding: 80px 30px;
    font-size: 1.2rem;
    color: #666;
}

.error {
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.1) 0%, rgba(255, 69, 0, 0.1) 100%);
    color: #E10600;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    font-weight: 500;
    border: 2px solid rgba(225, 6, 0, 0.3);
}

.race-info {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.1) 0%, rgba(16, 16, 16, 0.05) 100%);
    border-radius: 10px;
    border: 2px solid rgba(225, 6, 0, 0.2);
}

.race-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #101010;
    font-weight: 700;
}

.race-info p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.entry-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.entry-table {
    width: 100%;
    border-collapse: collapse;
}

.entry-table thead {
    background: linear-gradient(135deg, #E10600 0%, #101010 100%);
    color: white;
}

.entry-table th {
    padding: 20px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-table th:first-child {
    border-radius: 10px 0 0 0;
}

.entry-table th:last-child {
    border-radius: 0 10px 0 0;
}

.entry-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.entry-table tbody tr:hover {
    background-color: #f8f9fa;
}

.entry-table tbody tr.pole-position {
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.12) 0%, rgba(30, 144, 255, 0.04) 100%);
    font-weight: 600;
}

.entry-table tbody tr.pole-position:hover {
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.18) 0%, rgba(30, 144, 255, 0.08) 100%);
}

.entry-table td {
    padding: 18px 20px;
    color: #333;
}

.entry-table .position {
    font-weight: 700;
    font-size: 1.1rem;
    color: #E10600;
    width: 80px;
}

.entry-table .pole-position .position {
    color: #1E90FF;
    font-size: 1.3rem;
}

.entry-table .pole-position .position::after {
    content: " P";
    font-size: 0.8rem;
    font-weight: 600;
}

.entry-table .car-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1E90FF;
}

.entry-table .driver-name {
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .entry-header h2 {
        font-size: 2rem;
    }

    .entry-filters select {
        min-width: 100%;
    }

    .race-info h3 {
        font-size: 1.5rem;
    }

    .entry-table th,
    .entry-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .entry-table .position,
    .entry-table .car-number {
        font-size: 1rem;
    }
}
