/* ================================
   PANNEAU EXIF (SAFE MODE)
================================ */
.lg-exif-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
	background: transparent !important;
    /* ou background: rgba(0,0,0,0) !important; */
    backdrop-filter: blur(12px);          /* effet verre dépoli très agréable */
    -webkit-backdrop-filter: blur(12px);  /* pour Safari */
    border-left: 1px solid rgba(255,255,255,0.15);   /* petite séparation visuelle optionnelle */
    box-shadow: -10px 0 25px rgba(0,0,0,0.4);        /* ombre douce pour le détacher */
	
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99999;
    overflow-y: auto;
    pointer-events: auto;
	will-change: transform;
}

/* Affiché */
.lg-exif-open .lg-exif-panel {
    transform: translateX(0);
}

/* ================================
   CONTENU
================================ */
.lg-exif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #444;
}

.lg-exif-header h3 {
    margin: 0;
    font-size: 16px;
}

.lg-exif-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.lg-exif-content {
    padding: 16px;
}

.lg-exif-list dt {
    margin: 12px 0 4px;
    color: #ccc;
}

.lg-exif-list dd {
    margin: 0 0 8px;
    color: #eee;
}

/* ================================
   BOUTON
================================ */
/*.lg-exif-btn {
    background: none;
    border: none;
    color: white;
    padding: 0 12px;
    cursor: pointer;
}*/

.lg-exif-btn:hover {
    color: #0af;
}


.lg-exif-btn.lg-icon {
    /* Important : neutralise les styles font-icon de lightGallery */
    font-size: 0;                    /* supprime tout texte visible */
    text-indent: -9999px;            /* cache tout contenu texte */
    overflow: hidden;

    /* Ton SVG en background */
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10.5' stroke='%23929292' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='8' r='1.6' fill='%23929292'/%3E%3Crect x='10.8' y='11' width='2.4' height='6' rx='1.2' fill='%23929292'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;

    /* Dimensions et style bouton lightGallery */
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;             /* rond si tu veux */
    background-color: transparent;  /* ou rgba(0,0,0,0.3) pour fond semi-transparent */
    cursor: pointer;
    transition: all 0.2s ease;
	
	/* Déplace l'icône vers le bas de 2 à 4 pixels */
    transform: translateY(2px);
}

/* Optionnel : hover / active comme les boutons officiels */
/* Au survol et focus */
.lg-exif-btn.lg-icon:hover,
.lg-exif-btn.lg-icon:focus,
.lg-exif-btn.lg-icon:active {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10.5' stroke='%23FFFFFF' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='8' r='1.6' fill='%23FFFFFF'/%3E%3Crect x='10.8' y='11' width='2.4' height='6' rx='1.2' fill='%23FFFFFF'/%3E%3C/svg%3E");
   
}
/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {
    .lg-exif-panel {
        width: 100%;
    }
}

/* ================================
   Empêcher le scroll de la galerie quand le panneau est ouvert
================================ */
body.lg-exif-open {
    overflow: hidden;
}

















/* ================================
   BASE
================================ */
.lg-exif-list dt {
    position: relative;
    padding-left: 32px;
    margin: 12px 0 4px;

    
    line-height: 24px;
}

/* Accessibilité */
.lg-exif-list dt::after {
    content: attr(aria-label);
    position: absolute;
    left: -9999px;
}

/* Icône générique */
.lg-exif-list dt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* ================================
   ICONES SVG
================================ */

/* 📷 Appareil */
.exif-camera-model::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/><circle cx='12' cy='13' r='4'/></svg>");
}

/* 📅 Date */
.exif-date-time-original::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
}


/* 🌗 Ouverture */
.exif-aperture::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><circle cx='12' cy='12' r='10'/><path d='M12 2v20M2 12h20'/></svg>");
  /* Ou un vrai iris : plus complexe, mais possible avec path */
}


/* 🎯 Focale */
.exif-focal-distance::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2'/></svg>");
}

/* 🎯 Focale length */
.exif-focal-length::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2'/></svg>");
}


/* 🌞 ISO */
.exif-iso-sensitivity::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><rect x='3' y='4' width='18' height='16' rx='2'/><path d='M7 8h10v8H7z'/></svg>");
}

/*obturateur*/
.exif-exposure-time:before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><circle cx='12' cy='12' r='10'/><path d='M12 6v6l4 2'/></svg>");
  /* Pour un vrai obturateur : cherche "camera shutter svg" sur svgrepo.com et copie le <svg>...</svg> */
}