:root {
  --bleu-fonce: #0B2A4A;
  --bleu-principal: #1E6FD9;
  --bleu-clair: #EAF2FF;
  --gris-texte: #4B5563;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: #f8fafc;
  color: var(--gris-texte);
  line-height: 1.6;
}
img {/* ===== pour pas que l'image debord dans la v mobile ===== */
  max-width: 100%;
  height: auto;
  display: block; 
}

.search_box{

	border-radius: 8px;
	border: 1px solid #ccc;
	background:white;
	display: inline-flex;    /* Permet au span de se comporter comme un conteneur flex */
    align-items: center;     /* Centre l'image et l'input verticalement */
    justify-content: center; /* Centre le contenu horizontalement (si le span a une largeur définie) */
    gap: 5px; 
	margin-right:5px;
	
	 
}
.search_box input{
	border:0;
}
.search_box img{
	width:20px;
	height:20px;
	margin-left:5px;
}
/* ===== LANGUAGE BUTTON ===== */
.lang-switch {
  position: absolute;
  top: 16px;
  right: 16px;
}

.lang-switch a {
  background: rgba(255,255,255,.15);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  border: 1px solid rgba(255,255,255,.3);
}

.lang-switch a:hover {
  background: rgba(255,255,255,.25);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--bleu-fonce), var(--bleu-principal));
  color: white;
  text-align: center;
  padding: 4rem 1.5rem 4.5rem;
}
.hero-brand{
	display: flex;
	justify-content: center;
	gap: 14px;
	align-items: center;
	margin-bottom:1.5rem;
}
.hero-brand img{
	width: 180px;
	height: auto;
}
.brand-name{
	font-size:2.4rem;
	font-weight: 700;
	color:#ffffff;
	letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.hero p {
  font-size: 1.05rem;
  opacity: .95;
}

.btn-primary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 14px 26px;
  background: white;
  color: var(--bleu-fonce);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0,0,0,.25);
}
.a_quiz{
	border:1px solid green;
	padding:4px 5px 4px 5px;
	color:white;
	background:green;
	font-weight:bold;
	border-radius:5px;
	text-decoration:none;
}
.a_quiz:hover{
	background:blue;
}
/* ===== CONTENT ===== */
.section {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 1.5rem;
}

.section h2 {
  color: var(--bleu-fonce);
  font-size: 1.8rem;
}

/* ===== CARDS ===== */
.cards {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.card h3 {
  color: var(--bleu-fonce);
  margin-top: 0;
}

/* ===== CTA ===== */
.cta {
  background: var(--bleu-clair);
  text-align: center;
  padding: 3rem 1.5rem;
}

.cta h2 {
  color: var(--bleu-fonce);
}

.app-layout {
  display: flex;
  min-height: 100vh;
}
/* SIDEBAR */
#mobile_close_bt{
	display:none;
	text-align:right;
}
#mobile_close_bt img{
	width:20px;
	
}
#sidebar {
  width: 260px;
  background: linear-gradient(180deg, #0f4c81, #08345a);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
}

.sidebar-brand {
  display:flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.sidebar-brand a{
	display:flex;
	text-decoration:none;
	color:white;
}
.sidebar-brand a span{
	margin-left:10px;
}

.sidebar-brand img {
  width: 48px;
}
.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.sidebar-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.sidebar-footer .logout {
  color: #ffb4b4;
}
.sidebar-footer .logout:hover {
	cursor: pointer;
  }
/* MENU */
.sidebar-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 6px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
/* CONTENU */
.content {
  flex: 1;
  padding: 2rem;
}
/* ===== FOOTER ===== */
footer {
  background: #111827;
  color: #d1d5db;
  padding: 2.5rem 1.5rem;
}

.footer-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

footer h4 {
  color: white;
  margin-top: 0;
}

footer a {
  color: #93c5fd;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: .9rem;
  opacity: .7;
}

.menu_mobile{
	display:none;
    color:#ffffff;
	justify-content: space-between;
	align-items: center; 
	width: 100%;
	background: linear-gradient(180deg, #0f4c81, #08345a);
	padding:2px 0 0 2px; 
}
.menu_mobile_left, .menu_mobile_right{
	flex: 1;
    padding:0 10px 0 10px;	
}
.menu_mobile_left img{
	width:20px;
}
.menu_mobile_center{  
  flex:0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  margin:2px 0 2px 0;
  mbargin-bottom: 2rem;
}
.menu_mobile_center img{
	width: 40px;
}
.menu_mobile_right{
	text-align: right;
}
.menu_mobile_right a{
	color:#ffffff;
	text-decoration:none;
	font-weight:bold;
}

        .confirmation-box {
            max-width: 720px;
            margin: auto;
            background: #EFF6FF;
            border: 1px solid #BFDBFE;
            border-radius: 12px;
            padding: 30px 40px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.06);
        }

        .notification {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .check-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #2563EB;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            margin-right: 15px;
        }
        .exclamation-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: orange;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            margin-right: 15px;
			font-weight:bold;
        }
        .important-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: red;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            margin-right: 15px;
			font-weight:bold;
        }
       .confirmation-box h1 {
            font-size: 24px;
            color: #1E40AF;
            margin: 0;
        }

       .confirmation-box p {
            font-size: 16px;
            color: #333;
            line-height: 1.6;
            margin-top: 10px;
        }

        .confirmation-box ul {
            margin: 15px 0 20px 0;
            padding-left: 20px;
        }

        li {
            margin-bottom: 10px;
            font-size: 15px;
        }

        .phone {
            font-weight: bold;
            color: #2f5d2f;
        }

        .btn {
            display: inline-block;
            background-color: #2563EB;
            color: white;
            text-decoration: none;
            padding: 12px 22px;
            border-radius: 8px;
            font-weight: 600;
            transition: background 0.2s ease-in-out;
        }

        .btn:hover {
            background-color: #4a8f4a;
        }


/****** formulaire *****/
.login-page {
  width: 100%;
  padding: 1rem;
}

.login-box {
  background: white;
  max-width: 420px;
  margin: auto;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  text-align: center;
}
.login-box input, .login-box textarea, .login-box select{
	width:100%;
}
/* LOGO */
.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.8rem;
}

.login-brand img {
  width: 56px;
}

.login-brand span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f4c81;
}

/* TITRES */
h1 {
  margin: 0;
  font-size: 1.6rem;
}

.subtitle {
  margin-bottom: 1.8rem;
  color: #666;
}

/* FORM */
form {
  text-align: left;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  mmargin-top: 1.2rem;
}

input, textarea, select {
  padding: 8px 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
textarea{
	height:100px;
}
input:focus {
  outline: none;
  border-color: #0f4c81;
}

/* BOUTON */
button {
  width: 100%;
  margin-top: 1.8rem;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #0f4c81;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #08345a;
}

/* LIENS */
.login-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.login-links a {
  text-decoration: none;
  color: #0f4c81;
}

.login-links .english {
  opacity: 0.7;
}
/****** fin formulaire ****/


@media screen and (max-width: 600px) {
	#mobile_close_bt{
		display:block;
	}
	#sidebar{
		display:none;
		position:absolute;
		top:0;
		left:0;
		height:100%;
		width:100%
	}
	.sidebar-brand {
		display:none;
	}

	.sidebar-brand img {
	  #width: 48px;
	}
	.menu_mobile{
		display:flex;
	}
	.content{
		  padding: 0.18rem;
	}
	.login-box {
		padding: 0.5rem;
	}
}