@import url('style.css');

/* --- Titres dans les boîtes --- */
.box-title {
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}


h3.box-title { font-size: 0.95rem; margin-bottom: 20px; color: #555; }
h5 { font-size: 1rem; color: #444; }

.box h1 {
    position: relative;
    padding-bottom: 12px;
}

.box h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, #a8d0e6, #f8b88b);
    border-radius: 2px;
}


/* --- Affichage côte à côte des images --- */
.images-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.images-container img {
    width: 50%; /* Chaque image occupe environ la moitié de la largeur */
    height: auto;
    border-radius: 8px;
    cursor: pointer; /* Indique que l'image est cliquable */
}
/* --- Style du bouton --- */
#help-btn {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    background: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#help-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100%;
    background: white;
    z-index: 1200;
    padding: 30px 24px;
    overflow-y: auto;
    box-shadow: -4px 0 16px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
}

#help-panel.open {
    right: 0;
}

#help-panel h2 {
    color: #1F6AA5;
    margin-bottom: 16px;
}

#help-panel h3 {
    color: #2E75B6;
    margin-top: 20px;
    margin-bottom: 8px;
}

#help-panel p, #help-panel li {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.help-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #888;
}
/* --- Style de la lightbox --- */
#lightbox {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 60%;
    max-height: 60%;
    border-radius: 8px;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- Style de la note (footnote) --- */
.footnote {
    text-align: left;
    font-size: 0.9rem;
    margin-top: 10px;
    /* La note bénéficiera du padding interne de la box pour être alignée à gauche */
}

.footnote p {
    margin: 0;
}

.content {
    margin-top: 0 !important;
}

.content {
    margin-top: 90px !important;
}


