/* Bouton EXIF dans la toolbar */
.lg-exif-button {
    cursor: pointer;
    border: none;
    background: transparent;
    color: #fff;
    padding: 8px;
    transition: all 0.3s;
}

.lg-exif-button:hover {
    color: #999;
}

.lg-exif-button.active {
    color: #007bff;
}

/* Panel EXIF */
.lg-exif-panel {
    position: absolute;
    top: 60px;
    right: 90px;
    width: 400px;
    max-width: 90%;
    max-height: 70vh;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Header du panel */
.lg-exif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8ba34ff 0%, var(--colorPrincipal) 100%);
    color: white;
    border-radius: 8px 8px 0 0;
}

.lg-exif-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.lg-exif-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.lg-exif-close:hover {
    transform: rotate(90deg);
}

/* Contenu EXIF */
.lg-exif-content {
    background-color: #322f2f;
    padding: 20px 30px;
    max-height: calc(70vh - 60px);
    overflow-y: auto;
    color: white;
}

/* Tableau EXIF */
.exif-table {
    width: 100%;
    border-collapse: collapse;
}

.exif-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exif-table tr:last-child {
    border-bottom: none;
}

.exif-table td {
    padding: 12px 0;
    vertical-align: top;
}

.exif-table .exif-label {
    font-weight: 600;
    color: #aaa;
    display: flex;
    align-items: center;
}

.exif-table .exif-icon {
    margin-right: 8px;
    font-size: 18px;
}

.exif-table .exif-value {
    color: white;
    text-align: right;
}

/* Message aucune donnée */
.no-exif {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}

/* Scrollbar personnalisée */
.lg-exif-content::-webkit-scrollbar {
    width: 8px;
}

.lg-exif-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.lg-exif-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.lg-exif-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .lg-exif-panel {
        width: 90%;
        right: 5%;
        top: 50px;
    }

    .exif-table .exif-label,
    .exif-table .exif-value {
        font-size: 14px;
    }
}