/**
 * WeDo Hosting Wizard & Pricing Card — public-facing styles.
 *
 * All visual properties are driven by CSS custom properties so Elementor
 * widget controls can override them without touching this file.
 * Selectors that wizard.js targets (IDs, data-step, data-journey) are
 * structural — never rename them.
 *
 * @package WeDo_Core
 */

/* ------------------------------------------------------------------ */
/*  Design tokens — sourced from wedohosting.dk live site              */
/*  All overrideable via Elementor widget style controls.              */
/* ------------------------------------------------------------------ */

.wedo-wizard-wrap {
    /* Brand colours — sourced from wedohosting.dk */
    --wedo-primary:    #EE5E44;   /* Coral — primary CTA colour on the site */
    --wedo-primary-hover: #d9502f;
    --wedo-featured:   #942140;   /* Crimson — featured card / active accent */
    --wedo-navy:       #16324E;   /* Text colour only — never a background */

    /* Semantic */
    --wedo-success:    #059669;
    --wedo-danger:     #DC2626;

    /* Text */
    --wedo-text:       #16324E;
    --wedo-muted:      #7a6e6e;   /* Warm muted, matches coral palette */

    /* Surfaces */
    --wedo-border:     #e8ddd9;   /* Warm border to complement coral */
    --wedo-bg:         #fdf8f7;   /* Very warm off-white */

    /* Shape */
    --wedo-radius:     16px;
    --wedo-btn-radius: 10px;
    --wedo-shadow:     0 8px 40px rgba(148, 33, 64, .10);
    --wedo-transition: 0.18s ease;

    font-family: "Poppins", sans-serif;
    color: var(--wedo-text);
    max-width: 100%;
    width: 100%;
    margin: 0;
}

/* Pull in Poppins if not already loaded by Elementor */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ------------------------------------------------------------------ */
/*  Journey toggle                                                     */
/* ------------------------------------------------------------------ */

.wedo-journey-toggle {
    display: flex;
    gap: 4px;
    background: var(--wedo-border);
    border-radius: calc(var(--wedo-radius) + 4px);
    padding: 4px;
    margin-bottom: 28px;
    width: fit-content;
}

.wedo-journey-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: var(--wedo-radius);
    background: transparent;
    color: var(--wedo-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--wedo-transition), color var(--wedo-transition);
    white-space: nowrap;
}

.wedo-journey-btn.active {
    background: #fff;
    color: var(--wedo-primary);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .10);
}

/* ------------------------------------------------------------------ */
/*  Step indicators — dots                                             */
/* ------------------------------------------------------------------ */

.wedo-steps-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.wedo-step-dot {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background: var(--wedo-border);
    color: var(--wedo-muted);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 13px;
    transition: background var(--wedo-transition), color var(--wedo-transition), transform var(--wedo-transition);
    flex-shrink: 0;
}

.wedo-step-dot.active {
    background: var(--wedo-primary);
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 2px 10px rgba(238, 94, 68, .30);
}

.wedo-step-dot.done {
    background: var(--wedo-primary);
    color: #fff;
}

/* Connector line between dots */
.wedo-step-dot + .wedo-step-dot {
    position: relative;
}

.wedo-steps-dots .wedo-step-dot + .wedo-step-dot::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 8px;
    height: 2px;
    background: var(--wedo-border);
    transform: translateY(-50%);
}

/* ------------------------------------------------------------------ */
/*  Step indicators — progress bar                                     */
/* ------------------------------------------------------------------ */

.wedo-steps-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.wedo-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--wedo-border);
    border-radius: 99px;
    overflow: hidden;
}

.wedo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wedo-primary) 0%, var(--wedo-featured) 100%);
    border-radius: 99px;
    transition: width 0.35s ease;
}

.wedo-progress-label {
    font-size: 12px;
    color: var(--wedo-muted);
    text-align: right;
}

/* ------------------------------------------------------------------ */
/*  Wizard card                                                        */
/* ------------------------------------------------------------------ */

.wedo-wizard-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(22, 50, 78, .12);
    padding: 48px 56px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(22, 50, 78, .06);
    width: 100%;
    box-sizing: border-box;
}

@media ( max-width: 900px ) {
    .wedo-wizard-card {
        padding: 32px 28px;
    }
}

@media ( max-width: 600px ) {
    .wedo-wizard-card {
        padding: 24px 16px;
    }
}

/* ------------------------------------------------------------------ */
/*  Steps visibility                                                   */
/* ------------------------------------------------------------------ */

.wedo-journey {
    display: none;
}

.wedo-journey.active {
    display: block;
}

.wedo-step {
    display: none;
    animation: wedoFadeIn 0.22s ease;
}

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

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

/* ------------------------------------------------------------------ */
/*  Step headings                                                      */
/* ------------------------------------------------------------------ */

.wedo-step-heading {
    font-family: "asphalt", "Poppins", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--wedo-text);
    margin: 0 0 8px;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.wedo-wizard-card p {
    color: var(--wedo-muted);
    font-size: 15px;
    margin: 0 0 20px;
    line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/*  Choice grid (Step 1 — domain yes/no)                              */
/* ------------------------------------------------------------------ */

.wedo-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

@media ( max-width: 480px ) {
    .wedo-choice-grid {
        grid-template-columns: 1fr;
    }
}

.wedo-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    border: 2px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    background: #fff;
    color: var(--wedo-text);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: border-color var(--wedo-transition), box-shadow var(--wedo-transition);
    text-align: center;
}

.wedo-choice-btn:hover {
    border-color: var(--wedo-primary);
    box-shadow: 0 0 0 3px rgba(238, 94, 68, .12);
    color: var(--wedo-primary);
    background: rgba(238, 94, 68, .03);
}

.wedo-choice-btn.selected {
    border-color: var(--wedo-primary);
    background: rgba(238, 94, 68, .06);
    box-shadow: 0 0 0 3px rgba(238, 94, 68, .15);
    color: var(--wedo-primary);
}

.wedo-choice-icon {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    background: rgba(238, 94, 68, .10);
    color: var(--wedo-primary);
    font-size: 20px;
}

/* ------------------------------------------------------------------ */
/*  Domain search (Step 2)                                             */
/* ------------------------------------------------------------------ */

.wedo-domain-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    align-items: stretch;
}

.wedo-domain-input-wrap {
    display: flex;
    flex: 1;
    min-width: 0;
    border: 2px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    overflow: hidden;
    transition: border-color var(--wedo-transition);
}

.wedo-domain-input-wrap:focus-within {
    border-color: var(--wedo-primary);
    box-shadow: 0 0 0 3px rgba(22, 50, 78, .08);
}

.wedo-input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--wedo-text);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

/* Override .wedo-field .wedo-input for inputs inside the domain search wrap */
.wedo-domain-input-wrap .wedo-input {
    border: none;
    border-radius: 0;
    width: auto;
    flex: 1;
    min-width: 80px;
    box-shadow: none;
}

.wedo-domain-input-wrap .wedo-input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.wedo-select {
    padding: 12px 8px;
    border: none;
    border-left: 1px solid var(--wedo-border);
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--wedo-text);
    background: var(--wedo-bg);
    cursor: pointer;
    flex-shrink: 0;
    width: auto;         /* sizes to content */
    min-width: 0;
}

/* ------------------------------------------------------------------ */
/*  Domain result + reservation                                        */
/* ------------------------------------------------------------------ */

.wedo-domain-result {
    font-size: 15px;
    font-weight: 600;
    min-height: 24px;
    margin-bottom: 12px;
}

.wedo-domain-result.available {
    color: var(--wedo-success);
}

.wedo-domain-result.taken {
    color: var(--wedo-danger);
}

.wedo-domain-reserved {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border: 2px solid var(--wedo-success);
    border-radius: var(--wedo-radius);
    background: color-mix(in srgb, var(--wedo-success) 6%, transparent);
    margin-bottom: 20px;
}

.wedo-reserved-badge {
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.wedo-price-guarantee {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--wedo-success);
    background: color-mix(in srgb, var(--wedo-success) 12%, transparent);
    padding: 3px 8px;
    border-radius: 99px;
}

/* Countdown SVG ring */
.wedo-countdown-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.wedo-countdown-ring {
    width: 72px;
    height: 72px;
    transform: rotate(-90deg);
}

.wedo-ring-bg {
    fill: none;
    stroke: var(--wedo-border);
    stroke-width: 3;
}

.wedo-ring-fill {
    fill: none;
    stroke: var(--wedo-primary);
    stroke-width: 3;
    stroke-dasharray: 113.1; /* 2π × 18 */
    stroke-dashoffset: 0;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.wedo-countdown-display {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--wedo-primary);
}

.wedo-countdown-label {
    font-size: 12px;
    color: var(--wedo-muted);
    margin: 0;
}

/* ------------------------------------------------------------------ */
/*  Feature highlight (Step 3 & 4)                                    */
/* ------------------------------------------------------------------ */

.wedo-feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--wedo-bg);
    border-radius: var(--wedo-radius);
    border: 1px solid var(--wedo-border);
    margin-bottom: 24px;
}

.wedo-feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.wedo-included-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--wedo-success);
    background: color-mix(in srgb, var(--wedo-success) 12%, transparent);
    padding: 4px 10px;
    border-radius: 99px;
    align-self: flex-start;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/*  SLA options (Step 5)                                               */
/* ------------------------------------------------------------------ */

.wedo-sla-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

@media ( max-width: 480px ) {
    .wedo-sla-options {
        grid-template-columns: 1fr;
    }
}

.wedo-sla-card {
    display: block;
    cursor: pointer;
}

.wedo-sla-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wedo-sla-card-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    border: 2px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    transition: border-color var(--wedo-transition);
}

.wedo-sla-card input[type="radio"]:checked + .wedo-sla-card-inner,
.wedo-sla-card:hover .wedo-sla-card-inner {
    border-color: var(--wedo-primary);
    background: color-mix(in srgb, var(--wedo-primary) 4%, transparent);
}

.wedo-sla-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--wedo-primary);
}

.wedo-sla-features {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--wedo-muted);
}

.wedo-sla-features li::before {
    content: '✓ ';
    color: var(--wedo-success);
    font-weight: 700;
}

/* ------------------------------------------------------------------ */
/*  Migrate checklist                                                  */
/* ------------------------------------------------------------------ */

.wedo-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.wedo-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: border-color var(--wedo-transition);
}

.wedo-check-item:hover {
    border-color: var(--wedo-primary);
}

.wedo-check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--wedo-primary);
    cursor: pointer;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/*  Order summary (Step 6)                                             */
/* ------------------------------------------------------------------ */

.wedo-order-summary {
    border: 1px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.wedo-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 15px;
    border-bottom: 1px solid var(--wedo-border);
}

.wedo-summary-row:last-child {
    border-bottom: none;
}

.wedo-summary-row-label {
    color: var(--wedo-muted);
}

.wedo-summary-row-value {
    font-weight: 600;
}

.wedo-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 18px;
    border-top: 2px solid var(--wedo-text);
    margin-bottom: 16px;
}

.wedo-total-row strong {
    font-size: 24px;
    color: var(--wedo-primary);
}

.wedo-terms-note {
    font-size: 13px;
    color: var(--wedo-muted);
    line-height: 1.55;
    margin-bottom: 20px !important;
}

/* ------------------------------------------------------------------ */
/*  Step navigation buttons                                            */
/* ------------------------------------------------------------------ */

.wedo-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    gap: 12px;
}

.wedo-step-nav .wedo-btn:only-child {
    margin-left: auto;
}

/* ------------------------------------------------------------------ */
/*  Buttons                                                            */
/* ------------------------------------------------------------------ */

.wedo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--wedo-btn-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        background var(--wedo-transition),
        color var(--wedo-transition),
        border-color var(--wedo-transition),
        box-shadow var(--wedo-transition),
        opacity var(--wedo-transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.wedo-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* Filled — coral CTA, matches site's primary action colour */
.wedo-btn-primary,
.wedo-btn-style-filled .wedo-btn-primary {
    background: var(--wedo-coral);
    color: #fff;
    border-color: var(--wedo-coral);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

.wedo-btn-primary:not(:disabled):hover,
.wedo-btn-style-filled .wedo-btn-primary:not(:disabled):hover {
    background: #d9502f;
    box-shadow: 0 4px 14px rgba(238, 94, 68, .40);
    transform: translateY(-1px);
}

/* Outline — navy border */
.wedo-btn-style-outline .wedo-btn-primary {
    background: transparent;
    color: var(--wedo-text);
    border-color: var(--wedo-primary);
}

.wedo-btn-style-outline .wedo-btn-primary:not(:disabled):hover {
    background: var(--wedo-featured);
    color: #fff;
}

/* Ghost — quiet back-navigation */
.wedo-btn-style-ghost .wedo-btn-primary,
.wedo-btn-ghost {
    background: transparent;
    color: var(--wedo-muted);
    border-color: transparent;
}

.wedo-btn-style-ghost .wedo-btn-primary:not(:disabled):hover,
.wedo-btn-ghost:not(:disabled):hover {
    color: var(--wedo-text);
}

/* ------------------------------------------------------------------ */
/*  Pricing Card widget                                                */
/* ------------------------------------------------------------------ */

.wedo-pricing-card {
    --wedo-accent: #0057FF;

    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform var(--wedo-transition), box-shadow var(--wedo-transition);
}

.wedo-pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
}

.wedo-pricing-card--highlight {
    border: 2px solid var(--wedo-accent);
}

.wedo-pc-highlight-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--wedo-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: 99px;
    text-transform: uppercase;
}

.wedo-pc-header {
    margin-bottom: 16px;
}

.wedo-pc-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--wedo-accent);
    letter-spacing: .02em;
}

.wedo-pc-tagline {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.wedo-pc-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.wedo-pc-price-currency {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    align-self: flex-start;
    margin-top: 8px;
}

.wedo-pc-price-amount {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: #111827;
}

.wedo-pc-price-period {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.wedo-pc-guarantee {
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 5px 10px;
    border-radius: 99px;
    width: fit-content;
    margin-bottom: 20px;
}

.wedo-pc-features {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.wedo-pc-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}

.wedo-pc-feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--wedo-accent) 12%, transparent);
    color: var(--wedo-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.wedo-pc-sla {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

.wedo-pc-sla strong {
    color: #374151;
}

.wedo-pc-cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: var(--wedo-accent);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background var(--wedo-transition), box-shadow var(--wedo-transition), transform var(--wedo-transition);
    margin-top: auto;
}

.wedo-pc-cta:hover {
    background: color-mix(in srgb, var(--wedo-accent) 85%, #000);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--wedo-accent) 30%, transparent);
    transform: translateY(-1px);
    color: #fff;
}

/* ------------------------------------------------------------------ */
/*  Contact form (Step 6)                                             */
/* ------------------------------------------------------------------ */

.wedo-contact-form {
    border: 1px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    padding: 20px 24px;
    margin: 20px 0;
    background: var(--wedo-bg);
}

.wedo-contact-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--wedo-text);
    margin: 0 0 16px;
}

.wedo-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

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

@media ( max-width: 520px ) {
    .wedo-field-row {
        grid-template-columns: 1fr;
    }
}

.wedo-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wedo-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--wedo-text);
}

.wedo-field label span {
    color: var(--wedo-danger);
    margin-left: 2px;
}

.wedo-field .wedo-input {
    padding: 11px 14px;
    border: 2px solid var(--wedo-border);
    border-radius: calc(var(--wedo-radius) * 0.7);
    font-size: 15px;
    color: var(--wedo-text);
    background: #fff;
    transition: border-color var(--wedo-transition);
    width: 100%;
    box-sizing: border-box;
}

.wedo-field .wedo-input:focus {
    outline: none;
    border-color: var(--wedo-primary);
    box-shadow: 0 0 0 3px rgba(22, 50, 78, .08);
}

.wedo-field .wedo-input:invalid:not(:placeholder-shown) {
    border-color: var(--wedo-danger);
}

/* ------------------------------------------------------------------ */
/*  Order status (thank-you page)                                     */
/* ------------------------------------------------------------------ */

#wedo-order-status {
    padding: 16px 20px;
    border-radius: var(--wedo-radius);
    background: var(--wedo-bg);
    border: 1px solid var(--wedo-border);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

#wedo-order-status[data-status="active"] {
    background: color-mix(in srgb, var(--wedo-success) 10%, transparent);
    border-color: var(--wedo-success);
    color: var(--wedo-success);
}

#wedo-order-status[data-status="failed"],
#wedo-order-status[data-status="manual_review"] {
    background: color-mix(in srgb, var(--wedo-danger) 8%, transparent);
    border-color: var(--wedo-danger);
    color: var(--wedo-danger);
}

/* ------------------------------------------------------------------ */
/*  Yes / No service buttons (Steps 1 & 2)                            */
/* ------------------------------------------------------------------ */

.wedo-yesno-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

@media ( max-width: 480px ) {
    .wedo-yesno-grid {
        grid-template-columns: 1fr;
    }
}

.wedo-yesno-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 16px;
    border: 2px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    background: #fff;
    color: var(--wedo-text);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: border-color var(--wedo-transition), background var(--wedo-transition), box-shadow var(--wedo-transition);
    text-align: center;
}

.wedo-yesno-btn:hover {
    border-color: var(--wedo-primary);
    color: var(--wedo-primary);
    background: rgba(238, 94, 68, .03);
}

.wedo-yesno-btn.selected {
    border-color: var(--wedo-primary);
    background: rgba(238, 94, 68, .06);
    box-shadow: 0 0 0 3px rgba(238, 94, 68, .15);
    color: var(--wedo-primary);
}

.wedo-yesno-icon {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: rgba(238, 94, 68, .12);
    color: var(--wedo-coral);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/*  SLA upsell block (Step 3)                                          */
/* ------------------------------------------------------------------ */

.wedo-sla-upsell {
    border: 2px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    padding: 18px 20px;
    margin: 16px 0;
    background: var(--wedo-bg);
    transition: border-color var(--wedo-transition);
}

.wedo-sla-upsell:has(#wedo-sla-toggle:checked) {
    border-color: var(--wedo-primary);
    background: rgba(22, 50, 78, .03);
}

.wedo-sla-upsell-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.wedo-sla-upsell-header > div {
    flex: 1;
}

.wedo-sla-upsell-header strong {
    font-size: 15px;
    color: var(--wedo-text);
}

.wedo-sla-upsell-header p {
    font-size: 13px;
    color: var(--wedo-muted);
    margin: 4px 0 0 !important;
}

.wedo-sla-upsell-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--wedo-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.wedo-sla-toggle-row {
    border-top: 1px solid var(--wedo-border);
    padding-top: 12px;
}

/* Toggle switch */
.wedo-sla-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.wedo-sla-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wedo-sla-toggle-track {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--wedo-border);
    border-radius: 99px;
    flex-shrink: 0;
    transition: background var(--wedo-transition);
}

.wedo-sla-toggle-track::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    transition: transform var(--wedo-transition);
}

.wedo-sla-toggle input:checked ~ .wedo-sla-toggle-track {
    background: var(--wedo-featured);
}

.wedo-sla-toggle input:checked ~ .wedo-sla-toggle-track::after {
    transform: translateX(20px);
}

.wedo-sla-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--wedo-text);
}

/* ------------------------------------------------------------------ */
/*  Transfer info box (Step 0)                                         */
/* ------------------------------------------------------------------ */

.wedo-transfer-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: color-mix(in srgb, var(--wedo-primary) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--wedo-primary) 20%, transparent);
    border-radius: var(--wedo-radius);
    margin-top: 12px;
}

.wedo-transfer-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1.4;
}

.wedo-transfer-info p {
    font-size: 14px;
    color: var(--wedo-text);
    margin: 0 !important;
    line-height: 1.5;
}

/* Subtotal / final total distinction */
.wedo-total-row--final strong {
    color: var(--wedo-primary);
}

/* ------------------------------------------------------------------ */
/*  Elementor editor preview placeholder                               */
/* ------------------------------------------------------------------ */

.wedo-editor-preview {
    min-height: 160px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
}

/* ------------------------------------------------------------------ */
/*  [wedo_start] shortcode button                                      */
/* ------------------------------------------------------------------ */

.wedo-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #EE5E44;           /* coral — site CTA colour */
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: .01em;
}

.wedo-start-btn:hover {
    background: #d9502f;
    box-shadow: 0 6px 20px rgba(238, 94, 68, .40);
    transform: translateY(-2px);
    color: #fff;
}

/* ------------------------------------------------------------------ */
/*  Step connector lines between dots                                  */
/* ------------------------------------------------------------------ */

.wedo-step-connector {
    flex: 1;
    height: 2px;
    background: var(--wedo-border);
    border-radius: 99px;
    min-width: 8px;
}

.wedo-step-dot-label {
    display: none; /* visible at wider widths */
}

@media (min-width: 500px) {
    .wedo-step-dot {
        width: auto;
        height: auto;
        border-radius: 99px;
        padding: 6px 14px;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
    }

    .wedo-step-dot-label {
        display: inline;
    }
}

/* ------------------------------------------------------------------ */
/*  Domain availability classes                                        */
/* ------------------------------------------------------------------ */

.wedo-domain-available {
    color: var(--wedo-success);
}

.wedo-domain-taken {
    color: var(--wedo-danger);
}

/* ------------------------------------------------------------------ */
/*  Domain suggestions panel                                           */
/* ------------------------------------------------------------------ */

.wedo-domain-suggestions {
    margin-top: 12px;
}

.wedo-suggestions-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--wedo-muted);
    margin: 0 0 8px !important;
}

.wedo-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wedo-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid var(--wedo-border);
    border-radius: calc(var(--wedo-radius) * 0.75);
    font-size: 14px;
    transition: border-color var(--wedo-transition), box-shadow var(--wedo-transition);
}

.wedo-suggestion-item.available {
    border-color: var(--wedo-primary);
    background: rgba(238, 94, 68, .04);
    box-shadow: 0 2px 12px rgba(238, 94, 68, .10);
}

.wedo-suggestion-item.available:hover {
    box-shadow: 0 4px 18px rgba(238, 94, 68, .18);
}

.wedo-suggestion-item.taken {
    opacity: .45;
}

.wedo-suggestion-domain {
    font-weight: 700;
    flex: 1;
    color: var(--wedo-text);
    font-size: 15px;
}

.wedo-suggestion-item.available .wedo-suggestion-domain {
    color: var(--wedo-text);
}

.wedo-suggestion-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--wedo-muted);
    padding: 3px 8px;
    border-radius: 99px;
    background: var(--wedo-bg);
}

.wedo-suggestion-item.available .wedo-suggestion-status {
    color: var(--wedo-primary);
    background: rgba(238, 94, 68, .10);
}

.wedo-suggestion-price {
    font-size: 12px;
    color: var(--wedo-muted);
    white-space: nowrap;
}

.wedo-suggestion-pick {
    font-size: 13px;
    padding: 7px 16px;
    color: #fff;
    background: var(--wedo-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: background var(--wedo-transition), transform var(--wedo-transition), box-shadow var(--wedo-transition);
    white-space: nowrap;
}

.wedo-suggestion-pick:hover {
    background: var(--wedo-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 94, 68, .35);
}

/* ------------------------------------------------------------------ */
/*  Email address list builder (Trin 1)                                */
/* ------------------------------------------------------------------ */

.wedo-email-details {
    margin-top: 20px;
}

.wedo-email-transfer-row {
    margin-bottom: 16px;
}

.wedo-toggle-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--wedo-text);
}

.wedo-toggle-label > span:first-child {
    flex: 1;
}

.wedo-toggle-switch {
    position: relative;
    flex-shrink: 0;
}

.wedo-toggle-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wedo-toggle-track {
    display: block;
    width: 44px;
    height: 24px;
    background: var(--wedo-border);
    border-radius: 99px;
    position: relative;
    transition: background var(--wedo-transition);
    cursor: pointer;
}

.wedo-toggle-track::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    transition: transform var(--wedo-transition);
}

.wedo-toggle-switch input:checked + .wedo-toggle-track {
    background: var(--wedo-featured);
}

.wedo-toggle-switch input:checked + .wedo-toggle-track::after {
    transform: translateX(20px);
}

.wedo-email-addresses-wrap {
    margin-top: 16px;
}

.wedo-email-addresses-intro {
    font-size: 13px;
    color: var(--wedo-muted);
    margin: 0 0 10px !important;
}

.wedo-email-address-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.wedo-email-address-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wedo-email-address-row .wedo-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid var(--wedo-border);
    border-radius: calc(var(--wedo-radius) * 0.7);
    font-size: 14px;
}

.wedo-email-address-row .wedo-input:focus {
    border-color: var(--wedo-primary);
    outline: none;
}

.wedo-email-at {
    font-size: 13px;
    color: var(--wedo-muted);
    white-space: nowrap;
    font-weight: 500;
}

.wedo-email-remove {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--wedo-danger);
    font-size: 18px;
    line-height: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    opacity: .6;
    transition: opacity var(--wedo-transition), background var(--wedo-transition);
}

.wedo-email-remove:hover {
    opacity: 1;
    background: color-mix(in srgb, var(--wedo-danger) 10%, transparent);
}

.wedo-add-email-btn {
    font-size: 14px;
    padding: 8px 14px;
    color: var(--wedo-text);
    border: 1px dashed rgba(22, 50, 78, .35);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: background var(--wedo-transition), border-color var(--wedo-transition);
    margin-bottom: 10px;
}

.wedo-add-email-btn:hover {
    background: rgba(22, 50, 78, .05);
    border-color: var(--wedo-primary);
}

.wedo-email-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.wedo-example-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--wedo-bg);
    border: 1px solid var(--wedo-border);
    border-radius: 99px;
    font-size: 13px;
    color: var(--wedo-muted);
    cursor: pointer;
    font-weight: 500;
    transition: border-color var(--wedo-transition), color var(--wedo-transition), background var(--wedo-transition);
    user-select: none;
}

.wedo-example-tag:hover {
    border-color: var(--wedo-coral);
    color: var(--wedo-coral);
    background: rgba(238, 94, 68, .05);
}

/* ------------------------------------------------------------------ */
/*  Billing toggle (Trin 3)                                            */
/* ------------------------------------------------------------------ */

.wedo-billing-toggle {
    display: flex;
    gap: 4px;
    background: var(--wedo-border);
    border-radius: calc(var(--wedo-radius) + 4px);
    padding: 4px;
    width: fit-content;
    margin: 16px 0;
}

.wedo-billing-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: none;
    border-radius: var(--wedo-radius);
    background: transparent;
    color: var(--wedo-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--wedo-transition), color var(--wedo-transition);
    white-space: nowrap;
}

.wedo-billing-btn.active {
    background: #fff;
    color: var(--wedo-text);
    box-shadow: 0 1px 6px rgba(22, 50, 78, .12);
    font-weight: 700;
}

.wedo-billing-badge {
    font-size: 11px;
    font-weight: 700;
    background: var(--wedo-success);
    color: #fff;
    padding: 2px 7px;
    border-radius: 99px;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/*  Plan overview card (Trin 3)                                        */
/* ------------------------------------------------------------------ */

.wedo-plan-overview {
    border: 1px solid var(--wedo-border);
    border-radius: var(--wedo-radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.wedo-overview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--wedo-border);
}

.wedo-overview-row:last-child {
    border-bottom: none;
}

.wedo-overview-label {
    color: var(--wedo-muted);
    font-weight: 500;
}

.wedo-overview-value {
    font-weight: 600;
    color: var(--wedo-text);
    text-align: right;
    padding-left: 12px;
}

/* Price rows */
.wedo-price-summary {
    margin-top: 16px;
}

.wedo-commitment-note {
    font-size: 12px;
    color: var(--wedo-muted);
    text-align: center;
    margin: 8px 0 0 !important;
}

/* ------------------------------------------------------------------ */
/*  MitID sign button (Trin 4)                                         */
/* ------------------------------------------------------------------ */

.wedo-btn-sign {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #fff;
    color: #1a1a2e;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    white-space: nowrap;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.wedo-btn-sign:not(:disabled):hover {
    border-color: #0058a3;
    box-shadow: 0 4px 18px rgba(0, 88, 163, .22);
    transform: translateY(-1px);
}

.wedo-btn-sign:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 88, 163, .15);
}

.wedo-btn-sign:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

/* Left logo panel */
.wedo-mitid-logo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-right: 1.5px solid #d1d5db;
    background: #fff;
    transition: border-color .18s ease;
    flex-shrink: 0;
}

.wedo-btn-sign:not(:disabled):hover .wedo-mitid-logo-panel {
    border-right-color: #0058a3;
}

/* The actual MitID SVG logo */
.wedo-mitid-logo-panel svg {
    display: block;
    width: 72px;
    height: auto;
}

/* Right text panel */
.wedo-mitid-text-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 24px;
    gap: 1px;
}

.wedo-mitid-text-panel .wedo-mitid-label {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.2;
    text-transform: none;
}

.wedo-mitid-text-panel .wedo-mitid-action {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

/* Sign error message */
.wedo-sign-error {
    background: color-mix(in srgb, var(--wedo-danger) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--wedo-danger) 25%, transparent);
    border-radius: var(--wedo-radius);
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--wedo-danger);
}

.wedo-sign-error p {
    margin: 0 !important;
    color: inherit;
}

/* Terms note (above sign button) */
.wedo-terms-note {
    font-size: 13px !important;
    color: var(--wedo-muted) !important;
    line-height: 1.55;
    margin: 16px 0 12px !important;
}

/* ------------------------------------------------------------------ */
/*  Login page — [wedo_login_page] shortcode                           */
/* ------------------------------------------------------------------ */

.wedo-login-wrap {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 32px;
    background: #fff;
    border-radius: var(--wedo-radius, 12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    text-align: center;
}

.wedo-login-wrap h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a2e;
}

.wedo-login-wrap p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
}

.wedo-mitid-btn {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wedo-mitid-btn:hover {
    border-color: #0058a3;
    box-shadow: 0 4px 18px rgba(0, 88, 163, .22);
    transform: translateY(-1px);
    color: inherit;
}

.wedo-mitid-btn:hover .wedo-mitid-logo-panel {
    border-right-color: #0058a3;
}

.wedo-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: #9ca3af;
    font-size: 13px;
}

.wedo-login-divider::before,
.wedo-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.wedo-otp-form {
    text-align: left;
}

.wedo-otp-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.wedo-otp-form .wedo-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a2e;
    transition: border-color 0.18s ease;
}

.wedo-otp-form .wedo-input:focus {
    outline: none;
    border-color: #0057FF;
}

.wedo-otp-submit {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: #0057FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease;
}

.wedo-otp-submit:hover {
    background: #0046cc;
}

.wedo-otp-error {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 13px;
    color: #dc2626;
    text-align: left;
}

/* ------------------------------------------------------------------ */
/*  Admin — sessions list page                                         */
/* ------------------------------------------------------------------ */

.wedo-sessions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.wedo-sessions-table th,
.wedo-sessions-table td {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.wedo-sessions-table th {
    background: #f9fafb;
    font-weight: 600;
    white-space: nowrap;
}

.wedo-sessions-table tr:hover td {
    background: #f9fafb;
}

.wedo-session-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wedo-session-status--pending           { background: #fef3c7; color: #92400e; }
.wedo-session-status--awaiting_signature{ background: #dbeafe; color: #1e40af; }
.wedo-session-status--checkout          { background: #ede9fe; color: #5b21b6; }
.wedo-session-status--provisioning      { background: #d1fae5; color: #065f46; }
.wedo-session-status--active            { background: #d1fae5; color: #065f46; }
.wedo-session-status--failed            { background: #fee2e2; color: #991b1b; }
.wedo-session-status--manual_review     { background: #ffedd5; color: #9a3412; }
