/**
 * BC Audit Onboarding Styles
 * 
 * Converted from React/Tailwind to WordPress-compatible CSS
 * Maintains pixel-perfect design fidelity from original Lovable AI implementation
 */

/* CSS Variables - Matching original design */
:root {
    /* Core Colors */
    --onboarding-bg: #0f0f23;                    /* Deep dark blue background */
    --onboarding-fg: #ffffff;                    /* Primary text color */
    --onboarding-muted: #d1d5db;                 /* Secondary text color */
    --onboarding-border: #2d2d44;                /* Border and divider color - subtle, slightly lighter than input */
    --onboarding-input-bg: #1a1a2e;              /* Input field background - dark, slightly lighter than main bg */
    
    /* Brand Colors - Magenta/Purple/Cyan gradient */
    --onboarding-primary: #f305ff;               /* Main brand purple (hsl(300 76% 60%) ≈ #d946ef) */
    --onboarding-primary-hsl: 300 76% 60%;        /* Magenta from design */
    --onboarding-purple: #a855f7;                /* Purple (hsl(270 76% 60%)) */
    --onboarding-cyan: #06ffa5;                  /* Cyan accent (hsl(175 100% 50%)) */
    
    /* Gradients */
    --onboarding-gradient-primary: linear-gradient(135deg, hsl(300 76% 60%) 0%, hsl(270 76% 60%) 50%, hsl(175 100% 50%) 100%);
    --onboarding-gradient-hero: linear-gradient(90deg, hsl(300 76% 60%) 0%, hsl(270 76% 60%) 50%, hsl(175 100% 50%) 100%);
    
    /* Shadows */
    --onboarding-shadow-glow: 0 0 60px hsl(300 76% 60% / 0.3);
    --onboarding-shadow-button: 0 10px 30px -10px hsl(300 76% 60% / 0.5);
    
    /* Spacing */
    --onboarding-radius: 0.75rem;
    --onboarding-radius-lg: 1rem;
}

/* Base Container */
.bc-onboarding-container {
    min-height: 100vh;
    background: var(--onboarding-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--onboarding-fg);
}

.bc-onboarding-wrapper {
    width: 100%;
    max-width: 28rem; /* 448px - max-w-md */
    position: relative;
}

/* Progress Indicator */
.bc-onboarding-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.bc-onboarding-progress-dot {
    height: 8px;
    width: 8px;
    border-radius: 9999px;
    background-color: var(--onboarding-border);
    display: block;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    transition-duration: 0.5s;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-duration: 0.5s;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.bc-onboarding-progress-dot[data-step="1"].active,
.bc-onboarding-progress-dot[data-step="2"].active,
.bc-onboarding-progress-dot[data-step="3"].active,
.bc-onboarding-progress-dot[data-step="4"].active {
    width: 32px;
    background-color: var(--onboarding-primary);
}

.bc-onboarding-progress-dot.completed {
    width: 8px;
    background-color: var(--onboarding-primary);
}

/* Step Container */
.bc-onboarding-step {
    position: relative;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.bc-onboarding-step.hidden {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    transform: translateY(1rem);
}

/* Step Content */
.bc-onboarding-step-content {
    text-align: center;
}

.bc-onboarding-step-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bc-onboarding-step-icon {
    width: 4rem;
    height: 4rem;
    background: hsl(var(--onboarding-primary-hsl) / 0.1);
    border-radius: var(--onboarding-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--onboarding-primary);
}

.bc-onboarding-step-icon svg {
    width: 2rem;
    height: 2rem;
}

.bc-onboarding-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--onboarding-fg);
    margin: 0 !important;
    line-height: 1.2;
}

.bc-onboarding-step-subtitle {
    color: var(--onboarding-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Form Styles */
.bc-onboarding-step-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bc-onboarding-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
}

.bc-onboarding-form-label {
    color: var(--onboarding-fg);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

.bc-onboarding-form-input {
    appearance: none;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #1a1a2e;
    background-image: none;
    background-origin: padding-box;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid !important;
    border-right-style: solid !important;
    border-bottom-style: solid !important;
    border-left-style: solid !important;
    border-top-color: #2d2d44;
    border-right-color: #2d2d44;
    border-bottom-color: #2d2d44;
    border-left-color: #2d2d44;
    border-top-left-radius: var(--onboarding-radius) !important;
    border-top-right-radius: var(--onboarding-radius) !important;
    border-bottom-left-radius: var(--onboarding-radius) !important;
    border-bottom-right-radius: var(--onboarding-radius) !important;
    border-image: none;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    color: #ffffff !important;
    cursor: text;
    display: flex;
    font-family: "DM Sans", sans-serif;
    font-feature-settings: normal;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-size: 16px;
    font-size-adjust: none;
    font-stretch: 100%;
    font-style: normal;
    font-variant-alternates: normal;
    font-variant-caps: normal;
    font-variant-east-asian: normal;
    font-variant-emoji: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-variant-position: normal;
    font-variation-settings: normal;
    font-weight: 400;
    height: 40px;
    letter-spacing: normal;
    line-height: 24px;
    margin-top: 8px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    outline-color: transparent;
    outline-style: none;
    outline-width: 0px;
    overflow-clip-margin: 0px;
    overflow-x: clip;
    overflow-y: clip;
    padding-block-start: 12px;
    padding-block-end: 12px;
    padding-inline-start: 16px;
    padding-inline-end: 16px;
    padding-top: 12px;
    padding-right: 16px;
    padding-bottom: 12px;
    padding-left: 16px;
    tab-size: 4;
    text-align: start;
    text-indent: 0px;
    text-rendering: auto;
    text-shadow: none;
    text-size-adjust: 100%;
    text-transform: none;
    transition-behavior: normal;
    transition-delay: 0s;
    transition-duration: 0.2s;
    transition-property: all;
    transition-timing-function: linear;
    vertical-align: baseline;
    width: 448px;
    word-spacing: 0px;
    -webkit-font-smoothing: antialiased;
    -webkit-rtl-ordering: logical;
    -webkit-border-image: none;
}

.bc-onboarding-form-input::placeholder {
    color: var(--onboarding-muted);
}

.bc-onboarding-form-input:focus {
    outline: none;
    border-top-color: #f305ff !important;
    border-right-color: #f305ff !important;
    border-bottom-color: #f305ff !important;
    border-left-color: #f305ff !important;
    box-shadow: 0 0 0 2px rgba(243, 5, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Button Styles */
.bc-onboarding-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--onboarding-radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
}

.bc-onboarding-btn:focus-visible {
    outline: 2px solid var(--onboarding-primary);
    outline-offset: 2px;
}

.bc-onboarding-btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.bc-onboarding-btn svg {
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    flex-shrink: 0;
}

/* Primary Button */
.bc-onboarding-btn-primary {
    height: 3rem;
    width: 100%;
    background: var(--onboarding-primary);
    color: var(--onboarding-bg);
    box-shadow: var(--onboarding-shadow-button);
}

.bc-onboarding-btn-primary:hover {
    background: var(--onboarding-primary);
    box-shadow: var(--onboarding-shadow-button);
    transform: none;
}

.bc-onboarding-btn-primary:active {
    background: var(--onboarding-primary);
    transform: none;
}

/* Hero Button (Gradient) */
.bc-onboarding-btn-hero {
    height: 3.5rem;
    width: 100%;
    background: var(--onboarding-gradient-hero);
    color: var(--onboarding-bg);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--onboarding-shadow-button);
}

.bc-onboarding-btn-hero svg {
    width: 1.25rem;
    height: 1.25rem;
}

.bc-onboarding-btn-hero:hover {
    background: var(--onboarding-gradient-hero);
    box-shadow: var(--onboarding-shadow-button);
    transform: none;
}

.bc-onboarding-btn-hero:active {
    background: var(--onboarding-gradient-hero);
    transform: none;
}

/* Ghost Button */
.bc-onboarding-btn-ghost {
    width: 100%;
    height: 2.5rem;
    background: transparent;
    color: var(--onboarding-fg);
}

.bc-onboarding-btn-ghost:hover {
    background: transparent;
    color: var(--onboarding-fg);
}

/* Trial Disclaimer */
.bc-onboarding-trial-disclaimer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--onboarding-muted);
    margin-top: 0.5rem;
}

/* Loading State */
.bc-onboarding-step-loading {
    text-align: center;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.bc-onboarding-loading-spinner-wrapper {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
}

.bc-onboarding-spinner-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid rgba(243, 5, 255, 0.2);
}

.bc-onboarding-spinner-ring-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid var(--onboarding-primary);
    border-top-color: transparent;
    animation: bc-onboarding-spin 1s linear infinite;
}

.bc-onboarding-spinner-icon {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: rgba(243, 5, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--onboarding-primary);
}

.bc-onboarding-spinner-icon svg {
    width: 32px;
    height: 32px;
    animation: bc-onboarding-pulse 2s ease-in-out infinite;
}

.bc-onboarding-success-checkmark {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(6, 255, 165, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #06ffa5;
    animation: bc-onboarding-scale-in 0.3s ease-out forwards;
}

.bc-onboarding-success-checkmark svg {
    width: 48px;
    height: 48px;
}

.bc-onboarding-loading-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--onboarding-fg);
    margin: 0;
}

.bc-onboarding-loading-subtitle {
    color: var(--onboarding-muted);
    margin: 0;
    font-size: 0.875rem;
}

.bc-onboarding-loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1rem;
}

.bc-onboarding-loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--onboarding-primary);
    animation: bc-onboarding-bounce 1.4s ease-in-out infinite;
}

.bc-onboarding-loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.bc-onboarding-loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.bc-onboarding-loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

/* Success State */
.bc-onboarding-step-success {
    text-align: center;
    padding: 3rem 0;
    animation: scale-in 0.3s ease-out forwards;
}

.bc-onboarding-success-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: rgba(6, 255, 165, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #06ffa5;
}

.bc-onboarding-success-icon svg {
    width: 3rem;
    height: 3rem;
}

.bc-onboarding-success-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--onboarding-fg);
    margin-bottom: 0.5rem;
}

.bc-onboarding-success-subtitle {
    color: var(--onboarding-muted);
}

/* Animations */
@keyframes bc-onboarding-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bc-onboarding-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bc-onboarding-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-0.5rem);
        opacity: 1;
    }
}

@keyframes bc-onboarding-scale-in {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .bc-onboarding-container {
        padding: 2rem 1.5rem !important;
    }
    
    .bc-onboarding-step-title {
        font-size: 1.25rem;
    }
    
    .bc-onboarding-step-subtitle {
        font-size: 0.875rem;
    }
    
    .bc-onboarding-feature-item {
        width: 100%;
        max-width: 100%;
    }
    
    .bc-onboarding-form-input {
        width: 100% !important;
        max-width: 100%;
    }
}

/* Email Popup Styles */
.bc-onboarding-email-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bc-onboarding-email-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.bc-onboarding-email-popup-container {
    background: linear-gradient(135deg, hsl(var(--onboarding-secondary)) 0%, hsl(var(--onboarding-bg)) 100%);
    border: 2px solid var(--onboarding-primary);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px hsl(var(--onboarding-primary-hsl) / 0.3);
    position: relative;
    overflow: hidden;
}

.bc-onboarding-email-popup-title {
    color: var(--onboarding-fg) !important;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: bc-onboarding-pulse 2s ease-in-out infinite;
}

.bc-onboarding-email-popup-subtitle {
    color: var(--onboarding-muted) !important;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.bc-onboarding-email-form {
    margin-bottom: 20px;
}

.bc-onboarding-email-popup-container .bc-onboarding-form-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid hsl(var(--onboarding-primary-hsl) / 0.3) !important;
    border-radius: 10px !important;
    background: hsl(var(--onboarding-card-bg)) !important;
    color: var(--onboarding-fg) !important;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 50px !important;
}

.bc-onboarding-email-popup-container .bc-onboarding-form-input::placeholder {
    color: var(--onboarding-muted) !important;
    opacity: 1;
}

.bc-onboarding-email-popup-container .bc-onboarding-form-input:focus {
    outline: none !important;
    border-color: var(--onboarding-primary) !important;
    border: 1px solid var(--onboarding-primary) !important;
    border-radius: 10px !important;
    background: hsl(var(--onboarding-card-bg)) !important;
    box-shadow: 0 0 20px hsl(var(--onboarding-primary-hsl) / 0.3) !important;
    color: var(--onboarding-fg) !important;
}

.bc-onboarding-error-message {
    color: hsl(var(--onboarding-destructive)) !important;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.bc-onboarding-error-message.show {
    display: block;
}

.bc-onboarding-email-submit-btn {
    width: 100%;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 48px;
}

.bc-onboarding-email-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.bc-onboarding-btn-loading {
    display: none;
}

.bc-onboarding-email-submit-btn.loading .bc-onboarding-btn-text {
    display: none;
}

.bc-onboarding-email-submit-btn.loading .bc-onboarding-btn-loading {
    display: inline-block;
}

.bc-onboarding-email-popup-footer {
    color: var(--onboarding-muted) !important;
    font-size: 14px;
    margin: 0;
}

.bc-onboarding-popup-close-circle-btn {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    background: hsl(var(--onboarding-secondary-hsl) / 0.5);
    border: 1px solid var(--onboarding-border);
    color: var(--onboarding-fg) !important;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    line-height: 1;
    text-align: center;
}

.bc-onboarding-popup-close-circle-btn:hover {
    background: hsl(var(--onboarding-secondary-hsl));
    border-color: var(--onboarding-primary);
    transform: scale(1.1);
}

/* Features Selection Styles */
.bc-onboarding-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    overflow: visible;
    padding-right: 0;
    align-items: center;
    width: 100%;
}

.bc-onboarding-feature-item {
    align-items: flex-start;
    animation-duration: 0.2s;
    border-bottom-color: var(--onboarding-border);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: var(--onboarding-border);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: var(--onboarding-border);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: var(--onboarding-border);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-top-style: solid;
    border-top-width: 1px;
    box-sizing: border-box;
    column-gap: 12px;
    cursor: pointer;
    display: flex;
    font-family: "DM Sans", sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    min-height: 82px;
    height: auto;
    line-height: 24px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 16px;
    row-gap: 12px;
    tab-size: 4;
    text-size-adjust: 100%;
    transition-duration: 0.2s;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 444px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    background: transparent;
}

.bc-onboarding-feature-item:hover {
    border-color: hsl(var(--onboarding-primary-hsl) / 0.5);
    background: hsl(var(--onboarding-primary-hsl) / 0.05);
}

.bc-onboarding-feature-item.feature-selected {
    border-color: hsl(var(--onboarding-primary-hsl) / 0.5);
    background: hsl(var(--onboarding-primary-hsl) / 0.1);
}

.bc-onboarding-feature-checkbox {
    appearance: button;
    background-color: transparent;
    background-image: none;
    border-bottom-color: var(--onboarding-primary);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: var(--onboarding-primary);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: var(--onboarding-primary);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: var(--onboarding-primary);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top-style: solid;
    border-top-width: 1px;
    border-image: none;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    flex-shrink: 0;
    font-family: "DM Sans", sans-serif;
    font-feature-settings: normal;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-size: 16px;
    font-size-adjust: none;
    font-stretch: 100%;
    font-style: normal;
    font-variant-alternates: normal;
    font-variant-caps: normal;
    font-variant-east-asian: normal;
    font-variant-emoji: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-variant-position: normal;
    font-variation-settings: normal;
    font-weight: 400;
    height: 16px;
    letter-spacing: normal;
    line-height: 24px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 2px;
    padding-block-end: 0px;
    padding-block-start: 0px;
    padding-bottom: 0px;
    padding-inline-end: 0px;
    padding-inline-start: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    tab-size: 4;
    text-align: center;
    text-indent: 0px;
    text-rendering: auto;
    text-shadow: none;
    text-size-adjust: 100%;
    text-transform: none;
    width: 16px;
    word-spacing: 0px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-border-image: none;
    -webkit-appearance: none;
    position: relative;
}

.bc-onboarding-feature-checkbox:checked,
.bc-onboarding-feature-checkbox:hover:checked,
.bc-onboarding-feature-checkbox:focus:checked {
    border-color: #e64ce6 !important;
    background-color: #e64ce6 !important;
    box-shadow: none;
}

.bc-onboarding-feature-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
}

.bc-onboarding-feature-checkbox:focus-visible {
    outline: 2px solid var(--onboarding-primary);
    outline-offset: 2px;
}

.bc-onboarding-feature-content {
    border-bottom-color: transparent;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    border-left-color: transparent;
    border-left-style: solid;
    border-left-width: 0px;
    border-right-color: transparent;
    border-right-style: solid;
    border-right-width: 0px;
    border-top-color: transparent;
    border-top-style: solid;
    border-top-width: 0px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex-basis: 0%;
    flex-grow: 1;
    flex-shrink: 1;
    font-family: "DM Sans", sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    min-height: 48px;
    line-height: 24px;
    tab-size: 4;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    width: 100%;
    min-width: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.bc-onboarding-feature-title {
    border-bottom-color: transparent;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    border-left-color: transparent;
    border-left-style: solid;
    border-left-width: 0px;
    border-right-color: transparent;
    border-right-style: solid;
    border-right-width: 0px;
    border-top-color: transparent;
    border-top-style: solid;
    border-top-width: 0px;
    box-sizing: border-box;
    color: var(--onboarding-fg);
    cursor: pointer;
    display: block;
    font-family: "DM Sans", sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-weight: 500;
    min-height: 24px;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 24px;
    tab-size: 4;
    text-size-adjust: 100%;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.bc-onboarding-feature-description {
    border-bottom-color: transparent;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    border-left-color: transparent;
    border-left-style: solid;
    border-left-width: 0px;
    border-right-color: transparent;
    border-right-style: solid;
    border-right-width: 0px;
    border-top-color: transparent;
    border-top-style: solid;
    border-top-width: 0px;
    box-sizing: border-box;
    color: var(--onboarding-muted);
    cursor: pointer;
    display: block;
    font-family: "DM Sans", sans-serif;
    font-feature-settings: normal;
    font-size: 14px;
    font-variation-settings: normal;
    height: auto;
    line-height: 20px;
    tab-size: 4;
    text-size-adjust: 100%;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure proper font loading */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
