/**
 * VMO Professional Business Summary Styling
 * Comprehensive display for AI-generated business summaries
 */

.vmo-professional-summary {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.vmo-professional-summary .summary-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.vmo-professional-summary .summary-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vmo-professional-summary h3 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vmo-professional-summary p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.vmo-professional-summary p strong {
    color: #111827;
    font-weight: 600;
}

.vmo-professional-summary p em {
    color: #6b7280;
    font-size: 14px;
}

.vmo-professional-summary ul {
    margin: 10px 0 15px 0;
    padding-left: 20px;
}

.vmo-professional-summary ul li {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.vmo-professional-summary .indent {
    margin-left: 20px;
    padding-left: 15px;
    border-left: 3px solid #3b82f6;
}

.vmo-professional-summary .keywords {
    background: #f3f4f6;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    font-size: 13px;
    color: #1f2937;
    line-height: 1.8;
}

/* Summary Actions */
.summary-actions {
    background: #f9fafb;
    border-top: 2px solid #e5e7eb;
    margin-top: 30px;
    padding: 25px;
    border-radius: 0 0 12px 12px;
    text-align: center;
}

.summary-actions p {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

.summary-actions .vmo-btn {
    margin: 0 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.summary-actions .vmo-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.summary-actions .vmo-btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.summary-actions .vmo-btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.summary-actions .vmo-btn-secondary:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

/* Refinement Feedback Form */
.refinement-feedback-form {
    background: white;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.refinement-feedback-form h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.refinement-feedback-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
}

.refinement-feedback-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.refinement-feedback-form .form-actions {
    margin-top: 15px;
    text-align: right;
}

.refinement-feedback-form .form-actions button {
    margin-left: 10px;
}

/* Loading States */
.summary-generating {
    text-align: center;
    padding: 60px 30px;
}

.summary-generating .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.summary-generating p {
    color: #6b7280;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vmo-professional-summary {
        padding: 20px;
    }
    
    .summary-actions .vmo-btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .vmo-professional-summary h3 {
        font-size: 18px;
    }
    
    .vmo-professional-summary p,
    .vmo-professional-summary ul li {
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .summary-actions {
        display: none;
    }
    
    .vmo-professional-summary {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}
