/**
 * DiveWP AI Capabilities Styles
 * 
 * Styling for the AI Capabilities step-by-step guide.
 * 
 * @package DiveWP
 * @version 2.2.0
 */

.divewp-ai-capabilities-dashboard {
    /* No max-width here, use global container width */
}

.divewp-ai-intro {
    margin-bottom: 24px;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
}

/* Hero Section */
.divewp-ai-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.divewp-ai-hero__content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.divewp-ai-hero__icon {
    width: 56px;
    height: 56px;
    background: #f0f9ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
}

.divewp-ai-hero__icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.divewp-ai-hero__text h4 {
    margin: 0 0 8px;
    font-family: 'Literata', serif;
    font-size: 18px;
}

.divewp-ai-hero__text p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Status Pill */
.divewp-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.divewp-status-pill--success {
    background: #dcfce7;
    color: #166534;
}

.divewp-status-pill--warning {
    background: #fee2e2;
    color: #991b1b;
}

/* MCP Explanation Box */
.divewp-mcp-explanation {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
}

.divewp-mcp-explanation__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #0369a1;
}

.divewp-mcp-explanation__header h5 {
    margin: 0;
    font-family: 'Literata', serif;
    font-size: 16px;
}

.divewp-mcp-explanation__content p {
    margin: 0;
    color: #0c4a6e;
    font-size: 14px;
    line-height: 1.6;
}

/* Cards Styling */
.divewp-ai-step-card.recommendation-card {
    min-height: 280px;
    background: #fff;
}

.divewp-ai-step-card .recommendation-icon {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 8px;
    color: #64748b;
}

.divewp-ai-step-card .recommendation-title {
    font-size: 16px;
}

.divewp-ai-step-card .recommendation-bottom .divewp-button {
    padding: 6px 16px;
    font-size: 13px;
}

.divewp-ai-step-card .divewp-ai-config-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Tools Section */
.divewp-ai-tools {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
}

.divewp-ai-tools h4 {
    margin: 0 0 12px;
    font-family: 'Literata', serif;
}

.divewp-ai-tools p {
    color: #64748b;
    margin-bottom: 24px;
}

.divewp-tools-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.divewp-tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Usage Examples */
.divewp-ai-usage-examples {
    margin-bottom: 40px;
}

.divewp-prompts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.divewp-prompt-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.divewp-prompt-item .dashicons {
    color: #94a3b8;
    margin-top: 4px;
}

.divewp-prompt-item p {
    margin: 0;
    font-style: italic;
    color: #334155;
    font-size: 14px;
}

/* Config Modal */
.divewp-ai-config-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 100000;
}

.divewp-ai-config-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.divewp-ai-config-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
}

.divewp-ai-config-modal__panel {
    position: relative;
    width: min(720px, 92vw);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    overflow: hidden;
}

.divewp-ai-config-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.divewp-ai-config-modal__actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.divewp-ai-config-modal__header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.divewp-ai-config-modal__close {
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.divewp-ai-config-modal__copy {
    padding: 6px 12px;
    font-size: 12px;
}

.divewp-ai-config-modal__close .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.divewp-ai-config-modal__content {
    padding: 20px;
}

.divewp-ai-config-modal__content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0;
}

.divewp-ai-config-modal__content code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 782px) {
    .divewp-ai-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .divewp-tools-list {
        grid-template-columns: 1fr;
    }
}
