/* Contexa Onboarding & Help Styles */

.contexa-help-page {
    max-width: 1200px;
    margin: 0 auto;
}

.contexa-onboarding-banner {
    background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.contexa-onboarding-banner h1 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 32px;
}

.contexa-onboarding-banner .lead {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
}

.contexa-help-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contexa-help-section {
    margin-bottom: 50px;
}

.contexa-help-section:last-child {
    margin-bottom: 0;
}

.contexa-help-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contexa-help-section h2 .dashicons {
    color: #2271b1;
    font-size: 28px;
    width: 28px;
    height: 28px;
}

/* Steps */
.contexa-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contexa-step {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #2271b1;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #2271b1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #1d2327;
}

.step-content p {
    margin-bottom: 15px;
    color: #50575e;
}

.step-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.step-content ul li {
    margin-bottom: 8px;
    color: #50575e;
}

.step-content code {
    background: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid #ddd;
    font-size: 13px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.status-badge.success {
    background: #d4edda;
    color: #155724;
}

.status-badge .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Shortcode Box */
.shortcode-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border: 2px solid #2271b1;
    border-radius: 4px;
    margin-top: 15px;
}

.shortcode-box code {
    flex: 1;
    font-size: 14px;
    background: transparent;
    border: none;
    padding: 0;
}

.copy-shortcode {
    cursor: pointer;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #2271b1;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #1d2327;
}

.feature-card p {
    margin: 0;
    color: #50575e;
    font-size: 14px;
    line-height: 1.6;
}

/* Shortcode Reference */
.shortcode-reference {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.shortcode-item {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #2271b1;
}

.shortcode-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.shortcode-item h3 code {
    background: #2271b1;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 16px;
}

.shortcode-item h4 {
    margin: 15px 0 10px 0;
    font-size: 14px;
    color: #50575e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shortcode-item ul {
    margin: 10px 0;
    padding-left: 20px;
}

.shortcode-item ul li {
    margin-bottom: 8px;
}

.shortcode-item code {
    background: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid #ddd;
    font-size: 13px;
}

/* Troubleshooting */
.troubleshooting-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.trouble-item {
    padding: 25px;
    background: #fff9e6;
    border-radius: 8px;
    border-left: 4px solid #f0b429;
}

.trouble-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1d2327;
    font-size: 18px;
}

.trouble-item ul {
    margin: 0;
    padding-left: 20px;
}

.trouble-item ul li {
    margin-bottom: 10px;
    color: #50575e;
}

/* Support Section */
.contexa-support-section {
    text-align: center;
    padding: 40px;
    background: #f0f6fc;
    border-radius: 8px;
}

.contexa-support-section h2 {
    border-bottom: none;
    justify-content: center;
}

.contexa-support-section p {
    font-size: 16px;
    color: #50575e;
    margin-bottom: 20px;
}

.support-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.support-links .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
}

.support-links .button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .contexa-onboarding-banner {
        padding: 30px 20px;
    }

    .contexa-onboarding-banner h1 {
        font-size: 24px;
    }

    .contexa-help-container {
        padding: 20px;
    }

    .contexa-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .support-links {
        flex-direction: column;
    }

    .support-links .button {
        width: 100%;
        justify-content: center;
    }
}
