/* Quiniela Table Layout Styles */
.quiniela-table-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.5rem;
    background: rgba(96, 165, 250, 0.1);
    border-bottom: 2px solid var(--accent-blue);
    font-weight: 800;
    font-size: 0.75rem;
    color: #1e40af;
}

.match-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.3s;
}

.match-row:hover {
    background: rgba(96, 165, 250, 0.05);
}

.match-row:last-child {
    border-bottom: none;
}

/* Column widths for desktop */
.qt-info {
    width: 120px;
    flex-shrink: 0;
}

.qt-btn-header,
.qt-btn {
    width: 40px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qt-team-header,
.qt-team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.match-meta {
    font-size: 0.65rem;
    color: #6b7280;
    line-height: 1.4;
}

.match-meta i {
    width: 12px;
    margin-right: 4px;
}

.match-content {
    display: contents;
}

.mobile-match-meta {
    display: none;
    font-size: 0.8rem;
    color: #374151;
    font-weight: 600;
}

.match-selection-area {
    display: contents;
}

.team-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .quiniela-table-header {
        display: none;
    }

    .match-row {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 0.5rem;
        gap: 0;
    }

    .qt-info {
        display: none;
    }

    .mobile-match-meta {
        display: block;
        text-align: center;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .match-content {
        display: block;
    }

    .match-selection-area {
        display: grid;
        grid-template-columns: 40px 1fr 40px 1fr 40px;
        gap: 0.25rem;
        align-items: center;
    }

    .qt-btn {
        width: auto;
        justify-content: center;
    }

    .qt-team {
        flex-direction: row;
        justify-content: flex-start;
        min-width: 0;
    }

    .team-wrapper {
        gap: 0.35rem;
        min-width: 0;
        flex: 1;
    }

    .selection-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }

    .team-logo {
        width: 30px !important;
        height: 30px !important;
        flex-shrink: 0;
    }

    .team-name {
        font-size: 0.65rem !important;
        color: #000 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }
}