*{
  box-sizing:border-box;
  margin:0;
  padding:0
}

body{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background:#f5f9ff;
  color:#111;
}

/* =============================
   HEADER
   ============================= */

.app-header{
  background:#0057b7;
  color:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
  height:56px; /* ✅ hauteur figée */
}

.header-inner{
  max-width:1100px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:100%; /* ✅ centrage vertical */
}

.brand{
  font-weight:700;
  font-size:1rem
}

.header-buttons{
  display:flex;
  align-items:center;
  gap:10px; /* espace entre Page précédente et Accueil */
}

.accueil-btn{
  background:#ff6600;
  color:#fff;
  border:none;
  padding:8px 12px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  line-height:1; /* sécurité hauteur */
}

/* =============================
   MAIN
   ============================= */

.app-main{
  max-width:1100px;
  margin:28px auto;
  padding:16px
}

.center-buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap
}

.home-btn{
  padding:18px 26px;
  border-radius:12px;
  border:2px solid #0057b7;
  background:#fff;
  color:#0057b7;
  font-weight:800;
  text-decoration:none;
  display:inline-block;
  font-size:1.05rem
}

.home-btn:hover{
  background:#0057b7;
  color:#fff
}

.container{
  background:#fff;
  border:2px solid #0057b7;
  border-radius:12px;
  padding:22px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  max-width:880px;
  margin:18px auto
}

h1{
  color:#ff6600;
  text-align:center;
  margin-bottom:12px;
  font-size:1.6rem;
  font-weight:800
}

h2{
  color:#ff6600;
  text-align:center;
  margin-bottom:8px;
  font-weight:800
}

label{
  display:block;
  margin-top:12px;
  color:#0057b7;
  font-weight:700
}

select{
  width:100%;
  padding:10px;
  border:2px solid #0057b7;
  border-radius:8px;
  margin-top:6px;
  background:#fff
}

button.primary{
  margin-top:16px;
  width:100%;
  padding:12px;
  background:#ff6600;
  color:#fff;
  border:none;
  border-radius:10px;
  font-weight:800;
  cursor:pointer
}

.link-btn{
  padding:12px 10px;
  border:2px solid #0057b7;
  border-radius:10px;
  background:#fff;
  color:#0057b7;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  text-align:center;
  margin:6px
}

.argument-item{
  background:#f6f8fc;
  border-left:6px solid #ff6600;
  padding:14px 18px;
  margin:12px 0;
  border-radius:8px;
  color:#222
}

.table-wrap{
  overflow:auto
}

table{
  width:100%;
  border-collapse:collapse;
  margin-top:12px
}

th{
  background:#0057b7;
  color:#fff;
  padding:10px;
  text-align:left
}

td{
  padding:10px;
  border:1px solid #eaeaea
}

.app-footer{
  text-align:center;
  padding:18px 0;
  color:#777
}

@media(max-width:800px){
  .center-buttons{
    flex-direction:column;
    padding:12px
  }
  .home-btn{
    width:100%;
    text-align:center
  }
}
