/**
 * Path: nplsportspro/assets/css/templates/match/tabs/league-table.css
 * Layout: Professional 7-Devices Responsive Card Table
 */

.nplsp-standings-tab-wrapper {
    padding: 10px 0 !important;
}

/* 1. Control Card (Filter Area) */
.nplsp-standings-control-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.nplsp-control-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
}

.nplsp-control-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

.nplsp-pro-select {
    padding: 8px 15px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #f8fafc !important;
    font-size: 14px !important;
    color: #1e293b !important;
}

/* 2. Standings Table Card */
.nplsp-standing-view-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03) !important;
}

.nplsp-pro-league-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.nplsp-pro-league-table th {
    background: #f1f5f9 !important;
    padding: 15px 10px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    text-align: center !important;
}

.nplsp-pro-league-table td {
    padding: 14px 10px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: center !important;
    font-size: 14px !important;
}

.col-team-name { text-align: left !important; width: 35% !important; }

.nplsp-team-flex {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.nplsp-table-logo {
    width: 25px !important;
    height: 25px !important;
    object-fit: contain !important;
}

.nplsp-highlight-row {
    background-color: #f0f9ff !important;
}

.nplsp-highlight-row td {
    color: #0369a1 !important;
    font-weight: 700 !important;
}

.col-pts {
    background: #f8fafc !important;
    font-weight: 800 !important;
}

/* 3. Empty State Card */
.nplsp-no-table-card {
    background: #fffcf0 !important;
    border: 1px dashed #eab308 !important;
    padding: 30px !important;
    text-align: center !important;
    border-radius: 10px !important;
}

.nplsp-no-table-card i { font-size: 40px !important; color: #eab308 !important; margin-bottom: 15px !important; }

/* --- 7 DEVICES RESPONSIVE --- */

@media (min-width: 1200px) { .nplsp-pro-league-table td { padding: 18px 10px !important; } }
@media (max-width: 1199px) { .col-team-name { width: 40% !important; } }
@media (max-width: 991px) { .hide-tablet { display: none !important; } }
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
    .nplsp-control-flex { flex-direction: column !important; align-items: flex-start !important; }
    .nplsp-pro-select { width: 100% !important; }
}
@media (max-width: 600px) { .nplsp-team-flex span { font-size: 12px !important; } }
@media (max-width: 480px) { .nplsp-pro-league-table th, .nplsp-pro-league-table td { padding: 10px 5px !important; font-size: 11px !important; } }
@media (max-width: 359px) { .nplsp-table-logo { width: 18px !important; } }