* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f4f8;
  color: #1e293b;
}

nav {
  background-color: #1a2b45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 100px;
}

.nav-brand {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 10px;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.875rem;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

h1 {
  font-size: 2rem;
  color: #1a2b45;
  margin-bottom: 0.4rem;
}

.subtitle {
  color: #3b82f6;
  font-weight: bold;
  margin-bottom: 2rem;
}

.card {
  background-color: white;
  border: 1px solid #d1dbe8;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.card p:last-child {
  margin-bottom: 0;
}


.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.filtre-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;    
}

.slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  border-radius: 26px;
  transition: background-color 0.2s;
}

.slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle input:checked + .slider {
  background-color: #1a5f7a;
}

.toggle input:checked + .slider::before {
  transform: translateX(22px);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background-color: #1a5f7a;
  color: white;
}

th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 600;
}

td {
  padding: 14px;
  border-bottom: 1px solid #d1dbe8;
  font-size: 0.875rem;
}

tbody tr:last-child td {
  border-bottom: none;
}