/* Body */
/*
body { background: url("background/background1.png") no-repeat center center fixed; background-size: 100%; }
body { background: #302c2c; background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%); }
body { background: rgb(2,0,36); background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%); font-size: 26px; color: white;
	background: url("background/28094537_background_new_2_10.jpg") no-repeat center center fixed; background-size: 100%; }
body { background: rgb(1,1,1); background: -moz-radial-gradient(circle, rgba(1,1,1,0.41778718323266806) 0%, rgba(3,131,187,0.29173676306460083) 50%);
	background: -webkit-radial-gradient(circle, rgba(1,1,1,0.41778718323266806) 0%, rgba(3,131,187,0.29173676306460083) 50%);
	background: radial-gradient(circle, rgba(1,1,1,0.41778718323266806) 0%, rgba(3,131,187,0.29173676306460083) 50%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#010101",endColorstr="#0383bb",GradientType=1);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#010101",endColorstr="#0383bb",GradientType=1);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#010101",endColorstr="#0383bb",GradientType=1); }
*/
/*
* body { margin: 0; padding: 0; background: linear-gradient(120deg,#2980b9, #8e44ad); height: 100vh; overflow: hidden; }

* body { margin: 0; padding: 0; background: linear-gradient(120deg,#2980b9, #8e44ad); height: 100vh; overflow: auto; }
*/

/* Menu Horizontal */
/* header { position: fixed; top: 10px; left: 0; width: 90%; display: flex; justify-content: space-between; font-size: 20px; padding: 0px 20px; color: white; }
header nav { width: 60%; display: flex; justify-content: space-between; align-items: center; font-size: 26px; }
header nav a { color: white; text-decoration: none; position: relative; }
header nav a::before { content: ""; position: absolute; bottom: -5px; left: 0; background-color: white; width: 0%; height: 2.5px; transition: .3s; }
header nav a:hover::before { width: 100%; } */


/* ===========================
   1. Variables globales
   =========================== */
:root { --bg-color: white; --text-color: black; }

/* Thème sombre (activé via html.dark) */
html.dark { --bg-color: #2c3e50; --text-color: #ecf0f1; }

/* ===========================
   2. Transitions douces
   =========================== */
body.dynamic, header, header nav a, header nav a::before { transition: background-color 0.5s ease, color 0.5s ease; }

/* ===========================
   3. Styles communs à tous les menus
   =========================== */
header { position: fixed; top: 10px; left: 0; width: 90%; display: flex; justify-content: space-between; font-size: 20px; padding: 0px 20px; }
header nav { width: 80%; display: flex; justify-content: space-between; align-items: center; font-size: 26px; }
header nav a { text-decoration: none; position: relative; }

/* Effet de soulignement animé */
header nav a::before { content: ""; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2.5px; transition: 0.3s; }
header nav a:hover::before { width: 100%; }

/* ===========================
   4. Styles pour pages dynamiques (thème variable)
   =========================== */
body.dynamic { background-color: var(--bg-color); color: var(--text-color); }
body.dynamic header, body.dynamic header nav a { color: var(--text-color); }
body.dynamic header nav a::before { background-color: var(--text-color); }

/* ===========================
   5. Styles pour pages statiques (thème blanc forcé)
   =========================== */
body.static header, body.static header nav a { color: white; }
body.static header nav a::before { background-color: white; }

/* header */ 
/* Section connexion deconnexion */
.loginbtn { position: static; margin-top: 22px; }
.loginbtn #show-login { padding: 5px 15px 5px 15px; }
div.loginbtn span { margin-left: 10px; }
/* p.welcome { padding: 15px 25px; font-size: 18px; } */

/* Menu vertical */
.vertical-menu span.active { width: 136px; display: block; padding: 12px; background-color: #04AA6D; color: white; }
.vertical-menu { width: 160px; margin: 5% 0 0 5px; }
.vertical-menu a { background-color: #eee; color: black; display: block; padding: 12px; text-decoration: none; }
.vertical-menu a:hover { background-color: #ccc; }

/* Footer */
footer { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #333; color: white; padding: 2px 0; /* Mini padding */ text-align: center; font-size: 11px; line-height: 1; }