/**
 * SOCIAL SHARE BUTTONS STYLES
 * Stili per i pulsanti di condivisione social nel footer
 */

/* Sezione condivisione nel footer */
.share-section {
    margin-top: 10px;
    padding-top: 10px;
   /* border-top: 1px solid rgba(255, 255, 255, 0.1);*/
}

.share-section h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-section h4 i {
    font-size: 1rem;
}

/* Container pulsanti - stesso stile delle icone social esistenti */
.share-buttons {
       display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 12px;
    flex-direction: row;
    justify-content: space-around;
}

/* Stile base pulsanti condivisione - come .footer-social a */
.share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s;
    position: relative;
}

.share-btn:hover {
    color: #27ae60;
    transform: scale(1.1);
}

.share-btn:active {
    transform: scale(1.05);
}

.share-btn i {
    display: block;
}

/* Rimuovi tutti i colori specifici per ogni social - usa solo lo stile base */
.share-btn.whatsapp,
.share-btn.telegram,
.share-btn.facebook,
.share-btn.twitter,
.share-btn.bluesky,
.share-btn.email,
.share-btn.copy {
    /* Nessuno stile specifico - eredita dallo stile base */
}

/* Testo informativo sotto i pulsanti */
.share-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.share-info i {
    font-size: 0.9rem;
    color: #27ae60;
    flex-shrink: 0;
}

/* Notifica di copia link */
.copy-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #27ae60;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
    max-width: 90%;
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-notification.error {
    background: #e74c3c;
}

.copy-notification i {
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .share-buttons {
        gap: 1.5rem;
        justify-content: center;
    }

    .share-btn {
        font-size: 1.3rem;
    }

    .copy-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .share-info {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* Accessibilità: focus visible */
.share-btn:focus-visible {
    outline: 2px solid #27ae60;
    outline-offset: 2px;
}

/* Dark mode support (se implementato in futuro) */
@media (prefers-color-scheme: dark) {
    .share-section {
        border-top-color: rgba(255, 255, 255, 0.15);
    }

    .share-info {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* Stato disabilitato (per future implementazioni) */
.share-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
