/**
 * AI Share & Summarize Plugin - Estilos CSS
 * Estilos minimalistas para los botones de compartir y resumir con IA
 * Version: 1.0.5
 */

/* Contenedor principal - FORZAR ELIMINACIÓN COMPLETA DE FONDOS NEGROS DEL CONTENEDOR */
.ayudawp-share-buttons,
.ayudawp-share-buttons h3,
.ayudawp-share-buttons h4,
.ayudawp-share-buttons h5,
.ayudawp-share-buttons h6,
.ayudawp-share-buttons span,
.ayudawp-share-buttons .ayudawp-title,
.ayudawp-buttons-container {
    background: transparent !important;
    background-color: transparent !important;
}

.ayudawp-share-buttons {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    clear: both;
}

.ayudawp-share-buttons .ayudawp-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    font-family: inherit;
    display: block;
}

/* Estilos específicos para cada tipo de título */
.ayudawp-share-buttons h3.ayudawp-title {
    font-size: 18px;
}

.ayudawp-share-buttons h4.ayudawp-title {
    font-size: 16px;
}

.ayudawp-share-buttons h5.ayudawp-title {
    font-size: 14px;
}

.ayudawp-share-buttons h6.ayudawp-title {
    font-size: 13px;
}

.ayudawp-share-buttons span.ayudawp-title {
    font-size: 16px;
    font-weight: 600;
}

/* Contenedor de botones */
.ayudawp-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Estilos base - QUITAR TODOS LOS ICONOS Y SUBRAYADOS */
.ayudawp-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
    min-width: 80px;
    text-align: center;
    background: #fff;
    color: #555;
    font-family: inherit;
    text-transform: capitalize;
}

.ayudawp-share-btn:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
    color: #333;
    background: #f8f9fa;
    border-color: #999;
}

.ayudawp-share-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
    text-decoration: none !important;
}

.ayudawp-share-btn:visited {
    text-decoration: none !important;
}

.ayudawp-share-btn:active {
    text-decoration: none !important;
}

/* ELIMINAR COMPLETAMENTE TODOS LOS ICONOS */
.ayudawp-share-btn::after,
.ayudawp-share-btn.ai::after,
.ayudawp-share-btn.claude::after,
.ayudawp-share-btn.chatgpt::after,
.ayudawp-share-btn.google_ai::after,
.ayudawp-share-btn.google-ai::after,
.ayudawp-share-btn.grok::after,
.ayudawp-share-btn.perplexity::after {
    display: none !important;
    content: "" !important;
}

.ayudawp-share-btn::before,
.ayudawp-share-btn.ai::before,
.ayudawp-share-btn.claude::before,
.ayudawp-share-btn.chatgpt::before,
.ayudawp-share-btn.google_ai::before,
.ayudawp-share-btn.google-ai::before,
.ayudawp-share-btn.grok::before,
.ayudawp-share-btn.perplexity::before {
    display: none !important;
    content: "" !important;
}

/* ESTILO POR DEFECTO - Minimalista con fondo blanco */
.ayudawp-share-buttons .ayudawp-share-btn,
.ayudawp-share-buttons.default .ayudawp-share-btn {
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
}

.ayudawp-share-buttons .ayudawp-share-btn:hover,
.ayudawp-share-buttons.default .ayudawp-share-btn:hover {
    background: #f8f9fa;
    color: #333;
    border-color: #999;
}

/* ESTILO MINIMAL - Solo bordes, texto NEGRO */
.ayudawp-share-buttons.minimal .ayudawp-share-btn {
    background: transparent !important;
    color: #333 !important;
    border: 1px solid #ddd;
}

.ayudawp-share-buttons.minimal .ayudawp-share-btn:hover {
    background: transparent !important;
    color: #000 !important;
    border-color: #999;
}

/* ESTILO MARCA - Colores de cada plataforma con MÁXIMA ESPECIFICIDAD */
.ayudawp-share-buttons.brand .ayudawp-share-btn.twitter,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.twitter {
    background: #1da1f2 !important;
    background-color: #1da1f2 !important;
    border-color: #1da1f2 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.twitter:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.twitter:hover {
    background: #1991db !important;
    background-color: #1991db !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.linkedin,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.linkedin {
    background: #0077b5 !important;
    background-color: #0077b5 !important;
    border-color: #0077b5 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.linkedin:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.linkedin:hover {
    background: #006699 !important;
    background-color: #006699 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.facebook,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.facebook {
    background: #1877f2 !important;
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.facebook:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.facebook:hover {
    background: #166fe5 !important;
    background-color: #166fe5 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.telegram,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.telegram {
    background: #0088cc !important;
    background-color: #0088cc !important;
    border-color: #0088cc !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.telegram:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.telegram:hover {
    background: #007bb3 !important;
    background-color: #007bb3 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.whatsapp,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.whatsapp {
    background: #25d366 !important;
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.whatsapp:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.whatsapp:hover {
    background: #22c55e !important;
    background-color: #22c55e !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.email,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.email {
    background: #6c757d !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.email:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.email:hover {
    background: #5a6268 !important;
    background-color: #5a6268 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.raindrop,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.raindrop {
    background: #1e90ff !important;
    background-color: #1e90ff !important;
    border-color: #1e90ff !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.raindrop:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.raindrop:hover {
    background: #1c86ee !important;
    background-color: #1c86ee !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.claude,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.claude {
    background: #ff6b35 !important;
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.claude:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.claude:hover {
    background: #e55a2b !important;
    background-color: #e55a2b !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.chatgpt,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.chatgpt {
    background: #10a37f !important;
    background-color: #10a37f !important;
    border-color: #10a37f !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.chatgpt:hover {
    background: #0d8f72 !important;
    background-color: #0d8f72 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.google-ai,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.google-ai {
    background: #4285f4 !important;
    background-color: #4285f4 !important;
    border-color: #4285f4 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.google-ai:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.google-ai:hover {
    background: #3367d6 !important;
    background-color: #3367d6 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.grok,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.grok {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.grok:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.grok:hover {
    background: #333333 !important;
    background-color: #333333 !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.perplexity,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.perplexity {
    background: #20b2aa !important;
    background-color: #20b2aa !important;
    border-color: #20b2aa !important;
    color: white !important;
}

.ayudawp-share-buttons.brand .ayudawp-share-btn.perplexity:hover,
.ayudawp-share-buttons.brand a.ayudawp-share-btn.perplexity:hover {
    background: #1c9a94 !important;
    background-color: #1c9a94 !important;
    color: white !important;
}

/* ESTILO PARA FONDOS OSCUROS - Bordes y texto blanco/gris claro */
.ayudawp-share-buttons.dark {
    border-top-color: #444;
    border-bottom-color: #444;
}

.ayudawp-share-buttons.dark .ayudawp-share-btn {
    background: transparent !important;
    color: #e0e0e0 !important;
    border: 1px solid #666;
}

.ayudawp-share-buttons.dark .ayudawp-share-btn:hover {
    background: transparent !important;
    color: #fff !important;
    border-color: #999;
}

.ayudawp-share-buttons.dark .ayudawp-title {
    color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .ayudawp-buttons-container {
        gap: 8px;
    }
    
    .ayudawp-share-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 70px;
    }
    
    .ayudawp-share-buttons {
        padding: 15px 0;
        margin: 20px 0;
    }
    
    .ayudawp-share-buttons .ayudawp-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .ayudawp-buttons-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ayudawp-share-btn {
        width: 100%;
        justify-content: center;
    }
}