	/* Ubuntu Regular */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: /*url('/fonts/Ubuntu-Regular.woff2') format('woff2'),*/
       url('/fonts/Ubuntu-Regular.ttf') format('truetype');
}

/* Ubuntu Medium */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  src: /*url('/fonts/Ubuntu-Medium.woff2') format('woff2'),*/
       url('/fonts/Ubuntu-Medium.ttf') format('truetype');
}

/* Ubuntu Bold */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: /*url('/fonts/Ubuntu-Bold.woff2') format('woff2'),*/
       url('/fonts/Ubuntu-Bold.ttf') format('truetype');
}

:root { /* V1 */
	--primary: #6A1B9A; /* Violet accents */
	--secondary: #1B5E20; /* Vert chaos */
	--background: #121212; /* Noir fond */
	--text: #E0E0E0; /* Gris clair texte */
	--border: #333; /* Bordures sombres */
	/*--pico-font-family-sans: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --pico-font-family: var(--pico-font-family-sans);*/
  --pico-font-size: 0.9rem;
  --header-height: 50px;
  --zoom-ratio: 1;
  --player-photo-size: 160px;
}
:root { /* V2 */
  /* Backgrounds */
  --bg-main: #070B12;
  --bg-page: #08111F;
  --bg-card: #0E1624;
  --bg-card-soft: #121C2B;
  --bg-elevated: #172235;

  /* Borders */
  --border-soft: #233044;
  --border-strong: #334155;

  /* Text */
  --text-main: #F4F7FB;
  --text-secondary: #CBD5E1;
  --text-muted: #9CA8B8;
  --text-disabled: #64748B;

  /* Brand */
  --purple-main: #6D3DF2;
  --purple-hover: #7C4DFF;
  --purple-soft: #2B185C;

  /* Tennis / positive */
  --green-main: #52D66B;
  --green-hover: #6EE77F;
  --green-soft: #14391F;

  /* Court colors */
  --court-hard: #3BA7FF;
  --court-clay: #F59E0B;
  --court-grass: #52D66B;
  --court-indoor: #8B5CF6;

  /* Status */
  --red-main: #EF4444;
  --red-soft: #3B1216;
  --orange-main: #F59E0B;
  --blue-main: #3BA7FF;

  /* Effects */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.28);
  --navbar-gradient: linear-gradient(90deg, #111827 0%, #21104A 45%, #08111F 100%);

  --pico-font-family-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pico-font-family: var(--pico-font-family-sans);

}
body { 
	/*background: var(--background); 
	color: var(--text); */
  background: var(--bg-main);
  color: var(--text-main);
	margin: 0; 
	min-height: 100vh; 
	display: flex; 
	flex-direction: column;
}

header {
  /*background: var(--primary);*/
  color: white;
  padding: 1rem;
  text-align: center;
  height: var(--header-height);
  position: fixed;
  width: 100%;
  z-index:100;
  display:flex;
  /* new */
  background: var(--navbar-gradient);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

header a {
  line-break: strict;
}

header nav ul li{
  font-weight:600;
}

header nav ul li a{
  height: 36px;
  padding-top: .5rem;
}

details.dropdown>summary:not([role]){
  background-color: transparent;
  color: var(--pico-accordion-close-summary-color);
  border: 2px solid rgba(0,0,0,0);
}
details.dropdown>summary:hover:not([role]){
  background-color: rgba(255, 255, 255, 0.1);
}

a#header-home-link{
  text-decoration: none;
  color: #fff;
}



input:not([type=checkbox],[type=radio],[type=range]) {
  height:auto;
}

input,
select {
  background: #08111F;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 13px;
}

input::placeholder {
  color: var(--text-disabled);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--purple-main);
  box-shadow: 0 0 0 3px rgba(109, 61, 242, 0.18);
}


#dashboard { display: flex; flex: 1; }

/* Contenu principal - Décalé sur desktop, plein écran sur mobile */
main.content {
  flex: 1;
  padding: 2rem;
  margin-left: 0; /* 280px Décalage par défaut */
  margin-top: var(--header-height); /* Décalage pour le header */
  transition: margin-left 0.3s ease;
  background: var(--background);
}

/* Bouton de menu */
.toggle-btn {
  display: block;
  position: fixed;
  top: 7px;
  left: 7px;
  z-index: 2100;
  cursor: pointer;
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* Sidebar - Collapse par défaut */
aside.sidebar {
  width: 280px;
  height: calc(100vh - var(--header-height));
  position: fixed;
  top: var(--header-height);
  left: 0;
  z-index: 1000;
  background: #1f1f1f;
  transition: transform 0.3s ease;
}

/* Sidebar - Ouverte */
aside.sidebar:not(.collapsed) {
  transform: translateX(0);
}

/* Sidebar - Collapsée */
aside.sidebar.collapsed {
  transform: translateX(-280px); /* Réduire la largeur visible */
}

/* Contenu principal - Ajustement quand la sidebar est collapsée */
body.sidebar-collapsed main.content,
aside.sidebar.collapsed ~ main.content {
  margin-left: 0; /* Réduire le décalage */
}


@media screen and (min-width : 769px){
  aside{
    display: none;
  }
  .toggle-btn{
    display:none;
  }
  header ul, header ul li{
    display:flex;
    margin-left:8px;
    margin-right:8px;
  }
}

@media screen and (max-width : 768px){
  header ul, header ul li{
    display:none;
  }
  a#header-home-link{
    margin-left:50px;
  }
}

/* à garder ?? */
nav ul { list-style: none; padding: 0; }
nav a { color: inherit; text-decoration: none; display: block; padding: 1rem; }
nav a:hover { background: rgba(255,255,255,0.1); }

/* Override */
nav details.dropdown {
    margin: calc(var(--pico-nav-element-spacing-vertical) * -0.5) 0;
}

/* Icons FA exemples */
nav i { margin-right: 0.5rem; } /* Espace avant texte */

/* nav links pas encore utilisés */
.nav-link {
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.nav-link.active {
  background: rgba(109, 61, 242, 0.28);
  color: white;
  box-shadow: inset 0 -2px 0 var(--purple-main);
}

main.content.full-width { margin-left: 0; }

.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline; }

  /* tables */
  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
  }

  table th {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.035);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.055);
    color: var(--text-main);
  }

  table tr:hover {
    background: rgba(255,255,255,0.035);
  }

  table a {
    color: var(--blue-main);
    font-weight: 600;
    text-decoration: none;
  }

  table a:hover {
    text-decoration: underline;
  }

  /* Css général v2 */

  .page-container {
    max-width: 1760px;
    margin: 0 auto;
    padding: 24px;
  }
  .page-title {
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.03em;
  }
  
  .section-title {
    font-size: 18px;
    font-weight: 700;
  }
  
  .label {
    font-size: 12px;
    color: var(--text-muted);
  }
  
  .value {
    font-size: 20px;
    font-weight: 750;
    color: var(--text-main);
  }
  
  .small-text {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* Indicateurs de tri */
  th.sort-asc::after {
    content: " ↑";
    color: #4CAF50;
  }
  th.sort-desc::after {
    content: " ↓";
    color: #4CAF50;
  }
  /* Filtre */
  .filter-input {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .pagination {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }
  .pagination button {
    padding: 0.25rem 0.5rem;
    cursor: pointer;
  }
  .pagination button.active {
    background-color: var(--primary);
    color: white;
  }
  .pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .pagination input {
    width: var(--header-height);/* parce que ça tombe bien... */
    text-align: center;
  }

.load-more {
  text-align: center;
  margin: 20px 0;
}

.load-more button {
  padding: 8px 16px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.load-more button:disabled {
  background: #cccccc;
  cursor: not-allowed;
}


  .filters {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1rem;
    /*padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;*/
  }
  /*.filters label{
    color: #333;
  }*/
  .filter-group label {
    font-weight: bold;
  }
  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
    /*border: 1px solid #ddd;*/
    border-radius: 5px;
    padding:5px;
  }

  .filter-group label {
    font-size: calc(0.8rem * var(--zoom-ratio));
    /*color: #666;*/
    margin-bottom: 5px;
  }

  /*.filter-group ul li{
    color: #456;
  }*/

  .filter-group > div {
    display: flex;               /* Aligne label + input/select */
    align-items: center;         /* Centre verticalement */
    gap: 10px;                   /* Espace entre label et input/select */
  }
  /*button {
    padding: 0.5rem 1rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  button:hover {
    background: #5a6268;
  }*/
  .stats {
    margin-bottom: 2rem;
  }
  .matches table {
    width: 100%;
    border-collapse: collapse;
  }
  .matches th, .matches td {
    padding: 0.5rem;
    border: 1px solid #ddd;
    text-align: left;
  }

  /* Cards v1 */
  .card2 {
    flex: 1; /* Prend 50% de la largeur sur desktop */
    min-width: 300px; /* Largeur minimale pour éviter le rétrécissement */
  }

  /*.card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top:0.5rem;
  }*/

  /*.card-body h3, .card-body h4, .card-body strong{
    color:#444;
  }
  .card-body, .card-body p, .card-body span, .card-body small, .card-body label{
    color:#456;
  }

  .card ul li, .filter-group ul li{
    color: #456;
  }*/

  /* Cards update */
  .card {
    background: linear-gradient(180deg, #0F1828 0%, #0B111D 100%);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow-card);
  }

  .card-title{
    /*color:#444; v1*/
    font-size: 15px; /* v2 */
    font-weight: 700; /* v2 */
  }

  .stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
    margin: 30px 0;
  }

  /*.stats-grid h3 {
    color:#444;
  }*/

  .stats-table {
    width: 100%;
    border-collapse: collapse; /* Fusionne les bordures des cellules */
    table-layout: fixed; /* Force les colonnes à avoir la même largeur */
  }

  .stats-table td {
    width: 50%; /* Largeur égale pour les deux colonnes */
    vertical-align: top; /* Aligne le contenu en haut */
    padding: 0.5rem;
    border: 1px solid #ddd; /* Optionnel : bordure pour la lisibilité */
  }

  /* nouvelle stat-card */
  .stat-card {
    background: linear-gradient(180deg, #101A2B 0%, #0B111D 100%);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 14px;
  }
  
  .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
  }
  
  .stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
  }
  
  .stat-value.positive {
    color: var(--green-main);
  }
  
  .stat-sub {
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-muted);
  }

  /*.stat-card {   v1
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }*/
  .stat-card h3 {
    margin-top: 0;
    /*color: #234;*/
    font-size: calc(1rem * var(--zoom-ratio));
  }
  .stat-card p {
    margin-bottom: 0;
    font-size: calc(0.9rem * var(--zoom-ratio));
    font-weight: bold;
    /*color: #456;*/
  }
  .stat-card p small{
    font-style: italic;
    /*color:#456;*/
  }
  /*.stat-card p span{
    color:#234;
  }*/
  .stat-card table{
    padding: 4px;
    margin-top: 0;
    margin-bottom: 0;
    /*margin-left: -8px;*/
    margin-right: 8px;
  }
  .stat-card table td:not(:first-child), .stat-card table th:not(:first-child) {
    text-align: right;
  }
  .stat-card th{
    background-color: transparent;
    /*color: #444;*/
    padding: 0 2px!important;
  }
  .stat-card table td{
    background-color: transparent;
    /*color: #456;*/
    padding: 0;
    /*border-color:#777!important;*/
  }
  .stats-summary p{
    font-size: calc(1rem * var(--zoom-ratio));
  }
  .stats-summary h2, .stats-details h2, .stats-section h2{
    margin-top:8px;
  }

  table.performance-per-surface{
    margin-left:-8px;
  }
  
  .win { background-color: rgba(0, 255, 0, 0.1)!important; }
  .loss { background-color: rgba(255, 0, 0, 0.1)!important; }

  /* Dans ton fichier CSS ou dans une balise <style> */
.stat-bar {
  height: 8px;
  border-radius: 4px;
  margin-top: 5px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.stat-item input[type="range"] {
  width: 100%;
}

/* Couleurs selon la valeur (0-3: rouge, 4-6: orange, 7-10: vert) */
.stat-item[data-value="0"],
.stat-item[data-value="1"],
.stat-item[data-value="2"],
.stat-item[data-value="3"] .stat-bar {
  background-color: #f44336; /* Rouge */
}

.stat-item[data-value="4"],
.stat-item[data-value="5"],
.stat-item[data-value="6"] .stat-bar {
  background-color: #ff9800; /* Orange */
}

.stat-item[data-value="7"],
.stat-item[data-value="8"],
.stat-item[data-value="9"],
.stat-item[data-value="10"] .stat-bar {
  background-color: #4CAF50; /* Vert */
}

.stat-item label{
  flex-direction: row;
  display: flex;
  gap: 5px;
  /*color: #444;*/
}
/*.stat-item label span {
  color: #456;
}*/

/* boutons */
.button-primary {
  background: linear-gradient(135deg, #6D3DF2, #4C1D95);
  color: white;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.button-primary:hover {
  background: linear-gradient(135deg, #7C4DFF, #5B21B6);
}

.button-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.button-secondary:hover {
  border-color: var(--purple-main);
  background: rgba(109, 61, 242, 0.12);
}

.button-green {
  background: linear-gradient(135deg, #2FB856, #177A33);
  color: white;
  border: 1px solid rgba(82, 214, 107, 0.35);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
}

/* badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.badge-purple {
  color: #C4B5FD;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.badge-green {
  color: var(--green-main);
  background: rgba(82, 214, 107, 0.14);
  border: 1px solid rgba(82, 214, 107, 0.35);
}

.badge-blue {
  color: var(--blue-main);
  background: rgba(59, 167, 255, 0.14);
  border: 1px solid rgba(59, 167, 255, 0.35);
}

.badge-orange {
  color: var(--orange-main);
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-red {
  color: var(--red-main);
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.badge-win {
  color: var(--green-main);
  background: rgba(82, 214, 107, 0.16);
  border: 1px solid rgba(82, 214, 107, 0.35);
}

.badge-loss {
  color: var(--red-main);
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.badge-hard {
  color: var(--court-hard);
  background: rgba(59, 167, 255, 0.14);
}

.badge-clay {
  color: var(--court-clay);
  background: rgba(245, 158, 11, 0.14);
}

.badge-grass {
  color: var(--court-grass);
  background: rgba(82, 214, 107, 0.14);
}

.badge-indoor {
  color: var(--court-indoor);
  background: rgba(139, 92, 246, 0.14);
}


/* Styles pour la section profil */
.profile-section {
    /*color: #333;*/
    /*background: white;*/
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
  }
  /*.profile-section h2, .profile-section h3, .profile-section h4{
    color: #444;
  }
  .profile-section p {
    color: #456;
  }*/
  .profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(300px * var(--zoom-ratio)), 1fr));
    gap: 20px;
  }
  .profile-card {
    /*background: #f9f9f9;*/
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #4CAF50;
  }
  .profile-card h3 {
    margin-top: 0;
    /*color: #333;*/
    font-size: calc(1.1rem * var(--zoom-ratio));
  }
  .stat-item {
    margin: 10px 0;
  }
  .stat-item span:first-child {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
    /*color: #555;*/
  }

.stat-bar {
  height: 8px;
  background: #4CAF50;
  border-radius: 4px;
  margin-top: 5px;
  transition: width 0.3s ease;
}

.progress-row {
  display: grid;
  grid-template-columns: 130px 1fr 38px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.progress-track {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #36B956, #70E879);
  border-radius: 999px;
}

/* Boutons */
  .btn {
    padding: 8px 16px;
    margin: 6px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
  }
  .btn-secondary {
    background-color: #6c757d;
    color: white;
  }
  .btn-secondary:hover {
    background-color: #5a6268;
  }
  
  .btn-primary {
    background: #4CAF50;
    color: white;
  }
  
  /* Conteneur des boutons */
  .button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }

  .light-background{
    background-color:#f9f9f9;
    color:#444;
  }
/* Styles pour les pop-ups */
#popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#popup-overlay > div {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Styles pour les formulaires */
.player-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(250px * var(--zoom-ratio)), 1fr));
  gap: 1rem;
}

.form-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(125 * var(--zoom-ratio)), 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group h4{
  color: #444;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}

.form-group label {
  font-weight: bold;
  font-size: 0.9rem;
  color: #333;
}

.form-input {
  padding: 0.5rem;
  /*border: 1px solid #ddd;*/
  border-radius: 4px;
  width: 100%;
}

.form-input.readonly {
  background-color: #f0f0f0;
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

/* Style pour les onglets actifs */
.active {
  background: #4CAF50 !important;
  color: white !important;
}

/* unified-form */
.tabs {
  display: flex;
  margin-bottom: 15px;
}
.tabs button {
  flex: 1;
  padding: 8px;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
}
.tabs button.active {
  background: #4CAF50;
  color: white;
}
.tab-content {
  margin-top: 10px;
}

.search-container {
  margin: 20px 0;
}


  .no-items {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
  }
  .items-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
  }
  .items-table th, .items-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }
  .items-table th {
    color:#ccc;
  }
  .items-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color:#555;
  }

  .search-input {
    width: 300px;
    padding: 8px 12px;
    /*border: 1px solid #ddd;*/
    border-radius: 4px;
    font-size: calc(0.9rem * var(--zoom-ratio));
    transition: border-color 0.3s;
  }
  .search-input:focus {
    outline: none;
    border-color: #4CAF50;
  }
  .fa-spinner {
    color: #4CAF50;
    font-size: calc(0.9rem * var(--zoom-ratio));
  }

  div.deploy-info{
    font-style: italic;
    font-size: calc(0.6rem * var(--zoom-ratio));
    margin-top: 20px;
    margin-left: 10px;
  }

  tr.item-row{
    cursor: pointer;
  }

  tr.item-row:hover, tr.item-row td:hover{
    background-color: #333;
  }


.player-details, .tourney-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: calc(0.9rem * var(--zoom-ratio));
  margin-bottom: 8px;
}

.player-details span, .tourney-details span, .tourney-details p {
  display: block;
  /*color: #456;*/
}

/*h2.dark, h3.dark, h4.dark, strong.dark{
  color: #444;
}

p.dark, span.dark, div.dark {
  color: #456;
}*/

/*.dropdown-item{
  color:#456;
}*/

.zoom-controls {
  position: sticky;
  bottom: 20px;
  right: 20px;
  display: flex;
  place-self: flex-end;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.zoom-btn {
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.zoom-btn:hover {
  background: var(--primary-dark);
}

.zoom-level {
  font-weight: bold;
  color: var(--primary);
  min-width: 40px;
  text-align: center;
}