*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#f4f4f5;color:#17171a}.app-shell{display:flex;min-height:100vh}.sidebar{width:245px;background:#0b0b0d;color:#fff;position:fixed;left:0;top:0;bottom:0;padding:22px 14px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;justify-content:center;padding:4px 8px 28px;border-bottom:1px solid #29292d}.brand-logo{width:62px;height:72px;object-fit:contain;border-radius:8px;background:#000}.brand strong,.brand span{display:block}.brand strong{font-size:16px;letter-spacing:.5px}.brand span{font-size:11px;color:#e3262e;font-weight:800;margin-top:2px}.sidebar nav{padding-top:22px}.nav-item{width:100%;border:0;background:transparent;color:#ddd;text-align:left;padding:13px 12px;border-radius:9px;margin:3px 0;font-size:14px;cursor:pointer;display:flex;gap:12px;align-items:center}.nav-item:hover,.nav-item.active{background:#e3262e;color:#fff}.sidebar-bottom{margin-top:auto}.coach{border-top:1px solid #29292d;padding:18px 9px 3px;display:flex;gap:10px;align-items:center}.coach b,.coach small{display:block}.coach small{color:#aaa;font-size:11px;margin-top:3px}.main{margin-left:245px;width:calc(100% - 245px);padding:0 26px 35px}.topbar{height:90px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #ddd}.hamburger{display:none;border:0;background:transparent;font-size:25px}.page-title{flex:1}.page-title h1{margin:0;font-size:24px}.page-title p{margin:4px 0 0;color:#777;font-size:13px}.top-actions{display:flex;gap:10px}.top-actions select,.filters input,.filters select{background:#fff;border:1px solid #d8d8dc;border-radius:8px;padding:11px 13px;font-weight:600}.primary{border:0;background:#e3262e;color:white;border-radius:8px;padding:11px 16px;font-weight:800;cursor:pointer}.primary:hover{background:#c91d25}.view{padding-top:22px}.hidden{display:none!important}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat-card,.panel{background:#fff;border:1px solid #e0e0e3;border-radius:11px;box-shadow:0 2px 8px #00000008}.stat-card{padding:18px}.stat-card span,.stat-card small{display:block;color:#777}.stat-card b{display:block;font-size:29px;margin:8px 0}.content-grid,.evaluation-layout{display:grid;grid-template-columns:1fr 1.25fr;gap:16px;margin-top:16px}.panel{padding:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.panel-head h2{font-size:17px;margin:0}.text-btn{border:0;background:none;color:#e3262e;font-weight:800;cursor:pointer}.badge{padding:6px 10px;border-radius:20px;background:#f0f0f2;font-size:12px;font-weight:800}.badge.red{background:#fff0f0;color:#e3262e}.player-list{display:flex;flex-direction:column}.player-row{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid #eee}.avatar{width:42px;height:42px;border-radius:50%;background:#17171a;color:#fff;display:grid;place-items:center;font-weight:900}.player-row .info{flex:1}.player-row b{display:block}.player-row small{color:#777}.score{font-weight:900;color:#e3262e}.filters{display:flex;gap:8px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid #eee;font-size:13px}th{font-size:12px;text-transform:uppercase;color:#777}td .action{border:0;background:#f1f1f3;border-radius:6px;padding:7px 9px;cursor:pointer}.evaluation-layout{grid-template-columns:.9fr 1.1fr}.profile{display:grid;grid-template-columns:100px 1fr;gap:18px}.profile-photo{width:100px;height:100px;border-radius:50%;background:#161619;color:#fff;display:grid;place-items:center;font-size:40px;border:4px solid #e3262e}.profile h3{font-size:20px;margin:3px 0}.profile p{margin:4px 0;color:#e3262e;font-weight:800}.details{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail{background:#f7f7f8;border-radius:7px;padding:9px}.detail span{display:block;color:#777;font-size:11px}.detail b{font-size:13px}.radar-wrap{display:flex;justify-content:center;align-items:center;min-height:350px}.skills-form{display:grid;gap:12px}.skill-row{display:grid;grid-template-columns:170px 1fr 65px 75px;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #eee}.skill-row input[type=range]{accent-color:#e3262e;width:100%}.skill-row output{font-weight:900;text-align:center}.skill-row small{color:#777}.empty{text-align:center;padding:70px 20px}.empty-icon{font-size:50px;margin-bottom:10px}.empty p{color:#777}dialog{border:0;border-radius:14px;width:min(560px,calc(100% - 28px));padding:0;box-shadow:0 20px 70px #0005}dialog::backdrop{background:#0008}dialog form{padding:22px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0 0 18px}.close{border:0;background:#eee;border-radius:50%;width:30px;height:30px;font-size:20px;cursor:pointer}label{display:block;font-size:13px;font-weight:800;margin:12px 0}label input,label select{display:block;width:100%;margin-top:6px;border:1px solid #d5d5d8;border-radius:8px;padding:11px;background:#fff}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.full{width:100%;margin-top:10px}.toast{position:fixed;right:22px;bottom:22px;background:#111;color:#fff;padding:12px 17px;border-radius:8px;opacity:0;transform:translateY(10px);transition:.25s;z-index:50}.toast.show{opacity:1;transform:none}@media(max-width:1000px){.stats-grid{grid-template-columns:1fr 1fr}.content-grid,.evaluation-layout{grid-template-columns:1fr}.top-actions select{display:none}}@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:.25s;width:245px}.sidebar.open{transform:none}.main{margin-left:0;width:100%;padding:0 14px 25px}.topbar{height:78px}.hamburger{display:block}.page-title h1{font-size:18px}.page-title p{display:none}.top-actions .primary{font-size:0;padding:11px 13px}.top-actions .primary:first-letter{font-size:18px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:14px}.stat-card b{font-size:23px}.skill-row{grid-template-columns:110px 1fr 50px}.skill-row small{display:none}.two-col{grid-template-columns:1fr}.profile{grid-template-columns:75px 1fr}.profile-photo{width:75px;height:75px;font-size:30px}.details{grid-template-columns:1fr}.panel{padding:14px}.filters{flex-wrap:wrap}.filters input{min-width:0;width:100%}}


/* CATEGORIES V1 */

.categories-v1-view{
  padding-top:22px;
}

.categories-header{
  margin-bottom:22px;
}

.categories-header h1{
  margin:0;
  font-size:24px;
}

.categories-header p{
  margin:5px 0 0;
  color:#777;
  font-size:13px;
}

.category-list-v1{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.category-item-v1{
  background:#fff;
  border:1px solid #e0e0e3;
  border-radius:11px;
  overflow:hidden;
  box-shadow:0 2px 8px #00000008;
}

.category-title-v1{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:13px 18px 3px;
  cursor:pointer;
}

.category-title-v1 strong{
  font-size:17px;
  color:#17171a;
}

.category-arrow-v1{
  font-size:19px;
  font-weight:900;
  color:#e3262e;
  transition:transform .2s;
}

.category-age-v1{
  padding:0 18px 14px;
  color:#777;
  font-size:13px;
}

.category-item-v1.open .category-arrow-v1{
  transform:rotate(180deg);
}

.category-content-v1{
  display:none;
  padding:0 14px 18px;
  border-top:1px solid #eee;
}

.category-item-v1.open .category-content-v1{
  display:block;
}

.effectif-title-v1{
  font-size:16px;
  font-weight:900;
  margin:18px 4px 12px;
  color:#17171a;
}

.players-cards-v1{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:12px;
}

.player-card-v1{
  background:#f8f8f9;
  border:1px solid #e1e1e4;
  border-radius:10px;
  padding:14px;
}

.player-card-top-v1{
  display:flex;
  gap:13px;
  align-items:flex-start;
}

.player-number-v1{
  font-size:16px;
  font-weight:900;
  min-width:28px;
}

.player-photo-v1{
  width:72px;
  height:72px;
  border-radius:9px;
  object-fit:cover;
  background:#17171a;
  flex-shrink:0;
}

.player-photo-placeholder-v1{
  width:72px;
  height:72px;
  border-radius:9px;
  background:#17171a;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:900;
  flex-shrink:0;
}

.player-info-v1{
  min-width:0;
  flex:1;
}

.player-name-v1{
  font-size:16px;
  font-weight:900;
  margin-bottom:7px;
}

.player-detail-v1{
  font-size:12px;
  color:#666;
  line-height:1.7;
}

.player-edit-v1{
  width:100%;
  margin-top:13px;
  border:0;
  background:#e3262e;
  color:#fff;
  border-radius:7px;
  padding:10px;
  font-weight:900;
  cursor:pointer;
}

.player-edit-v1:hover{
  background:#c91d25;
}

.empty-effectif-v1{
  text-align:center;
  padding:25px 10px;
  color:#777;
  font-size:13px;
}

@media(max-width:720px){
  .categories-header h1{
    font-size:20px;
  }

  .players-cards-v1{
    grid-template-columns:1fr;
  }

  .category-title-v1{
    padding-left:14px;
    padding-right:14px;
  }

  .category-age-v1{
    padding-left:14px;
    padding-right:14px;
  }
}

/* CATEGORIES V1 - FULLSCREEN */
body.categories-active .app-shell{
  display:block;
}

body.categories-active .sidebar{
  display:none !important;
}

body.categories-active .main{
  width:100%;
  margin:0;
  padding:0;
  min-height:100vh;
}

body.categories-active .topbar{
  display:none !important;
}

body.categories-active #categoriesViewV1{
  display:block !important;
  width:100%;
  min-height:100vh;
  margin:0;
  padding:24px;
  box-sizing:border-box;
}

body.categories-active #categoriesViewV1.hidden{
  display:none !important;
}

.categories-v1-view{
  background:#f6f7f9;
}

.categories-v1-view .categories-header{
  width:100%;
  margin:0 0 24px 0;
}

.categories-v1-view .categories-header h1{
  margin:0 0 6px 0;
}

.categories-v1-view .categories-header p{
  margin:0;
}

.category-list-v1{
  width:100%;
  max-width:1100px;
  margin:0 auto;
}

.category-item-v1{
  width:100%;
  box-sizing:border-box;
}

@media(max-width:700px){
  body.categories-active #categoriesViewV1{
    padding:16px;
  }

  .categories-v1-view .categories-header h1{
    font-size:24px;
  }
}


/* =========================================
   SIDEBAR AUTO HIDE SYSTEM
   ========================================= */

body.sidebar-page .sidebar{
  display:none !important;
}

body.sidebar-page .main{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  flex:1 1 100% !important;
  min-width:0 !important;
}

body.sidebar-page .app-shell{
  grid-template-columns:1fr !important;
  display:grid !important;
  width:100% !important;
}

body.sidebar-page .view{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

body.sidebar-page #categoriesViewV1{
  width:100% !important;
  max-width:none !important;
  min-height:calc(100vh - 80px);
  box-sizing:border-box;
}


/* =========================================
   HAMBURGER ALWAYS VISIBLE
   ========================================= */

body.sidebar-page .topbar{
  display:flex !important;
}

body.sidebar-page .hamburger{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
}

body.categories-active .topbar{
  display:flex !important;
}

body.categories-active .hamburger{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
}


/* =========================================
   CATEGORIES - REMOVE TOP WHITE SPACE
   ========================================= */

body.categories-active{
  margin:0 !important;
  padding:0 !important;
}

body.categories-active .app-shell{
  margin:0 !important;
  padding:0 !important;
  min-height:100vh !important;
}

body.categories-active .main{
  margin:0 !important;
  padding:0 !important;
  min-height:100vh !important;
}

body.categories-active .topbar{
  margin:0 !important;
  padding:12px 16px !important;
  min-height:60px !important;
  box-sizing:border-box !important;
}

body.categories-active #categoriesViewV1{
  margin:0 !important;
  padding:20px 24px 40px !important;
  min-height:calc(100vh - 60px) !important;
  box-sizing:border-box !important;
}

body.categories-active #categoriesViewV1 .categories-header{
  margin-top:0 !important;
}

@media(max-width:700px){
  body.categories-active .topbar{
    padding:10px 14px !important;
    min-height:56px !important;
  }

  body.categories-active #categoriesViewV1{
    padding:16px !important;
    min-height:calc(100vh - 56px) !important;
  }
}


/* =========================================
   FIX CATEGORIES CONTENT POSITION
   ========================================= */

body.categories-active{
  overflow-x:hidden !important;
}

body.categories-active .main{
  position:relative !important;
  top:0 !important;
  margin:0 !important;
  padding:0 !important;
}

body.categories-active .topbar{
  position:relative !important;
  top:0 !important;
  margin:0 !important;
  transform:none !important;
  flex-shrink:0 !important;
}

body.categories-active #categoriesViewV1{
  position:relative !important;
  top:0 !important;
  margin:0 !important;
  transform:none !important;
  padding-top:12px !important;
  min-height:auto !important;
  height:auto !important;
}

body.categories-active #categoriesViewV1 .categories-header{
  position:relative !important;
  top:0 !important;
  margin-top:0 !important;
  transform:none !important;
}


/* =========================================
   CATEGORIES - FINAL POSITION FIX
   ========================================= */

body.categories-active #categoriesViewV1{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  top:60px !important;
  bottom:0 !important;
  width:100vw !important;
  height:calc(100vh - 60px) !important;
  margin:0 !important;
  padding:20px 24px 40px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  box-sizing:border-box !important;
  z-index:100 !important;
  background:#f6f7f9 !important;
}

body.categories-active .topbar{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  width:100% !important;
  height:60px !important;
  z-index:200 !important;
  box-sizing:border-box !important;
}

@media(max-width:700px){
  body.categories-active #categoriesViewV1{
    top:56px !important;
    height:calc(100vh - 56px) !important;
    padding:16px !important;
  }

  body.categories-active .topbar{
    height:56px !important;
  }
}



/* =========================================================
   JOUEURS V2
   ========================================================= */

body.players-active .top-actions{
  display:none !important;
}

.players-v2{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px;
  box-sizing:border-box;
}

.players-v2-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.players-v2-head h2{
  margin:0;
  font-size:28px;
}

.players-v2-divider{
  height:1px;
  background:#ddd;
  margin:22px 0;
}

.players-v2-modify{
  display:flex;
  justify-content:flex-end;
}

.modify-btn{
  border:1px solid #222;
  background:#222;
  color:#fff;
  padding:10px 24px;
  border-radius:7px;
  font-weight:700;
  cursor:pointer;
}

.modify-search-box{
  margin-top:14px;
  position:relative;
}

.modify-search-box.hidden{
  display:none !important;
}

#modifyPlayerSearch{
  width:100%;
  box-sizing:border-box;
  padding:13px 15px;
  border:1px solid #ccc;
  border-radius:8px;
  font-size:16px;
}

.modify-results{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.modify-result{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  cursor:pointer;
  text-align:left;
}

.modify-result span{
  font-weight:700;
}

.modify-result small{
  color:#777;
}

.no-search-result{
  padding:12px;
  color:#777;
}

.players-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:18px;
  margin-top:24px;
}

.player-card-v2{
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  padding:18px;
  box-sizing:border-box;
}

.player-card-photo{
  width:120px;
  height:120px;
  margin:0 auto 14px;
  border-radius:50%;
  overflow:hidden;
  background:#eee;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.player-card-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.player-photo-placeholder{
  font-weight:700;
  color:#888;
}

.player-card-name{
  text-align:center;
  font-size:20px;
  font-weight:800;
  margin-bottom:16px;
}

.player-card-line,
.category-player-line{
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:7px 0;
  border-bottom:1px solid #eee;
}

.player-card-line span,
.category-player-line span{
  color:#777;
}

.empty-players{
  padding:40px;
  text-align:center;
  color:#777;
}

#playerDialog{
  border:0;
  border-radius:12px;
  padding:0;
  width:min(520px,calc(100vw - 30px));
  max-height:90vh;
}

#playerDialog::backdrop{
  background:rgba(0,0,0,.55);
}

#playerForm{
  padding:22px;
  max-height:90vh;
  overflow-y:auto;
  box-sizing:border-box;
}

#playerForm label{
  display:block;
  margin:12px 0;
  font-weight:600;
}

#playerForm input,
#playerForm select{
  width:100%;
  box-sizing:border-box;
  margin-top:6px;
  padding:11px 12px;
  border:1px solid #ccc;
  border-radius:7px;
  font-size:15px;
}

.dialog-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:20px;
}

.secondary{
  border:1px solid #ccc;
  background:#fff;
  color:#222;
  padding:10px 18px;
  border-radius:7px;
  cursor:pointer;
}

.full{
  width:auto;
}

@media(max-width:700px){

  .players-v2{
    padding:16px;
  }

  .players-v2-head h2{
    font-size:24px;
  }

  .players-grid{
    grid-template-columns:1fr;
  }

  .players-v2-head{
    align-items:center;
  }

}


/* =========================================================
   CATEGORIES V2
   ========================================================= */

.category-effectif{
  font-weight:800;
  margin:18px 0 12px;
}

.category-players-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:18px;
}

.category-player-card{
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  padding:18px;
  box-sizing:border-box;
}

.category-player-photo{
  width:130px;
  height:130px;
  margin:0 auto 14px;
  border-radius:50%;
  overflow:hidden;
  background:#eee;
  display:flex;
  align-items:center;
  justify-content:center;
}

.category-player-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.category-photo-placeholder{
  color:#888;
  font-weight:800;
}

.category-player-name{
  text-align:center;
  font-size:20px;
  font-weight:800;
  margin-bottom:14px;
}

.category-empty{
  padding:24px;
  text-align:center;
  color:#777;
  background:#fff;
  border-radius:10px;
}



/* =========================================================
   JOUEURS — AJUSTEMENTS UI
   ========================================================= */

.players-v2-head{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100%;
}

.players-add-btn{
  min-width:190px !important;
  min-height:52px !important;
  padding:14px 32px !important;
  font-size:18px !important;
  font-weight:800 !important;
}

.players-v2-modify{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100%;
  margin-top:20px;
}

.modify-btn{
  min-width:190px !important;
  min-height:52px !important;
  padding:14px 32px !important;
  font-size:18px !important;
}

.player-card-v2{
  text-align:left;
}

.player-card-photo{
  width:150px !important;
  height:150px !important;
}

.player-card-name{
  font-size:21px !important;
  margin-bottom:18px !important;
}

.player-card-line{
  padding:8px 0 !important;
}



/* Suppression du + du bouton supérieur */
#addPlayerTop{
  font-size:0 !important;
}

#addPlayerTop::after{
  content:'Ajouter';
  font-size:inherit;
}


/* =====================================================
   ARRIÈRE-PLAN FOOTBALL LIONCEAUX LAAZIB
   ===================================================== */

body{
  background-image:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    url("assets/dashboard-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


/* =====================================================
   EVALUATION V2
   ===================================================== */

.evaluation-domain{
  margin:24px 0;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

.evaluation-domain-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:18px 20px;
  background:#f7f7f8;
  border-bottom:1px solid #e5e7eb;
}

.evaluation-domain-head h3{
  margin:0;
  font-size:21px;
}

.evaluation-domain-average{
  text-align:right;
}

.domain-total-label{
  display:block;
  font-size:12px;
  color:#777;
}

.domain-average-value{
  font-size:20px;
}

.evaluation-scale{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  padding:12px 20px;
  font-size:12px;
  color:#666;
  border-bottom:1px solid #eee;
}

.evaluation-skills{
  padding:6px 20px 14px;
}

.evaluation-skill-row{
  display:grid;
  grid-template-columns:minmax(220px,1fr) 100px;
  align-items:center;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid #f0f0f0;
}

.evaluation-skill-row:last-child{
  border-bottom:0;
}

.evaluation-skill-row label{
  font-weight:600;
}

.evaluation-score{
  width:100%;
  min-height:40px;
  border:1px solid #d7d7d7;
  border-radius:8px;
  padding:7px 8px;
  background:#fff;
  font-size:15px;
}

.evaluation-summary{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.evaluation-summary > div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fafafa;
}

.evaluation-summary .general-average{
  grid-column:1/-1;
  background:#f1f1f1;
  padding:16px;
}

.evaluation-summary .general-average strong{
  font-size:24px;
}

@media(max-width:700px){
  .evaluation-domain-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .evaluation-domain-average{
    text-align:left;
  }

  .evaluation-skill-row{
    grid-template-columns:1fr 90px;
    gap:10px;
  }

  .evaluation-scale{
    flex-direction:column;
    gap:4px;
  }

  .evaluation-summary{
    grid-template-columns:1fr;
  }

  .evaluation-summary .general-average{
    grid-column:auto;
  }
}

/* ===== NOUVELLE PAGE EVALUER ===== */

.evaluate-new{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px;
  box-sizing:border-box;
}

.evaluate-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}

.evaluate-header h2{
  margin:0;
  font-size:26px;
  font-weight:800;
}

#evaluatePlayer{
  min-width:260px;
  min-height:46px;
  padding:10px 14px;
  border:1px solid #ccc;
  border-radius:8px;
  background:#fff;
}

.evaluate-profile{margin-bottom:22px;}

.evaluate-profile-empty{
  background:#fff;
  border-radius:10px;
  padding:18px;
  text-align:center;
  color:#666;
}

.evaluation-domain{
  background:#fff;
  border-radius:12px;
  margin-bottom:20px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.evaluation-domain-head{
  padding:16px 20px;
  border-bottom:1px solid #eee;
}

.evaluation-domain-head h3{
  margin:0;
  font-size:21px;
  font-weight:800;
}

.evaluation-skills{padding:8px 20px 14px;}

.evaluation-skill-row-new{
  display:grid;
  grid-template-columns:1fr 110px;
  align-items:center;
  gap:20px;
  min-height:52px;
  border-bottom:1px solid #eee;
}

.evaluation-skill-row-new:last-child{border-bottom:none;}

.evaluation-skill-name{
  font-size:16px;
  font-weight:600;
}

.evaluation-score-new{
  width:100%;
  min-height:38px;
  border:1px solid #ccc;
  border-radius:7px;
  padding:6px 8px;
  background:#fff;
}

.evaluation-summary-new{
  background:#fff;
  border-radius:12px;
  padding:20px;
  margin-top:20px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.evaluation-summary-new h3{margin-top:0;}

.evaluate-actions{
  display:flex;
  justify-content:center;
  margin:24px 0;
}

@media(max-width:700px){
  .evaluate-new{padding:16px;}
  .evaluate-header{
    flex-direction:column;
    align-items:stretch;
  }
  #evaluatePlayer{
    width:100%;
    min-width:0;
  }
  .evaluation-skill-row-new{
    grid-template-columns:1fr 90px;
    gap:10px;
  }
  .evaluation-skill-name{font-size:14px;}
}

/* =====================================================
   EVALUER — RESUME DES RESULTATS
===================================================== */

.evaluation-summary-line{
  display:grid;
  grid-template-columns:1fr 130px 180px;
  align-items:center;
  gap:16px;
  padding:14px 16px;
  margin-bottom:8px;
  border:1px solid #e8e8e8;
  border-radius:9px;
  background:#fafafa;
}

.evaluation-summary-line span{
  font-size:16px;
  font-weight:700;
}

.evaluation-summary-line strong{
  text-align:center;
  font-size:17px;
  font-weight:800;
}

.evaluation-summary-line em{
  text-align:center;
  font-style:normal;
  font-weight:700;
  padding:7px 10px;
  border-radius:20px;
  background:#eee;
}

.evaluation-summary-separator{
  height:1px;
  background:#ddd;
  margin:20px 0;
}

.evaluation-summary-general{
  display:grid;
  grid-template-columns:1fr 160px 180px;
  align-items:center;
  gap:16px;
  padding:18px 16px;
  border-radius:10px;
  background:#111;
  color:#fff;
}

.evaluation-summary-general span{
  font-size:18px;
  font-weight:800;
}

.evaluation-summary-general strong{
  text-align:center;
  font-size:20px;
  font-weight:900;
}

.evaluation-summary-general em{
  text-align:center;
  font-style:normal;
  font-weight:800;
  padding:8px 12px;
  border-radius:20px;
  background:#fff;
  color:#111;
}

@media(max-width:700px){

  .evaluation-summary-line{
    grid-template-columns:1fr;
    gap:8px;
    text-align:center;
  }

  .evaluation-summary-line strong,
  .evaluation-summary-line em{
    text-align:center;
  }

  .evaluation-summary-general{
    grid-template-columns:1fr;
    gap:9px;
    text-align:center;
  }

  .evaluation-summary-general strong,
  .evaluation-summary-general em{
    text-align:center;
  }

}


/* =====================================================
   EVALUATION — RAPPORT JOUEUR
===================================================== */

.evaluation-report{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px;
  box-sizing:border-box;
}

.evaluation-report-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:24px;
}

.evaluation-report-header h2{
  margin:0;
  font-size:26px;
  font-weight:900;
}

.evaluation-season{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
}

.evaluation-season select{
  min-width:125px;
  min-height:38px;
  padding:7px 30px 7px 10px;
  border:1px solid #ccc;
  border-radius:7px;
  background:#fff;
  font-weight:700;
}


/* PROFIL — CARTE JOUEUR */

.evaluation-player-profile{
  background:#fff;
  border-radius:12px;
  padding:24px 24px 28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:24px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}

/* PHOTO CIRCULAIRE */

.evaluation-player-photo{
  width:150px;
  height:150px;
  border-radius:50%;
  border:3px solid #e3262e;
  background:#f3f3f3;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:#888;
  font-weight:700;
  margin-bottom:14px;
  flex-shrink:0;
}

.evaluation-player-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* NOM ET POSTE */

.evaluation-player-info{
  width:100%;
  max-width:620px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.evaluation-player-info div{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:9px 0;
  border-bottom:1px solid #eee;
}

/* Les deux premières lignes : nom et poste */

.evaluation-player-info div:nth-child(1),
.evaluation-player-info div:nth-child(2){
  justify-content:center;
  border-bottom:0;
  padding:2px 0;
}

.evaluation-player-info div:nth-child(1) span,
.evaluation-player-info div:nth-child(2) span{
  display:none;
}

.evaluation-player-info div:nth-child(1) strong{
  font-size:21px;
  font-weight:900;
  color:#17171a;
}

.evaluation-player-info div:nth-child(2) strong{
  font-size:16px;
  font-weight:700;
  color:#666;
  margin-bottom:14px;
}

/* INFORMATIONS */

.evaluation-player-info div:nth-child(n+3){
  display:grid;
  grid-template-columns:1fr 1fr;
}

.evaluation-player-info span{
  color:#666;
  font-weight:600;
  text-align:left;
}

.evaluation-player-info strong{
  text-align:right;
  color:#17171a;
  font-weight:800;
}


/* SECTIONS */

.evaluation-report-section{
  background:#fff;
  border-radius:12px;
  margin-bottom:24px;
  padding:20px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.evaluation-section-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding-bottom:14px;
  margin-bottom:16px;
  border-bottom:1px solid #eee;
}

.evaluation-section-title h3{
  margin:0;
  font-size:21px;
  font-weight:900;
}


/* RADAR */

.evaluation-main-radar{
  min-height:400px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.radar-placeholder{
  width:300px;
  height:300px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px dashed #bbb;
  color:#777;
  font-size:20px;
  font-weight:800;
}


/* COMPETENCES */

.evaluation-strong-skills{
  width:100%;
}

.evaluation-empty{
  text-align:center;
  color:#777;
  padding:25px;
}

.evaluation-strong-skill{
  display:grid;
  grid-template-columns:1fr 120px;
  gap:20px;
  align-items:center;
  padding:12px 10px;
  border-bottom:1px solid #eee;
}

.evaluation-strong-skill-name{
  font-weight:700;
}

.evaluation-strong-skill-score{
  text-align:center;
  font-weight:900;
}


/* GRAPHIQUE */

.evaluation-season-chart{
  min-height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.evaluation-chart-placeholder{
  color:#777;
  font-weight:700;
}


/* HISTORIQUE */

.evaluation-history-row{
  display:flex;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:5px 2px 14px;
  scroll-behavior:smooth;
}

.evaluation-history-card{
  flex:0 0 220px;
  background:#fafafa;
  border:1px solid #e5e5e5;
  border-radius:10px;
  padding:14px;
  box-sizing:border-box;
  text-align:center;
}

.evaluation-history-date{
  font-weight:800;
  font-size:14px;
}

.evaluation-history-month{
  margin-top:4px;
  font-weight:700;
  color:#555;
}

.evaluation-history-radar{
  width:140px;
  height:140px;
  margin:12px auto;
  border-radius:50%;
  border:1px dashed #bbb;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#777;
}

.evaluation-history-average{
  font-size:18px;
  font-weight:900;
}

.evaluation-history-empty{
  width:100%;
  text-align:center;
  padding:25px;
  color:#777;
}


/* MOBILE */

@media(max-width:700px){

  .evaluation-report{
    padding:16px;
  }

  .evaluation-report-header{
    align-items:stretch;
    flex-direction:column;
  }

  .evaluation-season{
    justify-content:flex-end;
  }

  .evaluation-player-info{
    grid-template-columns:1fr;
  }

  .evaluation-player-info div{
    flex-direction:column;
    gap:3px;
  }

  .evaluation-player-info strong{
    text-align:left;
  }

  .evaluation-main-radar{
    min-height:320px;
  }

  .radar-placeholder{
    width:240px;
    height:240px;
  }

  .evaluation-section-title{
    align-items:flex-start;
    flex-direction:column;
  }

}


/* =====================================================
   EVALUATION — SELECTEUR JOUEUR
===================================================== */

.evaluation-player-selector{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
}

.evaluation-player-selector select{
  min-width:210px;
  min-height:38px;
  padding:7px 30px 7px 10px;
  border:1px solid #ccc;
  border-radius:7px;
  background:#fff;
  font-weight:700;
}

@media(max-width:700px){

  .evaluation-player-selector{
    width:100%;
    justify-content:space-between;
  }

  .evaluation-player-selector select{
    min-width:0;
    width:65%;
  }

}


.evaluation-season,
.evaluation-month{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
}

.evaluation-season select,
.evaluation-month select{
  min-width:125px;
  min-height:38px;
  padding:7px 30px 7px 10px;
  border:1px solid #ccc;
  border-radius:7px;
  background:#fff;
  font-weight:700;
}

.evaluation-report-header{
  flex-wrap:wrap;
}

@media(max-width:700px){
  .evaluation-report-header{
    align-items:stretch;
  }

  .evaluation-season,
  .evaluation-month{
    width:100%;
    justify-content:space-between;
  }

  .evaluation-season select,
  .evaluation-month select{
    flex:1;
    max-width:180px;
  }
}


/* =====================================================
   DÉTAIL DES COMPÉTENCES — ÉVALUATION
===================================================== */

.evaluation-strong-domain{
  margin-bottom:24px;
}

.evaluation-strong-domain:last-child{
  margin-bottom:0;
}

.evaluation-strong-domain h4{
  margin:0 0 8px;
  padding:10px 12px;
  background:#f4f4f4;
  border-left:4px solid #c40000;
  font-size:17px;
  font-weight:900;
}

.evaluation-strong-skill{
  display:grid;
  grid-template-columns:1fr 120px;
  gap:20px;
  align-items:center;
  padding:12px 10px;
  border-bottom:1px solid #eee;
}

.evaluation-strong-skill-name{
  font-weight:700;
}

.evaluation-strong-skill-score{
  text-align:center;
  font-weight:900;
}

@media(max-width:700px){

  .evaluation-strong-skill{
    grid-template-columns:1fr 85px;
    gap:10px;
  }

}


/* =====================================================
   GRAPHIQUE ÉVOLUTION SAISON
===================================================== */

.evaluation-line-chart-box{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:5px 0 10px;
  box-sizing:border-box;
}

#evaluationSeasonCanvas{
  display:block;
  min-width:600px;
  width:100%;
  max-width:1100px;
  margin:0 auto;
}

@media(max-width:700px){

  .evaluation-line-chart-box{
    overflow-x:auto;
  }

  #evaluationSeasonCanvas{
    min-width:650px;
  }

}


/* =====================================================
   EVALUATION — ALIGNEMENT JOUEUR / SAISON / MOIS
===================================================== */

.evaluation-report-header{
  display:grid;
  grid-template-columns:minmax(220px,1.4fr) minmax(160px,1fr) minmax(160px,1fr);
  align-items:end;
  gap:16px;
  margin-bottom:24px;
}

.evaluation-report-header h2{
  grid-column:1 / -1;
  margin:0 0 4px;
  font-size:26px;
  font-weight:900;
}

.evaluation-player-selector,
.evaluation-season,
.evaluation-month{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:7px;
  font-weight:800;
}

.evaluation-player-selector select,
.evaluation-season select,
.evaluation-month select{
  width:100%;
  min-width:0;
  min-height:42px;
  box-sizing:border-box;
  padding:8px 34px 8px 11px;
  border:1px solid #ccc;
  border-radius:7px;
  background:#fff;
  font-weight:700;
}

/* MOBILE */

@media(max-width:700px){

  .evaluation-report-header{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  .evaluation-report-header h2{
    grid-column:1 / -1;
    font-size:21px;
  }

  .evaluation-player-selector{
    grid-column:1 / -1;
  }

  .evaluation-season,
  .evaluation-month{
    width:100%;
  }

  .evaluation-player-profile{
    padding:20px 15px 24px;
  }

  .evaluation-player-photo{
    width:130px;
    height:130px;
  }

  .evaluation-player-info{
    max-width:100%;
  }

  .evaluation-player-info div:nth-child(n+3){
    grid-template-columns:1fr 1fr;
  }
}


/* =====================================================
   EVALUATION — HEADER FINAL
===================================================== */

.evaluation-report-header{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:12px !important;
  align-items:center !important;
}

.evaluation-report-header h2{
  grid-column:1 !important;
  text-align:center;
  margin:0 0 6px !important;
}

/* Joueur / Saison / Mois sur une seule ligne */

.evaluation-player-selector,
.evaluation-season,
.evaluation-month{
  flex-direction:column !important;
  align-items:center !important;
  gap:5px !important;
}

/* Ligne des 3 sélecteurs */

.evaluation-report-header .evaluation-player-selector,
.evaluation-report-header .evaluation-season,
.evaluation-report-header .evaluation-month{
  display:flex !important;
}

/* On place les 3 contrôles ensemble */

.evaluation-report-header{
  position:relative;
}

.evaluation-report-header .evaluation-player-selector{
  grid-column:1;
}

.evaluation-report-header .evaluation-season{
  grid-column:1;
}

.evaluation-report-header .evaluation-month{
  grid-column:1;
}

/* CONTENEUR LOGIQUE : les 3 labels sont alignés */
.evaluation-report-header{
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
}

/* Le titre prend toute la largeur */
.evaluation-report-header h2{
  grid-column:1 / -1 !important;
}

/* Petits champs */

.evaluation-report-header select{
  width:100% !important;
  min-width:0 !important;
  max-width:180px;
  min-height:34px !important;
  height:34px !important;
  padding:5px 24px 5px 8px !important;
  font-size:13px !important;
  border-radius:6px !important;
}

/* Joueur un peu plus large */

.evaluation-report-header .evaluation-player-selector select{
  max-width:200px;
}

/* Mobile : garder les trois sur une ligne */

@media(max-width:700px){

  .evaluation-report{
    padding:12px !important;
  }

  .evaluation-report-header{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:7px !important;
  }

  .evaluation-report-header h2{
    grid-column:1 / -1 !important;
    font-size:20px !important;
    margin-bottom:5px !important;
  }

  .evaluation-player-selector,
  .evaluation-season,
  .evaluation-month{
    width:100% !important;
    min-width:0 !important;
  }

  .evaluation-report-header select,
  .evaluation-report-header .evaluation-player-selector select{
    width:100% !important;
    max-width:none !important;
    min-height:34px !important;
    height:34px !important;
    font-size:11px !important;
    padding:4px 18px 4px 5px !important;
  }

  .evaluation-player-selector,
  .evaluation-season,
  .evaluation-month{
    font-size:12px !important;
  }
}


/* =====================================================
   HEADER EVALUATION — FINAL HORIZONTAL LAYOUT
===================================================== */

.evaluation-report-header{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  width:100%;
  gap:12px !important;
}

.evaluation-report-header h2{
  width:100%;
  text-align:center;
  margin:0 0 4px !important;
}

/* Les 3 contrôles dans UNE seule ligne */

.evaluation-filters-row{
  display:flex !important;
  flex-direction:row !important;
  align-items:flex-end !important;
  justify-content:center !important;
  gap:14px !important;
  width:100%;
}

.evaluation-filters-row label{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:5px !important;
  font-weight:800;
  font-size:13px;
}

.evaluation-filters-row select{
  width:150px !important;
  min-width:0 !important;
  height:34px !important;
  min-height:34px !important;
  padding:4px 8px !important;
  font-size:12px !important;
  border-radius:6px !important;
  box-sizing:border-box;
}

.evaluation-filters-row .evaluation-player-selector select{
  width:180px !important;
}

/* MOBILE */

@media(max-width:700px){

  .evaluation-filters-row{
    gap:6px !important;
  }

  .evaluation-filters-row label{
    font-size:11px !important;
  }

  .evaluation-filters-row select,
  .evaluation-filters-row .evaluation-player-selector select{
    width:100px !important;
    height:32px !important;
    min-height:32px !important;
    font-size:10px !important;
    padding:3px 5px !important;
  }

  .evaluation-report-header h2{
    font-size:20px !important;
  }
}


/* =====================================================
   EVALUATION — CONTROLES PROFESSIONNELS
===================================================== */

.evaluation-filters-row{
  display:flex !important;
  flex-direction:row !important;
  justify-content:center !important;
  align-items:flex-end !important;
  gap:18px !important;
  width:100%;
  max-width:820px;
  margin:0 auto;
}

.evaluation-filters-row label{
  width:180px;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:6px !important;
  font-size:13px;
  font-weight:800;
  color:#333;
}

.evaluation-filters-row label span{
  text-align:center;
  line-height:20px;
}

.evaluation-filters-row select{
  width:100% !important;
  height:40px !important;
  min-height:40px !important;
  box-sizing:border-box;
  padding:7px 34px 7px 12px !important;
  border:1px solid #cfd2d6 !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#222;
  font-size:13px !important;
  font-weight:700 !important;
  text-align:center;
  outline:none;
  transition:all .18s ease;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
}

.evaluation-filters-row select:hover{
  border-color:#999 !important;
}

.evaluation-filters-row select:focus{
  border-color:#e3262e !important;
  box-shadow:0 0 0 2px rgba(227,38,46,.12);
}

/* Joueur légèrement plus large */
.evaluation-filters-row .evaluation-player-selector{
  width:220px;
}

/* Saison et mois identiques */
.evaluation-filters-row .evaluation-season,
.evaluation-filters-row .evaluation-month{
  width:170px;
}

/* MOBILE */
@media(max-width:700px){

  .evaluation-filters-row{
    gap:8px !important;
    max-width:100%;
  }

  .evaluation-filters-row label{
    width:auto !important;
    flex:1;
    min-width:0;
    font-size:11px;
  }

  .evaluation-filters-row .evaluation-player-selector{
    width:auto !important;
    flex:1.25;
  }

  .evaluation-filters-row select{
    height:38px !important;
    min-height:38px !important;
    padding:6px 20px 6px 5px !important;
    font-size:10px !important;
  }

  .evaluation-filters-row label span{
    font-size:11px;
  }
}


/* =====================================================
   ÉVOLUTION — COURBES PAR DOMAINE
===================================================== */

.evaluation-season-chart{
  width:100%;
  min-height:380px;
  display:block;
  overflow-x:auto;
}

.evaluation-line-chart-box{
  width:100%;
  min-width:650px;
  overflow-x:auto;
}

#evaluationSeasonCanvas{
  display:block;
  width:100%;
  background:#fff;
}

.evaluation-chart-legend{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
  margin-top:8px;
  padding:8px 0;
  font-size:13px;
  font-weight:700;
}

.evaluation-chart-legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.evaluation-chart-legend i{
  width:11px;
  height:11px;
  border-radius:50%;
  display:inline-block;
}

.legend-technique{
  background:#168a3a;
}

.legend-tactique{
  background:#1e5ab4;
}

.legend-physique{
  background:#c40000;
}

.legend-mental{
  background:#d6a600;
}

@media(max-width:700px){

  .evaluation-season-chart{
    min-height:350px;
    overflow-x:auto;
  }

  .evaluation-line-chart-box{
    min-width:650px;
  }

  .evaluation-chart-legend{
    gap:10px 14px;
    font-size:11px;
  }

}


/* =====================================================
   DÉTAIL DES COMPÉTENCES — NIVEAUX
   ===================================================== */

.evaluation-competences-header{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:20px;
  padding:10px 14px;
  border-bottom:2px solid #ddd;
  font-size:13px;
  font-weight:800;
  color:#555;
}

.evaluation-competence-row{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:20px;
  align-items:center;
  min-height:54px;
  padding:8px 14px;
  border-bottom:1px solid #eee;
}

.evaluation-competence-name{
  font-size:15px;
  font-weight:700;
  color:#222;
}

.evaluation-competence-level{
  display:flex;
  align-items:center;
  gap:10px;
}

.skill-level-bar{
  display:flex;
  gap:3px;
  align-items:center;
}

.skill-level-block{
  position:relative;
  width:32px;
  height:20px;
  border:1px solid #d8d8d8;
  border-radius:3px;
  background:#f1f1f1;
  overflow:hidden;
  box-sizing:border-box;
}

.skill-level-fill{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  background:#e3262e;
}

.skill-level-value{
  min-width:42px;
  font-size:13px;
  font-weight:800;
  color:#333;
  white-space:nowrap;
}

@media(max-width:700px){

  .evaluation-competences-header,
  .evaluation-competence-row{
    grid-template-columns:1fr 210px;
    gap:10px;
  }

  .evaluation-competence-name{
    font-size:13px;
  }

  .skill-level-block{
    width:25px;
    height:17px;
  }

  .skill-level-value{
    font-size:11px;
    min-width:38px;
  }
}



/* ===== DASHBOARD - EFFECTIF PAR CATEGORIE ===== */

.category-count-panel{
  margin-bottom:20px;
}

.category-player-counts{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}

.category-count{
  min-height:105px;
  border:1px solid #e5e5e5;
  border-radius:12px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  transition:transform .18s ease, box-shadow .18s ease;
}

.category-count:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.category-count strong{
  font-size:17px;
  font-weight:800;
  color:#111;
  margin-bottom:6px;
}

.category-count b{
  font-size:30px;
  line-height:1;
  color:#e3262e;
  font-weight:800;
}

.category-count small{
  margin-top:6px;
  color:#777;
  font-size:12px;
}

@media (max-width:900px){
  .category-player-counts{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:600px){
  .category-player-counts{
    grid-template-columns:repeat(2,1fr);
  }

  .category-count{
    min-height:95px;
  }
}


/* =====================================================
   INTERFACE TRANSPARENTE — TOUTES LES PAGES
===================================================== */

body{
  background-color:#151515;
}

/* Zone principale transparente pour laisser voir
   l'image de fond */
.main{
  background:rgba(255,255,255,.08);
}

/* Barre supérieure */
.topbar{
  background:rgba(255,255,255,.58);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

/* Tous les panneaux principaux */
.panel,
.stat-card{
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

/* Champs et contrôles */
.top-actions select,
.filters input,
.filters select,
label input,
label select{
  background:rgba(255,255,255,.82);
}

/* Petits blocs internes */
.detail,
.badge{
  background:rgba(247,247,248,.72);
}

/* Garder la sidebar noire et lisible */
.sidebar{
  background:rgba(11,11,13,.94);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}


/* =====================================================
   FOND PLUS VISIBLE — VERSION RENFORCÉE
===================================================== */

/* الصورة تظهر بوضوح أكبر */
body{
  background-color:transparent;
  background-image:url("assets/dashboard-background.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
}

/* المنطقة الرئيسية شبه شفافة */
.main{
  background:rgba(255,255,255,.03);
}

/* الشريط العلوي */
.topbar{
  background:rgba(255,255,255,.38);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

/* panneaux principaux */
.panel,
.stat-card{
  background:rgba(255,255,255,.58);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

/* zones internes */
.detail{
  background:rgba(247,247,248,.58);
}

/* badges */
.badge{
  background:rgba(255,255,255,.62);
}

/* formulaires */
.top-actions select,
.filters input,
.filters select,
label input,
label select{
  background:rgba(255,255,255,.70);
}

/* sidebar reste sombre */
.sidebar{
  background:rgba(11,11,13,.92);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}


/* =========================================================
   ELITE — SÉLECTION VISUELLE
   ========================================================= */

.elite-player-card{
  position:relative;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.elite-player-card.elite-selected{
  border:2px solid #e3262e;
  box-shadow:0 0 0 3px rgba(227,38,46,.12);
  transform:translateY(-2px);
}

.elite-player-select{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:12px;
  cursor:pointer;
  font-weight:700;
  color:#333;
}

.elite-player-select input{
  width:18px;
  height:18px;
  accent-color:#e3262e;
  cursor:pointer;
}

.elite-player-card.elite-selected .elite-player-select{
  color:#e3262e;
}

.elite-player-card.elite-selected .elite-player-select span::after{
  content:" ✓";
}


/* =========================================================
   ELITE — SÉLECTION VISUELLE
   ========================================================= */

.elite-player-card{
  position:relative;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.elite-player-card.elite-selected{
  border:2px solid #e3262e;
  box-shadow:0 0 0 3px rgba(227,38,46,.12);
  transform:translateY(-2px);
}

.elite-player-select{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:12px;
  cursor:pointer;
  font-weight:700;
  color:#333;
}

.elite-player-select input{
  width:18px;
  height:18px;
  accent-color:#e3262e;
  cursor:pointer;
}

.elite-player-card.elite-selected .elite-player-select{
  color:#e3262e;
}

.elite-player-card.elite-selected .elite-player-select span::after{
  content:" ✓";
}


/* =========================================================
   ELITE — EFFECTIF SÉLECTIONNÉ
   ========================================================= */

.elite-roster{
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid rgba(0,0,0,.10);
}

.elite-roster-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}

.elite-roster-head h3{
  margin:0;
  font-size:20px;
  font-weight:800;
}

.elite-roster-head p{
  margin:5px 0 0;
  color:#777;
  font-size:13px;
}

.elite-roster-list{
  display:grid;
  gap:10px;
}

.elite-roster-player{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  background:rgba(255,255,255,.70);
}

.elite-roster-photo{
  width:54px;
  height:54px;
  flex:0 0 54px;
  overflow:hidden;
  border-radius:10px;
  background:#eee;
  display:flex;
  align-items:center;
  justify-content:center;
}

.elite-roster-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.elite-roster-avatar{
  font-weight:800;
  font-size:16px;
  color:#e3262e;
}

.elite-roster-info{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}

.elite-roster-info strong{
  font-size:15px;
  color:#111;
}

.elite-roster-info span{
  font-size:12px;
  color:#777;
}

.elite-remove-player{
  border:0;
  border-radius:8px;
  padding:8px 12px;
  background:#111;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.elite-remove-player:hover{
  background:#e3262e;
}

.elite-roster-empty{
  padding:18px;
  border:1px dashed rgba(0,0,0,.18);
  border-radius:12px;
  text-align:center;
  color:#777;
  background:rgba(255,255,255,.45);
}

@media (max-width:600px){
  .elite-roster-player{
    gap:10px;
  }

  .elite-remove-player{
    padding:7px 9px;
    font-size:12px;
  }
}


/* =========================================================
   ELITE — PROFESSIONAL V1
   ========================================================= */

.elite-panel{
  padding:28px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.elite-panel .panel-head{
  margin-bottom:24px;
}

.elite-panel .panel-head h2{
  margin:0;
  font-size:30px;
  font-weight:900;
  letter-spacing:-.5px;
  color:#111;
}

.elite-subtitle{
  margin:7px 0 0;
  color:#777;
  font-size:14px;
}

/* GROUPES ELITE */

.elite-groups{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-bottom:28px;
}

.elite-group-btn{
  position:relative;
  min-height:92px;
  padding:18px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  background:rgba(255,255,255,.72);
  cursor:pointer;
  text-align:left;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.elite-group-btn strong{
  display:block;
  font-size:18px;
  font-weight:900;
  color:#111;
  margin-bottom:7px;
}

.elite-group-btn small{
  display:block;
  font-size:12px;
  color:#777;
}

.elite-group-btn:hover{
  transform:translateY(-3px);
  border-color:rgba(227,38,46,.35);
  box-shadow:0 8px 22px rgba(0,0,0,.10);
}

.elite-group-btn.active{
  background:#111;
  border-color:#111;
  box-shadow:0 8px 22px rgba(0,0,0,.16);
}

.elite-group-btn.active strong{
  color:#fff;
}

.elite-group-btn.active small{
  color:rgba(255,255,255,.68);
}

.elite-group-btn.active::after{
  content:"";
  position:absolute;
  left:18px;
  bottom:0;
  width:42px;
  height:3px;
  background:#e3262e;
  border-radius:3px 3px 0 0;
}

/* ZONE DE SÉLECTION */

.elite-selection-area{
  min-height:120px;
}

.elite-selection-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
  padding-bottom:15px;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.elite-selection-head h3{
  margin:0;
  font-size:21px;
  font-weight:900;
  color:#111;
}

.elite-selection-head p{
  margin:5px 0 0;
  font-size:12px;
  color:#777;
}

/* JOUEURS DISPONIBLES */

.elite-players-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.elite-player-card{
  overflow:hidden;
  border:1px solid rgba(0,0,0,.09);
  border-radius:15px;
  background:rgba(255,255,255,.78);
  box-shadow:0 5px 18px rgba(0,0,0,.06);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.elite-player-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,.10);
}

.elite-player-card.elite-selected{
  border:2px solid #e3262e;
  box-shadow:0 0 0 4px rgba(227,38,46,.10);
  transform:translateY(-2px);
}

.elite-player-photo{
  width:100%;
  height:190px;
  background:#eee;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;
}

.elite-player-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.elite-avatar{
  width:72px;
  height:72px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111;
  color:#fff;
  font-size:21px;
  font-weight:900;
}

.elite-player-info{
  padding:16px 16px 4px;
}

.elite-player-info strong{
  display:block;
  font-size:16px;
  font-weight:900;
  color:#111;
}

.elite-player-info span{
  display:block;
  margin-top:5px;
  color:#777;
  font-size:12px;
}

/* SÉLECTION */

.elite-player-select{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:14px 16px 16px;
  padding:11px 12px;
  border-radius:9px;
  background:#111;
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:background .18s ease;
}

.elite-player-select:hover{
  background:#e3262e;
}

.elite-player-select input{
  width:18px;
  height:18px;
  accent-color:#e3262e;
  cursor:pointer;
}

.elite-player-card.elite-selected .elite-player-select{
  background:#e3262e;
  color:#fff;
}

.elite-player-card.elite-selected .elite-player-select span::after{
  content:" ✓";
}

/* EFFECTIF ELITE */

.elite-roster{
  margin-top:34px;
  padding-top:26px;
  border-top:2px solid rgba(0,0,0,.08);
}

.elite-roster-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.elite-roster-head h3{
  margin:0;
  font-size:22px;
  font-weight:900;
  color:#111;
}

.elite-roster-head p{
  margin:5px 0 0;
  color:#777;
  font-size:12px;
}

.elite-roster-count{
  flex:0 0 auto;
  min-width:42px;
  height:42px;
  padding:0 13px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#111;
  color:#fff;
  font-size:16px;
  font-weight:900;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}

.elite-roster-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}

.elite-roster-head h3{
  margin:0;
  font-size:22px;
  font-weight:900;
  color:#111;
}

.elite-roster-head p{
  margin:5px 0 0;
  color:#777;
  font-size:12px;
}

.elite-roster-list{
  display:grid;
  gap:10px;
}

.elite-roster-player{
  display:flex;
  align-items:center;
  gap:15px;
  padding:12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:13px;
  background:rgba(255,255,255,.76);
  transition:box-shadow .18s ease, transform .18s ease;
}

.elite-roster-player:hover{
  transform:translateX(2px);
  box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.elite-roster-photo{
  width:58px;
  height:58px;
  flex:0 0 58px;
  overflow:hidden;
  border-radius:11px;
  background:#eee;
  display:flex;
  align-items:center;
  justify-content:center;
}

.elite-roster-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.elite-roster-avatar{
  font-weight:900;
  font-size:16px;
  color:#e3262e;
}

.elite-roster-info{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}

.elite-roster-info strong{
  font-size:15px;
  font-weight:900;
  color:#111;
}

.elite-roster-info span{
  font-size:12px;
  color:#777;
}

.elite-remove-player{
  border:0;
  border-radius:8px;
  padding:9px 14px;
  background:#111;
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:background .18s ease, transform .18s ease;
}

.elite-remove-player:hover{
  background:#e3262e;
  transform:translateY(-1px);
}

.elite-roster-empty{
  padding:22px;
  border:1px dashed rgba(0,0,0,.16);
  border-radius:13px;
  text-align:center;
  color:#777;
  background:rgba(255,255,255,.45);
}

/* EMPTY STATE */

.elite-empty{
  padding:40px 20px;
  border:1px dashed rgba(0,0,0,.15);
  border-radius:15px;
  text-align:center;
  background:rgba(255,255,255,.45);
}

.elite-empty strong{
  display:block;
  color:#111;
  font-size:17px;
  font-weight:900;
}

.elite-empty span{
  display:block;
  margin-top:7px;
  color:#777;
  font-size:13px;
}

/* RESPONSIVE */

@media (max-width:1000px){

  .elite-groups{
    grid-template-columns:repeat(2,1fr);
  }

  .elite-players-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media (max-width:600px){

  .elite-panel{
    padding:18px;
  }

  .elite-panel .panel-head h2{
    font-size:25px;
  }

  .elite-groups{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .elite-group-btn{
    min-height:82px;
    padding:14px;
  }

  .elite-group-btn strong{
    font-size:16px;
  }

  .elite-players-grid{
    grid-template-columns:1fr;
  }

  .elite-player-photo{
    height:210px;
  }

  .elite-roster-player{
    gap:10px;
  }

  .elite-remove-player{
    padding:8px 10px;
  }

}


/* =========================================================
   ELITE — IDENTITÉ TECHNIQUE
   ========================================================= */

.elite-identity{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
  padding:20px 22px;
  border-radius:15px;
  background:rgba(17,17,17,.94);
  box-shadow:0 8px 24px rgba(0,0,0,.14);
  overflow:hidden;
}

.elite-identity-main{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.elite-identity-kicker{
  font-size:10px;
  font-weight:800;
  letter-spacing:1.5px;
  color:rgba(255,255,255,.55);
}

.elite-identity-main strong{
  font-size:24px;
  line-height:1.15;
  font-weight:900;
  color:#fff;
}

.elite-identity-main > span:last-child{
  font-size:13px;
  color:rgba(255,255,255,.68);
}

.elite-identity-season{
  flex:0 0 auto;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:9px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  background:rgba(255,255,255,.06);
}

@media (max-width:600px){

  .elite-identity{
    padding:17px;
  }

  .elite-identity-main strong{
    font-size:20px;
  }

  .elite-identity-kicker{
    font-size:9px;
  }

  .elite-identity-season{
    font-size:11px;
    padding:8px 10px;
  }

}


/* =========================================================
   SIDEBAR — PROFESSIONAL FOOTBALL ACADEMY
   ========================================================= */

.sidebar{
  width:260px;
  padding:22px 14px 16px;
  background:rgba(11,11,13,.96);
  border-right:1px solid rgba(255,255,255,.06);
  box-shadow:8px 0 30px rgba(0,0,0,.16);
}

/* LOGO */

.sidebar .brand{
  min-height:185px;
  margin:0 4px 20px;
  padding:10px 8px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.sidebar .brand-logo{
  width:190px;
  height:150px;
  max-width:100%;
  object-fit:contain;
  display:block;
  border-radius:14px;
  transition:transform .2s ease, filter .2s ease;
}

.sidebar .brand-logo:hover{
  transform:scale(1.04);
}

/* NAVIGATION */

.sidebar nav{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.sidebar .nav-item{
  position:relative;
  width:100%;
  min-height:44px;
  padding:11px 16px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:rgba(255,255,255,.68);
  text-align:left;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}

.sidebar .nav-item:hover{
  background:rgba(255,255,255,.07);
  color:#fff;
  transform:translateX(2px);
}

.sidebar .nav-item.active{
  background:#e3262e;
  color:#fff;
  box-shadow:0 6px 18px rgba(227,38,46,.24);
}

.sidebar .nav-item.active::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  bottom:9px;
  width:3px;
  border-radius:0 3px 3px 0;
  background:#fff;
}

/* ESPACEMENT ENTRE GROUPES */

.sidebar nav .nav-item:nth-child(5){
  margin-top:8px;
}

.sidebar nav .nav-item:nth-child(8){
  margin-top:8px;
}

.sidebar nav .nav-item:nth-child(10){
  margin-top:8px;
}

/* BAS DU SIDEBAR */

.sidebar-bottom{
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.09);
}

.sidebar-bottom .nav-item{
  color:rgba(255,255,255,.55);
}

.sidebar-bottom .nav-item:hover{
  color:#fff;
  background:rgba(227,38,46,.12);
}

/* COACH */

.sidebar .coach{
  margin:12px 4px 0;
  padding:12px 14px;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
}

.sidebar .coach b{
  display:block;
  color:#fff;
  font-size:13px;
  font-weight:800;
}

.sidebar .coach small{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.45);
  font-size:11px;
}

/* MOBILE */

@media (max-width:900px){

  .sidebar{
    width:240px;
  }

  .sidebar .brand{
    min-height:165px;
  }

  .sidebar .brand-logo{
    width:175px;
    height:135px;
  }

}

@media (max-width:600px){

  .sidebar{
    width:235px;
    padding:18px 12px 14px;
  }

  .sidebar .brand{
    min-height:155px;
    margin-bottom:15px;
  }

  .sidebar .brand-logo{
    width:170px;
    height:125px;
  }

}


/* =========================================================
   ENTRAINEMENT V1
   ========================================================= */

.training-panel{
  margin-bottom:20px;
}

.training-subtitle{
  margin:5px 0 0;
  color:#777;
  font-size:13px;
}

.training-file-box{
  margin-top:20px;
  padding:18px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background:rgba(255,255,255,.72);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.training-file-info{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}

.training-file-info strong{
  font-size:14px;
  font-weight:800;
  color:#111;
}

.training-file-info span{
  color:#777;
  font-size:13px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.training-file-btn{
  flex-shrink:0;
  border:0;
  border-radius:10px;
  padding:11px 18px;
  background:#e3262e;
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}

.training-file-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(227,38,46,.25);
}

.training-plan-display{
  margin-top:20px;
  min-height:230px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background:rgba(255,255,255,.58);
  overflow:hidden;
}

.training-empty{
  min-height:230px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:7px;
  padding:30px 20px;
}

.training-empty-icon{
  font-size:38px;
  margin-bottom:4px;
}

.training-empty strong{
  font-size:16px;
  color:#222;
}

.training-empty span{
  color:#888;
  font-size:13px;
}

@media (max-width:600px){

  .training-file-box{
    flex-direction:column;
    align-items:stretch;
  }

  .training-file-btn{
    width:100%;
  }

  .training-file-info span{
    white-space:normal;
  }

}


/* =========================================================
   TRAINING ATTENDANCE TABLE
   ========================================================= */

.training-plan-card{
  padding:0;
}

.training-plan-header{
  padding:20px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.training-plan-kicker{
  display:block;
  margin-bottom:5px;
  color:#e3262e;
  font-size:11px;
  font-weight:900;
  letter-spacing:1.2px;
}

.training-plan-header h3{
  margin:0;
  color:#111;
  font-size:20px;
  font-weight:850;
}

.training-plan-header p{
  margin:6px 0 0;
  color:#777;
  font-size:13px;
}

.training-plan-category{
  flex-shrink:0;
  min-width:48px;
  padding:9px 12px;
  border-radius:9px;
  background:#111;
  color:#fff;
  text-align:center;
  font-size:13px;
  font-weight:900;
}

.training-month{
  padding:20px;
}

.training-month-head{
  margin-bottom:14px;
  padding:13px 16px;
  border-left:4px solid #e3262e;
  border-radius:8px;
  background:rgba(0,0,0,.035);
}

.training-month-head div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

.training-month-head strong{
  color:#111;
  font-size:16px;
  font-weight:850;
}

.training-month-head span{
  color:#777;
  font-size:12px;
  font-weight:700;
}

.training-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid #e5e5e5;
  border-radius:10px;
  background:#fff;
}

.training-attendance-table{
  width:max-content;
  min-width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:12px;
}

.training-attendance-table th,
.training-attendance-table td{
  border-right:1px solid #e8e8e8;
  border-bottom:1px solid #e8e8e8;
  text-align:center;
  white-space:nowrap;
}

.training-attendance-table th{
  height:38px;
  padding:7px 9px;
  background:#111;
  color:#fff;
  font-size:11px;
  font-weight:800;
}

.training-attendance-table thead tr:first-child th{
  background:#222;
}

.training-attendance-table thead tr:first-child th[colspan]{
  background:#e3262e;
}

.training-attendance-table td{
  height:46px;
  padding:5px;
  background:#fff;
}

.training-attendance-table tbody tr:hover td{
  background:#fafafa;
}

.training-attendance-table th:first-child,
.training-attendance-table td:first-child{
  position:sticky;
  left:0;
  z-index:3;
  min-width:130px;
}

.training-attendance-table th:nth-child(2),
.training-attendance-table td:nth-child(2){
  position:sticky;
  left:130px;
  z-index:3;
  min-width:110px;
}

.training-attendance-table th:first-child,
.training-attendance-table th:nth-child(2){
  background:#111;
}

.training-attendance-table td:first-child,
.training-attendance-table td:nth-child(2){
  background:#fff;
  text-align:left;
  padding-left:12px;
  font-weight:750;
}

.training-player-name{
  color:#222;
}

.training-player-first{
  color:#555;
}

.training-attendance-cell{
  width:38px;
  height:36px;
  padding:0;
  border:1px solid #ddd;
  border-radius:7px;
  background:#f8f8f8;
  color:#999;
  font-size:16px;
  line-height:1;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease, border-color .15s ease;
}

.training-attendance-cell:hover{
  transform:scale(1.04);
  border-color:#bbb;
}

.training-total{
  min-width:72px;
  color:#e3262e;
  font-size:12px;
  font-weight:900;
}

.training-no-players{
  height:80px !important;
  color:#888;
  font-weight:600;
}

@media (max-width:600px){

  .training-plan-header{
    padding:16px;
  }

  .training-plan-header h3{
    font-size:18px;
  }

  .training-month{
    padding:12px;
  }

  .training-month-head{
    padding:11px 13px;
  }

  .training-table-wrap{
    border-radius:8px;
  }

  .training-attendance-table th{
    padding:6px 8px;
  }

  .training-attendance-table th:first-child,
  .training-attendance-table td:first-child{
    min-width:115px;
  }

  .training-attendance-table th:nth-child(2),
  .training-attendance-table td:nth-child(2){
    left:115px;
    min-width:95px;
  }

  .training-attendance-cell{
    width:34px;
    height:34px;
  }

}


/* =========================================================
   ENTRAINEMENT — PROGRAMMES PDF PAR CATEGORIE
   ========================================================= */

.training-category-box{
  margin-top:20px;
  padding:18px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background:rgba(255,255,255,.72);
}

.training-category-title{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-bottom:14px;
}

.training-category-title strong{
  color:#111;
  font-size:14px;
  font-weight:850;
}

.training-category-title span{
  color:#777;
  font-size:13px;
}

.training-category-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.training-category-btn{
  min-width:58px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  padding:10px 15px;
  background:#fff;
  color:#222;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
  transition:all .18s ease;
}

.training-category-btn:hover{
  border-color:#e3262e;
  color:#e3262e;
}

.training-category-btn.active{
  background:#e3262e;
  border-color:#e3262e;
  color:#fff;
}

.training-program-card{
  padding:0;
}

.training-program-header{
  padding:22px 20px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.training-program-header h3{
  margin:0;
  color:#111;
  font-size:22px;
  font-weight:900;
}

.training-program-header p{
  margin:7px 0 0;
  color:#777;
  font-size:13px;
}

.training-program-actions{
  padding:16px 20px;
  display:flex;
  justify-content:flex-end;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.training-download-btn{
  border:0;
  border-radius:10px;
  padding:11px 18px;
  background:#111;
  color:#fff;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}

.training-download-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.18);
}

.training-pdf-box{
  position:relative;
  min-height:650px;
  background:#f5f5f5;
}

.training-pdf-viewer{
  display:none;
  width:100%;
  height:700px;
  border:0;
  background:#fff;
}

.training-pdf-viewer.loaded{
  display:block;
}

.training-pdf-empty{
  min-height:320px;
  padding:35px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:8px;
}

.training-pdf-empty .training-empty-icon{
  font-size:42px;
}

.training-pdf-empty strong{
  color:#222;
  font-size:16px;
}

.training-pdf-empty span{
  max-width:520px;
  color:#888;
  font-size:13px;
  line-height:1.6;
}

@media (max-width:600px){

  .training-category-buttons{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }

  .training-category-btn{
    width:100%;
  }

  .training-program-header{
    padding:18px 15px;
  }

  .training-program-header h3{
    font-size:19px;
  }

  .training-program-actions{
    padding:14px 15px;
  }

  .training-download-btn{
    width:100%;
  }

  .training-pdf-box{
    min-height:500px;
  }

  .training-pdf-viewer{
    height:650px;
  }
}


/* =========================================================
   TRAINING PROGRAM — PDF / IMAGE VIEWER
   ========================================================= */

.training-image-viewer{
  display:none;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:900px;
  object-fit:contain;
  margin:0 auto;
  background:#fff;
}

.training-image-viewer.loaded{
  display:block;
}

.training-pdf-viewer.loaded{
  display:block;
}

.training-pdf-box{
  overflow:hidden;
}

@media (max-width:600px){

  .training-image-viewer{
    max-height:700px;
  }

  .training-pdf-viewer{
    height:650px;
  }

}


/* =========================================================
   TRAINING PROGRAM — PDF / IMAGE VIEWER
   ========================================================= */

.training-image-viewer{
  display:none;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:900px;
  object-fit:contain;
  margin:0 auto;
  background:#fff;
}

.training-image-viewer.loaded{
  display:block;
}

.training-pdf-viewer.loaded{
  display:block;
}

.training-pdf-box{
  overflow:hidden;
}

@media (max-width:600px){

  .training-image-viewer{
    max-height:700px;
  }

  .training-pdf-viewer{
    height:650px;
  }

}


/* =========================================================
   ENTRAINEMENT — SUIVI DES PRESENCES — COMPACT PRO
   ========================================================= */

.training-simple-card{
  margin-top:22px;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.06);
}

/* ---------- HEADER ---------- */

.training-simple-header{
  padding:24px 26px 18px;
  border-bottom:1px solid #ededed;
  background:linear-gradient(
    180deg,
    #ffffff 0%,
    #fafafa 100%
  );
}

.training-simple-header h3{
  margin:0;
  color:#111;
  font-size:21px;
  line-height:1.3;
  font-weight:900;
  letter-spacing:-.2px;
}

.training-simple-header p{
  margin:7px 0 0;
  color:#777;
  font-size:13px;
  font-weight:700;
}

/* ---------- MONTH / DATE ---------- */

.training-simple-selector{
  min-height:62px;
  padding:12px 20px;
  display:flex;
  align-items:center;
  gap:10px;
  border-bottom:1px solid #ededed;
  background:#fff;
}

.training-simple-selector label{
  color:#555;
  font-size:13px;
  font-weight:800;
}

.training-simple-selector select{
  min-width:150px;
  height:38px;
  padding:0 34px 0 12px;
  border:1px solid #dcdcdc;
  border-radius:9px;
  background:#fff;
  color:#111;
  font-size:13px;
  font-weight:800;
  outline:none;
  cursor:pointer;
}

.training-simple-selector select:focus{
  border-color:#e3262e;
  box-shadow:0 0 0 3px rgba(227,38,46,.10);
}

.training-simple-date{
  margin-left:auto;
  min-width:92px;
  text-align:right;
  color:#555;
  font-size:13px;
  font-weight:800;
}

/* ---------- ACTION BUTTONS ---------- */

.training-simple-actions{
  min-height:70px;
  padding:12px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  border-bottom:1px solid #ededed;
  background:#fcfcfc;
}

.training-simple-actions button{
  width:44px;
  height:44px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dedede;
  border-radius:12px;
  background:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 2px 7px rgba(0,0,0,.06);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.training-simple-actions button:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,.10);
}

.training-simple-actions button:active{
  transform:scale(.94);
}

/* ---------- TABLE CONTAINER ---------- */

.training-simple-table-wrap{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  background:#fff;
}

/* ---------- TABLE ---------- */

.training-simple-table{
  width:max-content;
  min-width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:12px;
}

.training-simple-table th,
.training-simple-table td{
  height:45px;
  padding:7px 12px;
  border-right:1px solid #ededed;
  border-bottom:1px solid #ededed;
  text-align:center;
  white-space:nowrap;
}

.training-simple-table thead th{
  height:42px;
  background:#111;
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.3px;
}

.training-simple-table thead th:first-child{
  min-width:180px;
  text-align:left;
  padding-left:16px;
  background:#111;
}

.training-simple-table thead th:last-child{
  min-width:72px;
  background:#e3262e;
}

.training-simple-table tbody td{
  background:#fff;
  color:#333;
  font-weight:700;
}

.training-simple-table tbody tr:nth-child(even) td{
  background:#fafafa;
}

.training-simple-table tbody tr:hover td{
  background:#f5f5f5;
}

/* ---------- PLAYER NAME ---------- */

.training-simple-table .training-simple-player{
  position:sticky;
  left:0;
  z-index:3;
  min-width:180px;
  max-width:220px;
  text-align:left;
  padding-left:16px;
  color:#161616;
  background:#fff;
  font-weight:850;
  box-shadow:4px 0 8px rgba(0,0,0,.04);
}

.training-simple-table tbody tr:nth-child(even)
.training-simple-player{
  background:#fafafa;
}

.training-simple-table tbody tr:hover
.training-simple-player{
  background:#f5f5f5;
}

/* ---------- MONTH CELLS ---------- */

.training-simple-table .training-simple-month{
  min-width:52px;
  color:#333;
  font-weight:800;
}

/* ---------- TOTAL ---------- */

.training-simple-table .training-simple-total{
  position:sticky;
  right:0;
  z-index:2;
  min-width:72px;
  color:#e3262e;
  background:#fff !important;
  font-size:13px;
  font-weight:900;
  box-shadow:-4px 0 8px rgba(0,0,0,.04);
}

.training-simple-table thead th:last-child{
  position:sticky;
  right:0;
  z-index:4;
}

/* ---------- CURRENT PLAYER ---------- */

.training-simple-table tbody tr.training-current-player
.training-simple-player{
  box-shadow:
    inset 3px 0 0 #e3262e,
    4px 0 8px rgba(0,0,0,.04);
}

/* ---------- EMPTY STATE ---------- */

.training-no-players{
  min-height:100px;
  padding:30px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#888;
  font-size:13px;
  font-weight:700;
  background:#fff;
}

/* ---------- MOBILE ---------- */

@media (max-width:600px){

  .training-simple-card{
    margin-top:16px;
    border-radius:14px;
  }

  .training-simple-header{
    padding:18px 16px 14px;
  }

  .training-simple-header h3{
    font-size:18px;
  }

  .training-simple-header p{
    font-size:12px;
  }

  .training-simple-selector{
    min-height:58px;
    padding:10px 12px;
    gap:8px;
  }

  .training-simple-selector label{
    font-size:12px;
  }

  .training-simple-selector select{
    min-width:125px;
    height:36px;
    font-size:12px;
  }

  .training-simple-date{
    min-width:80px;
    font-size:12px;
  }

  .training-simple-actions{
    min-height:64px;
    padding:10px 12px;
    gap:12px;
  }

  .training-simple-actions button{
    width:42px;
    height:42px;
    border-radius:11px;
    font-size:19px;
  }

  .training-simple-table th,
  .training-simple-table td{
    height:42px;
    padding:6px 9px;
  }

  .training-simple-table thead th:first-child,
  .training-simple-table .training-simple-player{
    min-width:155px;
    max-width:180px;
  }

  .training-simple-table thead th:first-child{
    padding-left:12px;
  }

  .training-simple-table .training-simple-player{
    padding-left:12px;
  }

  .training-simple-table .training-simple-month{
    min-width:48px;
  }

  .training-simple-table .training-simple-total,
  .training-simple-table thead th:last-child{
    min-width:64px;
  }

}


/* =========================================================
   ATTENDANCE CORRECTION — PROFESSIONAL MODAL V1
   ========================================================= */

.attendance-correction-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

.attendance-correction-box{
  width:min(440px,100%);
  max-height:min(680px,90vh);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#fff;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.30);
  border:1px solid rgba(0,0,0,.08);
  animation:attendanceCorrectionIn .18s ease-out;
}

.attendance-correction-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 20px 16px;
  border-bottom:1px solid #ececec;
  background:linear-gradient(
    180deg,
    #ffffff 0%,
    #fafafa 100%
  );
}

.attendance-correction-header > div{
  min-width:0;
}

.attendance-correction-header span{
  display:block;
  margin-bottom:4px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#777;
}

.attendance-correction-header h3{
  margin:0;
  font-size:20px;
  line-height:1.25;
  font-weight:800;
  color:#171717;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#attendanceCorrectionClose{
  flex:0 0 auto;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:50%;
  background:#f1f1f1;
  color:#444;
  font-size:25px;
  line-height:1;
  cursor:pointer;
  transition:
    background .15s ease,
    transform .15s ease,
    color .15s ease;
}

#attendanceCorrectionClose:hover{
  background:#e7e7e7;
  color:#111;
  transform:scale(1.04);
}

#attendanceCorrectionClose:active{
  transform:scale(.96);
}

.attendance-correction-list{
  padding:12px;
  overflow-y:auto;
  overscroll-behavior:contain;
}

.attendance-correction-session{
  width:100%;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 8px;
  padding:12px 14px;
  border:1px solid #e7e7e7;
  border-radius:12px;
  background:#fff;
  color:#222;
  cursor:pointer;
  text-align:left;
  transition:
    background .15s ease,
    border-color .15s ease,
    transform .15s ease,
    box-shadow .15s ease;
}

.attendance-correction-session:last-child{
  margin-bottom:0;
}

.attendance-correction-session:hover{
  background:#fafafa;
  border-color:#d8d8d8;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
  transform:translateY(-1px);
}

.attendance-correction-session:active{
  transform:translateY(0);
}

.attendance-correction-session span{
  font-size:15px;
  font-weight:600;
  color:#333;
}

.attendance-correction-session strong{
  min-width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#f4f4f4;
  font-size:20px;
  font-weight:700;
}

.attendance-correction-empty{
  padding:32px 18px;
  text-align:center;
  color:#777;
  font-size:14px;
  background:#fafafa;
  border:1px dashed #d8d8d8;
  border-radius:12px;
}

@keyframes attendanceCorrectionIn{
  from{
    opacity:0;
    transform:translateY(10px) scale(.98);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media (max-width:600px){

  .attendance-correction-modal{
    align-items:flex-end;
    padding:0;
  }

  .attendance-correction-box{
    width:100%;
    max-height:88vh;
    border-radius:20px 20px 0 0;
  }

  .attendance-correction-header{
    padding:18px 16px 14px;
  }

  .attendance-correction-header h3{
    font-size:18px;
  }

  .attendance-correction-list{
    padding:10px;
  }

  .attendance-correction-session{
    min-height:54px;
    padding:10px 12px;
  }

}


/* =========================================================
   ATTENDANCE TABLE — PROFESSIONAL V1
   ========================================================= */

.training-simple-table-wrap{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  border:1px solid #e5e5e5;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 18px rgba(0,0,0,.05);
}

.training-simple-table{
  width:max-content;
  min-width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:14px;
}

.training-simple-table th{
  position:sticky;
  top:0;
  z-index:2;
  min-width:62px;
  height:46px;
  padding:8px 10px;
  background:#171717;
  color:#fff;
  border-right:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid #171717;
  font-size:12px;
  font-weight:800;
  text-align:center;
  letter-spacing:.03em;
}

.training-simple-table th:first-child{
  position:sticky;
  left:0;
  z-index:4;
  min-width:190px;
  text-align:left;
  padding-left:16px;
  background:#111;
}

.training-simple-table th:last-child{
  min-width:78px;
  background:#b3131b;
  border-right:0;
}

.training-simple-table td{
  height:48px;
  padding:7px 10px;
  border-right:1px solid #ededed;
  border-bottom:1px solid #ededed;
  background:#fff;
  text-align:center;
  vertical-align:middle;
}

.training-simple-table tbody tr:last-child td{
  border-bottom:0;
}

.training-simple-table td:first-child{
  position:sticky;
  left:0;
  z-index:1;
  min-width:190px;
  background:#fff;
  text-align:left;
  padding-left:16px;
  font-weight:700;
  color:#202020;
  box-shadow:4px 0 8px rgba(0,0,0,.035);
}

.training-simple-table td:last-child{
  min-width:78px;
  border-right:0;
  background:#fff8f8;
  color:#b3131b;
  font-weight:900;
  font-size:15px;
}

.training-simple-month{
  min-width:62px;
  color:#303030;
  font-weight:700;
  cursor:pointer;
  user-select:none;
  transition:
    background .15s ease,
    color .15s ease,
    transform .12s ease;
}

.training-simple-month:hover{
  background:#fff1f2 !important;
  color:#b3131b;
}

.training-simple-month:active{
  transform:scale(.96);
  background:#ffe3e5 !important;
}

.training-simple-month:focus-visible{
  outline:2px solid #b3131b;
  outline-offset:-2px;
}

.training-simple-player{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.training-current-player td{
  background:#fffafa;
}

.training-current-player td:first-child{
  background:#fff3f3;
  color:#b3131b;
}

.training-current-player td:last-child{
  background:#fff0f0;
}

.training-simple-table tbody tr:hover td{
  background:#fafafa;
}

.training-simple-table tbody tr:hover td:first-child{
  background:#fff5f5;
}

.training-simple-table tbody tr:hover td:last-child{
  background:#fff0f0;
}

/* Coin supérieur gauche du tableau */
.training-simple-table thead th:first-child{
  border-top-left-radius:13px;
}

/* Coin supérieur droit */
.training-simple-table thead th:last-child{
  border-top-right-radius:13px;
}

/* Espacement visuel sur les petits écrans */
@media (max-width:700px){

  .training-simple-table{
    font-size:13px;
  }

  .training-simple-table th{
    min-width:58px;
    height:44px;
    padding:7px 8px;
    font-size:11px;
  }

  .training-simple-table th:first-child,
  .training-simple-table td:first-child{
    min-width:160px;
  }

  .training-simple-table td{
    min-width:58px;
    height:46px;
    padding:6px 8px;
  }

  .training-simple-table th:last-child,
  .training-simple-table td:last-child{
    min-width:70px;
  }

}

@media (max-width:430px){

  .training-simple-table-wrap{
    border-radius:11px;
  }

  .training-simple-table th:first-child,
  .training-simple-table td:first-child{
    min-width:145px;
  }

  .training-simple-table th{
    min-width:54px;
  }

  .training-simple-table td{
    min-width:54px;
  }

}


/* =========================================================
   ATTENDANCE MONTH STATUS — VISUAL V1
   ========================================================= */

.training-simple-month{
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
}

.training-simple-month:empty{
  color:#aaa;
}

/*
 * Les cellules contenant 0 restent neutres.
 * Les cellules contenant un nombre de présences
 * gardent une lecture claire et professionnelle.
 */

.training-simple-table tbody td.training-simple-month{
  font-size:14px;
  font-weight:800;
}

/* Meilleure lisibilité sur mobile */
@media (max-width:700px){

  .training-simple-table tbody td.training-simple-month{
    font-size:13px;
  }

}


/* =====================================================
   PROFIL GÉNÉRAL — RADAR LEGEND
   ===================================================== */

.evaluation-radar-legend{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin:0 0 14px;
  font-size:13px;
  font-weight:700;
}

.evaluation-radar-legend span{
  display:inline-flex;
  align-items:center;
  gap:7px;
}

.radar-legend-initial,
.radar-legend-follow{
  display:inline-block;
  width:14px;
  height:14px;
  border-radius:3px;
  flex:0 0 14px;
}

.radar-legend-initial{
  background:#c40000;
}

.radar-legend-follow{
  background:#009646;
}

@media (max-width:600px){
  .evaluation-radar-legend{
    gap:16px;
    font-size:12px;
  }

  .radar-legend-initial,
  .radar-legend-follow{
    width:13px;
    height:13px;
    flex-basis:13px;
  }
}


/* =========================================================
   ÉVALUATION — PROFESSIONAL ACADEMY DESIGN V1
   Mise en page générale
   ========================================================= */

#evaluationView{
  padding-bottom:32px;
}

#evaluationView .panel{
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 8px 28px rgba(0,0,0,.06);
  overflow:hidden;
}

#evaluationView .panel-head{
  min-height:76px;
  padding:18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid #ececec;
  background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
}

#evaluationView .panel-head h2{
  margin:0;
  font-size:23px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.02em;
  color:#171717;
}

#evaluationView .panel-head p{
  margin:6px 0 0;
  color:#777;
  font-size:13px;
}

#evaluationView select{
  min-height:42px;
  padding:9px 36px 9px 13px;
  border:1px solid #d9d9d9;
  border-radius:10px;
  background:#fff;
  color:#222;
  font-size:14px;
  font-weight:600;
  outline:none;
  cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease;
}

#evaluationView select:focus{
  border-color:#b3131b;
  box-shadow:0 0 0 3px rgba(179,19,27,.10);
}

/* Zones principales de l'évaluation */

#evaluationView .evaluation-section,
#evaluationView .evaluation-card,
#evaluationView .evaluation-panel,
#evaluationView .evaluation-radar-box{
  border-radius:16px;
}

/* Titres internes */

#evaluationView h3{
  color:#181818;
  font-weight:800;
}

#evaluationView .section-title{
  margin-bottom:14px;
  font-weight:800;
  color:#222;
}

/* Résumé */

#evaluationView .evaluation-summary-line{
  min-height:48px;
  padding:10px 14px;
  border-bottom:1px solid #eeeeee;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:14px;
  background:#fff;
}

#evaluationView .evaluation-summary-line:last-child{
  border-bottom:0;
}

#evaluationView .evaluation-summary-line span{
  font-weight:650;
  color:#333;
}

#evaluationView .evaluation-summary-line strong{
  font-size:15px;
  color:#b3131b;
}

#evaluationView .evaluation-summary-line em{
  min-width:82px;
  text-align:right;
  font-size:12px;
  font-style:normal;
  color:#777;
}

/* Mobile */

@media (max-width:700px){

  #evaluationView{
    padding-bottom:22px;
  }

  #evaluationView .panel-head{
    min-height:auto;
    padding:16px;
    align-items:flex-start;
    flex-direction:column;
  }

  #evaluationView .panel-head h2{
    font-size:20px;
  }

  #evaluationView .panel-head p{
    font-size:12px;
  }

  #evaluationView select{
    width:100%;
    min-height:44px;
  }

  #evaluationView .evaluation-summary-line{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }

  #evaluationView .evaluation-summary-line em{
    grid-column:1 / -1;
    min-width:0;
    text-align:left;
  }
}


/* =========================================================
   ÉVALUATION — PROFIL GÉNÉRAL + RADAR
   PROFESSIONAL ACADEMY DESIGN V1
   ========================================================= */

/* Section Profil général */

#evaluationView .evaluation-report-section{
  margin-top:22px;
  background:#fff;
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  box-shadow:0 8px 28px rgba(0,0,0,.055);
  overflow:hidden;
}

/* Titre de section */

#evaluationView .evaluation-section-title{
  min-height:62px;
  padding:16px 20px;
  display:flex;
  align-items:center;
  border-bottom:1px solid #eeeeee;
  background:linear-gradient(180deg,#fff 0%,#fafafa 100%);
}

#evaluationView .evaluation-section-title h3{
  margin:0;
  font-size:18px;
  font-weight:800;
  color:#191919;
  letter-spacing:-.01em;
}

/* Zone Radar */

#evaluationView .evaluation-main-radar{
  width:100%;
  min-height:430px;
  padding:24px 20px 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at center,
      rgba(196,0,0,.025) 0%,
      rgba(196,0,0,0) 58%);
}

/* Boîte interne du Radar */

#evaluationView .evaluation-radar-box{
  width:min(100%,680px);
  padding:18px 18px 22px;
  border:1px solid #eeeeee;
  border-radius:16px;
  background:#fff;
  box-shadow:0 4px 18px rgba(0,0,0,.045);
}

/* Légende Initiale / Suivi */

#evaluationView .evaluation-radar-legend{
  margin-bottom:12px;
  padding-bottom:11px;
  border-bottom:1px solid #f0f0f0;
}

/* Canvas */

#evaluationView #evaluationRadarCanvas{
  display:block;
  width:100%;
  max-width:500px;
  height:auto;
  margin:0 auto;
}

/* Placeholder */

#evaluationView .radar-placeholder{
  width:min(100%,520px);
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #d5d5d5;
  border-radius:14px;
  color:#999;
  font-size:14px;
  font-weight:600;
  background:#fafafa;
}

/* Profil joueur */

#evaluationView .evaluation-player-profile{
  margin-top:20px;
  padding:20px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.055);
}

/* Photo joueur */

#evaluationView .evaluation-player-photo{
  border-radius:14px;
  border:1px solid #e5e5e5;
  overflow:hidden;
}

/* Informations joueur */

#evaluationView .evaluation-player-info > div{
  padding:9px 0;
  border-bottom:1px solid #eeeeee;
}

#evaluationView .evaluation-player-info > div:last-child{
  border-bottom:0;
}

#evaluationView .evaluation-player-info span{
  display:block;
  margin-bottom:3px;
  color:#888;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

#evaluationView .evaluation-player-info strong{
  color:#202020;
  font-size:14px;
  font-weight:750;
}

/* Mobile */

@media (max-width:700px){

  #evaluationView .evaluation-report-section{
    margin-top:16px;
    border-radius:14px;
  }

  #evaluationView .evaluation-section-title{
    min-height:56px;
    padding:14px 16px;
  }

  #evaluationView .evaluation-section-title h3{
    font-size:16px;
  }

  #evaluationView .evaluation-main-radar{
    min-height:350px;
    padding:16px 10px 20px;
  }

  #evaluationView .evaluation-radar-box{
    padding:12px 8px 16px;
    border-radius:14px;
  }

  #evaluationView .evaluation-player-profile{
    padding:15px;
    border-radius:14px;
  }

  #evaluationView #evaluationRadarCanvas{
    max-width:100%;
  }

}


/* =========================================================
   PHOTOS — GALERIE PHOTOS & VIDÉOS
   ========================================================= */

#searchView .photos-page{
  width:100%;
  padding:4px 0 30px;
}

/* Header */

#searchView .photos-header{
  margin-bottom:20px;
  padding:22px 24px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
  box-shadow:0 8px 28px rgba(0,0,0,.055);
}

#searchView .photos-header h2{
  margin:0;
  color:#181818;
  font-size:24px;
  font-weight:800;
}

#searchView .photos-header p{
  margin:7px 0 0;
  color:#777;
  font-size:13px;
}

/* Boutons de chargement */

#searchView .photos-upload-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-bottom:20px;
}

#searchView .photos-upload-btn{
  min-height:120px;
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:2px dashed #d7d7d7;
  border-radius:18px;
  background:#fff;
  color:#222;
  cursor:pointer;
  transition:
    border-color .18s ease,
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

#searchView .photos-upload-btn:hover{
  border-color:#b3131b;
  background:#fffafa;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  transform:translateY(-1px);
}

#searchView .photos-upload-btn span{
  font-size:32px;
  line-height:1;
}

#searchView .photos-upload-btn strong{
  font-size:14px;
  font-weight:800;
}

/* Galerie */

#searchView .photos-gallery{
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.055);
  overflow:hidden;
}

#searchView .photos-gallery-title{
  min-height:62px;
  padding:16px 20px;
  display:flex;
  align-items:center;
  border-bottom:1px solid #eeeeee;
  background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
}

#searchView .photos-gallery-title h3{
  margin:0;
  font-size:18px;
  font-weight:800;
  color:#191919;
}

/* Zone galerie */

#searchView .photos-gallery-content{
  min-height:300px;
  padding:22px;
}

/* État vide */

#searchView .photos-empty{
  min-height:250px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px dashed #d8d8d8;
  border-radius:16px;
  background:#fafafa;
  color:#777;
}

#searchView .photos-empty > div{
  margin-bottom:12px;
  font-size:42px;
}

#searchView .photos-empty strong{
  color:#333;
  font-size:15px;
  font-weight:800;
}

#searchView .photos-empty span{
  margin-top:6px;
  font-size:12px;
  color:#888;
}

/* Mobile */

@media (max-width:700px){

  #searchView .photos-header{
    padding:18px;
    border-radius:15px;
  }

  #searchView .photos-header h2{
    font-size:21px;
  }

  #searchView .photos-upload-actions{
    grid-template-columns:1fr;
    gap:12px;
  }

  #searchView .photos-upload-btn{
    min-height:105px;
    border-radius:15px;
  }

  #searchView .photos-gallery{
    border-radius:15px;
  }

  #searchView .photos-gallery-title{
    min-height:56px;
    padding:14px 16px;
  }

  #searchView .photos-gallery-title h3{
    font-size:16px;
  }

  #searchView .photos-gallery-content{
    padding:14px;
  }

}


/* =========================================================
   PHOTOS — MEDIA GALLERY CARDS
   ========================================================= */

#searchView .photos-gallery-content{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

/* Carte média */

#searchView .photos-media-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e5e5e5;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 18px rgba(0,0,0,.055);
}

/* Zone image / vidéo */

#searchView .photos-media-preview{
  width:100%;
  aspect-ratio:16 / 11;
  overflow:hidden;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
}

#searchView .photos-media-preview img,
#searchView .photos-media-preview video{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}

/* Informations */

#searchView .photos-media-info{
  min-height:64px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

#searchView .photos-media-info strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#333;
  font-size:12px;
  font-weight:700;
}

/* Supprimer */

#searchView .photos-delete-btn{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid #ddd;
  border-radius:8px;
  background:#fff;
  color:#b3131b;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}

#searchView .photos-delete-btn:hover{
  background:#fff5f5;
  border-color:#b3131b;
}

/* Galerie vide */

#searchView .photos-gallery-content > .photos-empty{
  grid-column:1 / -1;
}

/* Tablette */

@media (max-width:900px){

  #searchView .photos-gallery-content{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}

/* Mobile */

@media (max-width:600px){

  #searchView .photos-gallery-content{
    grid-template-columns:1fr;
    gap:14px;
  }

  #searchView .photos-media-card{
    border-radius:14px;
  }

  #searchView .photos-media-info{
    min-height:58px;
  }

  #searchView .photos-delete-btn{
    padding:7px 9px;
  }

}


/* =========================================================
   MATCHS — DESIGN PROFESSIONNEL
   ========================================================= */

#matchesView .matches-page{
  width:100%;
  padding:4px 0 30px;
}

#matchesView .matches-header{
  margin-bottom:20px;
  padding:22px 24px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
  box-shadow:0 8px 28px rgba(0,0,0,.055);
}

#matchesView .matches-header h2{
  margin:0;
  color:#181818;
  font-size:24px;
  font-weight:800;
}

#matchesView .matches-header p{
  margin:7px 0 0;
  color:#777;
  font-size:13px;
}

#matchesView .matches-card{
  margin-bottom:20px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.055);
  overflow:hidden;
}

#matchesView .matches-card-title{
  min-height:62px;
  padding:16px 20px;
  display:flex;
  align-items:center;
  border-bottom:1px solid #eeeeee;
  background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
}

#matchesView .matches-card-title h3{
  margin:0;
  color:#191919;
  font-size:18px;
  font-weight:800;
}

/* FORMULAIRE */

#matchesView .matches-form{
  padding:22px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

#matchesView .matches-field{
  min-width:0;
}

#matchesView .matches-field label{
  display:block;
  margin-bottom:7px;
  color:#333;
  font-size:12px;
  font-weight:800;
}

#matchesView .matches-field input,
#matchesView .matches-field select{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #dcdcdc;
  border-radius:10px;
  background:#fff;
  color:#222;
  font-size:13px;
  outline:none;
  box-sizing:border-box;
  transition:border-color .18s ease,box-shadow .18s ease;
}

#matchesView .matches-field input:focus,
#matchesView .matches-field select:focus{
  border-color:#b3131b;
  box-shadow:0 0 0 3px rgba(179,19,27,.08);
}

/* SCORE */

#matchesView .matches-score{
  display:grid;
  grid-template-columns:1fr 28px 1fr;
  align-items:center;
  gap:7px;
}

#matchesView .matches-score input{
  text-align:center;
  font-size:16px;
  font-weight:800;
}

#matchesView .matches-score span{
  text-align:center;
  color:#777;
  font-size:18px;
  font-weight:800;
}

/* JOUEURS */

#matchesView .matches-players-section{
  padding:0 22px 22px;
}

#matchesView .matches-section-title{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

#matchesView .matches-section-title h3{
  margin:0;
  color:#222;
  font-size:15px;
  font-weight:800;
}

#matchesView #matchPlayersCount{
  padding:6px 10px;
  border-radius:20px;
  background:#f3f3f3;
  color:#666;
  font-size:11px;
  font-weight:800;
}

#matchesView .matches-players-list{
  min-height:100px;
  padding:12px;
  border:1px solid #e4e4e4;
  border-radius:14px;
  background:#fafafa;
}

#matchesView .matches-empty-players{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#888;
  font-size:12px;
}

/* ACTION */

#matchesView .matches-actions{
  padding:0 22px 22px;
  display:flex;
  justify-content:flex-end;
}

#matchesView .matches-save-btn{
  min-height:44px;
  padding:0 22px;
  border:0;
  border-radius:10px;
  background:#b3131b;
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(179,19,27,.18);
  transition:transform .18s ease,box-shadow .18s ease;
}

#matchesView .matches-save-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(179,19,27,.24);
}

/* LISTE DES MATCHS */

#matchesView .matches-list{
  padding:22px;
}

#matchesView .matches-empty{
  min-height:150px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px dashed #d8d8d8;
  border-radius:14px;
  background:#fafafa;
  color:#777;
}

#matchesView .matches-empty strong{
  color:#333;
  font-size:14px;
  font-weight:800;
}

#matchesView .matches-empty span{
  margin-top:6px;
  color:#888;
  font-size:12px;
}

/* RESPONSIVE */

@media (max-width:700px){

  #matchesView .matches-header{
    padding:18px;
    border-radius:15px;
  }

  #matchesView .matches-header h2{
    font-size:21px;
  }

  #matchesView .matches-form{
    grid-template-columns:1fr;
    gap:14px;
    padding:16px;
  }

  #matchesView .matches-players-section{
    padding:0 16px 16px;
  }

  #matchesView .matches-actions{
    padding:0 16px 16px;
  }

  #matchesView .matches-save-btn{
    width:100%;
  }

  #matchesView .matches-list{
    padding:16px;
  }

  #matchesView .matches-card{
    border-radius:15px;
  }

}


/* =========================================================
   ELITE — BOUTONS DE SÉLECTION
   ========================================================= */

.elite-add-btn{
  min-width:210px;
  height:44px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #111;
  border-radius:10px;
  background:#111;
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.1px;
  cursor:pointer;
  box-shadow:0 5px 15px rgba(0,0,0,.12);
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.elite-add-btn:hover{
  background:#e3262e;
  border-color:#e3262e;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(227,38,46,.20);
}

.elite-add-btn:active{
  transform:translateY(0);
}

.elite-selection-head .elite-add-btn{
  flex:0 0 auto;
}

/* ÉTAT FERMER LA SÉLECTION */

.elite-selection-head .elite-add-btn.is-open{
  background:#fff;
  color:#111;
  border-color:rgba(0,0,0,.16);
  box-shadow:0 4px 12px rgba(0,0,0,.07);
}

.elite-selection-head .elite-add-btn.is-open:hover{
  color:#e3262e;
  border-color:rgba(227,38,46,.35);
  background:#fff;
}

/* MOBILE */

@media (max-width:600px){

  .elite-selection-head{
    align-items:flex-start;
    gap:12px;
  }

  .elite-add-btn{
    min-width:0;
    height:40px;
    padding:0 13px;
    font-size:12px;
    white-space:nowrap;
  }

}




/* =========================================================
   MATCHS — DESIGN PROFESSIONNEL DES MATCHS
   ========================================================= */

.matches-list-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  padding:20px;
  margin-bottom:14px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  background:rgba(255,255,255,.96);
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.matches-list-main{
  min-width:0;
}

.matches-list-date{
  font-size:13px;
  font-weight:700;
  color:#777;
  margin-bottom:8px;
}

.matches-list-teams{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:17px;
}

.matches-list-teams strong{
  color:#111;
}

.matches-list-teams span{
  color:#999;
  font-size:13px;
  font-weight:700;
}

.matches-list-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.matches-list-meta span{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:8px;
  background:#f5f5f5;
  color:#555;
  font-size:12px;
  font-weight:600;
}

.matches-list-score{
  min-width:82px;
  padding:12px 14px;
  border-radius:12px;
  background:#111;
  color:#fff;
  text-align:center;
  font-size:18px;
  font-weight:800;
  letter-spacing:.5px;
}

.matches-list-actions{
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-end;
  padding-top:4px;
  border-top:1px solid rgba(0,0,0,.06);
}




/* =========================================================
   MATCHS — FENÊTRE VOIR DÉTAILS
   ========================================================= */

.match-details-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}

.match-details-modal.show{
  display:block;
}

.match-details-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

.match-details-card{
  width:min(560px,100%);
  max-height:min(88vh,760px);
  overflow:auto;
  border-radius:20px;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  animation:matchDetailsIn .18s ease-out;
}

@keyframes matchDetailsIn{
  from{
    opacity:0;
    transform:translateY(12px) scale(.98);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.match-details-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  padding:22px 22px 18px;
  border-bottom:1px solid #eee;
}

.match-details-kicker{
  display:block;
  margin-bottom:5px;
  color:#c40000;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.5px;
}

.match-details-header h3{
  margin:0;
  color:#111;
  font-size:21px;
  line-height:1.25;
}

.match-details-close{
  flex:0 0 auto;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:#f1f1f1;
  color:#222;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.match-details-score{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:15px;
  margin:18px 22px;
  padding:18px;
  border-radius:15px;
  background:#111;
  color:#fff;
  text-align:center;
}

.match-details-score span{
  font-size:14px;
  font-weight:700;
  line-height:1.3;
}

.match-details-score strong{
  min-width:90px;
  font-size:24px;
  letter-spacing:1px;
}

.match-details-info{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:0 22px 20px;
}

.match-details-info > div{
  padding:12px 13px;
  border:1px solid #eee;
  border-radius:11px;
  background:#fafafa;
}

.match-details-info span{
  display:block;
  margin-bottom:5px;
  color:#888;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
}

.match-details-info strong{
  display:block;
  color:#222;
  font-size:14px;
  word-break:break-word;
}

.match-details-players{
  padding:0 22px 22px;
}

.match-details-players-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.match-details-players-head h4{
  margin:0;
  color:#111;
  font-size:16px;
}

.match-details-players-head span{
  padding:5px 9px;
  border-radius:8px;
  background:#f1f1f1;
  color:#555;
  font-size:12px;
  font-weight:700;
}

.match-details-players-list{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.match-details-player{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 12px;
  border-radius:10px;
  background:#f7f7f7;
}

.match-details-player-number{
  color:#c40000;
  font-size:18px;
  line-height:1;
}

.match-details-player strong{
  color:#222;
  font-size:14px;
}

.match-details-empty{
  padding:14px;
  border-radius:10px;
  background:#f7f7f7;
  color:#888;
  text-align:center;
  font-size:13px;
}


/* =========================================================
   MATCHS — MOBILE
   ========================================================= */

@media (max-width:600px){

  .matches-list-item{
    grid-template-columns:1fr;
    gap:14px;
    padding:16px;
  }

  .matches-list-score{
    width:fit-content;
    min-width:76px;
    justify-self:start;
  }

  .matches-list-actions{
    justify-content:stretch;
  }

  

  .match-details-overlay{
    align-items:flex-end;
    padding:0;
  }

  .match-details-card{
    width:100%;
    max-height:90vh;
    border-radius:20px 20px 0 0;
  }

  .match-details-score{
    grid-template-columns:1fr auto 1fr;
    margin:15px;
    padding:15px 10px;
  }

  .match-details-score strong{
    min-width:70px;
    font-size:21px;
  }

  .match-details-info{
    padding:0 15px 18px;
    gap:8px;
  }

  .match-details-players{
    padding:0 15px 18px;
  }

  .match-details-header{
    padding:18px 15px 15px;
  }

}

/* MATCHS — organisation finale */
.matches-list-main{
  text-align:center !important;
}

.matches-list-date{
  display:block !important;
  text-align:center !important;
  margin-bottom:14px !important;
}

.matches-list-teams{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:8px !important;
}

.matches-list-category{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  font-size:22px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}

.matches-list-opponent{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  width:100% !important;
  font-size:17px !important;
  line-height:1.3 !important;
}

.matches-list-opponent strong{
  display:inline-block !important;
  font-weight:700 !important;
}

.matches-list-opponent span{
  display:inline-block !important;
  margin:0 4px !important;
  color:#888 !important;
  font-size:13px !important;
  font-weight:800 !important;
}

/* MATCHS — score centré sous les équipes */
.matches-list-item{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
}

.matches-list-main{
  width:100% !important;
  text-align:center !important;
}

.matches-list-score{
  width:100% !important;
  text-align:center !important;
  margin-top:12px !important;
  font-size:24px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}

.matches-list-actions{
  width:100% !important;
  display:flex !important;
  justify-content:center !important;
  margin-top:12px !important;
}

/* MATCHS — Voir détails : présentation centrée */
.match-details-header{
  text-align:center !important;
}

.match-details-header > div{
  width:100% !important;
  text-align:center !important;
}

.match-details-category{
  margin:8px 0 0 !important;
  text-align:center !important;
  font-size:22px !important;
  font-weight:800 !important;
}

.match-details-score{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  text-align:center !important;
}

.match-details-opponent{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  width:100% !important;
  font-size:17px !important;
}

.match-details-opponent strong{
  font-weight:700 !important;
}

.match-details-opponent span{
  margin:0 4px !important;
  color:#888 !important;
  font-size:13px !important;
  font-weight:800 !important;
}

.match-details-result{
  display:block !important;
  text-align:center !important;
  font-size:25px !important;
  font-weight:800 !important;
  margin-top:2px !important;
}


/* MATCHS — Bouton Retour au match */
#backToMatchsFromElite{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:48px !important;
  margin:0 0 18px !important;
  padding:12px 18px !important;
  border:1px solid #d7d7d7 !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#111 !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  cursor:pointer !important;
  box-shadow:0 3px 10px rgba(0,0,0,.08) !important;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease !important;
}

#backToMatchsFromElite:hover{
  background:#f7f7f7 !important;
  box-shadow:0 5px 14px rgba(0,0,0,.12) !important;
  transform:translateY(-1px) !important;
}

#backToMatchsFromElite:active{
  transform:translateY(0) !important;
  box-shadow:0 2px 6px rgba(0,0,0,.08) !important;
}

@media (max-width:600px){
  #backToMatchsFromElite{
    min-height:46px !important;
    padding:11px 14px !important;
    font-size:14px !important;
    border-radius:11px !important;
  }
}


/* MATCHS — Actions */
.matches-list-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  width:100% !important;
  margin-top:14px !important;
}









.matches-details-btn:hover,
.matches-edit-btn:hover,


@media(max-width:600px){

  .matches-list-actions{
    gap:7px !important;
  }

  
}


/* MATCHS — résultat */
.matches-list-result{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:90px !important;
  margin-top:8px !important;
  padding:6px 14px !important;
  border-radius:20px !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}

.matches-list-result.is-win{
  background:#e8f7ed !important;
  color:#16753b !important;
  border:1px solid #bfe5cc !important;
}

.matches-list-result.is-draw{
  background:#f5f5f5 !important;
  color:#666 !important;
  border:1px solid #ddd !important;
}

.matches-list-result.is-loss{
  background:#fff0f1 !important;
  color:#b42332 !important;
  border:1px solid #efc1c6 !important;
}


/* =========================================
   MATCHS — STATISTIQUES SAISON
   ========================================= */

.matches-season-stats{
  display:grid !important;
  grid-template-columns:repeat(6, minmax(0, 1fr)) !important;
  gap:12px !important;
  width:100% !important;
  margin:0 0 20px !important;
}

.matches-stat-card{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:92px !important;
  padding:14px 10px !important;
  background:#fff !important;
  border:1px solid #e3e3e3 !important;
  border-radius:14px !important;
  box-shadow:0 4px 12px rgba(0,0,0,.06) !important;
  text-align:center !important;
}

.matches-stat-card strong{
  display:block !important;
  font-size:28px !important;
  font-weight:850 !important;
  line-height:1 !important;
  color:#111 !important;
  margin-bottom:8px !important;
}

.matches-stat-card span{
  display:block !important;
  font-size:12px !important;
  font-weight:700 !important;
  color:#777 !important;
  line-height:1.2 !important;
}

.matches-stat-card.is-win{
  border-top:3px solid #198754 !important;
}

.matches-stat-card.is-win strong{
  color:#198754 !important;
}

.matches-stat-card.is-draw{
  border-top:3px solid #888 !important;
}

.matches-stat-card.is-draw strong{
  color:#666 !important;
}

.matches-stat-card.is-loss{
  border-top:3px solid #c62828 !important;
}

.matches-stat-card.is-loss strong{
  color:#c62828 !important;
}

@media(max-width:900px){

  .matches-season-stats{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }

}

@media(max-width:600px){

  .matches-season-stats{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
    margin-bottom:16px !important;
  }

  .matches-stat-card{
    min-height:82px !important;
    border-radius:12px !important;
    padding:12px 8px !important;
  }

  .matches-stat-card strong{
    font-size:24px !important;
  }

  .matches-stat-card span{
    font-size:11px !important;
  }

}


/* =========================================
   MATCHS — CATÉGORIES + STATISTIQUES
   ========================================= */

.matches-category-tabs{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  width:100% !important;
  margin:0 0 18px !important;
}

.matches-category-tab{
  min-width:72px !important;
  min-height:42px !important;
  padding:9px 16px !important;
  border:1px solid #d8d8d8 !important;
  border-radius:11px !important;
  background:#fff !important;
  color:#222 !important;
  font-size:14px !important;
  font-weight:800 !important;
  cursor:pointer !important;
  transition:.15s ease !important;
}

.matches-category-tab:hover{
  background:#f5f5f5 !important;
  transform:translateY(-1px) !important;
}

.matches-category-tab.is-active{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
  box-shadow:0 4px 10px rgba(0,0,0,.14) !important;
}

.matches-stats-grid{
  display:grid !important;
  grid-template-columns:repeat(6, minmax(0, 1fr)) !important;
  gap:12px !important;
  width:100% !important;
  margin:0 0 20px !important;
}

.matches-stats-grid .matches-stat-card{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:90px !important;
  padding:14px 10px !important;
  background:#fff !important;
  border:1px solid #e3e3e3 !important;
  border-radius:14px !important;
  box-shadow:0 4px 12px rgba(0,0,0,.06) !important;
  text-align:center !important;
}

.matches-stats-grid .matches-stat-card strong{
  display:block !important;
  margin-bottom:8px !important;
  font-size:27px !important;
  font-weight:850 !important;
  line-height:1 !important;
  color:#111 !important;
}

.matches-stats-grid .matches-stat-card span{
  display:block !important;
  font-size:12px !important;
  font-weight:700 !important;
  color:#777 !important;
  line-height:1.2 !important;
}

.matches-stats-grid .matches-stat-card.is-win{
  border-top:3px solid #198754 !important;
}

.matches-stats-grid .matches-stat-card.is-win strong{
  color:#198754 !important;
}

.matches-stats-grid .matches-stat-card.is-draw{
  border-top:3px solid #888 !important;
}

.matches-stats-grid .matches-stat-card.is-draw strong{
  color:#666 !important;
}

.matches-stats-grid .matches-stat-card.is-loss{
  border-top:3px solid #c62828 !important;
}

.matches-stats-grid .matches-stat-card.is-loss strong{
  color:#c62828 !important;
}

@media(max-width:900px){

  .matches-stats-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }

}

@media(max-width:600px){

  .matches-category-tabs{
    gap:7px !important;
  }

  .matches-category-tab{
    flex:1 1 calc(20% - 7px) !important;
    min-width:52px !important;
    min-height:40px !important;
    padding:8px 7px !important;
    font-size:13px !important;
  }

  .matches-stats-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:9px !important;
  }

  .matches-stats-grid .matches-stat-card{
    min-height:82px !important;
    padding:12px 8px !important;
    border-radius:12px !important;
  }

  .matches-stats-grid .matches-stat-card strong{
    font-size:24px !important;
  }

  .matches-stats-grid .matches-stat-card span{
    font-size:11px !important;
  }

}


/* =========================================
   MATCHS — BILAN DE SAISON
   ========================================= */

.matches-bilan-title{
  width:100% !important;
  margin:2px 0 12px !important;
  text-align:center !important;
}

.matches-bilan-title strong{
  display:inline-block !important;
  font-size:16px !important;
  font-weight:800 !important;
  color:#222 !important;
}

.matches-stats-grid .matches-stat-card.is-difference{
  border-top:3px solid #222 !important;
}

.matches-stats-grid .matches-stat-card.is-difference strong{
  color:#222 !important;
}

.matches-stats-grid .matches-stat-card.is-points{
  border-top:3px solid #b08a00 !important;
}

.matches-stats-grid .matches-stat-card.is-points strong{
  color:#9a7600 !important;
}

@media(max-width:600px){

  .matches-bilan-title{
    margin-top:4px !important;
    margin-bottom:10px !important;
  }

  .matches-bilan-title strong{
    font-size:15px !important;
  }

}



/* Voir détails */




/* Modifier */




/* Supprimer */




/* Alignement dans chaque carte */
.matches-card .matches-actions,
.matches-list .matches-actions,
.matches-match-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}

/* Téléphone */
@media(max-width:600px){

  .matches-card .matches-actions,
  .matches-list .matches-actions,
  .matches-match-actions,
  .matches-actions-row{
    gap:8px !important;
  }

  
}



/* Mobile */
@media(max-width:600px){

  .matches-list .matches-actions,
  .matches-list .matches-match-actions{
    flex-wrap:nowrap !important;
    gap:7px !important;
  }

  .matches-list 
}




/* Au toucher / clic */
.matches-list .matches-details-btn:active,
.matches-list .matches-edit-btn:active,
.matches-list 

/* État focus après sélection */
.matches-list .matches-details-btn:focus,
.matches-list .matches-edit-btn:focus,
.matches-list 

/* Même apparence sur ordinateur au survol */
@media(hover:hover){

  .matches-list .matches-details-btn:hover,
  .matches-list .matches-edit-btn:hover,
  .matches-list 

}



/* Toucher / clic */
.matches-list-actions > .matches-details-btn:active,
.matches-list-actions > .matches-edit-btn:active,
.matches-list-actions > 

/* Focus après toucher sur mobile */
.matches-list-actions > .matches-details-btn:focus,
.matches-list-actions > .matches-edit-btn:focus,
.matches-list-actions > 

/* Sur ordinateur : même effet au survol */
@media(hover:hover){

  .matches-list-actions > .matches-details-btn:hover,
  .matches-list-actions > .matches-edit-btn:hover,
  .matches-list-actions > 

}



/* =========================================================
   MATCHS — BOUTONS ACTIONS — STYLE FINAL
   ========================================================= */

.matches-list-actions{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  flex-wrap:nowrap !important;
}

.matches-list-actions > button

/* Touch / clic */
.matches-list-actions > button.matches-details-btn:active,
.matches-list-actions > button.matches-edit-btn:active,
.matches-list-actions > button

/* Focus après toucher */
.matches-list-actions > button.matches-details-btn:focus,
.matches-list-actions > button.matches-edit-btn:focus,
.matches-list-actions > button

/* Sur ordinateur */
@media(hover:hover){

  .matches-list-actions > button.matches-details-btn:hover,
  .matches-list-actions > button.matches-edit-btn:hover,
  .matches-list-actions > button

}

/* Téléphone */
@media(max-width:600px){

  .matches-list-actions{
    gap:7px !important;
  }

  .matches-list-actions > button

}

/* MATCHS — BOUTONS D'ACTION — STYLE FINAL */
.matches-list-actions > button.matches-details-btn,
.matches-list-actions > button.matches-edit-btn,
.matches-list-actions > button.matches-delete-btn {
  width: 110px !important;
  min-width: 110px !important;
  height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;

  background: #fff !important;
  color: #000 !important;

  border: 1.5px solid #000 !important;
  border-radius: 10px !important;

  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 40px !important;
  text-align: center !important;

  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  transition:
    background-color .15s ease,
    color .15s ease,
    border-color .15s ease !important;
}

/* AU TOUCHER / APPUI */
.matches-list-actions > button.matches-details-btn:active,
.matches-list-actions > button.matches-edit-btn:active,
.matches-list-actions > button.matches-delete-btn:active,

.matches-list-actions > button.matches-details-btn:focus,
.matches-list-actions > button.matches-edit-btn:focus,
.matches-list-actions > button.matches-delete-btn:focus,

.matches-list-actions > button.matches-details-btn:focus-visible,
.matches-list-actions > button.matches-edit-btn:focus-visible,
.matches-list-actions > button.matches-delete-btn:focus-visible {
  background: #c62828 !important;
  color: #fff !important;
  border: 1.5px solid #000 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* SURVOL */
.matches-list-actions > button.matches-details-btn:hover,
.matches-list-actions > button.matches-edit-btn:hover,
.matches-list-actions > button.matches-delete-btn:hover {
  background: #c62828 !important;
  color: #fff !important;
  border: 1.5px solid #000 !important;
}

/* MOBILE */
@media (max-width: 600px) {
  .matches-list-actions > button.matches-details-btn,
  .matches-list-actions > button.matches-edit-btn,
  .matches-list-actions > button.matches-delete-btn {
    width: 100px !important;
    min-width: 100px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   RAPPORT — INTERFACE PROFESSIONNELLE
   ========================================================= */

.reports-page{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:24px;
  box-sizing:border-box;
}

.reports-header{
  margin-bottom:20px;
}

.reports-header h2{
  margin:0;
  font-size:26px;
  font-weight:800;
  color:#111;
}

.reports-header p{
  margin:6px 0 0;
  color:#777;
  font-size:14px;
}

.reports-card{
  background:#fff;
  border:1px solid #e3e3e3;
  border-radius:16px;
  padding:20px;
  margin-bottom:18px;
  box-shadow:0 5px 18px rgba(0,0,0,.055);
}

.reports-card-title{
  margin-bottom:18px;
  padding-bottom:12px;
  border-bottom:1px solid #eee;
}

.reports-card-title h3{
  margin:0;
  font-size:17px;
  font-weight:800;
  color:#111;
}

/* PROFIL */

.reports-profile{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:24px;
}

.reports-photo{
  width:180px;
  height:210px;
  border-radius:14px;
  overflow:hidden;
  background:#f3f3f3;
  border:1px solid #ddd;
}

.reports-photo-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#999;
  font-size:14px;
}

.reports-profile-info{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.reports-info-item{
  background:#fafafa;
  border:1px solid #eee;
  border-radius:10px;
  padding:12px 14px;
}

.reports-info-item span,
.reports-score-card span,
.reports-stat-card span{
  display:block;
  color:#777;
  font-size:12px;
  margin-bottom:5px;
}

.reports-info-item strong{
  color:#111;
  font-size:14px;
}

/* ÉVALUATION */

.reports-evaluation-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.reports-score-card{
  background:#fafafa;
  border:1px solid #eee;
  border-radius:12px;
  padding:16px;
  text-align:center;
}

.reports-score-card strong{
  font-size:20px;
  font-weight:800;
  color:#c62828;
}

.reports-average{
  margin-top:16px;
  padding:16px;
  border-radius:12px;
  background:#111;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.reports-average span{
  font-size:14px;
}

.reports-average strong{
  font-size:22px;
}

.reports-evolution{
  margin-top:20px;
}

.reports-evolution h4{
  margin:0 0 12px;
  font-size:15px;
}

.reports-chart-placeholder{
  height:220px;
  border:1px dashed #ccc;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#999;
  background:#fafafa;
}

/* ENTRAÎNEMENT */

.reports-training-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.reports-stat-card{
  background:#fafafa;
  border:1px solid #eee;
  border-radius:12px;
  padding:16px;
  text-align:center;
}

.reports-stat-card strong{
  font-size:22px;
  color:#111;
}

/* MATCHS */

.reports-match-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fafafa;
  border:1px solid #eee;
  border-radius:12px;
  padding:18px;
}

.reports-match-summary span{
  font-size:14px;
  color:#555;
}

.reports-match-summary strong{
  font-size:26px;
  color:#111;
}

/* SYNTHÈSE */

.reports-synthesis textarea{
  width:100%;
  min-height:180px;
  resize:vertical;
  box-sizing:border-box;
  border:1px solid #ddd;
  border-radius:12px;
  padding:15px;
  font-family:inherit;
  font-size:14px;
  outline:none;
  background:#fafafa;
}

.reports-synthesis textarea:focus{
  border-color:#111;
  background:#fff;
}

/* IMPRESSION */

.reports-print-section{
  display:flex;
  justify-content:center;
  padding:8px 0 25px;
}

.reports-print-btn{
  min-width:220px;
  height:46px;
  padding:0 24px;
  border:1.5px solid #000;
  border-radius:11px;
  background:#111;
  color:#fff;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:.15s ease;
}

.reports-print-btn:hover,
.reports-print-btn:active{
  background:#c62828;
  color:#fff;
}

/* MOBILE */

@media (max-width:700px){

  .reports-page{
    padding:15px;
  }

  .reports-profile{
    grid-template-columns:1fr;
  }

  .reports-photo{
    width:150px;
    height:180px;
    margin:0 auto;
  }

  .reports-profile-info{
    grid-template-columns:1fr;
  }

  .reports-evaluation-grid,
  .reports-training-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .reports-average{
    gap:10px;
  }
}

@media (max-width:430px){

  .reports-evaluation-grid,
  .reports-training-grid{
    grid-template-columns:1fr 1fr;
  }

  .reports-card{
    padding:15px;
  }
}


/* =========================================================
   RAPPORT — IMPRESSION PROFESSIONNELLE
   ========================================================= */

@media print {

  body.printing-player-report * {
    visibility: hidden !important;
  }

  body.printing-player-report #reportsView,
  body.printing-player-report #reportsView * {
    visibility: visible !important;
  }

  body.printing-player-report #reportsView {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.printing-player-report .reports-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px !important;
    background: #fff !important;
  }

  body.printing-player-report .reports-header {
    border-bottom: 2px solid #111 !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
  }

  body.printing-player-report .reports-card {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    box-shadow: none !important;
    border: 1px solid #222 !important;
    background: #fff !important;
    margin-bottom: 14px !important;
  }

  body.printing-player-report .reports-print-section {
    display: none !important;
  }

  body.printing-player-report .reports-chart-placeholder {
    min-height: 80px !important;
  }

  body.printing-player-report textarea {
    border: 1px solid #222 !important;
    min-height: 100px !important;
    resize: none !important;
    overflow: visible !important;
  }

  body.printing-player-report .reports-photo {
    background: #fff !important;
  }

  body.printing-player-report img {
    max-width: 100% !important;
  }

  @page {
    size: A4;
    margin: 12mm;
  }
}


/* =========================================================
   RAPPORT V2 — DESIGN ACADÉMIQUE PROFESSIONNEL
   ========================================================= */

.reports-page{
  max-width:1180px;
  padding:28px;
}

/* ---------- HEADER ---------- */

.reports-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
  padding:22px 24px;
  background:#111;
  border-radius:18px;
  box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.reports-header h2{
  color:#fff;
  font-size:28px;
  letter-spacing:-.4px;
}

.reports-header p{
  margin-top:7px;
  color:#cfcfcf;
}

.reports-player-selector{
  min-width:280px;
}

.reports-player-selector label{
  display:block;
  margin-bottom:7px;
  color:#ddd;
  font-size:12px;
  font-weight:700;
}

.reports-player-selector select{
  width:100%;
  height:44px;
  padding:0 13px;
  border:1px solid #444;
  border-radius:10px;
  background:#fff;
  color:#111;
  font-size:14px;
  font-weight:600;
  outline:none;
}

.reports-player-selector select:focus{
  border-color:#c62828;
}

/* ---------- CARDS ---------- */

.reports-card{
  border:1px solid #e5e5e5;
  border-radius:16px;
  padding:22px;
  margin-bottom:20px;
  box-shadow:0 4px 16px rgba(0,0,0,.045);
}

.reports-card-title{
  display:flex;
  align-items:center;
  margin-bottom:20px;
  padding-bottom:12px;
  border-bottom:2px solid #f0f0f0;
}

.reports-card-title h3{
  position:relative;
  padding-left:12px;
  font-size:17px;
  letter-spacing:.1px;
}

.reports-card-title h3::before{
  content:"";
  position:absolute;
  left:0;
  top:2px;
  width:4px;
  height:17px;
  border-radius:4px;
  background:#c62828;
}

/* ---------- PROFIL ---------- */

.reports-profile{
  grid-template-columns:190px 1fr;
  gap:26px;
}

.reports-photo{
  width:190px;
  height:220px;
  border-radius:14px;
  border:2px solid #111;
  background:#f5f5f5;
  box-shadow:0 5px 14px rgba(0,0,0,.08);
}

.reports-photo-placeholder{
  font-weight:700;
  color:#aaa;
}

.reports-profile-info{
  gap:10px;
}

.reports-info-item{
  padding:13px 15px;
  border:1px solid #e8e8e8;
  border-radius:10px;
  background:#fbfbfb;
  transition:.15s ease;
}

.reports-info-item:hover{
  border-color:#ccc;
  background:#fff;
}

.reports-info-item span{
  text-transform:uppercase;
  letter-spacing:.35px;
  font-size:10px;
  font-weight:700;
  color:#888;
}

.reports-info-item strong{
  display:block;
  margin-top:3px;
  font-size:14px;
}

/* ---------- EVALUATION ---------- */

.reports-evaluation-grid{
  gap:14px;
}

.reports-score-card{
  position:relative;
  overflow:hidden;
  padding:18px 14px;
  border:1px solid #e7e7e7;
  border-radius:13px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.035);
}

.reports-score-card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background:#c62828;
}

.reports-score-card span{
  font-weight:700;
  color:#666;
}

.reports-score-card strong{
  display:block;
  margin-top:7px;
  font-size:23px;
}

.reports-average{
  margin-top:18px;
  padding:18px 20px;
  border-radius:13px;
  background:#111;
  box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.reports-average span{
  font-weight:700;
}

.reports-average strong{
  font-size:24px;
}

/* ---------- EVOLUTION ---------- */

.reports-evolution{
  margin-top:24px;
}

.reports-evolution h4{
  margin-bottom:12px;
  font-size:14px;
  font-weight:800;
}

.reports-chart-placeholder{
  min-height:180px;
  height:auto;
  padding:18px;
  box-sizing:border-box;
  border:1px solid #e5e5e5;
  border-radius:13px;
  background:#fafafa;
}

/* Evolution generated list */

.reports-evolution-list{
  width:100%;
}

.reports-evolution-row{
  margin-bottom:15px;
}

.reports-evolution-row:last-child{
  margin-bottom:0;
}

.reports-evolution-label{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
  font-size:12px;
}

.reports-evolution-label span{
  color:#666;
}

.reports-evolution-label strong{
  color:#111;
}

.reports-evolution-bar{
  width:100%;
  height:9px;
  overflow:hidden;
  border-radius:20px;
  background:#e8e8e8;
}

.reports-evolution-bar span{
  display:block;
  height:100%;
  border-radius:20px;
  background:#c62828;
}

/* ---------- ENTRAÎNEMENT ---------- */

.reports-training-grid{
  gap:14px;
}

.reports-stat-card{
  padding:18px 14px;
  border:1px solid #e7e7e7;
  border-radius:13px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.035);
}

.reports-stat-card span{
  font-weight:700;
}

.reports-stat-card strong{
  display:block;
  margin-top:7px;
  font-size:23px;
}

/* ---------- MATCHS ---------- */

.reports-match-summary{
  min-height:72px;
  box-sizing:border-box;
  padding:18px 20px;
  border:1px solid #e5e5e5;
  border-radius:13px;
  background:#fafafa;
}

.reports-match-summary span{
  font-weight:700;
  color:#555;
}

.reports-match-summary strong{
  min-width:48px;
  text-align:center;
  font-size:28px;
  font-weight:900;
  color:#c62828;
}

/* ---------- SYNTHÈSE ---------- */

.reports-synthesis{
  position:relative;
}

.reports-synthesis::before{
  content:"Observations du responsable technique";
  display:block;
  margin-bottom:8px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.4px;
  color:#777;
}

.reports-synthesis textarea{
  min-height:190px;
  padding:16px;
  border:1px solid #ddd;
  border-radius:13px;
  background:#fafafa;
  line-height:1.6;
  transition:.15s ease;
}

.reports-synthesis textarea:focus{
  border-color:#111;
  background:#fff;
  box-shadow:0 0 0 3px rgba(17,17,17,.06);
}

/* ---------- IMPRESSION ---------- */

.reports-print-section{
  padding:5px 0 30px;
}

.reports-print-btn{
  min-width:250px;
  height:48px;
  border-radius:12px;
  background:#111;
  border:1.5px solid #111;
  color:#fff;
  font-size:14px;
  font-weight:800;
  letter-spacing:.1px;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
  transition:.15s ease;
}

.reports-print-btn:hover{
  background:#c62828;
  border-color:#c62828;
  transform:translateY(-1px);
}

.reports-print-btn:active{
  transform:translateY(0);
}

/* ---------- MOBILE ---------- */

@media (max-width:700px){

  .reports-page{
    padding:14px;
  }

  .reports-header{
    flex-direction:column;
    align-items:stretch;
    padding:18px;
    gap:18px;
    border-radius:15px;
  }

  .reports-header h2{
    font-size:23px;
  }

  .reports-player-selector{
    min-width:0;
    width:100%;
  }

  .reports-card{
    padding:16px;
    border-radius:14px;
  }

  .reports-profile{
    grid-template-columns:1fr;
    gap:18px;
  }

  .reports-photo{
    width:150px;
    height:180px;
    margin:0 auto;
  }

  .reports-profile-info{
    grid-template-columns:1fr 1fr;
  }

  .reports-evaluation-grid,
  .reports-training-grid{
    grid-template-columns:1fr 1fr;
  }

  .reports-score-card,
  .reports-stat-card{
    padding:15px 10px;
  }

}

@media (max-width:480px){

  .reports-profile-info{
    grid-template-columns:1fr;
  }

  .reports-card-title h3{
    font-size:16px;
  }

  .reports-average{
    padding:16px;
  }

  .reports-average strong{
    font-size:21px;
  }

  .reports-print-btn{
    width:100%;
    min-width:0;
  }

}


/* =========================================================
   RAPPORT — PROFIL JOUEUR V3
   ========================================================= */

.reports-profile{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:22px !important;
}

.reports-photo{
  width:150px !important;
  height:150px !important;
  border-radius:50% !important;
  overflow:hidden !important;
  border:4px solid #111 !important;
  background:#f3f3f3 !important;
  box-shadow:0 6px 18px rgba(0,0,0,.12) !important;
}

.reports-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

.reports-photo-placeholder{
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#999 !important;
  font-size:13px !important;
  font-weight:700 !important;
}

.reports-profile-info{
  width:100% !important;
  max-width:850px !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:0 !important;
  border-top:1px solid #e2e2e2 !important;
}

.reports-info-item{
  display:grid !important;
  grid-template-columns:260px 1fr !important;
  align-items:center !important;
  min-height:48px !important;
  box-sizing:border-box !important;
  padding:10px 12px !important;
  border:0 !important;
  border-bottom:1px solid #e5e5e5 !important;
  border-radius:0 !important;
  background:#fff !important;
}

.reports-info-item:nth-child(even){
  background:#fafafa !important;
}

.reports-info-item span{
  margin:0 !important;
  color:#666 !important;
  font-size:13px !important;
  font-weight:700 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}

.reports-info-item strong{
  margin:0 !important;
  color:#111 !important;
  font-size:14px !important;
  font-weight:700 !important;
  text-align:left !important;
}

/* MOBILE */

@media (max-width:600px){

  .reports-photo{
    width:135px !important;
    height:135px !important;
  }

  .reports-info-item{
    grid-template-columns:45% 55% !important;
    min-height:46px !important;
    padding:9px 8px !important;
  }

  .reports-info-item span{
    font-size:12px !important;
  }

  .reports-info-item strong{
    font-size:13px !important;
  }

}


/* =========================================================
   RAPPORT — TAILLE / POIDS EN LIGNES SÉPARÉES
   ========================================================= */

.reports-info-item:nth-child(6){
  display:grid !important;
  grid-template-columns:260px 1fr !important;
  min-height:48px !important;
}


/* =========================================================
   RAPPORT — ALIGNEMENT FINAL DES DONNÉES DU PROFIL
   ========================================================= */

.reports-profile-info .reports-info-item{
  display:grid !important;
  grid-template-columns:260px 1fr !important;
  align-items:center !important;
  text-align:left !important;
}

.reports-profile-info .reports-info-item span{
  text-align:left !important;
}

.reports-profile-info .reports-info-item strong{
  text-align:left !important;
  justify-self:start !important;
  margin-left:0 !important;
}

@media (max-width:600px){

  .reports-profile-info .reports-info-item{
    grid-template-columns:45% 55% !important;
  }

  .reports-profile-info .reports-info-item strong{
    justify-self:start !important;
  }
}


/* =========================================================
   RAPPORT — IMPRESSION A4 PROFESSIONNELLE
   ========================================================= */

@media print {

  @page{
    size:A4;
    margin:12mm;
  }

  body.printing-player-report{
    background:#fff !important;
  }

  /* Masquer toute l'application */
  body.printing-player-report > *{
    visibility:hidden !important;
  }

  body.printing-player-report #reportsView,
  body.printing-player-report #reportsView *{
    visibility:visible !important;
  }

  body.printing-player-report #reportsView{
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  .printing-player-report .reports-page{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    color:#111 !important;
  }

  /* En-tête */
  .printing-player-report .reports-header{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:20px !important;
    margin:0 0 16px !important;
    padding:14px 18px !important;
    background:#111 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    border-bottom:3px solid #c62828 !important;
  }

  .printing-player-report .reports-header h2{
    margin:0 !important;
    color:#fff !important;
    font-size:22px !important;
  }

  .printing-player-report .reports-header p{
    margin:4px 0 0 !important;
    color:#ddd !important;
    font-size:11px !important;
  }

  .printing-player-report .reports-player-selector{
    min-width:190px !important;
  }

  .printing-player-report .reports-player-selector label{
    color:#ddd !important;
    font-size:10px !important;
  }

  .printing-player-report .reports-player-selector select{
    height:32px !important;
    font-size:11px !important;
    border-radius:6px !important;
  }

  /* Cartes */
  .printing-player-report .reports-card{
    margin:0 0 10px !important;
    padding:12px 14px !important;
    border:1px solid #d8d8d8 !important;
    border-radius:8px !important;
    background:#fff !important;
    box-shadow:none !important;
    break-inside:avoid !important;
    page-break-inside:avoid !important;
  }

  .printing-player-report .reports-card-title{
    margin-bottom:10px !important;
    padding-bottom:7px !important;
    border-bottom:1px solid #ddd !important;
  }

  .printing-player-report .reports-card-title h3{
    font-size:13px !important;
  }

  .printing-player-report .reports-card-title h3::before{
    width:3px !important;
    height:13px !important;
    top:1px !important;
  }

  /* Profil */
  .printing-player-report .reports-profile{
    gap:10px !important;
  }

  .printing-player-report .reports-photo{
    width:105px !important;
    height:105px !important;
    border:3px solid #111 !important;
    border-radius:50% !important;
    box-shadow:none !important;
  }

  .printing-player-report .reports-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .printing-player-report .reports-profile-info{
    max-width:760px !important;
  }

  .printing-player-report .reports-info-item{
    min-height:30px !important;
    padding:5px 8px !important;
    grid-template-columns:210px 1fr !important;
    border-bottom:1px solid #e5e5e5 !important;
  }

  .printing-player-report .reports-info-item span{
    font-size:10px !important;
    color:#666 !important;
  }

  .printing-player-report .reports-info-item strong{
    font-size:11px !important;
    color:#111 !important;
  }

  /* Évaluation */
  .printing-player-report .reports-evaluation-grid{
    gap:8px !important;
  }

  .printing-player-report .reports-score-card{
    padding:10px !important;
    border-radius:7px !important;
    box-shadow:none !important;
  }

  .printing-player-report .reports-score-card::before{
    height:2px !important;
  }

  .printing-player-report .reports-score-card span{
    font-size:9px !important;
  }

  .printing-player-report .reports-score-card strong{
    font-size:16px !important;
  }

  .printing-player-report .reports-average{
    margin-top:9px !important;
    padding:10px 13px !important;
    border-radius:7px !important;
    box-shadow:none !important;
  }

  .printing-player-report .reports-average span{
    font-size:11px !important;
  }

  .printing-player-report .reports-average strong{
    font-size:17px !important;
  }

  /* Évolution */
  .printing-player-report .reports-evolution{
    margin-top:12px !important;
  }

  .printing-player-report .reports-evolution h4{
    margin-bottom:7px !important;
    font-size:11px !important;
  }

  .printing-player-report .reports-chart-placeholder{
    min-height:70px !important;
    padding:9px !important;
    border-radius:7px !important;
  }

  .printing-player-report .reports-evolution-row{
    margin-bottom:7px !important;
  }

  .printing-player-report .reports-evolution-label{
    margin-bottom:3px !important;
    font-size:9px !important;
  }

  .printing-player-report .reports-evolution-bar{
    height:6px !important;
  }

  /* Entraînement */
  .printing-player-report .reports-training-grid{
    gap:8px !important;
  }

  .printing-player-report .reports-stat-card{
    padding:10px !important;
    border-radius:7px !important;
    box-shadow:none !important;
  }

  .printing-player-report .reports-stat-card span{
    font-size:9px !important;
  }

  .printing-player-report .reports-stat-card strong{
    margin-top:4px !important;
    font-size:16px !important;
  }

  /* Matchs */
  .printing-player-report .reports-match-summary{
    min-height:45px !important;
    padding:10px 13px !important;
    border-radius:7px !important;
  }

  .printing-player-report .reports-match-summary span{
    font-size:11px !important;
  }

  .printing-player-report .reports-match-summary strong{
    font-size:20px !important;
  }

  /* Synthèse */
  .printing-player-report .reports-synthesis::before{
    margin-bottom:5px !important;
    font-size:9px !important;
  }

  .printing-player-report .reports-synthesis textarea{
    min-height:95px !important;
    padding:9px !important;
    border:1px solid #ccc !important;
    border-radius:6px !important;
    background:#fff !important;
    font-size:10px !important;
    line-height:1.4 !important;
    resize:none !important;
    overflow:visible !important;
  }

  /* Bouton imprimer invisible sur papier */
  .printing-player-report .reports-print-section{
    display:none !important;
  }

}


/* =========================================================
   RAPPORT — IMPRESSION OFFICIELLE A4
   ========================================================= */

@media print {

  @page{
    size:A4 portrait;
    margin:12mm 14mm;
  }

  /* =======================================================
     PAGE
     ======================================================= */

  body.printing-player-report{
    background:#fff !important;
    color:#111 !important;
  }

  body.printing-player-report > *{
    visibility:hidden !important;
  }

  body.printing-player-report #reportsView,
  body.printing-player-report #reportsView *{
    visibility:visible !important;
  }

  body.printing-player-report #reportsView{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  .printing-player-report .reports-page{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }


  /* =======================================================
     EN-TÊTE OFFICIEL
     ======================================================= */

  .printing-player-report .reports-header{
    display:block !important;
    position:relative !important;

    margin:0 0 18px !important;
    padding:0 0 11px !important;

    background:#fff !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;

    text-align:center !important;
  }

  .printing-player-report .reports-header::before{
    content:"LIONCEAUX LAAZIB FOOTBALL";
    display:block !important;

    margin:0 0 4px !important;

    color:#111 !important;
    font-size:18px !important;
    font-weight:900 !important;
    letter-spacing:1px !important;
    text-align:center !important;
  }

  .printing-player-report .reports-header h2{
    margin:0 !important;

    color:#111 !important;
    font-size:16px !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
    letter-spacing:.7px !important;
  }

  .printing-player-report .reports-header p{
    display:none !important;
  }

  .printing-player-report .reports-header::after{
    content:"";
    display:block !important;

    width:100% !important;
    height:2px !important;

    margin-top:10px !important;

    background:#111 !important;
  }

  .printing-player-report .reports-player-selector{
    display:none !important;
  }


  /* =======================================================
     CARTES — SUPPRESSION DU STYLE APPLICATION
     ======================================================= */

  .printing-player-report .reports-card{
    width:100% !important;
    box-sizing:border-box !important;

    margin:0 0 14px !important;
    padding:12px 14px !important;

    background:#fff !important;

    border:1px solid #222 !important;
    border-radius:0 !important;

    box-shadow:none !important;

    break-inside:avoid !important;
    page-break-inside:avoid !important;
  }

  .printing-player-report .reports-card-title{
    margin:0 0 10px !important;
    padding:0 0 6px !important;

    border-bottom:1px solid #222 !important;
  }

  .printing-player-report .reports-card-title h3{
    margin:0 !important;
    padding-left:0 !important;

    color:#111 !important;
    font-size:12px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    letter-spacing:.3px !important;
  }

  .printing-player-report .reports-card-title h3::before{
    display:none !important;
  }


  /* =======================================================
     PROFIL
     ======================================================= */

  .printing-player-report .reports-profile{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;

    gap:12px !important;
  }

  .printing-player-report .reports-photo{
    width:105px !important;
    height:105px !important;

    margin:0 auto !important;

    border:2px solid #111 !important;
    border-radius:50% !important;

    background:#fff !important;
    box-shadow:none !important;
  }

  .printing-player-report .reports-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .printing-player-report .reports-profile-info{
    width:100% !important;
    max-width:none !important;

    display:grid !important;
    grid-template-columns:1fr !important;

    border-top:1px solid #222 !important;
  }

  .printing-player-report .reports-info-item{
    display:grid !important;
    grid-template-columns:190px 1fr !important;

    min-height:27px !important;

    padding:4px 7px !important;

    border:0 !important;
    border-bottom:1px solid #ddd !important;
    border-radius:0 !important;

    background:#fff !important;
  }

  .printing-player-report .reports-info-item:nth-child(even){
    background:#fafafa !important;
  }

  .printing-player-report .reports-info-item span{
    margin:0 !important;

    color:#555 !important;
    font-size:10px !important;
    font-weight:700 !important;
  }

  .printing-player-report .reports-info-item strong{
    margin:0 !important;

    color:#111 !important;
    font-size:10px !important;
    font-weight:700 !important;

    text-align:left !important;
    justify-self:start !important;
  }


  /* =======================================================
     ÉVALUATION
     ======================================================= */

  .printing-player-report .reports-evaluation-grid{
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    gap:7px !important;
  }

  .printing-player-report .reports-score-card{
    padding:8px 5px !important;

    border:1px solid #ccc !important;
    border-radius:0 !important;

    background:#fff !important;
    box-shadow:none !important;
  }

  .printing-player-report .reports-score-card::before{
    display:none !important;
  }

  .printing-player-report .reports-score-card span{
    font-size:9px !important;
    color:#555 !important;
  }

  .printing-player-report .reports-score-card strong{
    margin-top:3px !important;
    font-size:14px !important;
    color:#111 !important;
  }

  .printing-player-report .reports-average{
    margin-top:9px !important;
    padding:8px 10px !important;

    background:#111 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  .printing-player-report .reports-average span{
    font-size:10px !important;
    color:#fff !important;
  }

  .printing-player-report .reports-average strong{
    font-size:14px !important;
    color:#fff !important;
  }


  /* =======================================================
     ÉVOLUTION
     ======================================================= */

  .printing-player-report .reports-evolution{
    margin-top:12px !important;
  }

  .printing-player-report .reports-evolution h4{
    margin:0 0 7px !important;
    font-size:10px !important;
    font-weight:800 !important;
  }

  .printing-player-report .reports-chart-placeholder{
    min-height:65px !important;
    height:auto !important;

    padding:8px !important;

    border:1px solid #ccc !important;
    border-radius:0 !important;
    background:#fff !important;
  }

  .printing-player-report .reports-evolution-row{
    margin-bottom:6px !important;
  }

  .printing-player-report .reports-evolution-label{
    margin-bottom:3px !important;
    font-size:8px !important;
  }

  .printing-player-report .reports-evolution-bar{
    height:5px !important;
    border-radius:0 !important;
  }


  /* =======================================================
     ENTRAÎNEMENT
     ======================================================= */

  .printing-player-report .reports-training-grid{
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    gap:7px !important;
  }

  .printing-player-report .reports-stat-card{
    padding:9px 5px !important;

    border:1px solid #ccc !important;
    border-radius:0 !important;

    background:#fff !important;
    box-shadow:none !important;
  }

  .printing-player-report .reports-stat-card span{
    font-size:8px !important;
  }

  .printing-player-report .reports-stat-card strong{
    margin-top:3px !important;
    font-size:14px !important;
  }


  /* =======================================================
     MATCHS
     ======================================================= */

  .printing-player-report .reports-match-summary{
    min-height:35px !important;

    padding:7px 10px !important;

    border:1px solid #ccc !important;
    border-radius:0 !important;
    background:#fff !important;
  }

  .printing-player-report .reports-match-summary span{
    font-size:10px !important;
    color:#555 !important;
  }

  .printing-player-report .reports-match-summary strong{
    font-size:16px !important;
    color:#111 !important;
  }


  /* =======================================================
     SYNTHÈSE TECHNIQUE
     ======================================================= */

  .printing-player-report .reports-synthesis::before{
    content:"Observations du responsable technique" !important;

    display:block !important;

    margin:0 0 5px !important;

    color:#555 !important;
    font-size:8px !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
  }

  .printing-player-report .reports-synthesis textarea{
    width:100% !important;
    min-height:90px !important;

    box-sizing:border-box !important;

    padding:8px !important;

    border:1px solid #aaa !important;
    border-radius:0 !important;

    background:#fff !important;

    font-size:9px !important;
    line-height:1.5 !important;

    resize:none !important;
    overflow:visible !important;
  }


  /* =======================================================
     BOUTON
     ======================================================= */

  .printing-player-report .reports-print-section{
    display:none !important;
  }

}



/* =========================================================
   PRINT SYSTEM — SCREEN
   ========================================================= */

.print-system-page{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px;
}

.print-system-header{
  margin-bottom:20px;
}

.print-system-header h2{
  margin:0 0 6px;
  font-size:28px;
  font-weight:800;
}

.print-system-header p{
  margin:0;
  color:#666;
}

.print-system-card{
  background:rgba(255,255,255,.96);
  border:1px solid #ddd;
  border-radius:14px;
  padding:22px;
  margin-bottom:18px;
  box-shadow:0 5px 18px rgba(0,0,0,.06);
}

.print-system-section-title{
  margin-bottom:18px;
}

.print-system-section-title h3{
  margin:0 0 5px;
  font-size:20px;
}

.print-system-section-title p{
  margin:0;
  color:#777;
}

.print-type-selector{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.print-type-option{
  display:flex;
  align-items:center;
  gap:9px;
  padding:14px 20px;
  border:1px solid #ccc;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  background:#fff;
}

.print-type-option:has(input:checked){
  border-color:#c40000;
  background:#fff5f5;
}

.print-form-grid{
  display:grid;
  grid-template-columns:minmax(220px,400px) minmax(160px,260px);
  gap:18px;
}

.print-form-grid label{
  display:flex;
  flex-direction:column;
  gap:7px;
  font-weight:700;
}

.print-form-grid select,
.print-form-grid input{
  height:46px;
  padding:0 12px;
  border:1px solid #ccc;
  border-radius:8px;
  background:#fff;
  font-size:15px;
}

.print-data-choice{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid #eee;
}

.print-data-choice h4{
  width:100%;
  margin:0;
  font-size:15px;
}

.print-data-choice label{
  display:flex;
  align-items:center;
  gap:7px;
}

.print-selection-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:22px 0 12px;
}

.print-selection-header h4{
  margin:0;
}

#printEliteSelectedCount{
  font-weight:700;
  color:#b00000;
}

.print-player-selection-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.print-player-option{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid #ddd;
  border-radius:9px;
  background:#fff;
  cursor:pointer;
}

.print-player-option:has(input:checked){
  border-color:#c40000;
  background:#fff5f5;
}

.print-player-option span{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.print-player-option small{
  color:#777;
}

.print-empty{
  padding:30px;
  text-align:center;
  border:1px dashed #ccc;
  border-radius:10px;
  color:#777;
}

.print-preview-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:15px;
  padding-bottom:12px;
  border-bottom:2px solid #111;
}

.print-preview-title strong{
  font-size:18px;
}

.print-preview-title span{
  font-weight:800;
}

.print-preview-table-wrap{
  overflow-x:auto;
}

.print-preview-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}

.print-preview-table th,
.print-preview-table td{
  padding:11px 10px;
  border:1px solid #ccc;
  text-align:left;
}

.print-preview-table th{
  background:#111;
  color:#fff;
  font-size:13px;
}

.print-preview-table td:first-child,
.print-preview-table th:first-child{
  width:55px;
  text-align:center;
}

.print-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:20px;
}

.print-system-button{
  border:1px solid #111;
  background:#c40000;
  color:#fff;
  padding:13px 24px;
  border-radius:8px;
  font-weight:800;
  cursor:pointer;
}

@media(max-width:700px){

  .print-system-page{
    padding:14px;
  }

  .print-system-card{
    padding:16px;
  }

  .print-form-grid{
    grid-template-columns:1fr;
  }

  .print-player-selection-list{
    grid-template-columns:1fr;
  }

  .print-preview-title{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

}


/* =========================================================
   PRINT SYSTEM — A4
   ========================================================= */

@media print{

  body.printing-player-list > *{
    display:none !important;
  }

  body.printing-player-list #printView{
    display:block !important;
    position:static !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  body.printing-player-list #printView *{
    visibility:visible !important;
  }

  body.printing-player-list
  .print-system-header,
  body.printing-player-list
  .print-type-selector,
  body.printing-player-list
  #printCategoryPanel,
  body.printing-player-list
  #printElitePanel,
  body.printing-player-list
  .print-actions{
    display:none !important;
  }

  body.printing-player-list
  .print-system-page{
    max-width:none !important;
    padding:0 !important;
  }

  body.printing-player-list
  .print-system-card{
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    margin:0 !important;
  }

  body.printing-player-list
  .print-system-card:last-child{
    display:block !important;
  }

  body.printing-player-list
  #printPreview{
    display:block !important;
  }

  body.printing-player-list
  .print-preview-title{
    display:flex !important;
    margin-bottom:18px !important;
    padding-bottom:12px !important;
    border-bottom:2px solid #111 !important;
  }

  body.printing-player-list
  .print-preview-table{
    width:100% !important;
  }

  body.printing-player-list
  .print-preview-table th{
    background:#111 !important;
    color:#fff !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }

}

@page{
  size:A4 portrait;
  margin:14mm;
}


/* =========================================================
   PRINT ELITE — DESIGN PROFESSIONNEL
   ========================================================= */

.print-elite-available{
  margin: 12px 0;
  padding: 12px 15px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #f8f8f8;
  font-size: 14px;
  color: #333;
}

.print-elite-available strong{
  font-size: 18px;
  margin-right: 4px;
}

#printEliteSelectedCount{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 7px 12px;
  border-radius: 20px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.print-player-selection-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.print-player-option{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: .18s ease;
  box-sizing: border-box;
}

.print-player-option:hover{
  border-color: #999;
  transform: translateY(-1px);
}

.print-player-option.selected{
  border-color: #111;
  background: #f2f2f2;
  box-shadow: 0 0 0 2px rgba(0,0,0,.06);
}

.print-player-option input{
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: #111;
}

.print-player-option span{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.print-player-option strong{
  font-size: 14px;
  color: #111;
  line-height: 1.2;
}

.print-player-option small{
  font-size: 12px;
  color: #777;
}

.print-player-option input:disabled{
  opacity: .45;
}

@media (max-width: 700px){

  .print-player-selection-list{
    grid-template-columns: 1fr;
  }

  #printEliteSelectedCount{
    min-width: 125px;
    font-size: 12px;
  }

  .print-player-option{
    min-height: 62px;
  }

}

/* =========================================================
   PRINT ELITE — A4
   ========================================================= */

@media print{

  .print-elite-available,
  #printEliteSelectedCount,
  .print-player-selection-list{
    display: none !important;
  }

}


/* =========================================================
   PRINT DOCUMENT HEADER
   ========================================================= */

.print-document-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin-bottom:20px;
}

.print-document-logo{
  display:block;
  width:85px;
  height:85px;
  object-fit:contain;
  margin:0 auto 10px;
}

.print-document-club{
  font-size:20px;
  font-weight:800;
  letter-spacing:.5px;
  color:#111;
}

@media print{

  body.printing-player-list{
    background:#fff !important;
  }

  body.printing-player-list #printView{
    background:#fff !important;
    min-height:0 !important;
  }

  body.printing-player-list
  #printView .print-system-page{
    background:#fff !important;
  }

  body.printing-player-list
  #printView .print-system-card{
    background:#fff !important;
  }

  body.printing-player-list
  .print-document-header{
    display:flex !important;
    background:#fff !important;
    margin:0 0 20px !important;
    padding:0 !important;
  }

  body.printing-player-list
  .print-document-logo{
    display:block !important;
    width:85px !important;
    height:85px !important;
    object-fit:contain !important;
    margin:0 auto 10px !important;
  }

  body.printing-player-list
  .print-document-club{
    display:block !important;
    color:#111 !important;
    font-size:20px !important;
    font-weight:800 !important;
    text-align:center !important;
  }

  body.printing-player-list
  .print-preview-title{
    border-bottom:2px solid #111 !important;
  }

}


/* =========================================================
   PRINT SYSTEM — CLEAN A4 DOCUMENT
   ========================================================= */

@media print{

  @page{
    size:A4 portrait;
    margin:12mm;
  }

  html,
  body{
    width:100% !important;
    min-height:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  body.printing-player-list{
    background:#fff !important;
  }

  /* Masquer toute l'application */
  body.printing-player-list .app-shell{
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    background:#fff !important;
  }

  body.printing-player-list .sidebar,
  body.printing-player-list .topbar{
    display:none !important;
  }

  body.printing-player-list .main{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  /* Masquer toutes les vues sauf Imprimer */
  body.printing-player-list .view{
    display:none !important;
  }

  body.printing-player-list #printView{
    display:block !important;
    position:static !important;
    width:100% !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  /* Masquer toute l'interface de préparation */
  body.printing-player-list
  #printView > .print-system-page > .print-system-header,

  body.printing-player-list
  #printView .print-type-selector,

  body.printing-player-list
  #printView #printCategoryPanel,

  body.printing-player-list
  #printView #printElitePanel,

  body.printing-player-list
  #printView .print-actions,

  body.printing-player-list
  #printView .print-system-section-title{

    display:none !important;
  }

  /* Masquer les cartes et garder uniquement le document */
  body.printing-player-list
  #printView .print-system-page{

    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  body.printing-player-list
  #printView .print-system-card{

    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:#fff !important;
  }

  body.printing-player-list
  #printPreview{

    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  /* Logo */
  body.printing-player-list
  .print-document-header{

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100% !important;
    margin:0 0 12mm !important;
    padding:0 !important;
    background:#fff !important;
    border:0 !important;
  }

  body.printing-player-list
  .print-document-logo{

    display:block !important;
    width:65px !important;
    height:65px !important;
    margin:0 auto 5mm !important;
    padding:0 !important;
    object-fit:contain !important;
    background:#fff !important;
    border:0 !important;
    box-shadow:none !important;
  }

  body.printing-player-list
  .print-document-club{

    display:block !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    color:#111 !important;
    font-size:18px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    text-align:center !important;
  }

  /* Titre de la liste */
  body.printing-player-list
  .print-preview-title{

    display:block !important;
    width:100% !important;
    margin:0 0 7mm !important;
    padding:0 0 4mm !important;
    background:#fff !important;
    color:#111 !important;
    border:0 !important;
    border-bottom:2px solid #111 !important;
    text-align:center !important;
  }

  body.printing-player-list
  .print-preview-title span{

    display:block !important;
    color:#111 !important;
    font-size:16px !important;
    font-weight:800 !important;
    text-align:center !important;
  }

  /* Tableau */
  body.printing-player-list
  .print-preview-table-wrap{

    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }

  body.printing-player-list
  .print-preview-table{

    width:100% !important;
    border-collapse:collapse !important;
    background:#fff !important;
    color:#111 !important;
    font-size:11px !important;
  }

  body.printing-player-list
  .print-preview-table th{

    background:#111 !important;
    color:#fff !important;
    border:1px solid #111 !important;
    padding:8px 6px !important;
    text-align:left !important;
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }

  body.printing-player-list
  .print-preview-table td{

    background:#fff !important;
    color:#111 !important;
    border:1px solid #bbb !important;
    padding:7px 6px !important;
  }

  body.printing-player-list
  .print-preview-table th:first-child,
  body.printing-player-list
  .print-preview-table td:first-child{

    width:9% !important;
    text-align:center !important;
  }

}


/* =========================================================
   ARCHIVER — SAISON
   ========================================================= */

.archive-nav-item{
  margin-top:3px;
}

.archiver-page{
  max-width:1100px;
  margin:0 auto;
  padding:10px 0 30px;
}

.archiver-header{
  margin-bottom:20px;
}

.archiver-header h2{
  margin:0;
  font-size:24px;
}

.archiver-header p{
  margin:6px 0 0;
  color:#777;
  font-size:13px;
}

.archiver-current-card,
.archiver-list-card{
  background:#fff;
  border:1px solid #e0e0e3;
  border-radius:12px;
  box-shadow:0 2px 8px #00000008;
  padding:22px;
  margin-bottom:16px;
}

.archiver-current-card{
  border-left:4px solid #e3262e;
}

.archiver-current-label{
  color:#777;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.archiver-current-season{
  font-size:30px;
  font-weight:900;
  margin:8px 0;
}

.archiver-current-card p{
  color:#666;
  max-width:700px;
  line-height:1.6;
}

.archiver-button{
  border:0;
  background:#e3262e;
  color:#fff;
  border-radius:8px;
  padding:12px 20px;
  font-weight:800;
  cursor:pointer;
  margin-top:8px;
}

.archiver-button:hover{
  background:#c91d25;
}

.archiver-section-title{
  margin-bottom:16px;
}

.archiver-section-title h3{
  margin:0;
  font-size:18px;
}

.archiver-section-title p{
  margin:5px 0 0;
  color:#777;
  font-size:13px;
}

.archiver-empty{
  text-align:center;
  padding:40px 20px;
  color:#777;
  background:#f7f7f8;
  border-radius:9px;
}

@media(max-width:720px){
  .archiver-page{
    padding-top:4px;
  }

  .archiver-current-card,
  .archiver-list-card{
    padding:16px;
  }

  .archiver-current-season{
    font-size:25px;
  }
}


/* =========================================================
   ARCHIVER — LISTE DES SAISONS
   ========================================================= */

.archiver-season-card{
  border:1px solid #e1e1e4;
  border-radius:10px;
  padding:16px;
  margin-bottom:12px;
  background:#fff;
}

.archiver-season-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.archiver-season-main strong{
  font-size:19px;
  font-weight:900;
}

.archiver-season-main span{
  color:#777;
  font-size:13px;
}

.archiver-season-date{
  margin-top:6px;
  color:#888;
  font-size:12px;
}

.archiver-view-button{
  margin-top:12px;
  padding:8px 14px;
  border:1px solid #222;
  border-radius:7px;
  background:#fff;
  color:#111;
  font-weight:700;
  cursor:pointer;
}

.archiver-view-button:active{
  background:#e3262e;
  color:#fff;
}

.archiver-season-details{
  margin-top:15px;
  padding-top:15px;
  border-top:1px solid #eee;
}

.archiver-details-title{
  font-size:14px;
  font-weight:900;
  margin-bottom:12px;
}

.archiver-details-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.archiver-details-grid > div{
  background:#f7f7f8;
  border-radius:8px;
  padding:10px;
}

.archiver-details-grid b{
  display:block;
  font-size:11px;
  color:#777;
  margin-bottom:4px;
}

.archiver-details-grid span{
  font-size:16px;
  font-weight:900;
}

.archiver-players-title{
  margin-top:18px;
  margin-bottom:8px;
  font-weight:900;
  font-size:14px;
}

.archiver-player-row{
  display:grid;
  grid-template-columns:35px 1fr 60px;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-bottom:1px solid #eee;
  font-size:13px;
}

.archiver-player-number{
  font-weight:800;
  color:#888;
}

.archiver-player-row small{
  color:#777;
  text-align:right;
}

@media(max-width:720px){

  .archiver-season-main{
    display:block;
  }

  .archiver-season-main span{
    display:block;
    margin-top:4px;
  }

  .archiver-details-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .archiver-player-row{
    grid-template-columns:30px 1fr 45px;
  }

}


/* =========================================================
   ARCHIVER — VUE COMPLETE D'UNE SAISON
   ========================================================= */

.archiver-full-details{
  margin-top:4px;
}

.archiver-block{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #e5e5e7;
}

.archiver-block-title{
  font-size:16px;
  font-weight:900;
  margin-bottom:12px;
}

.archiver-empty-small{
  padding:16px;
  border-radius:8px;
  background:#f7f7f8;
  color:#777;
  font-size:13px;
  text-align:center;
}

.archiver-players-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.archiver-player-card{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid #e5e5e7;
  border-radius:9px;
  background:#fff;
}

.archiver-player-photo{
  width:62px;
  height:62px;
  min-width:62px;
  border-radius:50%;
  overflow:hidden;
  background:#f0f0f1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.archiver-player-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.archiver-player-placeholder{
  font-size:17px;
  font-weight:900;
  color:#777;
}

.archiver-player-info{
  min-width:0;
}

.archiver-player-info strong{
  display:block;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
}

.archiver-player-info span{
  display:block;
  margin-top:3px;
  color:#e3262e;
  font-size:12px;
  font-weight:800;
}

.archiver-player-info small{
  display:block;
  margin-top:2px;
  color:#777;
  font-size:10px;
}

.archiver-data-box{
  padding:14px;
  background:#f7f7f8;
  border-radius:9px;
  line-height:1.8;
  font-size:13px;
}

.archiver-data-box small{
  color:#777;
}

.archiver-elite-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

.archiver-elite-card{
  padding:14px;
  border:1px solid #e3e3e5;
  border-radius:9px;
  background:#fff;
}

.archiver-elite-card strong{
  display:block;
  font-size:14px;
  font-weight:900;
}

.archiver-elite-card span{
  display:block;
  margin-top:5px;
  color:#777;
  font-size:12px;
}

.archiver-matches-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.archiver-match-row{
  display:grid;
  grid-template-columns:120px 1fr 90px 130px;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid #e5e5e7;
  border-radius:9px;
  background:#fff;
}

.archiver-match-row strong{
  display:block;
  font-size:12px;
}

.archiver-match-row small{
  display:block;
  color:#777;
  font-size:10px;
  margin-top:3px;
}

.archiver-match-opponent{
  font-weight:800;
  font-size:13px;
}

.archiver-match-score{
  text-align:center;
  font-size:17px;
  font-weight:900;
}

.archiver-readonly-note{
  margin-top:22px;
  padding:12px;
  border-radius:8px;
  background:#fff4f4;
  border:1px solid #f1caca;
  color:#a51d24;
  font-size:12px;
  font-weight:700;
  text-align:center;
}

@media(max-width:900px){

  .archiver-players-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .archiver-elite-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .archiver-match-row{
    grid-template-columns:1fr 1fr;
  }

  .archiver-match-score{
    text-align:left;
  }

}

@media(max-width:600px){

  .archiver-players-grid{
    grid-template-columns:1fr;
  }

  .archiver-elite-grid{
    grid-template-columns:1fr 1fr;
  }

  .archiver-match-row{
    grid-template-columns:1fr;
    gap:6px;
  }

  .archiver-match-score{
    text-align:left;
  }

}


/* =========================================================
   ARCHIVER — ÉVALUATION COMPLÈTE
   ========================================================= */

.archive-evaluation-section{
  margin-top:18px;
  padding:16px;
  border:1px solid #e5e5e7;
  border-radius:10px;
  background:#fafafa;
}

.archive-evaluation-title{
  font-size:15px;
  font-weight:900;
  margin-bottom:14px;
  color:#111;
}

.archive-evaluation-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.archive-evaluation-card{
  background:#fff;
  border:1px solid #e3e3e5;
  border-radius:9px;
  overflow:hidden;
}

.archive-evaluation-card-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  background:#f4f4f5;
  border-bottom:1px solid #e5e5e7;
  font-size:13px;
  font-weight:900;
}

.archive-evaluation-card-title small{
  color:#777;
  font-size:10px;
  font-weight:700;
}

.archive-evaluation-lines{
  padding:8px 14px;
}

.archive-evaluation-line{
  display:grid;
  grid-template-columns:1fr 70px;
  align-items:center;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid #eeeeef;
}

.archive-evaluation-line:last-child{
  border-bottom:0;
}

.archive-evaluation-line span{
  font-size:12px;
  color:#555;
  font-weight:700;
}

.archive-evaluation-line strong{
  text-align:right;
  font-size:13px;
  font-weight:900;
}

.archive-evaluation-empty{
  padding:14px;
  color:#888;
  font-size:12px;
  text-align:center;
}

.archive-followups{
  margin-top:14px;
}

.archive-subtitle{
  margin-bottom:9px;
  font-size:13px;
  font-weight:900;
}

.archive-followups .archive-evaluation-card{
  margin-bottom:8px;
}

.archive-evolution{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #e1e1e3;
}

.archive-evolution-table{
  width:100%;
  overflow-x:auto;
  border:1px solid #e3e3e5;
  border-radius:9px;
  background:#fff;
}

.archive-evolution-row{
  min-width:620px;
  display:grid;
  grid-template-columns:130px repeat(5,1fr);
  align-items:center;
  border-bottom:1px solid #eeeeef;
}

.archive-evolution-row:last-child{
  border-bottom:0;
}

.archive-evolution-row > span{
  padding:10px 8px;
  text-align:center;
  font-size:11px;
  font-weight:700;
}

.archive-evolution-row > span:first-child{
  text-align:left;
  font-weight:900;
}

.archive-evolution-head{
  background:#f4f4f5;
}

.archive-evolution-head > span{
  font-size:10px;
  font-weight:900;
  color:#555;
}

@media(max-width:700px){

  .archive-evaluation-section{
    padding:12px;
  }

  .archive-evaluation-card-title{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }

  .archive-evolution-table{
    overflow-x:auto;
  }

}


/* =========================================================
   ARCHIVER — EFFECTIF PAR CATÉGORIE
   ========================================================= */

.archiver-category-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
}

.archiver-category-card{
  padding:16px 10px;
  border:1px solid #e3e3e5;
  border-radius:9px;
  background:#fff;
  text-align:center;
}

.archiver-category-card strong{
  display:block;
  font-size:15px;
  font-weight:900;
}

.archiver-category-card span{
  display:block;
  margin-top:7px;
  font-size:25px;
  font-weight:900;
}

.archiver-category-card small{
  display:block;
  margin-top:2px;
  color:#777;
  font-size:10px;
  font-weight:700;
}

@media(max-width:700px){

  .archiver-category-grid{
    grid-template-columns:repeat(3,1fr);
  }

}

@media(max-width:450px){

  .archiver-category-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

/* =========================================================
   ARCHIVE — PHOTOS & VIDÉOS
   ========================================================= */

.archive-media-container{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}

.archive-media-card{
  overflow:hidden;
  border:1px solid #e3e3e5;
  border-radius:10px;
  background:#fff;
}

.archive-media-preview{
  width:100%;
  aspect-ratio:16 / 10;
  background:#f1f1f2;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.archive-media-preview img,
.archive-media-preview video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.archive-media-preview video{
  background:#111;
}

.archive-media-info{
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.archive-media-info strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:800;
  color:#222;
}

.archive-media-info small{
  flex-shrink:0;
  padding:4px 7px;
  border-radius:5px;
  background:#f0f0f1;
  color:#666;
  font-size:9px;
  font-weight:800;
}

.archive-media-empty{
  grid-column:1 / -1;
  padding:24px 15px;
  border:1px dashed #d8d8da;
  border-radius:10px;
  background:#fafafa;
  text-align:center;
}

.archive-media-empty strong{
  display:block;
  font-size:12px;
  font-weight:900;
  color:#555;
}

.archive-media-empty span{
  display:block;
  margin-top:5px;
  color:#888;
  font-size:11px;
}

@media(max-width:800px){
  .archive-media-container{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media(max-width:500px){
  .archive-media-container{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   ARCHIVER — ACTIONS & TÉLÉCHARGEMENT
   ========================================================= */

.archiver-season-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  flex-wrap:wrap;
}

.archiver-season-actions button{
  min-height:38px;
  padding:8px 14px;
  border-radius:7px;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  transition:all .18s ease;
}

.archiver-view-button{
  border:1px solid #d7d7d9;
  background:#fff;
  color:#222;
}

.archiver-view-button:hover{
  background:#f4f4f5;
}

.archiver-download-button{
  border:1px solid #111;
  background:#111;
  color:#fff;
}

.archiver-download-button:hover{
  background:#2a2a2a;
}

.archiver-download-button:disabled{
  opacity:.6;
  cursor:wait;
}

@media(max-width:500px){

  .archiver-season-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .archiver-season-actions button{
    width:100%;
  }

}


/* =========================================================
   IMPRIMER — FINITION PROFESSIONNELLE
   ========================================================= */

#printView .print-system-page{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px;
  color:#202020;
}

#printView .print-system-header{
  margin-bottom:24px;
}

#printView .print-system-header h2{
  margin:0 0 8px;
  font-size:clamp(24px,3vw,32px);
  font-weight:850;
  letter-spacing:-.5px;
}

#printView .print-system-header p{
  margin:0;
  color:#707070;
  line-height:1.6;
}

#printView .print-system-card{
  min-width:0;
  padding:24px;
  margin-bottom:22px;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:16px;
  box-shadow:0 6px 24px rgba(0,0,0,.055);
}

#printView .print-system-section-title{
  padding-bottom:16px;
  margin-bottom:20px;
  border-bottom:1px solid #ededed;
}

#printView .print-system-section-title h3{
  margin:0 0 7px;
  font-size:21px;
  font-weight:800;
}

#printView .print-system-section-title p{
  margin:0;
  color:#777;
  font-size:14px;
  line-height:1.6;
}

#printView .print-type-selector{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

#printView .print-type-option{
  min-height:58px;
  padding:16px;
  border:1px solid #dedede;
  border-radius:12px;
  background:#fff;
  transition:border-color .2s,background .2s;
}

#printView .print-type-option:has(input:checked){
  border:2px solid #c40000;
  background:#fff5f5;
}

#printView .print-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-bottom:22px;
}

#printView .print-form-grid label{
  min-width:0;
  gap:9px;
  color:#333;
  font-size:14px;
  font-weight:750;
}

#printView .print-form-grid select,
#printView .print-form-grid input{
  width:100%;
  height:48px;
  padding:0 14px;
  border:1px solid #d7d7d7;
  border-radius:10px;
  color:#222;
  background:#fff;
  outline:none;
  transition:border-color .2s,box-shadow .2s;
}

#printView .print-form-grid select:focus,
#printView .print-form-grid input:focus{
  border-color:#c40000;
  box-shadow:0 0 0 3px rgba(196,0,0,.09);
}

#printView .print-elite-selection{
  padding-top:18px;
  border-top:1px solid #ededed;
}

#printView .print-selection-header{
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 16px;
}

#printView .print-selection-header h4{
  font-size:16px;
  font-weight:800;
}

#printView #printEliteSelectedCount{
  padding:7px 11px;
  border-radius:20px;
  background:#fff1f1;
  color:#b00000;
  font-size:12px;
  font-weight:800;
}

#printView .print-elite-available{
  margin-bottom:12px;
  color:#707070;
  font-size:13px;
}

#printView .print-elite-available strong{
  color:#b00000;
}

#printView .print-player-selection-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

#printView .print-player-option{
  min-width:0;
  min-height:66px;
  padding:14px;
  border:1px solid #e2e2e2;
  border-radius:11px;
  background:#fff;
  transition:border-color .18s,background .18s,box-shadow .18s;
}

#printView .print-player-option:has(input:checked),
#printView .print-player-option.selected{
  border-color:#c40000;
  background:#fff5f5;
  box-shadow:0 2px 8px rgba(196,0,0,.06);
}

#printView .print-player-option input{
  flex:0 0 auto;
  width:18px;
  height:18px;
  accent-color:#c40000;
}

#printView .print-player-option span{
  min-width:0;
  overflow-wrap:anywhere;
}

#printView .print-player-option strong{
  color:#242424;
  font-size:14px;
  line-height:1.4;
}

#printView .print-player-option small{
  color:#777;
  font-size:12px;
}

#printView .print-empty{
  padding:24px 16px;
  border:1px dashed #d8d8d8;
  border-radius:12px;
  background:#fafafa;
  line-height:1.6;
}

#printView #printPreview{
  min-width:0;
  padding:20px;
  border:1px solid #e8e8e8;
  border-radius:12px;
  background:#fff;
}

#printView .print-document-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
  text-align:center;
}

#printView .print-document-logo{
  width:76px;
  height:76px;
  object-fit:contain;
}

#printView .print-document-club{
  color:#222;
  font-size:18px;
  font-weight:850;
  letter-spacing:.3px;
  text-align:center;
}

#printView .print-preview-title{
  gap:12px;
  flex-wrap:wrap;
  padding-bottom:14px;
  border-bottom:2px solid #c40000;
}

#printView .print-preview-title strong{
  color:#242424;
  font-size:17px;
}

#printView .print-preview-title span{
  color:#666;
  font-size:13px;
}

#printView .print-preview-table-wrap{
  width:100%;
  overflow-x:auto;
  border-radius:8px;
}

#printView .print-preview-table{
  min-width:320px;
  width:100%;
  border-collapse:collapse;
}

#printView .print-preview-table th{
  padding:12px 10px;
  background:#242424;
  color:#fff;
  font-size:13px;
  font-weight:750;
}

#printView .print-preview-table td{
  padding:11px 10px;
  color:#333;
  font-size:13px;
  overflow-wrap:anywhere;
}

#printView .print-preview-table tbody tr:nth-child(even){
  background:#fafafa;
}

#printView .print-actions{
  margin-top:20px;
}

#printView .print-system-button{
  min-height:48px;
  padding:13px 26px;
  border:0;
  border-radius:10px;
  background:#c40000;
  color:#fff;
  font-size:15px;
  font-weight:800;
  box-shadow:0 4px 12px rgba(196,0,0,.18);
  transition:background .2s,transform .2s;
}

#printView .print-system-button:active{
  transform:scale(.98);
}

@media(max-width:700px){
  #printView .print-system-page{
    padding:14px;
  }

  #printView .print-system-card{
    padding:17px;
    margin-bottom:16px;
    border-radius:13px;
  }

  #printView .print-type-selector,
  #printView .print-form-grid,
  #printView .print-player-selection-list{
    grid-template-columns:minmax(0,1fr);
  }

  #printView .print-system-section-title h3{
    font-size:19px;
  }

  #printView #printPreview{
    padding:12px;
  }

  #printView .print-actions{
    display:flex;
  }

  #printView .print-system-button{
    width:100%;
  }
}

/* IMPRIMER — Choix du type de liste */
#printView .print-type-selector{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:4px 0 0;
}

#printView .print-type-option{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:76px;
  padding:18px 16px;
  border:1.5px solid #dedede;
  border-radius:14px;
  background:linear-gradient(145deg,#fff,#f8f8f8);
  color:#292929;
  font-size:15px;
  font-weight:800;
  text-align:center;
  cursor:pointer;
  box-shadow:0 3px 10px rgba(0,0,0,.035);
  transition:border-color .2s,background .2s,box-shadow .2s,transform .2s;
}

#printView .print-type-option::before{
  content:"";
  display:block;
  flex:0 0 9px;
  width:9px;
  height:9px;
  border:2px solid #aaa;
  border-radius:50%;
  background:#fff;
}

#printView .print-type-option:has(input:checked){
  border:2px solid #c40000;
  background:linear-gradient(145deg,#fff4f4,#ffe8e8);
  color:#a90000;
  box-shadow:0 5px 16px rgba(196,0,0,.12);
}

#printView .print-type-option:has(input:checked)::before{
  border-color:#c40000;
  background:#c40000;
  box-shadow:inset 0 0 0 2px #fff;
}

#printView .print-type-option input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
}

#printView .print-type-option:focus-within{
  outline:3px solid rgba(196,0,0,.16);
  outline-offset:3px;
}

@media(max-width:480px){
  #printView .print-type-selector{
    grid-template-columns:1fr;
    gap:11px;
  }

  #printView .print-type-option{
    min-height:62px;
    padding:14px;
    font-size:14px;
  }
}


/* Graphique mensuel réservé à Rapport */
.report-month-chart{width:100%;box-sizing:border-box;margin-top:12px;padding:12px 6px;border:1px solid rgba(128,128,128,.25);border-radius:14px;overflow:hidden}
.report-month-heading{font-size:14px;font-weight:700;margin:0 8px 6px}
.report-month-chart svg{display:block;width:100%;height:auto;overflow:visible}
.report-month-grid{stroke:rgba(128,128,128,.25);stroke-width:1}
.report-month-axis{stroke:rgba(128,128,128,.65);stroke-width:1.2}
.report-month-text{fill:currentColor;font-size:15px}
.report-month-line{fill:none;stroke:#e53935;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.report-month-dot{fill:#e53935;stroke:white;stroke-width:2}
.report-month-value{fill:currentColor;font-size:15px;font-weight:700}
.report-month-caption{margin:0 8px 4px;font-size:12px;opacity:.75}

/* Amélioration lisibilité graphique saison — Rapport */
#reportsView .report-month-chart {
  width: 100%;
  margin: 16px 0;
  padding: 16px 8px 24px;
  overflow: visible;
  border: 1px solid rgba(128,128,128,.35);
  border-radius: 16px;
  background: rgba(128,128,128,.04);
}

#reportsView .report-month-heading {
  font-size: 16px;
  font-weight: 800;
  margin: 0 10px 12px;
}

#reportsView .report-month-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 260px;
  overflow: visible;
}

#reportsView .report-month-grid {
  stroke: rgba(128,128,128,.38);
  stroke-width: 1.4;
}

#reportsView .report-month-axis {
  stroke: currentColor;
  stroke-width: 1.8;
  opacity: .8;
}

#reportsView .report-month-text {
  fill: currentColor;
  font-size: 17px;
  font-weight: 600;
}

#reportsView .report-month-line {
  stroke: #e53935;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#reportsView .report-month-dot {
  fill: #e53935;
  stroke: #fff;
  stroke-width: 2.5;
}

#reportsView .report-month-value {
  fill: currentColor;
  font-size: 19px;
  font-weight: 800;
}

#reportsView .report-month-caption {
  margin: 12px 10px 0;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 600px) {
  #reportsView .report-month-chart {
    padding: 12px 4px 24px;
  }

  #reportsView .report-month-chart svg {
    width: 100%;
    min-height: 240px;
  }

  #reportsView .report-month-text {
    font-size: 18px;
  }
}

/* FIX — Dashboard Joueurs progressés : photo compacte */
#dashboardView .dashboard-progressed-player .dashboard-player-photo{
  width:42px !important;
  height:42px !important;
  min-width:42px;
  min-height:42px;
  flex:0 0 42px;
  border-radius:50%;
  overflow:hidden;
  position:relative;
  background:#17171a;
}

#dashboardView .dashboard-progressed-player .dashboard-player-photo img{
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:100%;
  max-height:100%;
  object-fit:cover;
  border-radius:50%;
}

#dashboardView .dashboard-progressed-player .info{
  min-width:0;
  flex:1;
}



#eliteView .elite-player-photo {
  margin: 0 auto 14px;
  flex: 0 0 130px;
}


/* ELITE — Cercle photo forcé */
#eliteView .elite-player-card .elite-player-photo {
  width: 130px !important;
  height: 130px !important;
  min-width: 130px !important;
  min-height: 130px !important;
  max-width: 130px !important;
  max-height: 130px !important;
  margin: 14px auto !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: block !important;
  flex: none !important;
}

#eliteView .elite-player-card .elite-player-photo img {
  display: block !important;
  width: 130px !important;
  height: 130px !important;
  min-width: 130px !important;
  min-height: 130px !important;
  max-width: 130px !important;
  max-height: 130px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

/* ELITE — Clip circulaire de la photo */
#eliteView .elite-player-card .elite-player-photo img {
  clip-path: circle(50% at 50% 50%) !important;
  -webkit-clip-path: circle(50% at 50% 50%) !important;
}

/* ELITE — Carte horizontale avec photo ronde */
#eliteView .elite-player-card {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  grid-template-areas:
    "photo info"
    "select select" !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 10px !important;
  padding: 12px !important;
}

#eliteView .elite-player-card .elite-player-photo {
  grid-area: photo !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
}

#eliteView .elite-player-card .elite-player-photo img {
  display: block !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%) !important;
  -webkit-clip-path: circle(50% at 50% 50%) !important;
}

#eliteView .elite-player-card .elite-avatar {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  border-radius: 50% !important;
}

#eliteView .elite-player-card .elite-player-info {
  grid-area: info !important;
  min-width: 0 !important;
  overflow-wrap: anywhere;
}

#eliteView .elite-player-card .elite-player-select {
  grid-area: select !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* FIX — Photos rondes dans Effectif Elite uniquement */
#eliteRoster .elite-roster-photo {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  flex: 0 0 54px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

#eliteRoster .elite-roster-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%) !important;
  -webkit-clip-path: circle(50% at 50% 50%) !important;
}

#eliteRoster .elite-roster-avatar {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}



/* CONFIGURATION_PRO_DESIGN_V1 */
#settingsView {
  padding: 24px;
}

#settingsView .panel {
  max-width: 820px;
  margin: 12px auto;
  padding: 28px;
  background: var(--panel, #ffffff);
  border: 1px solid rgba(120, 120, 120, 0.18);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

#settingsView .panel h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.4px;
}

#settingsView .panel p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted, #71717a);
}

#settingsView .panel #resetDataButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 12px 24px;
  border: 0;
  border-radius: 10px;
  background: #b91c1c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(185, 28, 28, 0.2);
  transition: background 0.2s ease, transform 0.2s ease,
              box-shadow 0.2s ease;
}

#settingsView .panel #resetDataButton:hover {
  background: #991b1b;
  box-shadow: 0 7px 16px rgba(185, 28, 28, 0.25);
}

#settingsView .panel #resetDataButton:active {
  transform: translateY(1px);
}

#settingsView .panel #resetDataButton:focus-visible {
  outline: 3px solid rgba(185, 28, 28, 0.3);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  #settingsView {
    padding: 14px;
  }

  #settingsView .panel {
    margin: 6px auto;
    padding: 20px 18px;
    border-radius: 14px;
  }

  #settingsView .panel #resetDataButton {
    width: 100%;
  }
}


/* CONFIGURATION_LAYOUT_PRO_V2 */
#settingsView .configuration-panel {
  max-width: 850px !important;
  margin: 20px auto !important;
  padding: 28px !important;
  border-radius: 18px !important;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 26px rgba(0,0,0,.07);
}

#settingsView .configuration-panel > h2 {
  margin: 0 0 6px !important;
  font-size: 28px;
  font-weight: 800;
}

#settingsView .configuration-subtitle {
  margin: 0 0 26px !important;
  color: #777 !important;
  font-size: 15px;
}

#settingsView .configuration-reset-card {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #b91c1c;
  border-radius: 14px;
  background: rgba(128,128,128,.035);
}

#settingsView .configuration-reset-card h3 {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 750;
}

#settingsView .configuration-reset-title {
  margin: 0 0 8px !important;
  font-size: 16px;
  font-weight: 650;
  color: inherit !important;
}

#settingsView .configuration-reset-description {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.8;
  color: #777 !important;
}

#settingsView #resetDataButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 150px;
  margin-top: 22px;
  padding: 12px 24px;
  border: 0;
  border-radius: 9px;
  background: #b91c1c !important;
  color: white !important;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

#settingsView #resetDataButton:hover {
  background: #991b1b !important;
}

#settingsView #resetDataButton:active {
  transform: scale(.98);
}

@media (max-width: 600px) {
  #settingsView .configuration-panel {
    margin: 10px auto !important;
    padding: 18px !important;
  }

  #settingsView .configuration-reset-card {
    padding: 18px;
  }

  #settingsView #resetDataButton {
    width: 100%;
  }
}

/* IMPRIMER — PROFESSIONAL SCREEN DESIGN V1 */
@media screen {
  #printView {
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
  }

  #printView .print-system-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 1050px;
    margin: 10px auto 30px;
  }

  #printView .print-system-header {
    margin-bottom: 22px;
    padding: 24px 26px;
    border: 1px solid rgba(128,128,128,.18);
    border-left: 5px solid #c40000;
    border-radius: 16px;
    background: var(--panel, #fff);
    box-shadow: 0 6px 22px rgba(0,0,0,.045);
  }

  #printView .print-system-header h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 850;
    letter-spacing: -.4px;
  }

  #printView .print-system-header p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted, #71717a);
    font-size: 14px;
  }

  #printView .print-system-card {
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 24px;
    border: 1px solid rgba(128,128,128,.20);
    border-radius: 16px;
    background: var(--panel, #fff);
    box-shadow: 0 6px 22px rgba(0,0,0,.045);
  }

  #printView .print-system-section-title {
    margin-bottom: 18px;
  }

  #printView .print-system-section-title h3 {
    margin: 0 0 7px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
  }

  #printView .print-system-section-title p {
    margin: 0;
    color: var(--muted, #71717a);
    font-size: 14px;
    line-height: 1.7;
  }

  #printView .print-type-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #printView .print-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  #printView .print-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    font-size: 14px;
    font-weight: 750;
  }

  #printView .print-form-grid select,
  #printView .print-form-grid input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d8d8dc;
    border-radius: 10px;
    background: var(--panel, #fff);
    color: inherit;
    font: inherit;
  }

  #printView .print-form-grid select:focus,
  #printView .print-form-grid input:focus {
    outline: 3px solid rgba(196,0,0,.13);
    border-color: #c40000;
  }

  #printView .print-elite-selection {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid rgba(128,128,128,.20);
    border-radius: 12px;
    background: rgba(128,128,128,.035);
  }

  #printView .print-selection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  #printView .print-selection-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
  }

  #printView #printEliteSelectedCount {
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(196,0,0,.09);
    color: #b00000;
    font-size: 12px;
    font-weight: 800;
  }

  #printView .print-player-selection-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #printView .print-player-option {
    box-sizing: border-box;
    min-width: 0;
    border-radius: 10px;
  }

  #printView .print-empty {
    padding: 24px 14px;
    border: 1px dashed rgba(128,128,128,.35);
    border-radius: 12px;
    text-align: center;
    line-height: 1.7;
    color: var(--muted, #71717a);
  }

  #printView #printPreview {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding: 18px;
    border: 1px solid rgba(128,128,128,.22);
    border-radius: 12px;
    background: var(--panel, #fff);
  }

  #printView .print-document-header {
    margin-bottom: 18px;
  }

  #printView .print-preview-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  #printView .print-preview-table {
    width: 100%;
    border-collapse: collapse;
  }

  #printView .print-preview-table th {
    padding: 12px 10px;
    background: #a90000;
    color: #fff;
    text-align: left;
    font-size: 13px;
  }

  #printView .print-preview-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(128,128,128,.18);
    font-size: 13px;
  }

  #printView .print-preview-table tbody tr:nth-child(even) {
    background: rgba(128,128,128,.055);
  }

  #printView .print-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
  }

  #printView .print-system-button {
    min-height: 48px;
    padding: 13px 25px;
    border: 0;
    border-radius: 10px;
    background: #b91c1c;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(185,28,28,.18);
    transition: background .2s ease, transform .2s ease;
  }

  #printView .print-system-button:hover {
    background: #991b1b;
  }

  #printView .print-system-button:active {
    transform: translateY(1px);
  }

  #printView .print-system-button:focus-visible {
    outline: 3px solid rgba(185,28,28,.25);
    outline-offset: 3px;
  }

  @media (max-width: 600px) {
    #printView {
      padding: 12px;
    }

    #printView .print-system-page {
      margin: 4px auto 20px;
    }

    #printView .print-system-header {
      padding: 20px 17px;
      margin-bottom: 14px;
      border-radius: 13px;
    }

    #printView .print-system-card {
      padding: 17px 14px;
      margin-bottom: 14px;
      border-radius: 13px;
    }

    #printView .print-type-selector,
    #printView .print-form-grid,
    #printView .print-player-selection-list {
      grid-template-columns: minmax(0, 1fr);
    }

    #printView .print-elite-selection {
      padding: 12px;
    }

    #printView #printPreview {
      padding: 10px;
    }

    #printView .print-actions {
      display: block;
    }

    #printView .print-system-button {
      width: 100%;
    }
  }
}
/* END IMPRIMER — PROFESSIONAL SCREEN DESIGN V1 */


/* LOGIN SCREEN - V1 */
.login-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 16px;
  background:
    radial-gradient(ellipse at top, #29292e 0%, #111114 48%, #080809 100%);
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 30px 28px 24px;
  border: 1px solid #38383e;
  border-radius: 20px;
  background: #17171b;
  box-shadow: 0 24px 70px #0008;
  color: #fff;
}

.login-brand {
  text-align: center;
  margin-bottom: 28px;
}

.login-brand img {
  display: block;
  width: 116px;
  height: 116px;
  object-fit: contain;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: #fff;
}

.login-club-name {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: .5px;
}

.login-subtitle {
  margin-top: 9px;
  color: #ef343c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.login-card label {
  color: #f3f3f4;
  margin: 17px 0 8px;
  font-size: 13px;
}

.login-card input {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #414148;
  border-radius: 9px;
  background: #222227;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.login-card input:focus {
  border-color: #e3262e;
  box-shadow: 0 0 0 3px #e3262e25;
}

.login-card input::placeholder {
  color: #92929a;
}

.login-password-wrap {
  display: flex;
  align-items: stretch;
  gap: 7px;
}

.login-password-wrap input {
  flex: 1;
}

.login-show-password {
  flex-shrink: 0;
  padding: 0 10px;
  border: 1px solid #414148;
  border-radius: 9px;
  background: #29292f;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
}

.login-submit {
  width: 100%;
  margin-top: 25px;
  padding: 15px;
  border: 0;
  border-radius: 9px;
  background: #e3262e;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .8px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.login-submit:hover {
  background: #c91d25;
}

.login-submit:active {
  transform: scale(.99);
}

.login-message {
  margin: 18px 0 0;
  color: #a7a7b0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .login-card {
    padding: 25px 20px 22px;
    border-radius: 16px;
  }

  .login-brand img {
    width: 100px;
    height: 100px;
  }

  .login-club-name {
    font-size: 17px;
  }
}

/* LOGIN CHILD FOOTBALL BACKGROUND */
.login-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #17171b;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(12, 12, 15, 0.66),
      rgba(12, 12, 15, 0.91)
    ),
    url("assets/login-child-football.jpg") center / cover no-repeat;
}

.login-card .login-brand,
.login-card form {
  position: relative;
  z-index: 1;
}

/* LOGIN FULL PAGE BACKGROUND */
.login-screen {
  background:
    linear-gradient(
      rgba(5, 5, 8, 0.42),
      rgba(5, 5, 8, 0.68)
    ),
    url("assets/login-child-football.jpg") center center / cover no-repeat !important;
}

.login-card {
  background: rgba(18, 18, 22, 0.84) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.login-card::before {
  background: transparent !important;
}

/* LOGIN TRANSPARENT GLASS */
.login-card {
  background: rgba(18, 18, 22, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.login-card::before {
  background: transparent !important;
}

.login-card input {
  background: rgba(20, 20, 24, 0.52);
  border-color: rgba(255, 255, 255, 0.42);
}

.login-show-password {
  background: rgba(30, 30, 35, 0.60);
}

/* LOGIN LOGO TRANSPARENT BACKGROUND */
.login-brand img {
  background: transparent !important;
  mix-blend-mode: normal;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

/* LOGIN LOGO: transparent image */
.login-brand img {
  background: transparent !important;
  object-fit: contain;
  mix-blend-mode: normal;
  border: 0;
  box-shadow: none;
}
