/***** HEADER (espace joueur) *****/

body.espace_joueur {
	padding-top: 60px;
	padding-bottom: 70px;
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background: #333;
	border-bottom: 1px solid #ddd;
	display: flex;
	align-items: center;
	padding: 0 1em;
	z-index: 1000;
}

#header .header_profil {
	display: flex;
	align-items: center;
	gap: 0.5em;
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
}

#header .header_nom {
	font-size: 1.1rem;
	font-weight: 500;
	color: #fff;
}

#header .header_profil i {
	color: #ccc;
	font-size: 0.8rem;
}

#header .dropdown {
	position: relative;
}

#header #headerMenuDropdown {
	margin-left: auto;
}

#header .dropdown_btn {
	background: none;
	border: none;
	font: inherit;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: .3em;
}

#header .dropdown_content {
	display: none;
	position: absolute;
	top: 40px;
	right: 0;
	background: #333;
	min-width: 220px;
	z-index: 2000;
	border-radius: 5px;
	overflow: hidden;
}

#header .dropdown_content_gauche {
	right: auto;
	left: 0;
}

#header .dropdown_item {
	display: block;
	width: 100%;
	padding: .6em 1em;
	background: #333;
	border: 0;
	text-align: left;
	cursor: pointer;
	color: #fff;
	font-size: 1rem;
	text-decoration: none;
}

#header .dropdown_item:hover {
	background-color: var(--color-primary);
}

#header .dropdown.open .dropdown_content {
	display: block !important;
}

/***** LOGIN LOGO *****/

#login .login_logo {
	text-align: center;
	margin-bottom: 2em;
}

#login .login_logo img {
	width: 100%;
	max-width: 200px;
}

#login .login_form_titre {
	text-align: center;
	font-size: 1.5rem;
	font-weight: 500;
	margin: 0.5em 0;
}

/***** TITRES *****/

.top_titre_simple h1 {
	text-align: center;
	font-size: 1.5rem;
	text-transform: uppercase;
	font-weight: 600;
}

.top_titre_simple h2 {
	text-align: center;
	font-size: 1.3rem;
	font-weight: 500;
}

.top_titre_bloc h1 {
	text-align: center;
	font-size: 1.5rem;
	text-transform: uppercase;
	font-weight: 500;
	color: #fff;
	background-color: var(--color-primary);
	padding: 0.3em;
	margin: -2rem -2rem 1em;
}

.top_titre_bloc h2 {
	text-align: center;
	font-size: 1.3rem;
	font-weight: 500;
}

.top_titre_bloc p {
	text-align: center;
	padding: 1em;
	font-weight: 500;
}

.top_titre_bloc a.btn1 {
	color: #fff;
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}

.top_titre_bloc a.btn1:hover {
	background-color: #333;
	border-color: #333;
}

/***** PAGE LINKS (menu profil) *****/

.page_links_nom {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.3em;
	text-align: center;
}

#page_links .page_links_titre {
	font-size: 1.2rem;
	font-weight: 600;
	color: #222;
	margin-bottom: 0.5em;
}

#page_links .page_links_link {
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 0.5em;
	margin-bottom: 2em;
}

#page_links .page_links_link a {
	display: block;
	padding: 1em;
	text-decoration: none;
	color: #222;
	font-weight: 400;
	font-size: 1.1rem;
}

#page_links .page_links_link a:hover {
	color: var(--color-primary);
}

#page_links .page_links_logout {
	margin-top: 2em;
	text-align: center;
}

/***** PHOTO JOUEUR *****/

#joueur_photo .joueur_photo_profil {
	text-align: center;
}

#joueur_photo .joueur_photo_profil img {
	width: 100%;
	max-width: 200px;
	margin-bottom: 1em;
	border-radius: 50%;
}

/***** PAGE LICENCE *****/

#page_licence {
	background-color: #f9f9f9;
	padding: 1em;
	border-radius: 5px;
}

#page_licence table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 1em;
	border: none;
}

#page_licence table tr td {
	border: none;
	padding: 1em 0;
}

#page_licence table .statut_pending {
	background-color: color-mix(in srgb, var(--color-danger) 20%, transparent);
}

#page_licence table .statut_ok {
	background-color: color-mix(in srgb, var(--color-success) 20%, transparent);
}

#page_licence table .td_icon {
	text-align: center;
	font-size: 1.3rem;
	padding: 1em;
}

#page_licence table .statut_pending .td_icon {
	color: var(--color-danger);
}

#page_licence table .statut_ok .td_icon {
	color: var(--color-success);
}

#page_licence table .td_link {
	padding: 1em;
	text-align: right;
}

#page_licence table .td_link a {
	background-color: #333;
	color: #fff;
	padding: 8px 15px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 500;
}

#page_licence table .td_link a:hover {
	background-color: #666;
}

#page_licence .file_disponible {
	text-align: center;
	padding: 0 1em 1em;
}

#page_licence .file_disponible a {
	font-size: 1.1rem;
	text-decoration: none;
	font-weight: 500;
	color: var(--color-primary);
}

#page_licence .licence_validation {
	text-align: center;
}

#page_licence .licence_validation h3 {
	color: var(--color-primary);
}

#page_licence .rib_box {
	background-color: #fff;
	border: solid 1px #ddd;
	border-radius: 5px;
	padding: 1em;
	margin: 1em auto;
	max-width: 400px;
	text-align: center;
}

#page_licence .rib_box p {
	margin: 0.5em 0;
}

#page_licence .rib_box em {
	font-size: 0.85rem;
	color: #666;
}

#page_licence hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 1.5em 0;
}

#page_licence .questionnaire_lien {
	text-align: center;
	padding: 0 1em 1em;
}

#page_licence .questionnaire_lien a {
	font-size: 1.1rem;
	text-decoration: none;
	font-weight: 500;
	color: var(--color-primary);
}

#page_licence .choix_questionnaire {
	display: flex;
	gap: 1em;
	justify-content: center;
	flex-wrap: wrap;
	margin: 1em 0;
}

#page_licence .choix_questionnaire button {
	width: auto;
	font-size: 1.1rem;
	margin: 0;
	padding: 10px 20px;
	border: solid 1px #ccc;
	background-color: var(--color-primary);
	color: #fff;
	border-radius: 5px;
	cursor: pointer;
	font-family: inherit;
}

#page_licence .choix_questionnaire button:hover {
	background-color: #333;
}

.lien_questionnaire {
	font-size: 0.85rem;
	font-weight: 400;
	text-decoration: none;
	color: var(--color-primary);
}

/***** FOOTER (nav basse) *****/

#footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #e9e9e9;
	border-top: 1px solid #ddd;
	display: flex;
	justify-content: space-around;
	z-index: 1000;
}

#footer nav {
	display: flex;
	width: 100%;
	justify-content: space-around;
}

#footer nav a {
	flex: 1;
	text-align: center;
	padding: 10px 0;
	text-decoration: none;
}

#footer nav a i {
	color: #222;
	font-size: 22px;
	display: block;
}

#footer nav a span {
	font-size: 0.7rem;
	color: #222;
}

#footer nav a.active i,
#footer nav a.active span,
#footer nav a:hover i,
#footer nav a:hover span {
	color: var(--color-primary);
}

/***** TABLEAU DE BORD (accueil) *****/

.dashboard_titre {
	margin: 1.5em 0 0.5em;
	font-size: 1.2rem;
	font-weight: 600;
}

.dashboard_alert {
	background-color: color-mix(in srgb, var(--color-info) 15%, transparent);
	border-left: 4px solid var(--color-info);
	border-radius: 8px;
	padding: 1em;
	margin-bottom: 1em;
}

.dashboard_alert_texte {
	margin-bottom: 0.8em;
}

.dashboard_alert_texte i {
	color: var(--color-info);
	margin-right: 0.4em;
}

.dashboard_raccourcis {
	display: flex;
	gap: 1em;
	margin-bottom: 1em;
}

.dashboard_raccourcis a {
	flex: 1;
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 1.2em 0.5em;
	text-align: center;
	text-decoration: none;
	color: #222;
}

.dashboard_raccourcis a i {
	display: block;
	font-size: 1.4rem;
	margin-bottom: 0.4em;
	color: var(--color-primary);
}

.dashboard_raccourcis a span {
	font-size: 0.85rem;
	font-weight: 500;
}

.dashboard_raccourcis a:hover {
	color: var(--color-primary);
}

/***** MES PARTIES *****/

.parties_titre {
	margin: 1.5em 0 0.5em;
	font-size: 1.2rem;
	font-weight: 600;
}

.partie_carte {
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 1em;
	margin-bottom: 1em;
}

.partie_entete {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
}

.partie_competition {
	font-size: 0.85rem;
	color: #666;
	margin: 0.3em 0 0.8em;
}

.partie_cote {
	padding: 0.5em 0.7em;
	margin-bottom: 0.4em;
	border-left: 4px solid #ddd;
	background-color: #fff;
	border-radius: 4px;
}

.partie_cote_moi {
	border-left-color: var(--color-primary);
}

.partie_club {
	font-weight: 600;
}

.partie_club small {
	font-weight: 400;
	color: #777;
}

.partie_joueurs {
	font-size: 0.9rem;
	margin-top: 0.2em;
}

.partie_vide {
	color: #888;
	font-style: italic;
}

.partie_score {
	text-align: center;
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0.6em 0 0.3em;
}

.partie_lieu {
	font-size: 0.85rem;
	color: #555;
	text-align: center;
}
