.sum_boost_ai-container {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    gap: 0.5em;
    align-items: center;
    flex-wrap: wrap;
}

.sum_boost_ai-container h4 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    flex-basis: 100%;
}

.sum_boost_ai-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
}

.sum_boost_ai-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

/* Full button style */
.sum_boost_ai-container.full-buttons .sum_boost_ai-button {
    border-radius: 6px;
    padding: 0.8em 1.5em;
    width: auto;
    height: auto;
    gap: 0.8em;
}

.sum_boost_ai-container.full-buttons .sum_boost_ai-button .dashicons {
    margin-right: 0;
}

.sum_boost_ai-container.full-buttons .sum_boost_ai-button span:not(.dashicons) {
    font-weight: 500;
    font-size: 0.95em;
}

.sum_boost_ai-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Tooltip styles */
.sum_boost_ai-button {
    position: relative;
}

.sum_boost_ai-button:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 5px;
    pointer-events: none;
    z-index: 100;
}

.sum_boost_ai-chatgpt {
    background-color: #10a37f;
}

.sum_boost_ai-chatgpt:hover {
    background-color: #0d8c6d;
}

.sum_boost_ai-perplexity {
    background-color: #5436da;
}

.sum_boost_ai-perplexity:hover {
    background-color: #4526c4;
}

.sum_boost_ai-claude {
    background-color: #000000;
}

.sum_boost_ai-claude:hover {
    background-color: #333333;
} 

/* Alignment */
.sum_boost_ai-container.align-left { justify-content: flex-start; }
.sum_boost_ai-container.align-center { justify-content: center; }
.sum_boost_ai-container.align-right { justify-content: flex-end; }

/* Size variants (icon-only) */
.sum_boost_ai-container.size-s .sum_boost_ai-button { width: 32px; height: 32px; }
.sum_boost_ai-container.size-s .sum_boost_ai-button .dashicons { font-size: 16px; width: 16px; height: 16px; line-height: 16px; }

.sum_boost_ai-container.size-m .sum_boost_ai-button { width: 40px; height: 40px; } /* default */
.sum_boost_ai-container.size-m .sum_boost_ai-button .dashicons { font-size: 20px; width: 20px; height: 20px; line-height: 20px; }

.sum_boost_ai-container.size-l .sum_boost_ai-button { width: 48px; height: 48px; }
.sum_boost_ai-container.size-l .sum_boost_ai-button .dashicons { font-size: 24px; width: 24px; height: 24px; line-height: 24px; }

/* Size variants (full buttons) */
.sum_boost_ai-container.full-buttons.size-s .sum_boost_ai-button { padding: 0.6em 1.2em; }
.sum_boost_ai-container.full-buttons.size-m .sum_boost_ai-button { padding: 0.8em 1.5em; }
.sum_boost_ai-container.full-buttons.size-l .sum_boost_ai-button { padding: 1em 1.8em; }

/* External indicator for full buttons */
.sum_boost_ai-container.full-buttons .sum_boost_ai-external {
    margin-left: 0.4em;
    font-size: 0.9em;
    opacity: 0.9;
}
