/**
 * Prime SEO Welcome Page Styles - Modern Card-Based Design
 * 
 * @package    Prime_SEO
 * @subpackage Prime_SEO/admin/css
 * @since      1.0.0
 */

/* ============================================
   WELCOME PAGE CONTAINER
   ============================================ */

.prime-seo-welcome-wrap {
    max-width: 1100px;
    margin: 20px auto 40px;
    padding: 0 20px;
}

/* ============================================
   HEADER SECTION WITH LOGO
   ============================================ */

.prime-seo-welcome-header {
    margin-bottom: 40px;
    padding-top: 20px;
}

.prime-seo-welcome-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.prime-seo-logo {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.prime-seo-logo .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: #fff;
}

.prime-seo-welcome-title-wrap {
    flex: 1;
}

.prime-seo-welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #6366f1;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.prime-seo-welcome-subtitle {
    font-size: 16px;
    color: #646970;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   STEPS SECTION - 3 HORIZONTAL CARDS
   ============================================ */

.prime-seo-steps-section {
    margin-bottom: 40px;
}

.prime-seo-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.prime-seo-step-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prime-seo-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.prime-seo-step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1 0%, #6366f1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.prime-seo-step-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.prime-seo-step-number {
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.prime-seo-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.prime-seo-step-desc {
    font-size: 14px;
    color: #646970;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   FEATURES SECTION - FULL WIDTH CARD
   ============================================ */

.prime-seo-features-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.prime-seo-features-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f1;
}

.prime-seo-features-header .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #f0b849;
}

.prime-seo-features-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1d2327;
    margin: 0;
}

.prime-seo-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.prime-seo-feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8e8e8;
}

.prime-seo-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.prime-seo-feature-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.prime-seo-feature-icon-blue {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.prime-seo-feature-icon-green {
    background: linear-gradient(135deg, #00a32a 0%, #2ecc71 100%);
}

.prime-seo-feature-icon-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.prime-seo-feature-icon-orange {
    background: linear-gradient(135deg, #f0b849 0%, #e67e22 100%);
}

.prime-seo-feature-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    margin: 0 0 8px 0;
}

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

/* ============================================
   TIPS SECTION
   ============================================ */

.prime-seo-tips-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.prime-seo-tips-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f1;
}

.prime-seo-tips-header .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #f0b849;
}

.prime-seo-tips-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1d2327;
    margin: 0;
}

.prime-seo-tips-list {
    margin: 0;
    padding: 0 0 0 24px;
    counter-reset: tips-counter;
    list-style: none;
}

.prime-seo-tips-list li {
    position: relative;
    font-size: 15px;
    color: #1d2327;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 12px;
    counter-increment: tips-counter;
}

.prime-seo-tips-list li::before {
    content: counter(tips-counter) ".";
    position: absolute;
    left: -24px;
    font-weight: 600;
    color: #6366f1;
}

.prime-seo-tips-list li:last-child {
    margin-bottom: 0;
}

/* ============================================
   CALL TO ACTION SECTION
   ============================================ */

.prime-seo-cta-section {
    text-align: center;
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f4fd 100%);
    border-radius: 12px;
    padding: 40px 32px;
    margin-bottom: 40px;
    border: 1px solid #c3ddf1;
}

.prime-seo-cta-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1d2327;
    margin: 0 0 12px 0;
}

.prime-seo-cta-section > p {
    font-size: 16px;
    color: #646970;
    margin: 0 0 28px 0;
}

.prime-seo-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.prime-seo-btn-primary,
.prime-seo-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 500;
    border-radius: 8px !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.prime-seo-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}

.prime-seo-btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
}

.prime-seo-btn-secondary {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    color: #6366f1 !important;
}

.prime-seo-btn-secondary:hover {
    background: #f0f6fc !important;
    color: #4f46e5 !important;
}

.prime-seo-btn-primary .dashicons,
.prime-seo-btn-secondary .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */

.prime-seo-welcome-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #dcdcde;
}

.prime-seo-welcome-footer p {
    font-size: 14px;
    color: #646970;
    margin: 0 0 12px 0;
}

.prime-seo-welcome-footer a {
    color: #6366f1;
    text-decoration: none;
}

.prime-seo-welcome-footer a:hover {
    text-decoration: underline;
}

.prime-seo-author-credit {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 16px !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 960px) {
    .prime-seo-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .prime-seo-step-card {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prime-seo-step-icon {
        margin: 0 0 12px 0;
    }
    
    .prime-seo-features-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 782px) {
    .prime-seo-welcome-wrap {
        margin: 10px auto 20px;
        padding: 0 10px;
    }
    
    .prime-seo-welcome-header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .prime-seo-welcome-title {
        font-size: 26px;
    }
    
    .prime-seo-features-section,
    .prime-seo-tips-section {
        padding: 24px 20px;
    }
    
    .prime-seo-features-header h2,
    .prime-seo-tips-header h2 {
        font-size: 18px;
    }
    
    .prime-seo-cta-section {
        padding: 30px 20px;
    }
    
    .prime-seo-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .prime-seo-btn-primary,
    .prime-seo-btn-secondary {
        justify-content: center;
        width: 100%;
    }
}

/* ============================================
   WELCOME TOUR OVERLAY (for post editor)
   ============================================ */

.prime-seo-tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.prime-seo-tour-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 520px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.prime-seo-tour-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.prime-seo-tour-header h2 {
    margin: 0;
    font-size: 20px;
    color: #1d2327;
    font-weight: 600;
}

.prime-seo-tour-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #646970;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.prime-seo-tour-close:hover {
    background: #f0f0f1;
    color: #1d2327;
}

.prime-seo-tour-body {
    padding: 24px 28px;
}

.prime-seo-tour-body p {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #1d2327;
}

.prime-seo-tour-body p:last-child {
    margin-bottom: 0;
}

.prime-seo-tour-body ul {
    margin: 16px 0;
    padding-left: 20px;
}

.prime-seo-tour-body li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.prime-seo-tour-footer {
    padding: 20px 28px;
    background: #f6f7f7;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prime-seo-tour-progress {
    font-size: 13px;
    color: #646970;
    font-weight: 500;
}

.prime-seo-tour-buttons {
    display: flex;
    gap: 10px;
}

.prime-seo-tour-highlight {
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.5) !important;
    position: relative;
    z-index: 99999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 113, 177, 0.3);
    }
}

/* Tour Mobile Responsive */
@media screen and (max-width: 600px) {
    .prime-seo-tour-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .prime-seo-tour-header,
    .prime-seo-tour-body,
    .prime-seo-tour-footer {
        padding: 20px;
    }

    .prime-seo-tour-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .prime-seo-tour-buttons {
        width: 100%;
        flex-direction: column;
    }

    .prime-seo-tour-buttons .button {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   SETUP WIZARD (prime-seo-welcome-page.php)
   ============================================ */

/* Base */
.welcome-wrap * {
    box-sizing: border-box;
}

.welcome-wrap {
    margin: -8px -20px 0 -2px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Header */
.welcome-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.welcome-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: welcomePulse 15s ease-in-out infinite;
}

@keyframes welcomePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.welcome-header-content {
    position: relative;
    z-index: 1;
}

.welcome-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    animation: welcomeFloat 3s ease-in-out infinite;
}

@keyframes welcomeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.welcome-logo .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #fff;
}

.welcome-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.welcome-header > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

.welcome-version {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 16px;
}

/* Conflict Alert */
.conflict-alert {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.conflict-alert-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border-bottom: 1px solid #fde68a;
}

.conflict-alert-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.conflict-alert-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #fff;
}

.conflict-alert h3 {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin: 0;
}

.conflict-alert-body {
    padding: 24px;
}

.conflict-alert p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
    line-height: 1.7;
}

.conflict-plugins {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.conflict-plugin {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.conflict-plugin:hover {
    border-color: #6366f1;
    background: #eef2ff;
}

.conflict-plugin .dashicons {
    color: #6366f1;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.conflict-plugin span {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.conflict-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-import {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-import:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.btn-import .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.conflict-or {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    padding: 0 4px;
}

/* Conflict Instructions */
.conflict-instructions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.conflict-instructions h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px;
}

.conflict-instructions ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.conflict-instructions li {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 12px;
}

.conflict-instructions li:last-child {
    margin-bottom: 0;
}

.conflict-instructions li a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}

.conflict-instructions li a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.conflict-instructions li .dashicons {
    vertical-align: middle;
}

.conflict-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    color: #4338ca;
    margin: 0;
}

.conflict-tip .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #6366f1;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Progress Bar */
.welcome-progress {
    margin-bottom: 24px;
}

.welcome-progress-inner {
    background: #fff;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.welcome-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.welcome-progress-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.welcome-progress-header span {
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
}

.welcome-progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.welcome-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.welcome-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.welcome-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.welcome-progress-step.active {
    color: #6366f1;
    font-weight: 600;
}

.welcome-progress-step.complete {
    color: #10b981;
}

.welcome-progress-step .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Content */
.welcome-content {
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
}

/* Wizard Steps */
.wizard-step {
    display: none;
    animation: wizardFadeIn 0.4s ease;
}

.wizard-step.active {
    display: block;
}

#wizard-form {
    margin-top: 0;
}

@keyframes wizardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.wizard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid #e2e8f0;
}

.wizard-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wizard-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.wizard-card-icon .dashicons {
    font-size: 26px;
    width: 26px;
    height: 26px;
    color: #fff;
}

.wizard-card-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.wizard-card-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.wizard-card-body {
    padding: 28px;
}

/* Form Fields */
.wizard-field {
    margin-bottom: 24px;
}

.wizard-field:last-child {
    margin-bottom: 0;
}

.wizard-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.wizard-field label span {
    font-weight: 400;
    color: #64748b;
    font-size: 13px;
}

.wizard-field input[type="text"],
.wizard-field textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s;
}

.wizard-field input:focus,
.wizard-field textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.wizard-field textarea {
    min-height: 100px;
    resize: vertical;
}

.wizard-field-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
}

.wizard-field-hint .count {
    color: #64748b;
}

.wizard-field-hint .status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.wizard-field-hint .status.good {
    color: #10b981;
}

.wizard-field-hint .status.warning {
    color: #f59e0b;
}

.wizard-field-hint .status.bad {
    color: #ef4444;
}

/* Toggle */
.wizard-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.wizard-toggle:hover {
    border-color: #e2e8f0;
}

.wizard-toggle.active {
    background: #eef2ff;
    border-color: #6366f1;
}

.wizard-toggle-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wizard-toggle-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wizard-toggle-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #6366f1;
}

.wizard-toggle-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
}

.wizard-toggle-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.wizard-switch {
    position: relative;
    width: 56px;
    height: 30px;
    cursor: pointer;
}

.wizard-switch input {
    display: none;
}

.wizard-switch-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e1;
    border-radius: 30px;
    transition: 0.3s;
}

.wizard-switch-slider::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wizard-switch input:checked + .wizard-switch-slider {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.wizard-switch input:checked + .wizard-switch-slider::before {
    transform: translateX(26px);
}

/* Buttons */
.wizard-buttons {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.wizard-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.wizard-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.wizard-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.wizard-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.wizard-btn-secondary {
    background: #fff;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 12px 26px;
}

.wizard-btn-secondary:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: #fff;
}

.wizard-btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.wizard-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    color: #fff;
}

.wizard-btn-skip {
    background: transparent;
    color: #64748b;
    border: none;
    padding: 14px 20px;
}

.wizard-btn-skip:hover {
    color: #6366f1;
}

/* Success Screen */
.wizard-success {
    text-align: center;
    padding: 48px 32px;
}

.wizard-success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: wizardBounce 0.6s ease;
}

@keyframes wizardBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.wizard-success-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #fff;
}

.wizard-success h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.wizard-success p {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Preview */
.wizard-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.wizard-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
}

.wizard-feature .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #10b981;
}

.wizard-feature span {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

/* Quick Links in Success */
.wizard-quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.wizard-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.wizard-quick-link:hover {
    background: #eef2ff;
    border-color: #6366f1;
    transform: translateY(-2px);
}

.wizard-quick-link .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #6366f1;
}

.wizard-quick-link span {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

/* Wizard Responsive */
@media (max-width: 768px) {
    .welcome-header {
        padding: 32px 20px;
    }

    .welcome-header h1 {
        font-size: 24px;
    }

    .welcome-progress {
        padding: 0 16px;
        margin-top: -20px;
    }

    .welcome-progress-inner {
        padding: 20px;
    }

    .welcome-progress-steps {
        flex-wrap: wrap;
        gap: 8px;
    }

    .welcome-content {
        padding: 20px 16px;
    }

    .wizard-card-body {
        padding: 20px;
    }

    .wizard-buttons {
        flex-direction: column;
    }

    .wizard-features {
        grid-template-columns: 1fr;
    }

    .wizard-quick-links {
        grid-template-columns: 1fr;
    }
}
