/* WooCommerce Gemini Frontend Styles - Premium */

.wc-gemini-summary-wrapper {
    background: #2B2B2B; /* Rich Charcoal */
    border-radius: 8px;
    padding: 16px;
    margin: 15px 0;
    border: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold Border */
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #F5F5F5; /* Soft Off-White */
}

.wc-gemini-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold Border */
}

.wc-gemini-summary-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-gemini-score-number {
    font-size: 18px;
    font-weight: 600;
    color: #D4AF37; /* Gold */
}

.wc-gemini-score-label {
    font-size: 12px;
    color: #F5F5F5; /* Soft Off-White */
    font-weight: 500;
    opacity: 0.8;
}

.wc-gemini-summary-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wc-gemini-rating-text {
    font-size: 12px;
    font-weight: 500;
    color: #F5F5F5; /* Soft Off-White */
}

.wc-gemini-stars {
    display: flex;
    gap: 2px;
}

.wc-gemini-stars .star {
    font-size: 14px;
    color: rgba(212, 175, 55, 0.4); /* Muted Gold */
}

.wc-gemini-stars .star.filled {
    color: #D4AF37; /* Gold */
}

.wc-gemini-summary-content {
    position: relative;
    min-height: 40px;
}

.wc-gemini-summary-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #F5F5F5; /* Soft Off-White */
    font-size: 13px;
    font-weight: 500;
}

.wc-gemini-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2); /* Muted Gold */
    border-top: 2px solid #D4AF37; /* Gold */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wc-gemini-summary-text {
    color: #F5F5F5; /* Soft Off-White */
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
}

.wc-gemini-summary-text p {
    margin: 0 0 8px 0;
}

.wc-gemini-summary-text ul {
    margin: 0;
    padding-left: 16px;
}

.wc-gemini-summary-text li {
    margin-bottom: 4px;
}

.wc-gemini-summary-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold Border */
    display: flex;
    justify-content: flex-end;
}

.wc-gemini-language-selector select {
    background: #3D3D3D; /* Darker Gray */
    border: 1px solid rgba(212, 175, 55, 0.3); /* Muted Gold Border */
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: #F5F5F5; /* Soft Off-White */
    cursor: pointer;
    outline: none;
    font-family: inherit;
    font-weight: 500;
    min-width: 100px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 24 24" fill="%23D4AF37"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px;
    padding-right: 24px;
}

.wc-gemini-language-selector select:focus {
    border-color: #D4AF37; /* Gold */
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.wc-gemini-language-selector select:hover {
    border-color: #D4AF37; /* Gold */
}

/* Responsive Design */
@media (max-width: 768px) {
    .wc-gemini-summary-wrapper {
        padding: 12px;
        margin: 10px 0;
    }
    
    .wc-gemini-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .wc-gemini-summary-rating {
        align-self: flex-start;
    }
    
    .wc-gemini-summary-text {
        font-size: 13px;
    }
    
    .wc-gemini-language-selector select {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 80px;
    }
}

/* Dark mode is the default with this premium theme */

/* Simple fade animation */
.wc-gemini-summary-text {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}