/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html[data-theme="dark"] {
	--html--background-color: #070a12;
	--html--background-image: linear-gradient(180deg,
			#0b1020 0%,
			#070a12 60%,
			#05070d 100%);
	--footer-background-color: linear-gradient(to bottom, #111827 0, #222 100%);
	--footer-color-hover: #2563eb;
	--footer-color-text: #fff;
	--navbar-background-color: linear-gradient(to bottom, #111827 0, #222 100%);
	--navbar-icon-color: linear-gradient(90deg,
			#60A5FA,
			#2563EB);
	--navbar-icon-color-hover: #2563EB;
	--navbar-box-shadow: none;
	--navbar-active-box-shadow: inset 0 4px 100px rgba(12, 43, 197, 0.234);
	--dropdown-menu-background-color: linear-gradient(to bottom, #111827 0, #222 100%);
	--dropdown-menu-color-hover: rgba(37, 99, 235, 0.20);
	--dropdown-menu-color-text: #fff;
	--index-submenu-background-color: #2C2C2C;
	--credits-color: #fff;
	--trophee-datepicker-background: radial-gradient(800px 600px at 15% 10%,
			rgba(37, 99, 235, 0.666),
			transparent 60%),
		radial-gradient(700px 500px at 85% 20%,
			rgba(90, 120, 255, 0.766),
			transparent 55%),
		radial-gradient(900px 650px at 50% 110%,
			rgba(29, 26, 241, 0.9),
			transparent 60%);
	--sortable-caret-color: #2563eb;
	--home-icon-color: #2563eb;
	--divider-color: #fff;
	--color-header-foot: #fff;
	--news-title-color: #142f95;
	--bodycolor: #fff;
	--striped-odd: #f6f8fb;
	--striped-even: #ffffff;
	--striped-text: #1f2937;
	--striped-border: rgba(0, 0, 0, .06);
	--striped-hover: rgba(255, 255, 255, .9);
	--hover-foot: rgba(37, 99, 235, 0.20);

	--btn-back-background: rgba(255, 255, 255, 0.12);
	--btn-back-background-hover: rgba(255, 255, 255, 0.22);

	--fir-btn-border-color: #9d9d9dff;
}

html[data-theme="light"] {
	--html--background-color: #f5f7fb;
	--html--background-image: linear-gradient(180deg,
			#f8faff 0%,
			#f3f6fc 55%,
			#eef2f9 100%);
	--footer-background-color: linear-gradient(to bottom, #f3f4f6 0%, #e7e9ee 100%);
	--footer-color-hover: #000;
	--bodycolor: #000;
	--navbar-background-color: linear-gradient(to bottom, #f3f4f6 0%, #e7e9ee 100%);
	--navbar-icon-color: linear-gradient(90deg,
			#c7c7c7,
			#111111);
	--navbar-icon-color-hover: #292a2d;
	--navbar-box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, .35);
	--navbar-active-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
	--index-submenu-background-color: #b3b3b3;
	--dropdown-menu-background-color: linear-gradient(to bottom, #f3f4f6 0%, #e7e9ee 100%);
	--dropdown-menu-color-hover: rgba(162, 163, 165, 0.28);
	--dropdown-menu-color-text: #000;
	--credits-color: #000;
	--trophee-datepicker-background:
		linear-gradient(180deg, #0c1020 0%, #070a12 100%),
		linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 40%),
		radial-gradient(900px 700px at 20% 0%, rgba(120, 160, 255, .55), transparent 65%),
		radial-gradient(800px 600px at 80% 20%, rgba(90, 120, 255, .50), transparent 60%),
		radial-gradient(900px 650px at 50% 110%, rgba(60, 70, 255, .70), transparent 65%);
	--sortable-caret-color: #000;
	--home-icon-color: #292a2d;
	--divider-color: rgba(162, 163, 165, 0.9);
	--color-header-foot: #292a2d;
	--news-title-color: #292a2d;
	--striped-odd: #f6f8fb;
	--striped-even: #ffffff;
	--striped-text: #1f2937;
	--striped-border: rgba(0, 0, 0, .06);
	--striped-hover: rgba(0, 0, 0, .06);
	--hover-foot: rgba(37, 99, 235, 0.20);

	--btn-back-background: rgba(0, 0, 0, 0.12);
	--btn-back-background-hover: rgba(0, 0, 0, 0.22);

	--fir-btn-border-color: #949494ff;
}

html {
	min-height: 100%;
	background: none !important;
}

/* Couche de fond principale FIXE (anti-couture) */
html::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -3;
	pointer-events: none;

	background-color: var(--html--background-color);
	background-image: var(--html--background-image);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}

.hole-num {
	font-weight: 600;
	font-size: 12px;
	color: var(--dropdown-menu-color-text);
}

body {
	min-height: 100vh;

	/* Le fond est géré par html::before (fix anti-couture) */
	background: transparent !important;

	margin: 0;
	font-weight: 400;
	overflow-x: hidden;

	display: flex;
	flex-direction: column;
	position: relative;

	color: var(--bodycolor);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Oxygen, Ubuntu, Cantarell,
		"Helvetica Neue", Arial, sans-serif;
}

/* 3) HALOS LUMINEUX */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -2;
	background: radial-gradient(800px 600px at 15% 10%,
			rgba(90, 140, 255, 0.22),
			transparent 60%),
		radial-gradient(700px 500px at 85% 20%,
			rgba(255, 90, 150, 0.14),
			transparent 55%),
		radial-gradient(900px 650px at 50% 110%,
			rgba(0, 210, 255, 0.10),
			transparent 60%);

	transform: translateZ(0);
	/* réduit certains artefacts de rendu */
}

/* 4) GRAIN SUBTIL (VISIBLE, SANS REPEAT) */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;

	opacity: 0.18;
	/* ajuste entre 0.18 et 0.35 */

	transform: translateZ(0);
	/* réduit certains artefacts de rendu */
}

/* 5) CONTENU AU-DESSUS DU BACKGROUND */
body>* {
	position: relative;
	z-index: 1;
}


/* 6) SÉCURITÉ : sections transparentes */
#main_head_title,
#wrapper_all,
#socials,
#footer {
	background: transparent;
}

/* =========================
  FORMULAIRE LOGIN
========================= */

.material-input-container {
	margin-top: 20px;
	text-align: left;
}

.material-label {
	color: #ffffff;
	/* Adapté à ton fond noir */
	font-size: 0.9rem;
	margin-bottom: 8px;
	display: block;
}

.material-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	/* La ligne de ton image */
	background: rgba(255, 255, 255, 0.05);
	/* Léger fond pour voir la zone */
}

.material-input {
	padding: 10px 40px 10px 10px !important;
	/* Espace à droite pour l'icône */
	margin: 0 !important;
	flex: 1;
}

.help-block {
	color: var(--color-header-foot);
}

.password-toggle-btn {
	position: absolute;
	right: 5px;
	border: none !important;
	color: #000000 !important;
	cursor: pointer;
	padding: 5px;
	z-index: 10;
	display: flex;
	align-items: center;
	background-color: transparent;
}

.password-toggle-btn:focus {
	outline: none;
}


/* =========================
   ACCESSIBILITÉ / CONFORT
========================= */
@media (prefers-reduced-motion: reduce) {

	body::before,
	body::after {
		animation: none;
	}
}

.row {
	place-items: center;
	margin-right: 0px !important;
	margin-left: 0px !important;
}

video {
	object-fit: cover;
	/*to cover all the box*/
}

table {
	color: inherit !important;
}

/** =================================
 * 
 *  VIDEO
 * ================================= */

.header-title-inline {
	display: flex;
	align-items: center;
	justify-content: center;
	/* centre l’ensemble */
	gap: 10px;
	height: 56px;
}

.header-title-inline h1 {
	margin: 0;
	color: var(--bodycolor);
	font-weight: 600;
	line-height: 1;
}

.btn-back {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: var(--btn-back-background);
	color: var(--bodycolor);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-right: 10px;

}

.btn-back:hover {
	background: var(--btn-back-background-hover);
}

.btn-back:active {
	transform: scale(0.95);
}

.video-margin-top {
	margin-top: 20px;
}

@media (max-width: 768px) {
	.video-margin-top {
		margin-top: 0px;
	}

	.video-mobile-margin-top {
		margin-top: 20px;
	}
}

.video-date {
	font-size: 10px;
	position: absolute;
	bottom: 3px;
	left: 18px;
	background-color: rgba(0, 0, 0, 0.2);
	color: white;
	padding: 5px;
	z-index: 99;
}

/* ==========================================================================
   Colors & Positions
   ========================================================================== */

hr {
	border-top: 1px solid var(--divider-color) !important;
	margin-left: 10%;
	margin-right: 10%;
}

.left {
	text-align: left !important;
	padding-left: 3px;
}

.white {
	background-color: #fff;
	color: #000;
}

.white_text {
	color: #fff;
}

.yellow {
	background-color: #FEDA10 !important;
	color: #000;
}

.yellow:nth-child(even) {
	background-color: #ffec1c !important;
}

.yellow_text {
	color: #FEDA10 !important;
}

.black {
	background-color: #000 !important;
	color: #fff !important;
}

.black:nth-child(even) {
	background-color: #2d2c2e !important;
}

.black_text {
	color: #fff;
}

.foot-result-victory {
	background-color: #2FCC71;
}

.foot-result-draw {
	background-color: #3598DC;
}

.foot-result-loss {
	background-color: #E84C3D;
}

.my_team {
	background-color: var(--navbar-icon-color-hover);
	color: #fff !important;
	font-weight: bold;
	transition: background-color .2s ease;
}

.foot-points {
	color: #000 !important;
	font-weight: bold;
	background-color: #ECF0F1;
}

.not_my_team_odd {
	background-color: var(--striped-odd);
	color: var(--striped-text);
	transition: background-color .2s ease;
}

.not_my_team_even {
	background-color: var(--striped-even);
	color: var(--striped-text);
	transition: background-color .2s ease;
}

.not_my_team_even:hover,
.my_team:hover,
.not_my_team_odd:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.my_team:hover,
.foot-points:hover {
	background-color: var(--hover-foot);
}

.credits {
	color: var(--credits-color);
}

#foot_results-scores {
	color: white !important;
}

/* =========================================================
   NAVBAR (Bootstrap 3) — CLEAN + CENTRAGE + HOME + THEME TOGGLE
   ========================================================= */

/* Base */
.navbar {
	border: 0;
	z-index: 500;
	font-size: 16px;
}

.divider {
	background-color: var(--divider-color) !important;
}

.navbar-inverse,
.navbar-collapse {
	background: var(--navbar-background-color) !important;
	border: 0px !important;
	box-shadow: var(--navbar-box-shadow) !important;
}

/* Liens */
.navbar-inverse .navbar-nav>li>a {
	color: var(--dropdown-menu-color-text);
	font-weight: 500;
	letter-spacing: .2px;
	padding: 16px 16px;
	background: transparent !important;
	text-shadow: none !important;
}

.navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-nav>li>a:focus {
	color: var(--dropdown-menu-color-text);
	background: rgba(255, 255, 255, .06) !important;
}

/* Actif = underline */
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
	color: var(--dropdown-menu-color-text);
	background: transparent !important;
	box-shadow: var(--navbar-active-box-shadow) !important;
	position: relative;
}

/* Dropdown */
.dropdown-menu {
	font-size: 15px;
	background: var(--dropdown-menu-background-color);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 14px;
	padding: 8px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

.dropdown-menu>li>a {
	color: var(--dropdown-menu-color-text) !important;
	border-radius: 10px;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
	color: var(--dropdown-menu-color-text);
	background: var(--dropdown-menu-color-hover);
}

.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
	color: var(--dropdown-menu-color-text);
	background: var(--dropdown-menu-color-hover);
}

/* ---- Structure: le repère pour les éléments overlay ---- */
.navbar .container-fluid {
	position: relative;
	padding: 0px !important;
	/* repère pour home/toggle/burger en absolute */
}

.submenu-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* base */
.dropdown-toggle svg path {
	stroke: var(--dropdown-menu-color-text) !important;
}

.dropdown>a.submenu-toggle .chevron,
.dropdown-submenu>a.submenu-toggle .chevron {
	transition: transform .25s ease;
}

/* rotation quand le <li> est ouvert */
.dropdown.open>a.submenu-toggle .chevron,
.dropdown-submenu.open>a.submenu-toggle .chevron {
	transform: rotate(90deg);
}

/* ---- CENTRAGE du menu DESKTOP (BS3 clean) ---- */
@media (min-width: 768px) {
	.navbar .navbar-collapse {
		text-align: center;
	}

	.navbar .navbar-nav {
		display: inline-block;
		float: none;
		vertical-align: top;
	}
}

/* ---- Burger (mobile) : style + position ---- */
.navbar-inverse .navbar-toggle {
	border: 0;
	border-radius: 14px;
	padding: 10px;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus,
.navbar-home:hover,
.navbar-home:focus {
	background: rgba(255, 255, 255, .10);
	text-decoration: none !important;
}

/* En mobile, on le met en overlay à droite pour ne pas impacter le centrage */
@media (max-width: 767px) {
	.navbar .navbar-toggle {
		position: absolute;
		right: 10px;
		top: 8px;
		margin: 0;
		z-index: 6;
	}
}

/* Animation croix */
.navbar-toggle .icon-bar {
	width: 22px;
	height: 2px;
	border-radius: 2px;
	transition: transform .15s cubic-bezier(.4, 0, .2, 1), opacity .25s ease;
	background: var(--navbar-icon-color) !important;
	border-radius: 999px;
}

.navbar-toggle .icon-bar+.icon-bar {
	margin-top: 5px;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(1) {
	transform: translateY(7px) rotate(45deg);
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(2) {
	opacity: 0;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---- HOME (mobile) ---- */
@media (max-width: 767px) {

	.navbar .navbar-collapse {
		margin-left: 10px;
		margin-right: 10px;
		border-radius: 18px;
		box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
	}

	/* Optionnel : le menu déroulant un peu décollé aussi */
	.navbar .dropdown-menu {
		margin-left: 6px;
		margin-right: 6px;
	}

	.navbar-home {
		position: absolute;
		left: 12px;
		top: 5px;
		z-index: 6;

		width: 40px;
		height: 40px;

		display: inline-flex !important;
		align-items: center;
		justify-content: center;

	}

	.navbar-home i {
		line-height: 1;
		font-size: 22px !important;
		color: var(--home-icon-color);
	}

	.navbar-home:hover i {
		color: var(--navbar-icon-color-hover);
	}

	.navbar-home:hover,
	.navbar-home:focus {
		background: rgba(162, 163, 165, 0.28);
	}
}

/* ---- THEME TOGGLE (overlay, n'impacte PAS le centrage) ---- */
.theme-toggle-btn.navbar-btn {
	position: absolute;
	top: 0;
	right: 10px;
	/* desktop */
	height: 50px;
	margin: 0;
	padding: 0 10px;

	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	white-space: nowrap;

	background: transparent;
	border: 0;
	color: #fff;
	z-index: 5;
}

/* En mobile: on décale le toggle pour laisser la place au burger à droite */
@media (max-width: 767px) {
	.theme-toggle-btn.navbar-btn {
		right: 58px;
		/* réserve burger */
	}
}

/* Switch iOS */
.theme-toggle-btn .toggle-track {
	width: 42px;
	height: 24px;
	background: var(--navbar-icon-color) !important;
	border-radius: 12px;
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
}

.theme-toggle-btn .toggle-thumb {
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	position: absolute;
	top: 2px;
	left: 2px;
	transition: transform .25s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.theme-toggle-btn .toggle-label {
	margin-left: 10px;
	font-size: 13px;
	line-height: 1;
	display: inline-block;
	flex: 0 0 auto;
}

.toggle-label {
	color: var(--dropdown-menu-color-text);
}

/* Etat dark */
html[data-theme="dark"] .theme-toggle-btn .toggle-track {
	background: var(--navbar-icon-color) !important;
}

html[data-theme="dark"] .theme-toggle-btn .toggle-thumb {
	transform: translateX(18px);
}

/* Option : masquer le texte en mobile si tu veux alléger */
@media (max-width: 767px) {
	.theme-toggle-btn .toggle-label {
		display: none;
	}
}

.navbar-home.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: scale(.9);
	transition: opacity .35s ease, transform .35s ease;
}

.theme-toggle-btn.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: scale(.96);
	transition: opacity .35s ease, transform .35s ease;
}

/* --- FIX position navbar-collapse mobile --- */
@media (max-width: 767px) {
	.navbar .navbar-collapse {
		margin-top: 50px;
		/* hauteur exacte de ta navbar */
	}
}


/* ==========================================================================
  DATE PICKER
   ========================================================================== */

.datepicker {
	background-color: white;
}

td.today {
	background-color: #3498DB;
}


/* ================================================================ */
/* ====================== INDEX / HERO ============================ */
/* ================================================================ */

/* Wrapper global */
#main_head_title {
	margin: 0;
	padding: 0;
	background: transparent;
}

#main_head_title .container {
	padding: 0;
}

#main_head_title .jumbotron {
	margin: 0;
	padding: 0;
	background-color: transparent;
}

/* Image de fond */
.max_background {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	width: 100%;
}

/* Hero principal */
#main_head_title .mcgolf_jumbotron {
	position: relative;

	display: flex;
	align-items: center;
	/* centre vertical */
	justify-content: center;
	/* centre horizontal */

	min-height: 280px;
	padding: 40px 20px;

	text-align: center;
	margin-top: 50px;
}

#main_head_title .mcgolf_jumbotron_inner {
	max-width: 600px;
	width: 100%;
	margin: 0 auto;
}

#main_head_title .mcgolf_jumbotron::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg,
			rgba(0, 0, 0, 0.42) 0%,
			rgba(0, 0, 0, 0.24) 45%,
			rgba(0, 0, 0, 0.50) 100%);
	pointer-events: none;
}

#main_head_title .right_block_title {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #fff;
	background: none;
	backdrop-filter: none;
	border: 0;
	border-radius: 0;
}

#main_head_title .mcgolf_jumbotron_inner {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 40px;
	border-radius: 20px;
	background: rgba(15, 23, 42, 0.30);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.20);
}

#main_head_title .mcgolf_title {
	margin: 0;
	font-size: 42px;
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.40);
}

/* Badge utilisateur */
#main_head_title .mcgolf_badge {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, #1f5f3a 0%, #2e7d4f 100%);
	box-shadow:
		0 6px 18px rgba(0, 0, 0, 0.25),
		inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	transition: transform .2s ease, box-shadow .2s ease;
}

#main_head_title .mcgolf_badge:hover {
	transform: translateY(-1px);
	box-shadow:
		0 10px 25px rgba(0, 0, 0, 0.35),
		inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

#main_head_title .mcgolf_badge_label {
	padding: 6px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, #d4af37, #f6e27a);
	color: #1f3d2b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow:
		0 2px 6px rgba(0, 0, 0, 0.20),
		inset 0 0 2px rgba(255, 255, 255, 0.50);
}

#main_head_title .mcgolf_badge_name {
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.3px;
}

/* Badge Bonne Année */
.badge-2026 {
	position: absolute;
	width: clamp(90px, 12vw, 150px);
	height: auto;
	transform: rotate(-12deg);
	z-index: 10;
	filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
	pointer-events: none;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
}

@media (min-width: 1200px) {
	.badge-2026 {
		top: 20px;
		left: 20% !important;
	}
}

@media (min-width: 1800px) {
	.badge-2026 {
		top: 20px;
		left: 30% !important;
	}
}

@media (min-aspect-ratio: 21/9) and (min-width: 2560px) {
	.badge-2026 {
		top: 20px;
		left: 35% !important;
	}
}

@keyframes pop {
	from {
		transform: scale(0.8) rotate(-12deg);
		opacity: 0;
	}

	to {
		transform: scale(1) rotate(-12deg);
		opacity: 1;
	}
}

@media (max-width: 768px) {
	#main_head_title .mcgolf_jumbotron {
		min-height: 220px;
		padding: 56px 12px;
	}

	#main_head_title .mcgolf_jumbotron_inner {
		max-width: 400px;
		padding: 40px;
		gap: 12px;
		border-radius: 18px;
	}

	#main_head_title .mcgolf_title {
		font-size: 40px;
	}

	#main_head_title .mcgolf_badge {
		gap: 8px;
		padding: 6px 12px 6px 8px;
	}

	#main_head_title .mcgolf_badge_label,
	#main_head_title .mcgolf_badge_name {
		font-size: 13px;
	}

	.badge-2026 {
		top: 12px;
		left: 12px;
		width: 90px;
		transform: rotate(-10deg);
	}
}

/* ======= INDEX ========== */

#index .container,
#statistics .container {
	margin: 0px;
	padding: 0px;
}

.index_accueil {
	font-size: 6.5rem;
	font-weight: 600;
}

.button-golf:hover {
	cursor: pointer;
}

.welcome {
	text-align: justify;
	font-size: 15px;
	padding: 10px;
}

/* ====================== NEWS ======================== */

.panel {
	font-weight: 400;
	border: 0px;
	color: #000;
	background-color: #FFFFFF;
}

.panel .pagination>li>a {
	color: #2C2C2C;
}

.panel-body {
	padding: 0px;
	color: #000;
	background-color: #FFFFFF;
}

.panel-body a {
	color: var(--news-title-color);
	font-weight: 500;
}

.panel-heading,
.panel-footer {
	background: var(--navbar-background-color) !important;
	color: var(--dropdown-menu-color-text) !important;
	font-size: 18px;
	border: 0px;
	text-align: center;
	font-weight: bold;
	border-radius: 0px !important;
}

.pagination a {
	color: #555;
}

.panel .pagination>li>a {
	color: #2C2C2C;
}


.panel ul {
	padding: 5px 0px;
	margin: 0px;
	list-style: none;
	cursor: pointer;
}

.news-item {
	margin: 0px;
	border-bottom: 1px dotted #555;
	font-size: 15px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
	background-color: #FFFFFF;
}

.news-item:hover {
	background-color: #F1F5F9;
	/* gris bleuté clair */
	box-shadow: inset 3px 0 0 #60A5FA;
	/* accent bleu discret */
}

.news-item a {
	font-size: 16px;
}

.pagination {
	padding: 0px !important;
}

.pagination>li>a {
	float: none;

}

.glyphicon {
	margin-right: 4px !important;
	/*override*/
}

.pagination .glyphicon {
	margin-right: 0px !important;
	/*override*/
}

.foot-ranking-header,
.foot-results-header,
#rounds .table_header,
.accordion-title,
.stats-heading {
	text-align: center;
	padding: 8px 0px 7px 0px;
	border-radius: 0px;
	font-size: 16px !important;
	background: var(--index-submenu-background-color) !important;
}

.foot-ranking-header,
.foot-results-header,
#rounds .table_header {
	background: var(--navbar-background-color) !important;
	border-bottom: 1px solid var(--divider-color);
}

.stats-heading {
	color: #fff !important;
}

@media (min-width: 1025px) {
	.flex_row {
		display: flex;
		align-items: stretch;
	}

	#news_column {
		display: flex;
	}

	#news_column>.panel {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	#news_column .panel-body {
		flex: 1;
	}

	.demo1 {
		height: auto !important;
	}

	.panel-border-bottom {
		border-bottom: 2px solid var(--navbar-background-color);
	}
}

/* ============== SOCIALS ============== */
#socials {
	position: relative;
	display: block;
}

.socials_icon {
	text-align: center;
	padding: 10px 0px 30px 0px;
}

#socials img {
	width: 50px;
	height: auto;
	opacity: 0.8;
}

#socials img:hover {
	opacity: 1;
}

/* ================================================================ */
/* ====================== STATISTICS PAGE ========================= */
/* ================================================================ */

#rounds {
	padding-top: 0px;
	padding-bottom: 15px;
}

#rounds .container {
	width: 95%;
	padding-right: 0px !important;
	padding-left: 0px !important;
	margin-top: 10px !important;
}

#rounds .table_header {
	font-size: 16px;
	font-weight: 500;
}

#rounds p {
	padding: 7px 0px;
	margin: 0px;
	font-size: 13px;
	text-align: center;
}

.table_header p {
	font-size: 16px !important;
}

.teebox {
	margin-top: 20px;
}

.teebox_border {
	font-weight: 700;
	border: 2px solid black;
}

.row-striped {
	display: flex;
	align-items: center;
	transition: background-color .2s ease;
}

.row-striped p {
	font-size: 13px !important;
}

.row-striped:nth-of-type(odd) {
	background-color: var(--striped-odd);
	color: var(--striped-text);
}

.row-striped:nth-of-type(even) {
	background-color: var(--striped-even);
	color: var(--striped-text);
}

.row-striped:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

/* ============== CHARTS ============== */

.amchart {
	width: 100%;
	height: 500px;
	background-color: #222222;
}

.panel-average-heading {
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 10px;
	background-color: var(--navbar-background-color) !important;
	color: var(--navbar-text-color) !important;
}

.panel-average-heading-color {
	color: #fff !important;
}

.panel-average {
	min-height: 50px;
	line-height: 50px;
	text-align: center;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 2rem;
}

.statistics>div {
	box-shadow: 0 30px 100px rgba(0, 0, 0, .22);
}

#average_green .panel-average-heading {
	background-color: rgb(0, 201, 49, 0.5) !important;
}

#average_fairway .panel-average-heading {
	background-color: rgb(222, 76, 79, 0.5) !important;
}

#average_putting .panel-average-heading {
	background-color: rgb(250, 197, 28, 0.5) !important;
}

@media (max-width: 767px) {
	.statistics>div {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}

	.panel-average-heading {
		min-height: 65px !important;
	}
}


/* =================================================================== */
/* ====================== TROPHEE CAZOR PAGE ========================= */
/* =================================================================== */

#tropheecazor {
	padding-top: 80px;
	padding-bottom: 15px;
	min-height: 680px;
}

#tropheecazor .date-selector:hover,
#wintercup .date-selector:hover {
	cursor: pointer;
	color: white !important;
	background: var(--trophee-datepicker-background);
}

.date-selector {
	padding: 5px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid rgba(52, 73, 128, 0.1) !important;
}

.date-selector.active {
	background: var(--trophee-datepicker-background);
	color: white !important;
}

#tropheecazor .container {
	width: 95% !important;
}

.resultat-trophy {
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.trophy_winner_background {
	background: linear-gradient(90deg,
			#facc15 0%,
			#fde047 50%,
			#facc15 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
		inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}


/* =================================================================== */
/* ====================== WINTER CUP PAGE ========================= */
/* =================================================================== */

#wintercup {
	padding-top: 80px;
	padding-bottom: 15px;
	min-height: 680px;
}

#wintercup .date-selector:hover {
	cursor: pointer;
	color: white;
}

#wintercup .container {
	width: 95% !important;
}


/* ======================= */

/* =======================
	FOOTER
	====================*/

#footer,
#footer_foot {
	text-align: center;
	padding: 10px;
	background-color: var(--footer-background-color) !important;
	background-image: var(--footer-background-color) !important;
	color: var(--footer-color-text) !important;
}


#footer p,
#footer_foot p {
	padding: 0px;
	margin: 0px;
	display: inline-block;
	transition: color .2s ease, transform .2s ease, opacity .2s ease;
	color: var(--footer-color-text) !important;

}

#footer p:hover,
#footer_foot p:hover {
	color: var(--footer-color-hover);
	transform: translateY(-1px);
	cursor: pointer;
}

.credits {
	text-align: right;
	font-size: 10px;
	font-style: italic;
	padding-bottom: 15px;
}

/* =======================
	END FOOTER
	====================*/

.div-accueil {
	text-align: center;
	padding: 0px 10px;
}

.item_count {
	min-width: 18px;
	height: 18px;
	padding: 0 5px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	font-size: 10px;
	font-weight: 600;
	line-height: 1;

	color: #fff;
	background: linear-gradient(135deg, #ff4d4f, #ff1f1f);

	border-radius: 999px;

	position: absolute;
	bottom: 8%;
	right: 6%;

	pointer-events: none;
}

.results-image,
.statistics-image,
.results-image-orange,
.statistics-image-orange {
	width: 75%;
	height: auto;
	border-radius: 25px;
	margin: 12.5%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.results-image:hover,
.statistics-image:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(52, 152, 219, 0.5);
}

.results-image-orange:hover,
.statistics-image-orange:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(255, 87, 51, 0.5);
}

.handicap {
	line-height: 75%;
	text-align: center;
	width: 100%;
	padding: 20% 25%;
	margin: 12.5% auto;
	height: auto;
	font-size: 5.5rem;
	color: #000;
	font-weight: bold;
}

.news-image {
	padding: 10px;
	width: 85px;
	height: auto;
	border-radius: 25px;
}

/* =====================
PORTFOLIO
=======================*/

.grid-loadMore {
	background: var(--trophee-datepicker-background);
}

.category-navbar li.select a {
	background: var(--trophee-datepicker-background);
	color: #fff
}

.category-navbar li.cat-toggle a {
	cursor: pointer;
	font-weight: 600;
	color: var(--navbar-icon-color-hover) !important;
}

/* ================================================
	FOOT
===================================================*/

#holder {
	flex: 1 0 auto;
}

.foot-ranking-container,
.foot-results-container {
	margin-top: 80px;
	margin-bottom: 30px;
	width: 95%;
}

.foot-ranking-header,
.foot-results-header {
	font-size: 15px;
	font-weight: bold;
	padding: 10px 2px;
	text-align: center;
}

.foot-ranking-container p,
.foot-results-container p {
	padding: 15px 5px;
	text-align: center;
	font-size: 14px;
	margin: 0px;
}

.foot-ranking-championship,
.foot-results-championship {
	font-size: 30px;
	text-align: center;
	font-weight: bold;
	padding: 10px 0px 20px 0px;
}

.color-header-foot {
	color: var(--color-header-foot);
}

.header-caption-foot-photo {
	font-size: 16px;
	font-weight: bold;
}

.sortable {
	cursor: pointer;
}

.sortable-caret-up {
	color: var(--sortable-caret-color);
	border-top: 4px solid !important;
	border-bottom: 0px solid !important;
}

.sortable-caret-down {
	color: var(--sortable-caret-color);
	border-bottom: 4px solid !important;
	border-top: 0px solid !important;
}

#footer_foot {
	flex-shrink: 0;
	color: #fff;
	padding: 15px 0;
	text-align: center;
}


/* ==========================================================================
   Layout 5 Colonnes responsive
   ========================================================================== */

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
	position: relative;
	min-height: 1px;
	padding: 0px;
	width: 20%;
	float: left;
}

/* ==========================================================================
   ========================================================================== */

@font-face {
	font-family: Raleway;
	src: url('../fonts/Raleway-Regular.ttf');
}

/* ================== RESPONSIVE ==================== */


@media (min-aspect-ratio: 21/9) and (min-width: 2560px) {

	#wrapper_all .container,
	#rounds .container,
	#tropheecazor .container,
	#wintercup .container,
	.foot-ranking-container,
	.foot-results-container {
		width: 70% !important;
	}

	#main_head_title {
		margin-bottom: 30px;
	}

	#stats_column {
		display: flex;
		flex-direction: column;
		justify-content: center;
		height: 100%;
	}

	.container_index_stats {
		width: 100%;
		height: 100%;
	}

	#tropheecazor::after {
		content: "";
		display: block;
		clear: both;
	}

	.winner_photo {
		min-height: 900px !important;
		width: 100%;
	}

}

@media (min-width: 800px) {
	#wrapper_all .container {
		width: 90%;
	}

	.fixed-height-footer {
		height: 40px !important;
	}

	.icon_button_social {
		opacity: 0.9;
	}

	.icon_button_social:hover {
		opacity: 1;
	}

	.winner_photo {
		min-height: 700px;
		width: 100%;
	}

}

@media (max-width: 1450px) {
	.welcome {
		font-size: 14px;
		padding: 15px;
	}

	#rounds .container {
		width: 98%;
	}

	#rounds .table_header {
		font-size: 14px;
	}

	.about_me_image {
		height: 150px;
		width: 150px;
	}

	.foot-ranking-container p,
	.foot-results-container p {
		padding: 10px 4px;
		font-size: 14px;
	}

	.news-image {
		width: 85px;
	}

	.item_count {
		left: 75%;
	}

	.handicap {
		font-size: 3.6rem;
	}
}

@media (max-width: 1300px) {
	.div-accueil {
		text-align: center;
		padding: 10px 10px;
	}

	.stats- {
		font-size: 16px;
	}

	.foot-ranking-container p,
	.foot-results-container p {
		padding: 10px 2px;
		font-size: 13px;
	}

	.panel-body {
		color: black !important;
	}
}

@media (max-width: 1200px) {
	.stats-heading {
		font-size: 16px;
	}

	.winner_photo {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}

@media (max-width: 1000px) {
	.handicap {
		font-size: 4rem !important;
	}

	.margin-top-media-small {
		padding-top: 12px;
	}

	.welcome {
		font-size: 17px;
		padding: 10px;
	}

	.about_me_image {
		height: 180px;
		width: 180px;
		padding-top: 5px;
	}

	.item_count {
		left: 83%;
		bottom: 8%;
	}

	.small_police {
		font-size: 12px !important;
	}

	.panel-body {
		color: black !important;
	}
}

@media (max-width: 768px) {

	#panel_news {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}


	.credits {
		text-align: center;
	}

	.handicap {
		font-size: 3rem;
	}

	.welcome {
		font-size: 14px;
		padding: 10px;
	}

	#rounds .table_header {
		font-size: 14px;
		text-align: center;
		padding-top: 5px;
	}

	.stats- {
		font-size: 16px;
	}

	.about_me_image {
		width: 100px !important;
		height: 100px !important;
	}

	.teebox-header {
		text-align: center;
	}

	.amchart {
		height: 400px;
	}

	.jumbotron {
		margin-bottom: 15px;
	}

	.news-item {
		padding: 5px;
		font-size: 14px;
	}

	#socials {
		margin-top: 10px;
		margin-bottom: 10px;
	}

	#rounds p {
		text-align: center;
	}

	.div-accueil {
		text-align: center;
		padding: 10px 10px;
	}

	.winner_photo {
		height: 350px;
		width: 100%;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.small_police {
		font-size: 12px !important;
	}

	.panel-body {
		color: black !important;
	}

	/* =========FOOT===========================
====================================*/

	.foot-ranking-championship,
	.foot-results-championship {
		font-size: 24px;
		text-align: center;
		font-weight: bold;
		padding: 10px 0px 20px 0px;
	}

	.foot-ranking-container p {
		padding: 10px 5px;
		font-size: 14px;
	}

	.foot-results-container p {
		padding: 10px 2.5px;
		font-size: 14px;
	}


	.no-padding {
		padding: 0px;
	}

	#wrapper_all .container,
	#tropheecazor .container,
	#wintercup .container,
	.foot-ranking-container,
	.foot-results-container {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
}

@media (max-width: 500px) {

	.foot-ranking-championship,
	.foot-results-championship {
		font-size: 18px;
	}

	.foot-results-header {
		font-size: 15px;
		padding: 10px 5px;
	}

	.foot-results-container p {
		padding: 10px 2.5px;
		font-size: 13px;
	}

	.handicap {
		font-size: 3.5rem;
	}

	.item_count {
		left: 75%;
		bottom: 5%;
	}

	.news-image {
		width: 70px;
	}

	.margintopmin {
		margin-top: 15px;
	}

}

.small_police {
	color: white !important;
}

/* =====================================================================
   STICKY FOOTER (GLOBAL)
   - Footer en bas si contenu court, après le contenu si page longue.
   ===================================================================== */


/* Conteneur principal (quand présent) */
#holder {
	flex: 1 0 auto;
}

/* Pages sans #holder : on étire la zone principale */
#wrapper_all,
#tropheecazor,
#wintercup,
#grid,
.foot-ranking-container,
.foot-results-container {
	flex: 1 0 auto;
}

/* Footer toujours en bas */
#footer,
#footer_foot {
	margin-top: auto;
	flex-shrink: 0;
}

/* Espace fiable sous la jumbotron */
#main_head_title {
	padding-bottom: 30px;
}

#main_head_title .jumbotron {
	margin-bottom: 0;
}

/****************
AI PAGE 
*****************/

.ai-container {
	max-width: 1100px;
	margin: 20px auto;
	padding: 20px;
	color: black;
}

.ai-header {
	margin-bottom: 15px;
}

.ai-header h1 {
	margin: 0;
	font-size: 22px;
	color: var(--footer-color-text);
	text-align: center;
}

.ai-header p {
	margin: 3px 0 0;
	font-size: 13px;
	color: #6b7280;
}

.chat-card {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	display: flex;
	flex-direction: column;
	height: 520px;
	/* ajustable selon ton design */
	overflow: hidden;
}

/* Zone de messages */
#chat {
	flex: 1;
	padding: 16px;
	overflow-y: auto;
	background: #f9fafb;
}

.msg-user,
.msg-ai {
	margin: 8px 0;
	display: flex;
}

.msg-user {
	justify-content: flex-end;
}

.msg-ai {
	justify-content: flex-start;
}

.msg-user span,
.msg-ai span {
	display: inline-block;
	padding: 10px 12px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.5;
	max-width: 75%;
	word-wrap: break-word;
	white-space: pre-wrap;
}

.msg-user span {
	background: #dbeafe;
	color: #1e3a8a;
	border-bottom-right-radius: 4px;
}

.msg-ai span {
	background: #ecfdf3;
	color: #065f46;
	border-bottom-left-radius: 4px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Markdown basique à l’intérieur des messages IA */
.msg-ai span h1,
.msg-ai span h2,
.msg-ai span h3 {
	margin: 0 0 6px;
	font-size: 15px;
}

.msg-ai span ul {
	padding-left: 18px;
	margin: 4px 0 4px;
}

.msg-ai span li {
	margin: 2px 0;
}

.msg-ai span p {
	margin: 4px 0;
}

/* Barre d’entrée */
.chat-input {
	padding: 10px 12px;
	border-top: 1px solid #e5e7eb;
	background: #ffffff;
	display: flex;
	align-items: center;
	gap: 8px;
}

#question {
	flex: 1;
	padding: 8px 10px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	font-size: 14px;
	outline: none;
}

#question:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

#send_ia {
	border: none;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 14px;
	cursor: pointer;
	background: #2563eb;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

#send_ia:disabled {
	opacity: 0.6;
	cursor: default;
}

#send_ia span.icon {
	font-size: 16px;
	line-height: 1;
}

/* Bulle "l'IA écrit..." */
.typing {
	font-size: 12px;
	color: #6b7280;
	margin-left: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.typing-dots span {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: #9ca3af;
	animation: blink 1.4s infinite both;
}

.typing-dots span:nth-child(2) {
	animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes blink {

	0%,
	80%,
	100% {
		opacity: 0.2;
	}

	40% {
		opacity: 1;
	}
}

#send_ia:hover {
	background-color: #1d4ed8;
	/* bleu un peu plus foncé */
}

/* Petit message d’erreur */
.chat-error {
	color: #b91c1c;
	font-size: 12px;
	padding: 4px 12px 8px;
}

.reset-btn {
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 14px;
	cursor: pointer;
	background: #6b7280;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.reset-btn:hover {
	background: #4b5563;
}

.reset-btn:active {
	background: #374151;
}

@media screen and (max-width: 500px) {

	/* Boutons en version "icône seule" sur mobile */
	#send_ia,
	.reset-btn {
		font-size: 0;
		/* cache le texte du bouton */
		width: 44px;
		height: 44px;
		padding: 0;
		border-radius: 50%;
		justify-content: center;
		gap: 0;
	}

	#send_ia .icon,
	.reset-btn .icon {
		font-size: 18px;
		/* taille réelle de l'icône */
		line-height: 1;
	}
}

/* MODE ULTRA-COMPACT POUR LES RÉPONSES IA */
.msg-ai span {
	line-height: 1.25 !important;
	/* plus serré que ChatGPT */
	font-size: 14px;
}

/* Supprimer quasiment toute marge entre paragraphes */
.msg-ai span p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.25 !important;
}

/* Supprimer les marges automatiques ajoutées par Markdown */
.msg-ai span * {
	margin-top: 0 !important;
	margin-bottom: 4px !important;
	/* mini espace contrôlé */
	padding: 0 !important;
}

/* Dernier élément sans marge pour éviter un espace au bas du bubble */
.msg-ai span *:last-child {
	margin-bottom: 0 !important;
}

/* Listes ultra-compactes */
.msg-ai span ul,
.msg-ai span ol {
	margin: 2px 0 !important;
	padding-left: 16px !important;
}

.msg-ai span li {
	margin: 1px 0 !important;
	line-height: 1.25 !important;
}

/* Titres compacts */
.msg-ai span h1,
.msg-ai span h2,
.msg-ai span h3 {
	margin: 4px 0 !important;
	line-height: 1.25 !important;
	font-weight: 600;
	font-size: 14px !important;
}

.analyse_scan_photo {
	color: var(--bodycolor);
}