.share-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: 9999;
    backdrop-filter: blur(2px);
}

/* La boite blanche centrale */
.share-modal-content {
    background: white;
    color: #333;
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.close-btn {
    background: none; border: none;
    font-size: 1.5rem; cursor: pointer;
    color: #666;
}

/* L'aperçu du voyage */
.share-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f7f7f9;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.preview-icon {
    font-size: 2rem;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.preview-text strong { display: block; font-size: 1rem; }
.preview-text p { margin: 4px 0 0; font-size: 0.85rem; color: #666; }

/* La grille façon Airbnb */
.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes */
    gap: 16px;
}

.share-grid-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-grid-btn:hover {
    background: #f7f7f9;
    border-color: #bbb;
}
