

*{
    box-sizing:border-box;
    font-family:Segoe UI, Arial, sans-serif;
}

body{
    margin:0;
    padding:15px;
    background:#f5f7fa;
}
.logo-header img {
    width: 100%;
    height: auto;
}

.logo-header img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}
.container{
    display:flex;
    gap:15px;
}

.sidebar {
  width: 22%;
  padding: 20px;
  background-color: #424242;
  color: white;
  box-sizing: border-box;

  position: sticky;
  top: 0;

  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden; /* ✅ */
}


.sidebar h2 {
  margin-top: 0;
}

.sidebar h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.sidebar label {
  display: block;
  margin-top: 5px;
  
}

.sidebar input,
.sidebar select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: none;
  border-radius: 5px;
}

.sidebar small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}

.panneau-resultats{
    flex:1;
    background:#fff;
    border:1px solid #d9e2ec;
    border-radius:8px;
}



.zone{
    padding:12px;
}

label{
    display:block;
    margin-bottom:5px;
    font-weight:600;
}

input{
    width:100%;
    padding:8px;
    border:1px solid #ccc;
    border-radius:4px;
    font-size:14px;
}

.resume-calcul {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 14px;

    background: #f7f8fa;
    border: 1px solid #d9e0e6;
    border-radius: 6px;

    font-size: 14px;
}

.resume-item {
    display: flex;
    gap: 6px;
}

.resume-label {
    font-weight: 600;
    color: #555;
}

.resume-valeur {
    font-weight: 700;
    color: #424242;
}

table{
    width:100%;
    border-collapse:collapse;
}

th {
    background: #edf2f7;
    padding: 6px 10px;
    font-size:13 px;
}

td {
    padding: 3px 10px;
    border-top: 1px solid #e5e7eb;
    font-size: 13 px;
}

/* Libellés */
thead th:first-child,
tbody td:first-child {
    text-align: left;
}

tr.famille-cotis td {
    background: #edf2f7;
    font-weight: 700;
    color: #424242;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


tr.per td,
tr.effort td {
    background: #cdffeb;
    font-weight: 700;
    font-size: 15px;
    color: #004d33;
    border-top: 2px solid #9ce3c5;
    border-bottom: 2px solid #9ce3c5;
}

/* Colonnes numériques */
thead th:not(:first-child),
tbody td:not(:first-child) {
    text-align: right;
}

/* Largeurs des colonnes */
thead th:nth-child(1),
tbody td:nth-child(1) {
    width: 40%;
}

thead th:nth-child(2),
tbody td:nth-child(2) {
    width: 20%;
}

thead th:nth-child(3),
tbody td:nth-child(3) {
    width: 15%;
}

thead th:nth-child(4),
tbody td:nth-child(4) {
    width: 25%;
}

tr.synthese {
    background: #f7f8fa;
    font-weight: 600;
}

tr.synthese td {
    border-top: 1px solid #d9e0e6;
}
.num{
    text-align:right;
}

.total{
    background:#eef5fb;
    font-weight:bold;
}
tr.total td {
    font-weight: bold;
    border-bottom: 12px solid white;
}
.contenu-onglet {
    display: none;
}

.contenu-onglet.actif {
    display: block;
}

.onglet.actif {
    background-color: #fe7d19;
}