/* Scoreboard table styling */
table {
    width: 100%;
    max-width: 100%;
}

/* Table headers */
th {
    width: fit-content;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

/* All table cells */
td {
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 18px;
}

/* Problem name column - different styling */
td:first-child {
    width: max-content;
    height: auto;
    text-align: left;
    padding: 10px;
    padding-right: 5rem;
    background-color: var(--background-secondary);
}

td:first-child a {
    text-decoration: none;
    color: var(--text-primary);
}

.accepted {
    color: transparent;  
    text-shadow: 0 0 0 white;
    background-color: #28a745;
}

.rejected {
    color: transparent;  
    text-shadow: 0 0 0 white;
    background-color: #dc3545;
}

.queued{
    color: transparent;  
    text-shadow: 0 0 0 white;
    background-color: #ffc107;
}

/* Disable row hover effects from base.css */
tbody tr:hover {
    background-color: inherit !important;
    transform: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
    td {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    th {
        padding: 8px;
        font-size: 12px;
    }
}