/**
 * NovaFuture Share - CSS v1.0.3
 */

.nfs-share-wrap {
    margin: 0 !important;
    padding: 0 !important;
    clear: both;
}

.nfs-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.nfs-btn {
    display: inline-block;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
    transition: opacity 0.2s ease;
    position: relative;
}

.nfs-btn img {
    display: block;
    width: 44px;
    height: 44px;
    border: 0 !important;
    box-shadow: none !important;
}

.nfs-btn:hover {
    opacity: 0.7;
}

/* Tooltip au survol */
.nfs-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    margin-bottom: 8px;
    z-index: 1000;
}

.nfs-btn::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    margin-bottom: -4px;
    z-index: 1000;
}

.nfs-btn:hover::after,
.nfs-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Popup modal pour copier le lien */
.nfs-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nfs-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.nfs-modal {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.nfs-modal-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.nfs-modal-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
    text-align: center;
    color: #333;
    background: #f9f9f9;
}

.nfs-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.nfs-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nfs-modal-btn-copy {
    background: #096e09;
    color: #fff;
}

.nfs-modal-btn-copy:hover {
    background: #075207;
}

.nfs-modal-btn-close {
    background: #ccc;
    color: #333;
}

.nfs-modal-btn-close:hover {
    background: #bbb;
}

.nfs-modal-success {
    color: #46b450;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.nfs-modal-success.show {
    display: block;
}
