/* Optikit IA Clean Markdown Button Styles - STANDOUT VERSION */
.share-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ia-clean-md-button-container {
    margin-left: auto;
}

.ia-clean-md-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fef2f2; /* Fondo rojizo muy suave */
    color: #b91c1c; /* Texto rojo oscuro profesional */
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 2px solid #ef4444; /* Borde rojo vibrante */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.1);
    position: relative;
    overflow: hidden;
    animation: pulse-red-border 3s infinite;
}

.ia-clean-md-btn i {
    color: #ef4444;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Efecto Brillo al pasar */
.ia-clean-md-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
}

.ia-clean-md-btn:hover::after {
    left: 120%;
    transition: all 0.6s ease-in-out;
}

.ia-clean-md-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    border-color: #dc2626;
}

.ia-clean-md-btn:hover i {
    color: #ffffff;
    transform: rotate(-20deg) scale(1.2);
}

@keyframes pulse-red-border {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@media (max-width: 768px) {
    .ia-clean-md-button-container {
        margin-left: 0;
        width: 100%;
        order: -1;
    }
    .ia-clean-md-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 0.9rem;
    }
}
