html,
body {



/*    height: 100%;*/
    background-image: url('/data/img/fonds/patrick-fore-0gkw_9fy0eQ-unsplash.jpg');

    background-attachment: fixed; /* L'image reste fixe lors du défilement */
    background-size: cover; /* L'image couvre l'ensemble de l'écran */
    background-position: center; /* L'image est centrée */
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 4px;
    padding: 4px;
}

h1 {
    font-size: 6vh;
    text-align: left;
}

div.texte {
    font-size: 1.5em;
    text-align: left;
    line-height: 1.85714285714286;
}

.chapeau {
    font-family: "Cooper Black";
    font-size: 3vh;
    text-align: left;
}


img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    width: auto;
    height: auto;
    padding:16px;
    background-color:#fff;
    border:3px solid #ccc;
    -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);
    -moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);
    box-shadow:0 1px 3px rgba(0,0,0,0.1);
    float: left;
    margin: 0 16px 16px 0; /* Ajustez la marge en bas et à droite */
}

img.titre {
    max-width: 400px;
    max-height: 600px;
    object-fit: contain;
    width: auto;
    height: auto;
    padding:4px;
    background-color:#fff;
    border:1px solid #ccc;
    -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);
    -moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);
    box-shadow:0 1px 3px rgba(0,0,0,0.1);
    text-align: right;
    float: right;
}

img.vignette {
    max-width: 240px;
    max-height: 240px;
    object-fit: contain;
    width: auto;
    height: auto;
    padding:4px;
    background-color:#fff;
    border:1px solid #ccc;
    -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);
    -moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);
    box-shadow:0 1px 3px rgba(0,0,0,0.1);
    text-align: right;
    float: right;
}

img.minivignette {
    max-width: 160px;
    max-height: 160px;
    width: auto;
    height: auto;
    padding:4px;
    background-color:#fff;
    border:1px solid #ccc;
    -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);
    -moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);
    box-shadow:0 1px 3px rgba(0,0,0,0.1);
    text-align: right;
    float: left;
}

    text-align: right;
    float: right;
}

/* --- Admin Status & Badges --- */
.admin-status {
    background: rgba(0, 0, 0, 0.05);
    border-left: 4px solid #d32f2f;
    padding: 10px 20px;
    margin-bottom: 25px;
    border-radius: 0 10px 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.user-welcome {
    font-weight: bold;
    color: #333;
}

.admin-badges {
    display: flex;
    gap: 12px;
}

.badge {
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    color: white !important;
}

.badge-edit {
    background-color: #1976d2;
}

.badge-edit:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(25, 118, 210, 0.3);
}

.badge-delete {
    background-color: #d32f2f;
}

.badge-delete:hover {
    background-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(211, 47, 47, 0.3);
}

.badge-visibility {
    background-color: #4a5a63;
    cursor: help;
}

.badge-visibility i {
    font-size: 1.1rem;
}