body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #f0f0f0;
}

.admin-container {
  display: flex;
  height: 100vh;
}

/* --- SIDEBAR --- */
.sidebar {
  width: 250px;
  background: #033316;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 30px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 15px 0;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 5px;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  background: #07873a;
}

/* --- CONTENT --- */
.content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.content h1 {
  color: #033316;
}

/* --- GRID --- */
.president-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

/* --- FORMULAIRE --- */
.form-section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.form-section form {
  display: flex;
  flex-direction: column;
}

.form-section label {
  margin-top: 10px;
  font-weight: bold;
}

.form-section input,
.form-section textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 5px;
}

.form-section button {
  margin-top: 15px;
  padding: 10px;
  background: #07873a;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-section button:hover {
  background: #045e27;
}

/* --- TABLEAU --- */
.table-section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

thead {
  background: #07873a;
  color: white;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

td img {
  border-radius: 8px;
}

a {
  color: #07873a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .president-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: 200px;
  }
}
