﻿/* Bloc dépliable */
.swagger-ui .info details {
    margin-top: 1.5em;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    background: #fafbfc;
    padding: 0 1.2em;
}

    .swagger-ui .info details[open] {
        padding-bottom: 1em;
    }

.swagger-ui .info summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05em;
    padding: 0.9em 0;
    list-style: none;
}

    .swagger-ui .info summary::-webkit-details-marker {
        display: none;
    }

    .swagger-ui .info summary::after {
        content: "▸";
        float: right;
        transition: transform .2s;
    }

.swagger-ui .info details[open] summary::after {
    transform: rotate(90deg);
}

/* Titres de version : [1.2.0] - 2026-10-20 */
.swagger-ui .info details h4 {
    margin: 1.4em 0 0.4em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #49cc90;
    font-size: 1.1em;
}

/* Sous-sections : Nouveautés, Corrections… */
.swagger-ui .info details h5 {
    margin: 0.8em 0 0.2em;
    font-size: 0.95em;
    color: #555;
}

/* Listes */
.swagger-ui .info details ul {
    margin: 0.2em 0 0.6em;
    padding-left: 1.4em;
}

.swagger-ui .info details li {
    margin: 0.15em 0;
    line-height: 1.5;
}
