/* =========================================================
   GLOBAL - hauteur & layout global
========================================================= */
/* GLOBAL */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f2f2f2;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

/* HEADER */
.page-header {
  width: 100%;
  padding: 40px 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-header-inner {
  width: 100%;
  max-width: 1400px;
  text-align: center;
}

.page-header-inner h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

/* MAIN WRAPPER – CENTRAGE VERTICAL SANS TOUCHER AU CONTENU */
.main-wrapper {
  flex: 1; /* prend tout l'espace restant sous le header */
  display: flex;
  justify-content: center; /* centre horizontalement la container */
  align-items: center;     /* centre verticalement le bloc container */
  text-align: center;
}

/* CONTAINER – garde layout left/right */
.container {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* on laisse les panels en haut */
  justify-content: center;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  padding: 40px;
}

/* LEFT PANEL / RIGHT PANEL – rien ne change */
.left-panel {
  width: 600px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  text-align: left;

  margin-top: -20px;/* ajuste la valeur pour aligner parfaitement */
}

/* =========================================================
   LOGIN CARD
========================================================= */
.right-panel {
  width: 420px;
  background: #ffffff;
  border-radius: 14px;
  padding: 42px 46px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.right-panel h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 28px;
  text-align: left;
}

/* =========================================================
   FORMULAIRE
========================================================= */
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.input-group label {
  font-size: 14px;
  margin-bottom: 6px;
  text-align: left;
  color: #333;
}

.input-group input {
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #bfc6cc;
  background-color: #eef4fb;
}

.input-group input:focus {
  outline: none;
  border-color: #6b9bd2;
  background-color: #ffffff;
}

/* =========================================================
   BOUTON
========================================================= */
.btn-primary {
  width: 100%;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  border-radius: 28px;
  border: 1px solid #bfc6cc;
  background: linear-gradient(#f6f8fa, #e6eaee);
  color: #000;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(#e9edf2, #dce1e6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   LIEN
========================================================= */
.secondary-link {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: #0078d4;
  text-decoration: none;
  text-align: left;
}

.secondary-link:hover {
  text-decoration: underline;
}
/* =========================================================
   LOGO CENTRAL
========================================================= */
.logo-bar {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.powered-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
  transform: translateX(35px) translateY(30px);
}

.logo-main {
  height: 90px; /* inchangé ici */
}

/* =========================================================
   FOOTER (LOGO PLUS GROS)
========================================================= */
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 30px 40px 20px 40px;
  margin-top: 60px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-logo {
  height: 90px; /* ✅ PLUS GROS */
}

.footer-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 20px;
}

.footer-right .ip {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}
