/* === Navigation latérale === */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 220px;
  background-color: #194283;
  color: white;
  padding: 2em 1em;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 10;
}

.sidebar-logo {
  max-width: 140px;
  display: block;
  margin: 0 auto 2em;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav li {
  margin-bottom: 1.5em;
}

.sidebar nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 0.6em 1em;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.sidebar nav a:hover {
  background-color: #0e305d;
}

/* Décale le contenu à droite du menu */
body {
  margin-left: 240px; /* correspond à sidebar + padding */
}

body.page-recherche {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  padding: 2em;
  color: #333;
}

  .page-recherche .container {
    max-width: 600px;
    margin: auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
  }

  .page-recherche .logo {
    display: block;
    margin: 0 auto 2em;
    max-width: 150px;
  }

  .page-recherche h1 {
    text-align: center;
    font-size: 1.4em;
    color: #194283;
    margin-bottom: 1.5em;
  }

  .page-recherche .search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5em;
    flex-wrap: wrap;
  }

  .page-recherche .search-bar input {
    width: 220px;
    padding: 0.6em 0.8em;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #ccc;
  }

  .page-recherche .search-bar button {
    padding: 0.6em 1.2em;
    font-size: 1em;
    background-color: #194283;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  .page-recherche .search-bar button:hover {
    background-color: #0e305d;
  }

  .page-recherche .result {
    margin-top: 2em;
  }

  .page-recherche .franchise {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1em;
    background: #fafafa;
  }

  .page-recherche .franchise strong {
    display: inline-block;
    width: 140px;
    color: #194283;
  }

  .page-recherche .status {
    font-weight: bold;
  }

  .page-recherche .status.open {
    color: green;
  }

  .page-recherche .status.closed {
    color: red;
  }

  .page-recherche .icon {
    margin-right: 6px;
  }

  .page-recherche .lead-button {
    margin-top: 1.5em;
    text-align: center;
  }

  .page-recherche .lead-button a {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 0.6em 1.2em;
    border-radius: 6px;
    display: inline-block;
    font-weight: bold;
  }

  .page-recherche .lead-note {
    font-size: 0.85em;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
  }
  body.page-gestion {
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
    padding: 2em;
    color: #333;
  }

  .page-gestion .container {
    max-width: 700px;
    margin: auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
  }

  .page-gestion .logo {
    display: block;
    margin: 0 auto 1em;
    max-width: 120px;
  }

  .page-gestion h1 {
    text-align: center;
    font-size: 1.6em;
    color: #194283;
    margin-bottom: 1.5em;
  }

  .page-gestion select,
  .page-gestion input,
  .page-gestion textarea {
    width: 100%;
    padding: 0.6em;
    margin-bottom: 1.2em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
  }

  .page-gestion label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.4em;
  }

  .page-gestion button {
    padding: 0.7em 1.5em;
    font-size: 1em;
    background-color: #4e3ccf;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
  }

  .page-gestion button:hover {
    background-color: #3c2db6;
  }

  .page-gestion .info {
    background: #fafafa;
    padding: 1.2em;
    border-radius: 10px;
    border: 1px solid #ddd;
  }

  .page-gestion .success {
    margin-top: 1em;
    color: green;
    font-weight: bold;
    text-align: center;
  }

  .page-gestion .error {
    margin-top: 1em;
    color: red;
    font-weight: bold;
    text-align: center;
  }
  .page-gestion input,
.page-gestion select,
.page-gestion textarea {
  box-sizing: border-box;
}
