/**
 * Desarrollado por: Carlos Saumeth
 * Website: www.carlossaumeth.com
 * GitHub: @csaumeth
 */

/* ======================================================================
   1. IMPORT OUTSIDE GOOGLE FONTS FOR PREMIUM TYPOGRAPHY
   ====================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ======================================================================
   2. CORE CONTAINER SCOPING & HSL PALETTE SYSTEM
   ====================================================================== */
.cswq-container {
    /* Base HSL Palette Design System */
    --primary: hsl(221.2, 83.2%, 53.3%);         /* Sleek Electric Blue */
    --primary-hover: hsl(221.2, 83.2%, 45%);
    --accent: hsl(262.1, 83.3%, 57.8%);         /* Premium Royal Purple */
    --accent-hover: hsl(262.1, 83.3%, 48%);
    --success: hsl(142.1, 70.6%, 45.3%);        /* Vibrant Emerald Green */
    --danger: hsl(346.8, 84.2%, 50.2%);         /* Deep Crimson Red */
    --warning: hsl(37.9, 90.2%, 50.2%);         /* Amber Gold Orange */
    
    --bg-light: hsl(210, 40%, 98%);             /* Light grey blue background */
    --bg-card: hsl(0, 0%, 100%);                /* Pure white cards */
    --border: hsl(214.3, 31.8%, 91.4%);         /* Soft grey borders */
    --text: hsl(222.2, 47.4%, 11.2%);           /* Ink dark primary text */
    --text-muted: hsl(215.4, 16.3%, 46.9%);     /* Cool grey secondary text */
    --text-light: hsl(215, 20.2%, 65.1%);
    
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -8px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 35px -5px rgba(0, 0, 0, 0.08), 0 12px 20px -8px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: var(--bg-light) !important;
    color: var(--text) !important;
    max-width: 980px;
    margin: 2rem auto;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    box-sizing: border-box;
}

/* ======================================================================
   3. PREMIUM DARK MODE OVERRIDES (SCOPED TO CONTAINER CLASS)
   ====================================================================== */
.cswq-container.dark-mode {
    --bg-light: hsl(222.2, 47.4%, 11.2%);       /* Slate dark background */
    --bg-card: hsl(217.2, 32.6%, 17.5%);        /* Deep slate card grey */
    --border: hsl(217.2, 32.6%, 24%);           /* High contrast border */
    --text: hsl(210, 40%, 98%);                 /* Clean white primary text */
    --text-muted: hsl(215.4, 20.2%, 65.1%);     /* Soft grey text */
    
    --shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 25px 40px -10px rgba(0, 0, 0, 0.6);
    border-color: var(--border);
}

.cswq-container * {
    box-sizing: border-box;
}

/* ======================================================================
   4. LAYOUT COMPONENT STYLESETS
   ====================================================================== */

/* Wizard Header */
.cswq-wizard-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.cswq-brand-logo {
    display: inline-block;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}
.cswq-brand-logo:hover {
    transform: rotate(5deg) scale(1.05);
}
.cswq-wizard-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--text) !important;
    margin: 0 0 0.5rem 0 !important;
    letter-spacing: -0.03em;
}
.cswq-wizard-subtitle {
    font-size: 15px !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    font-weight: 400;
    max-width: 550px;
    margin: 0 auto !important;
    line-height: 1.5;
}

/* Progress Tracker Bar */
.cswq-progress-bar {
    position: relative;
    margin-bottom: 3.5rem;
    padding: 0 1rem;
}
.cswq-progress-track {
    position: absolute;
    top: 18px;
    left: 2.5rem;
    right: 2.5rem;
    height: 4px;
    background-color: var(--border);
    z-index: 1;
    border-radius: 2px;
}
.cswq-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    border-radius: 2px;
    transition: var(--transition);
}
.cswq-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
.cswq-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 60px;
    cursor: default;
}
.cswq-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: 0.5rem;
}
.cswq-step-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: var(--transition);
}

/* Active and Completed step modifications */
.cswq-progress-step.active .cswq-step-num {
    background-color: var(--bg-card);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.cswq-progress-step.active .cswq-step-label {
    color: var(--primary);
    font-weight: 700;
}
.cswq-progress-step.completed .cswq-step-num {
    background-color: var(--primary);
    border-color: var(--primary);
    color: hsl(0, 0%, 100%);
}
.cswq-progress-step.completed .cswq-step-label {
    color: var(--primary);
}

/* Step Container Animations */
.cswq-step {
    display: none;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.cswq-step.active {
    display: block !important;
    animation: cswqSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cswqSlideUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cswq-step-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin: 0 0 0.5rem 0 !important;
    letter-spacing: -0.02em;
}
.cswq-step-description {
    font-size: 14.5px !important;
    color: var(--text-muted) !important;
    margin: 0 0 2rem 0 !important;
    line-height: 1.5;
}

/* Grid Layouts */
.cswq-grid {
    display: grid;
    gap: 1.5rem;
}
.cswq-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.cswq-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cswq-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

/* Service Selection Cards */
.cswq-service-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}
.cswq-service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.cswq-service-card.selected {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(139, 92, 246, 0.04)) !important;
    box-shadow: 0 0 25px -5px rgba(59, 130, 246, 0.25), 0 0 0 1px var(--primary) !important;
}
.cswq-card-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 1.2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cswq-card-icon .dashicons {
    font-size: 42px;
    width: 42px;
    height: 42px;
}
.cswq-card-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin: 0 0 0.8rem 0 !important;
}
.cswq-card-desc {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    line-height: 1.6;
}
.cswq-card-checkmark {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--primary);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}
.cswq-card-checkmark .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}
.cswq-service-card.selected .cswq-card-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* ======================================================================
   5. STANDARD INPUT ELEMENT STYLESETS
   ====================================================================== */
.cswq-form-group {
    margin-bottom: 1.6rem;
}
.cswq-label {
    display: block !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin-bottom: 0.6rem !important;
    text-transform: none !important;
}
.cswq-input,
.cswq-select,
.cswq-textarea {
    width: 100% !important;
    background-color: var(--bg-card) !important;
    border: 2px solid var(--border) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1.1rem !important;
    font-size: 15px !important;
    color: var(--text) !important;
    outline: none !important;
    transition: var(--transition) !important;
    box-shadow: none !important;
    font-family: inherit !important;
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
.cswq-input:focus,
.cswq-select:focus,
.cswq-textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}
.cswq-textarea {
    resize: vertical;
}
.cswq-help-text {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 0.35rem;
    display: block;
}

/* Radio Group Row layouts */
.cswq-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 5px;
}
.cswq-radio-label {
    display: flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    margin: 0;
}
.cswq-radio-label input[type="radio"] {
    margin-right: 6px;
    border: 2px solid var(--border);
    cursor: pointer;
    background: var(--bg-card);
}

/* Checkbox Cards */
.cswq-checkbox-group-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cswq-checkbox-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.cswq-checkbox-card:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.01);
}
.cswq-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.cswq-check-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    margin-top: 2px;
    transition: var(--transition);
}
.cswq-checkbox-card input[type="checkbox"]:checked ~ .cswq-check-box {
    border-color: var(--primary);
    background-color: var(--primary);
}
.cswq-check-box:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cswq-checkbox-card input[type="checkbox"]:checked ~ .cswq-check-box:after {
    display: block;
}
.cswq-checkbox-card.selected {
    border-color: var(--primary);
}
.cswq-checkbox-text {
    display: flex;
    flex-direction: column;
}
.cswq-checkbox-text strong {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
}
.cswq-checkbox-text span {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.cswq-checkbox-group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 5px;
}
.cswq-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    margin: 0;
}
.cswq-checkbox-label input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
}

/* Site Type Cards */
.cswq-site-type-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.cswq-site-type-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.cswq-site-type-card.selected {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(139, 92, 246, 0.04)) !important;
    box-shadow: 0 0 20px -5px rgba(59, 130, 246, 0.2), 0 0 0 1px var(--primary) !important;
}
.cswq-site-type-card .cswq-card-icon {
    font-size: 32px;
    margin-bottom: 0.8rem;
    height: 40px;
}
.cswq-site-type-card .cswq-card-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}
.cswq-site-type-card.selected .cswq-card-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Conditional Containers */
.cswq-conditional-fields {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    animation: cswqFadeIn 0.3s ease-in-out;
}
.cswq-conditional-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin: 0 0 1.25rem 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Row wrapper with input and button side-by-side */
.cswq-input-button-row {
    display: flex;
    gap: 8px;
}
.cswq-btn-icon {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    padding: 0 !important;
}

/* ======================================================================
   6. REAL-TIME AUDIT WEB SCAN COMPONENT STYLESETS
   ====================================================================== */
.cswq-loading-container {
    text-align: center;
    padding: 3rem 1rem;
}
.cswq-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: cswqSpinner 1s linear infinite;
    display: inline-block;
}

@keyframes cswqSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cswq-scan-results {
    animation: cswqFadeIn 0.5s ease-in-out;
}
.cswq-scan-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}
.cswq-score-container {
    flex-shrink: 0;
    margin: 0 auto;
}
.cswq-score-svg-wrap {
    width: 140px;
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cswq-score-value {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#cswq-score-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.cswq-score-percent {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
}
.cswq-score-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 3px;
}
.cswq-categories-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cswq-category-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
}
.cswq-badge-title {
    color: var(--text);
}
.cswq-badge-val {
    margin-left: auto;
    margin-right: 12px;
    color: var(--text-muted);
}
.cswq-badge-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Category score statuses colors */
.cswq-badge-status.good { background-color: rgba(16, 185, 129, 0.1); color: var(--success); }
.cswq-badge-status.warning { background-color: rgba(245, 158, 11, 0.1); color: var(--warning); }
.cswq-badge-status.poor { background-color: rgba(239, 68, 68, 0.1); color: var(--danger); }

/* Diagnostic section cards */
.cswq-diagnostic-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--bg-card);
}
.cswq-section-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 1.25rem 0 !important;
    display: flex;
    align-items: center;
}
.cswq-section-title.text-danger { color: var(--danger) !important; }
.cswq-section-title.text-warning { color: var(--warning) !important; }
.cswq-section-title.text-success { color: var(--success) !important; }

.cswq-insights-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cswq-insight-card {
    border-left: 4px solid;
    padding: 0.8rem 1rem;
    background: var(--bg-light);
    border-radius: 0 6px 6px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.cswq-insight-card.danger { border-left-color: var(--danger); }
.cswq-insight-card.warning { border-left-color: var(--warning); }
.cswq-insight-card.success { border-left-color: var(--success); }

.cswq-insight-card h5 {
    margin: 0 0 0.35rem 0 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
}
.cswq-insight-card p {
    margin: 0 !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
    line-height: 1.5;
}

/* Premium trust builder CTA */
.cswq-cta-block {
    background: linear-gradient(135deg, hsl(222.2, 47.4%, 11.2%), hsl(222.2, 47.4%, 16%));
    color: hsl(0, 0%, 100%);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
}
.cswq-cta-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}
.cswq-cta-left h4 {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 1rem 0 !important;
}
.cswq-cta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cswq-cta-list li {
    font-size: 12px;
    margin-bottom: 0.5rem;
    color: hsl(215, 20.2%, 65.1%);
    position: relative;
    padding-left: 15px;
}
.cswq-cta-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}
.cswq-cta-list li strong {
    color: #fff;
}
.cswq-cta-right {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
}
.cswq-cta-right p {
    font-size: 11.5px !important;
    line-height: 1.6;
    color: hsl(215, 20.2%, 65.1%) !important;
    margin: 0 0 1rem 0 !important;
}
.cswq-cta-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-block;
}
.cswq-cta-link:hover {
    text-decoration: underline;
}

/* ======================================================================
   7. NAVIGATION BUTTON COMPONENT STYLESETS
   ====================================================================== */
.cswq-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
}
.cswq-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1.75rem !important;
    height: 46px !important;
    line-height: 44px !important;
    border-radius: 8px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    outline: none !important;
    border: 2px solid transparent !important;
}
.cswq-btn-primary {
    background-color: var(--primary) !important;
    color: hsl(0, 0%, 100%) !important;
}
.cswq-btn-primary:hover {
    background-color: var(--primary-hover) !important;
}
.cswq-btn-outline {
    background-color: transparent !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}
.cswq-btn-outline:hover {
    background-color: var(--bg-light) !important;
    border-color: var(--text-muted) !important;
}
.cswq-btn-success {
    background-color: var(--success) !important;
    color: hsl(0, 0%, 100%) !important;
}
.cswq-btn-success:hover {
    opacity: 0.9 !important;
}
.cswq-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.cswq-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.cswq-btn-primary .dashicons { margin-left: 6px; }
.cswq-btn-outline .dashicons { margin-right: 6px; }
.cswq-btn-success .dashicons { margin-left: 6px; }

/* ======================================================================
   8. REVIEW SUMMARY AND CAPTCHA CHECKOUT STYLESETS
   ====================================================================== */
.cswq-checkout-summary {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.cswq-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}
.cswq-summary-card h5 {
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}
.cswq-summary-card h5 .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    color: var(--primary);
}

/* Captcha placement frame styling */
.cswq-captcha-frame {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.cswq-legal-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    max-width: 500px;
    margin: 1.5rem auto 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================================================================
   9. REGISTRATION SUCCESS OUTCOME STYLESETS
   ====================================================================== */
.cswq-success-screen {
    animation: cswqFadeIn 0.6s ease-in-out;
}
.cswq-success-icon {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 1.5rem;
}
.cswq-success-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
}
.cswq-success-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--text) !important;
    margin: 0 0 0.8rem 0 !important;
    letter-spacing: -0.02em;
}
.cswq-success-message {
    font-size: 15px !important;
    color: var(--text-muted) !important;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 2.5rem !important;
}
.cswq-success-author-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: left;
    max-width: 580px;
    margin: 0 auto 2rem;
}
.cswq-success-author-card h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin: 0 0 1.25rem 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cswq-author-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.cswq-author-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.cswq-author-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.cswq-author-step p {
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.5;
    color: var(--text) !important;
}
.cswq-author-step p strong {
    color: var(--primary);
}

.cswq-success-footer-text {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}
.cswq-success-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.cswq-social-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
}
.cswq-social-link-btn.web { background-color: #3b82f6; }
.cswq-social-link-btn.whatsapp { background-color: #10b981; }
.cswq-social-link-btn.instagram { background-color: #e1306c; }
.cswq-social-link-btn.linkedin { background-color: #0a66c2; }
.cswq-social-link-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    color: #fff;
}
.cswq-social-link-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* ======================================================================
   10. WIZARD AND ERROR COMPONENT STYLESETS
   ====================================================================== */
.cswq-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.cswq-footer-logo {
    color: var(--text-light);
}
.cswq-footer-text {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: left;
}
.cswq-footer-text strong {
    color: var(--text);
}
.cswq-footer-links a {
    color: var(--primary);
    text-decoration: none;
}
.cswq-footer-links a:hover {
    text-decoration: underline;
}

/* Error validation fields */
.cswq-field-error {
    color: var(--danger);
    font-size: 11.5px;
    margin-top: 0.35rem;
    display: none;
    font-weight: 500;
}
.cswq-input.invalid,
.cswq-select.invalid,
.cswq-textarea.invalid {
    border-color: var(--danger) !important;
    background-color: rgba(239, 68, 68, 0.01) !important;
}

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

/* ======================================================================
   11. DOUBLE-COLUMN RESPONSIVE LAYOUT & STICKY ESTIMATOR CARD
   ====================================================================== */
.cswq-wizard-body-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1.5rem;
}

.cswq-wizard-form-column {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.cswq-wizard-sidebar-column {
    display: none !important;
}

/* Glassmorphism Estimator Card */
.cswq-estimator-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cswq-estimator-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

/* Decorative backdrop glow */
.cswq-estimator-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.cswq-estimator-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.cswq-estimator-header .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.cswq-estimator-header h4 {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--text) !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cswq-estimator-body {
    position: relative;
    z-index: 1;
}

.cswq-estimator-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1.25rem;
}

.cswq-stat-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.cswq-stat-val {
    font-weight: 800;
    color: var(--text);
    transition: var(--transition);
}

.cswq-stat-val.price {
    font-size: 26px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cswq-stat-val.time {
    font-size: 18px;
}

/* Estimator progress meter */
.cswq-estimator-meter-wrap {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.cswq-estimator-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* breakdown concept items */
.cswq-estimator-breakdown {
    border-top: 1px dashed var(--border);
    padding-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.cswq-estimator-breakdown h5 {
    margin: 0 0 0.75rem 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cswq-estimator-breakdown ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px !important;
}

/* Custom Scrollbar for list */
.cswq-estimator-breakdown ul::-webkit-scrollbar {
    width: 4px;
}
.cswq-estimator-breakdown ul::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 2px;
}
.cswq-estimator-breakdown ul::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 2px;
}

.cswq-estimator-breakdown li {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    animation: cswqSlideIn 0.3s ease-out forwards;
}

.cswq-estimator-breakdown li span.cost-tag {
    font-weight: 600;
    color: var(--text);
    font-size: 12px;
}

.cswq-estimator-footer {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.cswq-estimator-footer .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--text-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.cswq-estimator-footer span {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

@keyframes cswqSlideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive corrections */
@media (max-width: 600px) {
    .cswq-container {
        padding: 1.5rem 1rem !important;
        margin: 0.5rem auto !important;
        border-radius: 12px !important;
    }
    .cswq-step {
        padding: 1.25rem 1rem !important;
    }
    .cswq-wizard-title {
        font-size: 22px !important;
    }
    .cswq-progress-step {
        width: 45px;
    }
    .cswq-step-label {
        font-size: 9px;
    }
    .cswq-progress-track {
        left: 1.5rem;
        right: 1.5rem;
    }
    .cswq-cta-grid {
        grid-template-columns: 1fr;
    }
}

