.jvs-wrapper {  
    max-width: 400px;
    margin: 20px auto; 
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: visible;
    font-family: sans-serif;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.jvs-player-list {
    padding: 10px;
    max-height: 60vh;
    overflow-y: auto;
}
.jvs-mobile-header {
    background: #0056b3;
    color: white;
    padding: 20px;
    text-align: center;
}
.jvs-mobile-header h2 { color: #abcfff; font-size: 12px; margin: 0; }
.jvs-mobile-header h1 { font-size: 20px; margin: 5px 0; color: white;}
.jvs-select { width: 100%; padding: 10px; border-radius: 5px; border: none; }
.jvs-trainer-card {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
}
.jvs-avatar {
    background: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}
.jvs-progress-container { padding: 0 15px; }
.jvs-progress-bar {
    background: #e9ecef;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}
.jvs-progress-bar span { display: block; background: #007bff; height: 100%; }
.jvs-player-list { padding: 10px; }
.jvs-player-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}
.jvs-player-info { display: flex; flex-direction: column; }
.jvs-score-display { font-weight: bold; color: #0056b3; font-size: 18px; }
.jvs-btn-edit { background: #f0f0f0; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; }
/* Modal Styling */
.jvs-modal { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:9999; overflow-y: auto; }
.jvs-modal-content { background: white; max-width: 350px; margin: 20px auto; padding: 20px; border-radius: 10px; }
.jvs-modal-content label { display: block; margin-top: 10px; font-weight: bold; }
.jvs-modal-content input { width: 100%; padding: 5px; }
.jvs-modal-content button { margin-top: 15px; }

/* Dashboard Styling */
.jvs-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 20px; }
.jvs-kpi-card { background: white; padding: 20px; border-radius: 10px; border-left: 5px solid #007bff; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.jvs-kpi-card h3 { margin: 0 0 10px 0; font-size: 14px; color: #555; text-transform: uppercase; }
.jvs-kpi-card .jvs-kpi-value { font-size: 28px; font-weight: bold; color: #333; }
.jvs-dashboard-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.jvs-list-card { background: white; padding: 15px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.jvs-list-card h3 { border-bottom: 2px solid #007bff; padding-bottom: 10px; margin-top: 0; }
.jvs-list-table { width: 100%; border-collapse: collapse; }
.jvs-list-table th, .jvs-list-table td { padding: 8px; text-align: left; border-bottom: 1px solid #eee; }
.jvs-list-table th { background: #f8f9fa; font-size: 12px; }

/* === MODERN MODAL === */
.jvs-modal-content { overflow-y: visible; max-height: none; }
.jvs-modal-modern { max-width: 460px; border-radius: 16px; padding: 0 !important; overflow: visible !important; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.jvs-modal-header { display: flex; align-items: center; justify-content: space-between; background: #0056b3; color: white; padding: 14px 18px; }
.jvs-modal-header h3 { margin: 0; font-size: 16px; color: white; }
.jvs-modal-close { background: rgba(255,255,255,0.2); border: none; color: white; border-radius: 50%; width: 28px; height: 28px; font-size: 15px; cursor: pointer; line-height: 28px; text-align: center; }
.jvs-modal-close:hover { background: rgba(255,255,255,0.4); }

.jvs-modal-player-info { display: flex; gap: 14px; padding: 14px 18px; background: #f4f7fb; border-bottom: 1px solid #dde4ef; align-items: flex-start; }
.jvs-modal-foto { flex-shrink: 0; }
.jvs-modal-foto img { width: 70px; height: 105px; object-fit: cover; border-radius: 8px; border: 2px solid #dde3ed; display: block; }
.jvs-foto-placeholder { width: 70px; height: 105px; background: #dde4ef; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 11px; text-align: center; flex-shrink: 0; }
.jvs-modal-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding-top: 2px; }
.jvs-meta-row { display: flex; gap: 8px; font-size: 12px; line-height: 1.4; }
.jvs-meta-row span { color: #888; min-width: 58px; flex-shrink: 0; }
.jvs-meta-row strong { color: #222; word-break: break-word; }

.jvs-modal-form-wrap { padding: 14px 18px; }
.jvs-form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.jvs-form-group label { display: block; font-size: 11px; font-weight: 700; color: #555; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.4px; }
.jvs-form-group select { width: 100%; padding: 7px 9px; border: 1px solid #ccd4e0; border-radius: 8px; font-size: 13px; }

/* === STERREN === */
.jvs-hoofd-categorie { border-radius: 12px; padding: 15px; margin-bottom: 20px; }
.jvs-hoofd-titel { display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; margin-bottom: 15px; border-bottom: 2px solid; padding-bottom: 5px; }
.jvs-hoofd-gemiddelde { color: white; padding: 2px 8px; border-radius: 6px; font-size: 12px; }

/* Categorie Kleuren (Licht & Fris) */
.jvs-cat-techniek { background: #f0f7ff; border: 1px solid #cce4ff; }
.jvs-cat-techniek .jvs-hoofd-titel { color: #0056b3; border-bottom-color: #cce4ff; }
.jvs-cat-techniek .jvs-hoofd-gemiddelde { background: #0056b3; }

.jvs-cat-inzicht { background: #f0fdf4; border: 1px solid #bbf7d0; }
.jvs-cat-inzicht .jvs-hoofd-titel { color: #166534; border-bottom-color: #bbf7d0; }
.jvs-cat-inzicht .jvs-hoofd-gemiddelde { background: #166534; }

.jvs-cat-mentaal { background: #fffbeb; border: 1px solid #fef08a; }
.jvs-cat-mentaal .jvs-hoofd-titel { color: #854d0e; border-bottom-color: #fef08a; }
.jvs-cat-mentaal .jvs-hoofd-gemiddelde { background: #854d0e; }

.jvs-cat-fysiek { background: #fef2f2; border: 1px solid #fecaca; }
.jvs-cat-fysiek .jvs-hoofd-titel { color: #991b1b; border-bottom-color: #fecaca; }
.jvs-cat-fysiek .jvs-hoofd-gemiddelde { background: #991b1b; }
.jvs-sterren-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 600px) { .jvs-sterren-grid { grid-template-columns: 1fr; } }
.jvs-ster-groep label { display: block; font-size: 11px; font-weight: 700; color: #555; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.4px; }
.jvs-sterren { display: flex; gap: 4px; }
.jvs-ster { font-size: 46px; color: #d0d8e4; cursor: pointer; transition: color 0.12s, transform 0.1s; user-select: none; touch-action: manipulation; padding: 4px 2px; min-width: 46px; text-align: center; }
.jvs-ster.actief { color: #f0a500; }
.jvs-sterren:hover .jvs-ster { color: #f0a500; }
.jvs-sterren .jvs-ster:hover ~ .jvs-ster { color: #d0d8e4; }

/* === BVO CHECKBOX === */
.jvs-bvo-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #0056b3; margin-bottom: 14px; cursor: pointer; }
.jvs-bvo-label input { width: 16px; height: 16px; cursor: pointer; }

/* === TOAST === */
.jvs-toast { color: white; padding: 10px 14px; border-radius: 8px; font-weight: bold; font-size: 13px; margin-bottom: 10px; text-align: center; }

/* === MODAL KNOPPEN === */
.jvs-modal-actions { display: flex; gap: 8px; }
.jvs-btn-opslaan { flex: 1; background: #0056b3; color: white; border: none; padding: 10px; border-radius: 8px; font-size: 14px; font-weight: bold; cursor: pointer; }
.jvs-btn-opslaan:hover { background: #004494; }
.jvs-btn-sluiten { background: #eef0f3; color: #555; border: none; padding: 10px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.jvs-btn-sluiten:hover { background: #e0e3e8; }
.jvs-btn-verwijderen { width: 100%; margin-top: 8px; background: #fff0f0; color: #c0392b; border: 1px solid #f1c0c0; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: bold; cursor: pointer; }
.jvs-btn-verwijderen:hover { background: #ffe1e1; }