﻿.sporcular-wrapper {
    padding: 20px;
    color: white;
}

.sporcular-header {
    text-align: center;
    margin-bottom: 30px;
}

.sporcular-logo {
    background: white;
    border-radius: 50%;
    padding: 15px;
    width: 100px;
    height: 100px;
    object-fit: contain;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
    display: block;
    margin: 0 auto; /* ortalar */
    margin-bottom:10px
}

.sporcular-description {
    font-size: 20px;
    color: white;
    max-width: 500px;
    margin: auto;
}

.sporcular-controls {
    display: flex;
    justify-content: start;
    gap: 15px;
    margin-bottom: 20px;
}

.sporcular-btn {
    background: #333;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

    .sporcular-btn:hover {
        background: #004aad;
    }
.sporcular-table-wrapper {
    margin-top: 30px;
    width: 100%;
    overflow-x: auto;
}

.sporcular-table-header,
.sporcular-table-row {
    display: grid;
    grid-template-columns: 60px 2fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sporcular-table-header {
    position: sticky;
    top: 0;
    background-color: #1a1a1a;
    font-weight: 600;
    border-bottom: 1px solid #333;
    z-index: 5;
}

.sporcular-table-row {
    background-color: #111;
    border-bottom: 1px solid #222;
    transition: background 0.2s;
}

    .sporcular-table-row:hover {
        background-color: #1e1e1e;
    }

.player-thumb {
    width: 50px; /* genişlik artırıldı */
    height: 65px; /* dikdörtgen oran */
    object-fit: cover;
    border-radius: 6px; /* köşeleri biraz yumuşak ama yuvarlak değil */
    margin-right: 10px;
}

.sporcular-table-row div:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.sporcular-table-header div:not(:nth-child(2)),
.sporcular-table-row div:not(:nth-child(2)) {
    text-align: center;
}

.highlight-score {
    background: #004aad;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    display: inline-block;
}

.branch-icon {
    font-size: 30px;
    color: white; 
    width:35px;
}



.branch-futbol {
    color: #28a745; /* yeşil */
}

.branch-basketbol {
    color: #c47f00; /* turuncu / kahverengi basketbol topu */
}

.branch-voleybol {
    color: #007bff; /* mavi */
}

.branch-tenis {
    color: #ffe600; /* sarı */
}

.branch-yüzme {
    color: #00bcd4; /* su rengi */
}

.branch-koşu {
    color: #ff4081; /* pembe */
}

@media (max-width: 768px) {

    .sporcular-description {
        font-size: 16px;
        padding: 0 10px;
    }

    .sporcular-controls {
        flex-direction: column;
        gap: 10px;
        padding: 0 10px;
        margin-top:10px;
    }

    .topbar {
        border-radius:0;
        justify-content:center;
    }

    .sporcular-btn {
        width: 100%;
        text-align: center;
    }

    .sporcular-table-header,
    .sporcular-table-row {
        grid-template-columns: 40px 1.5fr 1fr 1fr 1fr;
        font-size: 13px;
        padding: 10px;
    }

        .sporcular-table-header div:nth-child(n+6),
        .sporcular-table-row div:nth-child(n+6) {
            display: none;
        }

    .player-thumb {
        width: 40px;
        height: 55px;
    }

    .highlight-score {
        font-size: 13px;
        padding: 4px 8px;
    }

    .branch-icon {
        font-size: 24px;
    }

    .search-container {
        width: 100%;
        padding: 0 10px;
    }

    #searchInput {
        width: 100%;
    }

    .sporcular-table-wrapper {
        overflow-x: auto;
    }
}


