/* SP AI Tools - Frontend Styles for Shortcodes */

/* Bio Display Styles */
.spai-bio {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.spai-bio-title {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.spai-bio-content {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 1rem;
}

.spai-fact-line {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    padding: 0.25rem 0;
}

.spai-fact-line strong {
    color: #495057;
    font-weight: 600;
    display: inline-block;
    min-width: 140px;
}

.spai-bio-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.spai-bio-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #2c3e50;
}

.spai-no-bio {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Quick Facts Styles */
.spai-quick-facts {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.spai-quick-facts-title {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.spai-quick-facts-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spai-fact-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
}

.spai-fact-label {
    font-weight: 600;
    color: #495057;
    min-width: 140px;
    flex-shrink: 0;
}

.spai-fact-value {
    color: #2c3e50;
    flex: 1;
    line-height: 1.4;
}

.spai-fact-summary {
    color: #6c757d;
    font-style: italic;
    line-height: 1.5;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #dee2e6;
}

.spai-compare-empty {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-style: italic;
}

/* Results Summary Styles */
.spai-results-summary {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.spai-results-summary p {
    margin: 0.5rem 0;
    color: #1565c0;
    font-weight: 500;
}

.spai-results-success ul {
    margin: 0;
    padding-left: 1.5rem;
}

.spai-results-success li {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spai-bio {
        padding: 1rem;
    }
    
    .spai-bio-title {
        font-size: 1.25rem;
    }
    
    .spai-fact-line strong {
        min-width: 120px;
    }
    
    .spai-fact-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .spai-fact-label {
        min-width: auto;
    }
    
    .spai-quick-facts {
        padding: 1rem;
    }
} 