/**
 * AI Product SEO Widget Frontend Styles
 */

.dinopack-ai-product-seo {
    position: relative;
}

.dinopack-ai-product-seo .dinopack-ai-seo-content {
    position: relative;
}

.dinopack-ai-product-seo .dinopack-ai-seo-item {
    margin-bottom: 15px;
}

.dinopack-ai-product-seo .dinopack-ai-seo-item:last-child {
    margin-bottom: 0;
}

.dinopack-ai-product-seo .dinopack-ai-seo-item strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.dinopack-ai-product-seo .dinopack-ai-seo-item span,
.dinopack-ai-product-seo .dinopack-ai-seo-item p {
    display: block;
    margin: 0;
}

.dinopack-ai-product-seo .dinopack-ai-seo-item .dinopack-char-count {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

.dinopack-ai-product-seo .dinopack-ai-seo-placeholder {
    text-align: center;
    padding: 40px 20px;
    background-color: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 4px;
}

.dinopack-ai-product-seo .dinopack-ai-seo-placeholder .dinopack-placeholder {
    color: #999;
    font-style: italic;
    margin: 0;
}

.dinopack-ai-product-seo .dinopack-ai-loading-state {
    text-align: center;
    padding: 40px 20px;
}

.dinopack-ai-product-seo .dinopack-ai-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6F9C50;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: dinopack-spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes dinopack-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dinopack-ai-product-seo .dinopack-ai-error {
    color: #d63638;
    background-color: #fcf0f1;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

