/**
 * Summarize with AI - Public Styles
 *
 * @package SUMMARIZEAI
 */

.share-with-ai {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.share-with-ai a {
    outline: 0!important;
    text-decoration: none!important;
}

.share-with-ai .share-ai.perplexity {
    background: #20808D;
}

.share-with-ai .share-ai.chatgpt,
.share-with-ai .share-ai.grok {
    background: #000;
}

.share-with-ai .share-ai.claude {
    background: #ff6b35;
}

.share-ai-text {
    margin-right: 10px;
}

.share-ai-text span {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.share-ai {
    display: inline-block;
}

.summarize-with-ai-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.summarize-with-ai-icon:hover {
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summarize-with-ai-icon img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Individual AI service styling */
.summarize-with-chatgpt:hover {
    background: #10a37f;
    color: #ffffff;
    border-color: #10a37f;
}

.summarize-with-grok:hover {
    background: #000;
    color: #ffffff;
    border-color: #000;
}

.summarize-with-perplexity:hover {
    background: #20808d;
    color: #ffffff;
    border-color: #20808d;
}

.summarize-with-claude {
    border-color: #d77655;
    background: #d77655;
}

.summarize-with-claude:hover {
    background: #d77655;
    color: #ffffff;
    border-color: #d77655;
}

/* Responsive design */
@media (max-width: 768px) {
    .share-with-ai {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .share-ai-text {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .share-ai {
        display: block;
        width: 100%;
    }

    .summarize-with-ai-icon {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .share-with-ai {
        padding: 12px;
        margin: 15px 0;
    }

    .summarize-with-ai-icon {
        font-size: 14px;
        padding: 10px;
    }

    .summarize-with-ai-icon img {
        width: 18px;
        height: 18px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .share-with-ai {
        background: #2d3748;
        border-color: #4a5568;
    }

    .share-ai-text span {
        color: #e2e8f0;
    }

    .summarize-with-ai-icon {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
}

/* Print styles */
@media print {
    .share-with-ai {
        display: none;
    }
}