html {
	width: 100%;
	height: 100%;
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	margin-top: 48px; /* ou 44px si ta barre est plus fine */
}

* {
  box-sizing: border-box;
}

details {
    border: 1px solid #aaa;
    border-radius: 6px;
    margin-bottom: 1em;
    background: #fafafa;
}

details > summary {
    display: block;
    cursor: pointer;
    font-weight: bold;
    padding: 0.6em;
    background: #eaeaea;
    border-radius: 6px;
}

details[open] > summary {
    border-bottom: 1px solid #aaa;
    border-radius: 6px 6px 0 0;
}

summary::-webkit-details-marker {
    display: none;
}

table{
  border-collapse: collapse;
}

th, td{
  border: 1px solid black;
  padding: 5px;
}

#message {
  margin-bottom: 15px;
  padding: 4px 12px;
}

.danger {
  background-color: #ffdddd;
  border-left: 6px solid #f44336;
}

.success {
  background-color: #ddffdd;
  border-left: 6px solid #04AA6D;
}

.info {
  background-color: #e7f3fe;
  border-left: 6px solid #2196F3;
}

.warning {
  background-color: #ffffcc;
  border-left: 6px solid #ffeb3b;
}

.topnav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
	.topnav.responsive {
	  position: fixed; /* conserve le comportement sticky */
	  top: 0;
	  width: 100%;
	  z-index: 9999;
	}

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}