/* Repair911.ca WordPress Booking Engine Scoped Styles */
.r911-wrapper {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    max-width: 1180px;
    margin: 24px auto;
    box-sizing: border-box;
}
.r911-wrapper * { box-sizing: border-box; }
.r911-mono { font-family: 'JetBrains Mono', monospace; }

.r911-wizard-topbar {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.r911-brand-pill { display: flex; align-items: center; gap: 12px; }
.r911-badge-911 {
    background: #e11d48;
    color: #fff;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 16px;
}
.r911-brand-pill strong { display: block; font-size: 16px; }
.r911-brand-pill span { font-size: 12px; color: #94a3b8; }

.r911-step-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.r911-step-indicator {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: #1e293b;
    color: #94a3b8;
}
.r911-step-indicator.active {
    background: #e11d48;
    color: #ffffff;
}

.r911-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 920px) {
    .r911-grid { grid-template-columns: 1fr; }
}

.r911-main-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.r911-step-pane { display: none; }
.r911-step-pane.active { display: block; }

.r911-step-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 18px 0;
    color: #0f172a;
}
.r911-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    margin-bottom: 6px;
}

.r911-input, .r911-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: #f8fafc;
    color: #0f172a;
}
.r911-input:focus, .r911-select:focus {
    outline: none;
    border-color: #e11d48;
    background: #ffffff;
}

.r911-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}
@media (max-width: 640px) {
    .r911-row-2, .r911-radio-grid-2, .r911-radio-grid-3 { grid-template-columns: 1fr !important; }
}

.r911-radio-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.r911-radio-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.r911-card-option {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: block;
}
.r911-card-option input { display: none; }
.r911-card-option strong { display: block; font-size: 14px; color: #0f172a; margin-bottom: 4px; }
.r911-card-option span { display: block; font-size: 12px; color: #64748b; line-height: 1.4; }
.r911-card-option.selected {
    border-color: #e11d48;
    background: #fff1f2;
}

.r911-postal-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 16px;
}
.r911-postal-input-group { display: flex; gap: 10px; align-items: flex-end; }
.r911-feedback-success {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 8px 12px;
    border-radius: 10px;
}
.r911-feedback-error {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 8px 12px;
    border-radius: 10px;
}

.r911-issues-stack { display: flex; flex-direction: column; gap: 10px; }
.r911-issue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
}
.r911-issue-item.selected {
    border-color: #e11d48;
    background: #fff1f2;
}
.r911-issue-left { display: flex; align-items: center; gap: 12px; }
.r911-issue-left strong { display: block; font-size: 14px; }
.r911-issue-left span { display: block; font-size: 12px; color: #64748b; }
.r911-issue-price { font-weight: 800; font-size: 16px; color: #0f172a; }

.r911-step-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.r911-bundle-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.r911-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.r911-btn-primary, .r911-btn-submit {
    background: #e11d48;
    color: #ffffff;
    border: none;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
}
.r911-btn-primary:hover, .r911-btn-submit:hover { background: #be123c; }
.r911-btn-secondary {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.r911-btn-ghost {
    background: #f1f5f9;
    color: #334155;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

/* Sticky Summary Receipt */
.r911-summary-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 22px;
    padding: 24px;
    position: sticky;
    top: 24px;
}
.r911-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fb7185;
    display: block;
}
.r911-summary-header h4 {
    margin: 4px 0 8px 0;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}
.r911-zone-pill {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}
.r911-summary-body, .r911-summary-totals {
    border-top: 1px solid #1e293b;
    margin-top: 16px;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}
.r911-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cbd5e1;
}
.r911-sum-row strong { color: #ffffff; text-align: right; }
.r911-discount-text { color: #34d399; font-weight: 700; }
.r911-sum-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 800;
    color: #34d399;
    padding-top: 10px;
    border-top: 1px dashed #334155;
}
.r911-trust-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #1e293b;
    font-size: 12px;
    color: #94a3b8;
}
.r911-trust-footer p { margin: 4px 0; }
