
/* Bouton demo */
.vv-demo-button {
    padding: 14px 28px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.vv-demo-button:hover {
    background: #4f46e5;
}

/* Overlay Modal */
.vv-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vv-modal-overlay.active {
    display: flex;
}

/* Contenu Modal */
.vv-modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: vv-slideUp 0.3s ease-out;
    position: relative;
}

@keyframes vv-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton fermer */
.vv-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #6b7280;
    transition: all 0.2s;
}

.vv-close-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Header Modal */
.vv-modal-header {
    margin-bottom: 25px;
}

.vv-modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.vv-modal-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Section lien */
.vv-link-section {
    margin-bottom: 30px;
}

.vv-link-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.vv-link-input-wrapper {
    display: flex;
    gap: 8px;
}

.vv-link-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1f2937;
    background: #f9fafb;
}

.vv-copy-btn {
    padding: 12px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vv-copy-btn:hover {
    background: #f3f4f6;
}

.vv-copy-btn svg {
    width: 20px;
    height: 20px;
    fill: #374151;
}

.vv-copy-btn.copied {
    background: #d1fae5;
    border-color: #10b981;
}

.vv-copy-btn.copied svg {
    fill: #059669;
}

/* Section partage social */
.vv-share-section {
    margin-top: 30px;
}

.vv-share-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
}

.vv-social-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.vv-social-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}

.vv-social-btn:hover {
    transform: translateY(-2px);
}

.vv-social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vv-social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Couleurs par réseau */
.vv-facebook .vv-social-icon { background: #1877f2; }
.vv-gmail .vv-social-icon { background: #ea4335; }
.vv-twitter .vv-social-icon { background: #000000; }
.vv-linkedin .vv-social-icon { background: #0a66c2; }
.vv-whatsapp .vv-social-icon { background: #25d366; }
.vv-instagram .vv-social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.vv-social-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

/* Toast Notification */
.vv-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937; /* foncé élégant */
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 9999;
}

/* visible */
.vv-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* Responsive */
@media (max-width: 600px) {
    .vv-modal-content {
        padding: 25px 20px;
    }

    .vv-social-buttons {
        flex-wrap: wrap;
    }

    .vv-social-btn {
        min-width: calc(33.333% - 8px);
    }
}
