.share-widget-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background-color: #F2F2F2;
}

.share-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    order: 1; /* Texte en premier */
}

.share-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: pointer;
    order: 2; /* Commutateur en deuxième */
}

.share-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.share-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCC;
    border-radius: 26px;
    transition: background-color 0.3s ease;
}

.share-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.share-toggle input:checked + .share-slider {
    background-color: #ED993E;
}

.share-toggle input:checked + .share-slider::before {
    transform: translateX(24px);
}

.copy-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: white;
    border: 1px solid #DDD;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: all 0.2s ease;
    order: 3; /* Bouton copier en dernier */
}

.copy-link-btn:hover {
    background-color: #f8f8f8;
    border-color: #BBB;
}

.copy-link-btn.copied {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.copy-link-btn svg {
    flex-shrink: 0;
}
div.shareSelection div.share-widget-wrapper {
    background-color: transparent;
}
div.shareSelection {
    display: inline-block;
}
div.shareSelection div.share-widget-wrapper label {
    margin-bottom: 0px;
}