body {
	background-color: #4D5546;
	color: #FFFFFF;
    margin-left:auto;
    margin-right:auto;
	margin-top: 0;
	margin-bottom: 0;
	font-family: verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	width: 100%;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #33382E;
}

::-webkit-scrollbar-thumb {
  background: #4D5546;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2E8B57;
}

a {
	color: #ff9900;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

#a_menu{
	color: #393a2d;
}

table{
    border-collapse: collapse;
	font-size: 12px;
	width: 100%;
}

td, th{
    padding: 1px;
	border: 1px solid black;
	white-space: nowrap;
}

.menu {
    width: 20%;
}

.gap {
    width: 10%;
}

#no_border{
    border: 0px;
}
#td_vertical_mid{
	vertical-align: middle;
}
#td_vert_top_bord{
	vertical-align: top;
}
#td_vert_top_no_bord{
	vertical-align: top;
	border: 0px;
}
#td_right{
	text-align: right;
	vertical-align: top;
}
#td_right_mid{
	text-align: right;
	vertical-align: middle;
}
th{
	text-align: center;
	background-color: #403F2E;
}

.black_back {
	background-color: #000000;
	color: #000000;
}

.color-box {
	display: inline-block;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	color: #fff;
	font-weight: bold;
}
/* TIMER */
.timer {
    font-size: 14px;
    color: #FFF;
    display: inline-flex;
    align-items: baseline;
}

.time {
    font-weight: bold;
}

.milliseconds {
    font-size: 82%; /* Taille réduite à xx% */
    color: #aaaaaa;
}
/* TFC CLASS */
.class_style {
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    color: white;
    border-radius: 5px;
    text-align: center;
    width: 100px;
}
.Scout { background-color: #36b25f; }
.Medic { background-color: #4d79ff; }
.Soldier { background-color: #ff4d4d; } 
.Demoman { background-color: #d4742c; }


/* Conteneur principal */
.tabs-container {
  width: 80%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  background-color: #403F2E;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* Style des onglets */
.tabs {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  border-bottom: 2px solid #ddd;
}

.tab {
  padding: 12px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #4c4d43;
  border-radius: 4px 4px 0 0;
  transition: background-color 0.3s ease;
}

.tab:hover {
  background-color: #403F2E;
}

/* Style du contenu des onglets */
.tab-content {
  font-size: 12px;
  padding: 20px;
  background-color: #4c4d43;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
  color: #fff;
}

.tab-content.active {
  display: block;
}

/* Conteneur principal en grille à deux colonnes */
.container {
  display: grid;
  grid-template-columns: auto 1fr; /* La première colonne s'adapte à son contenu, la seconde prend le reste */
  gap: 20px;
  max-width: 1500px;
  width: 100%;
  padding: 10px;
}

/* Colonne de gauche regroupant left-panel, center-panel et div-contenu */
.left-center {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #fff;
}


/* Ligne du haut : left-panel et center-panel côte à côte */
.top-row {
  display: flex;
  gap: 20px;
}

/* Styles personnalisés pour chaque panneau */
.left-panel {
  background-color: #403F2E;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  width: clamp(300px, 25%, 400px);
  font-family: verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #fff;
}

.center-panel {
  background-color: #403F2E;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  flex: 1; /* Prend l'espace restant à côté du left-panel */
  font-family: verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #fff;
  width: 500px; /* Conserve la largeur fixée */
}

/* Nouveau div en dessous des deux premiers, occupant toute la largeur cumulée */
.div-contenu {
  background-color: #403F2E;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  font-family: verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #fff;
}

/* Colonne de droite */
.right-panel {
  background-color: #403F2E;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  font-family: verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #fff;
  /* Vous pouvez ajouter ici une hauteur minimale ou un comportement spécifique pour occuper toute la hauteur */
}

.submenu-bar {
  width: 100%;
  background-color: #2e2d25;
  padding: 10px 20px;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}
.video-panel {
  background-color: #403F2E;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  width: 1000px; /* Contrairement à .left-panel */
  font-family: verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #fff;
}
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* INFO BULL */
/* Style pour le conteneur */
.tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 10px; /* Espace entre l'info et le champ */
}

/* Style pour l'icône (i) */
.info-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #007BFF; /* Bleu principal */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.info-icon:hover {
    background-color: #0056b3; /* Bleu plus sombre au survol */
}

/* Style pour la bulle d'information (tooltip) */
.tooltip-text {
    visibility: hidden;
    width: 220px; /* Largeur de la bulle */
    background-color: #333; /* Fond sombre */
    color: #fff; /* Texte blanc */
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    bottom: 125%; /* Position au-dessus de l'icône */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
}

/* Petite flèche sous la bulle */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%; /* Position sous la bulle */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent; /* Triangle avec couleur de fond */
}

/* Afficher la bulle au survol de l'icône */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
/* INFO BULL FIN */
/* DISCORD TOP WEBSITE */
.discord-button {
  display: inline-flex;
  align-items: center;
  background-color: #5865F2;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.discord-button:hover {
  background-color: #4752C4;
}

.discord-button svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
/* DISCORD TOP WEBSITE END */
/* TOP WEBSITE */
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2b271d;
    padding: 12px 24px;
    border-bottom: 3px solid #F4A21B;
    font-family: Verdana, sans-serif;
  }

  .site-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #F4A21B;
    text-decoration: none;
  }

  .site-title:hover {
    text-decoration: underline;
  }
/* TOP WEBSITE END */
/* BUTTON WATCH VIDEO */
.watch-button {
  background-color: #db9900;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s ease-in-out;
}
.watch-button:hover {
  background-color: #ad7f17;
}
.watch-button img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}
/* BUTTON WATCH VIDEO END */
/* player-info */
.player-info-title {
  font-family: Verdana, Arial, sans-serif;
  font-size: 16px;
  color: #F4A21B;
  font-weight: bold;
  margin-bottom: 10px;
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info-block {
  flex: 1 1 30%;
  background-color: #4c4d43;
  padding: 10px;
  border-radius: 8px;
  color: white;
  min-width: 100px;
  box-sizing: border-box;
}

.info-label {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 5px;
  color: #F4A21B;
}

.info-value {
  font-size: 13px;
  word-break: break-word;
}
.steamid {
  font-size: 11px;
}
/* player-info END */
/* display AMMO */
.ammo-wrapper {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 6px;
    justify-content: start;
}

.ammo-count {
    text-align: right;
    min-width: 4ch; 
}

.ammo-image img {
    display: block;
    height: auto;
    max-height: 32px;
}
/* display AMMO END */
/* archievement list index */
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
}

.achievement-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    background: #f9f9f9;
    flex: 0 0 auto;
    color: #000;
}

.achievement-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.achievement-icon {
    padding: 8px;
    border-radius: 10px;
    cursor: help;
    color: #000;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}


.achievement-text {
    font-size: 0.9em;
    color: #000;                   /* ✅ Texte en noir */
}

/* archievement list index END */
/* Style pour le petit warning */
.ammo-warning {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #f39c12; /* couleur orange proche de celle du site */
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
    border-radius: 50%;
    margin-left: 5px;
    cursor: help; /* change le curseur pour indiquer un tooltip */
    font-size: 12px;
    vertical-align: middle; /* aligne avec le texte/compteur */
}

.ammo-warning:hover {
    background-color: #e67e22; /* légèrement plus foncé au survol */
}