

.controls {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdowns {
    margin-bottom: 20px;
}

.pitch-wrapper {
    width: fit-content;
    height: 50vh;  /* 50% van viewport height */
}

#soccer-pitch {
    height: 100%;
}

.shots {
    fill: #15607A;
    opacity: 0.5;
}

.shot-circle {
    stroke: black;
    stroke-width: 0.3px;
}

.coordinate-label {
    fill: black;
    font-size: 20;
}

.plot-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

#playerStats table {
    font-size: 16px;
    border-spacing: 0 8px;  /* Voegt wat verticale ruimte tussen rijen toe */
}

#playerStats td {
    padding: 4px 0;
}

select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 16px;
}

.pitch {
    background-color: #000000;
    width: 100%;
    height: 100%;
}

/* D3 Soccer styling overrides */
.soccer-pitch {
    background: #000000;
}

.soccer-pitch line,
.soccer-pitch circle,
.soccer-pitch path,
.soccer-pitch rect {
    stroke: #ffffff;
    stroke-width: 0.5px;
}

.pitch-container {
    max-width: 3000px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.controls {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pitch-wrapper {
    width: fit-content;
    height: 50vh;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .pitch-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .controls {
        width: 100%;
        max-width: 400px;
    }

    .pitch-wrapper {
        width: 100%;
        height: 50vh;
    }
}

.shot-circle {
    stroke: black;
    stroke-width: 0.3px;
}

.coordinate-label {
    fill: black;
    font-size: 20;
}

.plot-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

#playerStats table {
    font-size: 16px;
    border-spacing: 0 8px;  /* Voegt wat verticale ruimte tussen rijen toe */
}

#playerStats td {
    padding: 4px 0;
}

select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 16px;
}

.tooltip {
    position: absolute;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 4px;
    pointer-events: none;
    font-size: 14px;
    display: none;
}

.shot-circle {
    pointer-events: none;
}

.shot-area {
    fill: transparent;
    cursor: pointer;
}