body { font-family: Arial, sans-serif; background: #ffffff; color: #000000; padding: 40px 40px 40px 260px; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navigation latérale fixe à gauche */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 20px;
    z-index: 1000;
}
.sidebar nav {
    display: flex;
    flex-direction: column;
}
.sidebar a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #eaeaea;
    white-space: normal;
    color: #0066cc;
}
.sidebar a:hover {
    background: #f7f7f7;
}

/* Contenu principal compensé par la largeur de la sidebar */
.main-content {
    max-width: 900px;
}
/* Bouton de bascule langue en haut à droite */
.lang-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    background: #0066cc;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1100;
    font-weight: 600;
}

/* Conteneur GitHub Actions */
.gh-box {
    display:flex;
    flex-direction:column;
    gap:8px;
    background:#f6f8fa;
    border:1px solid #d0d7de;
    padding:12px 16px;
    border-radius:8px;
    width:max-content;
}

/* Ligne loader + texte */
.gh-row {
    display:flex;
    align-items:center;
    gap:10px;
}

/* Loader style GitHub Actions */
.loader {
    width:28px;
    height:28px;
    border-radius:50%;
    border:4px solid rgba(255,165,0,0.25);
    border-top-color:#cc7000;
    animation:spin 0.4s linear infinite;
}

/* Animation rotation */
@keyframes spin {
    to { transform:rotate(360deg); }
}

/* Loader vert validé */
.loader.done {
    border-color:#2ea043;
    background:#2ea043;
    animation:none;
    position:relative;
}

/* Checkmark */
.loader.done::after {
    content:"";
    position:absolute;
    width:12px;
    height:6px;
    border-left:3px solid white;
    border-bottom:3px solid white;
    transform:rotate(-45deg);
    top:8px;
    left:7px;
}