/* Reset des marges et padding */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font: 14px "Lucida Grande", "Trebuchet MS", Arial, Helvetica, sans-serif;
   color: #091f30;
   background: #fff;
   margin: 25px auto;
   max-width: 1200px;
   padding: 0 15px;
}

h2 {
   margin-bottom: 20px;
   font-size: 22px;
   text-align: center;
}

.menu {
   text-align: center;
   margin-bottom: 30px;
}
.menu a {
   font-size: 16px;
   color: #5A698B;
   font-weight: 400;
   text-decoration: none;
   margin: 0 10px;
}
.menu a:hover {
   color: #254762;
}

fieldset {
   border: none;
   padding: 20px;
   background: #f9f9f9;
   border-radius: 8px;
}

legend {
   font-size: 18px;
   color: #254762;
   font-weight: bold;
}

form input,
form select,
form textarea {
   width: 100%;
   padding: 10px;
   margin: 5px 0;
   border: 1px solid #c6d5e1;
   border-radius: 4px;
   font-size: 14px;
}

input[type="checkbox"] {
   width: auto;
}

input[type="submit"] {
   background: #254762;
   color: white;
   border: none;
   padding: 10px 20px;
   cursor: pointer;
   font-size: 16px;
   border-radius: 4px;
}
input[type="submit"]:hover {
   background: #1a364c;
}

/* Messages */
.message_ok, .message_error, .message_info {
   padding: 12px;
   margin: 10px auto;
   border-radius: 5px;
   text-align: center;
   max-width: 500px;
}

.message_ok {
   background: #DFFFDF;
   border: 2px solid #9FCF9F;
   color: #005F00;
}
.message_error {
   background: #ffdede;
   border: 2px solid #b68a8a;
   color: #9e3636;
}
.message_info {
   background: #d0d0d0;
   border: 2px solid #050505;
   color: #2a2a2a;
}

/* Table responsive */
.sortable {
   width: 100%;
   border-collapse: collapse;
   margin-top: 20px;
}
.sortable th, .sortable td {
   padding: 10px;
   border: 1px solid #c6d5e1;
   text-align: left;
}
.sortable th {
   background: #254762;
   color: white;
}

.sortable tr:nth-child(even) {
   background: #ecf2f6;
}

/* Pagination */
.pagination {
   display: flex;
   justify-content: center;
   margin-top: 20px;
}

.pagination a, .pagination span {
   padding: 8px 12px;
   margin: 2px;
   border: 1px solid #c6d5e1;
   text-decoration: none;
   color: #5A698B;
   border-radius: 4px;
}

.pagination a:hover {
   border-color: #4b708d;
   color: #4b708d;
}

.pagination .active {
   background: #254762;
   color: white;
   border-color: #254762;
}

/* Responsive */
@media (max-width: 768px) {
   body {
       padding: 0 10px;
   }
   .menu {
       display: flex;
       flex-wrap: wrap;
       justify-content: center;
   }
   .sortable th, .sortable td {
       padding: 8px;
       font-size: 12px;
   }
   form input,
   form select,
   form textarea {
       font-size: 12px;
   }
   input[type="submit"] {
       font-size: 14px;
   }
}
