/* Container */
.ai-summarizer-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Label */
.ai-summarizer-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-right: 8px;
}

/* Buttons Container */
.ai-summarizer-buttons {
    display: flex;
    gap: 8px;
}

/* Button Styles */
.ai-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 12px; /* Rounded square */
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
}

/* Icon Styles (Mask-based) */
.ai-icon {
    width: 24px;
    height: 24px;
    background-color: #000000; /* Default Light Mode Icon Color */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Dark Mode Overrides */
.ai-summarizer-bar.dark-mode {
    background-color: #1f2937;
    border-color: #374151;
}

.ai-summarizer-bar.dark-mode .ai-summarizer-label {
    color: #f3f4f6;
}

.ai-summarizer-bar.dark-mode .ai-btn {
    background-color: #374151;
    border-color: #4b5563;
}

.ai-summarizer-bar.dark-mode .ai-btn:hover {
    border-color: #6b7280;
    background-color: #4b5563;
}

.ai-summarizer-bar.dark-mode .ai-icon {
    background-color: #ffffff; /* Dark Mode Icon Color */
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .ai-summarizer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .ai-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .ai-icon {
        width: 20px;
        height: 20px;
    }
}
