/* Estilos para la sección de compartir y contacto mejorada */

.share-contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-header-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.card-header-custom i {
    font-size: 1.5rem;
    color: #3498db;
}

.card-header-custom h4 {
    font-weight: 600;
}

/* Botones de compartir */
.btn-share {
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-share i {
    font-size: 1.1rem;
}

/* Botones de redes sociales */
.btn-facebook {
    background: linear-gradient(135deg, #4267B2 0%, #3b5998 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-facebook:hover {
    background: linear-gradient(135deg, #365899 0%, #2d4373 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 103, 178, 0.4);
}

.btn-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background: linear-gradient(135deg, #d67d2c 0%, #c55a32 25%, #b31f38 50%, #a81d5a 75%, #9a1575 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1ebd59 0%, #0e7a6f 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-email {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-email:hover {
    background: linear-gradient(135deg, #5568d3 0%, #643a8e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-phone {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-phone:hover {
    background: linear-gradient(135deg, #0d7a72 0%, #2dd368 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 153, 142, 0.4);
}

/* QR Code */
.qr-wrapper {
    display: inline-block;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#qrCode {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    min-width: 200px;
}

#qrCode img,
#qrCode canvas {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

/* Social items */
.social-item {
    text-align: center;
}

.fb-like-wrapper {
    min-height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animaciones */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-contact-card {
    animation: slideInUp 0.6s ease-out;
}

.share-contact-card:nth-child(2) {
    animation-delay: 0.1s;
}

.share-contact-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Toast personalizado */
.toast {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.toast-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: transparent;
}

/* Modo oscuro */
.dark-mode .share-contact-card {
    background: rgba(44, 62, 80, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .card-header-custom {
    color: #ecf0f1;
}

.dark-mode .text-muted {
    color: #95a5a6 !important;
}

.dark-mode .qr-wrapper {
    background: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
    .share-contact-card {
        padding: 1.5rem;
    }
    
    .btn-share {
        font-size: 0.875rem;
        padding: 0.4rem 0.9rem;
    }
    
    .card-header-custom h4 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .share-contact-card {
        padding: 1rem;
    }
    
    .btn-share {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
