/* Create Account - Notion-Style Multi-Step Form */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.create-account-page {
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 1rem;
    overflow: hidden;
}

/* Main Container */
.signup-container {
    width: 100%;
    max-width: 460px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - 2rem);
}

/* Progress Bar */
.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 1px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 25%;
    background: #000000;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step Indicators */
.step-indicators {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1.25rem;
}

.step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.15);
}

.step-dot.completed {
    background: rgba(0, 0, 0, 0.25);
}

/* Form */
#createAccountForm {
    position: relative;
}

/* Form Steps */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.form-step.slide-out-left {
    transform: translateX(-20px);
    opacity: 0;
}

.form-step.slide-in-right {
    transform: translateX(20px);
}

/* Step Content */
.step-content {
    margin-bottom: 0;
}

.step-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.step-description {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Input Group */
.input-group {
    position: relative;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 1rem 1rem;
    font-size: 1.125rem;
    font-family: inherit;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    color: #000000;
    transition: all 0.2s ease;
    outline: none;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover {
    border-color: rgba(0, 0, 0, 0.3);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: rgba(0, 0, 0, 0.35);
    box-shadow: none;
    outline: none;
}

/* Disable autofill background color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #000000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

/* Username Input Wrapper */
.username-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.username-input-wrapper:focus-within {
    border-color: rgba(0, 0, 0, 0.35);
}

.username-input-wrapper:hover {
    border-color: rgba(0, 0, 0, 0.3);
}

.username-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.875rem;
    background: rgba(0, 0, 0, 0.04);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.125rem;
    font-weight: 500;
    user-select: none;
    flex-shrink: 0;
    align-self: stretch;
}

.username-input-wrapper input {
    flex: 1;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 1rem;
    padding-right: 3rem;
}

.username-input-wrapper input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.randomize-username {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.randomize-username:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.05);
}

.randomize-username:active {
    transform: scale(0.95);
}

.randomize-username i {
    font-size: 1.125rem;
}

/* Position wrapper for randomize button */
.input-group:has(.username-input-wrapper) {
    position: relative;
}

/* Password Input Wrapper */
.password-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.password-input-wrapper:focus-within {
    border-color: rgba(0, 0, 0, 0.35);
}

.password-input-wrapper:hover {
    border-color: rgba(0, 0, 0, 0.3);
}

.password-input-wrapper input {
    flex: 1;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 1rem;
}

.password-input-wrapper input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.toggle-password {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.875rem;
    background: rgba(0, 0, 0, 0.04);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: stretch;
    border: none;
}

.toggle-password:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #000000;
}

.toggle-password i {
    font-size: 1.125rem;
}

/* Field Hint */
.field-hint {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.3);
    margin-top: 0.625rem;
    padding-left: 0.125rem;
}

/* Field Error */
.field-error {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.625rem;
    padding-left: 0.125rem;
    min-height: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.field-error:not(:empty) {
    opacity: 1;
}

/* Password Requirements */
.password-requirements {
    margin-top: 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Turnstile Widget */
.turnstile-wrapper {
    margin-top: 1rem;
}

/* Email Verification Step */
#verificationEmailDisplay {
    font-weight: 600;
    color: #000000;
}

.resend-code-text {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.5);
    margin: 0.75rem 0 0;
}

.resend-link {
    color: #000000;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.resend-link:hover:not(.disabled) {
    opacity: 0.7;
}

.resend-link.disabled {
    color: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    pointer-events: none;
}

#resendCooldown {
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

/* Verification step button loading state */
#nextStep4 .button-loader {
    display: none;
}

#nextStep4.loading .button-text {
    display: none;
}

#nextStep4.loading .button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.5);
    transition: color 0.2s ease;
}

.requirement i {
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.requirement.met {
    color: #16a34a;
}

.requirement.met i::before {
    content: "\F272";
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.step-actions.single-action {
    justify-content: center;
}

.btn-submit.full-width,
.btn-next.full-width {
    width: 100%;
    justify-content: center;
}

/* ============================================
   WELCOME SCREEN
   ============================================ */

.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.welcome-overlay.active {
    opacity: 1;
    visibility: visible;
}

.welcome-content {
    max-width: 420px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

.welcome-icon {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.welcome-overlay.active .welcome-icon {
    opacity: 1;
    transform: scale(1);
}

.welcome-icon i {
    font-size: 4rem;
    color: #16a34a;
}

.welcome-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.welcome-overlay.active .welcome-title {
    opacity: 1;
    transform: translateY(0);
}

.welcome-subtitle {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 0 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
}

.welcome-overlay.active .welcome-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.welcome-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.welcome-overlay.active .welcome-feature:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.welcome-overlay.active .welcome-feature:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.welcome-overlay.active .welcome-feature:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.125rem;
    color: #000000;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.feature-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #000000;
}

.feature-text span {
    font-size: 0.8125rem;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.welcome-cta {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: #000000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.65s, transform 0.5s ease 0.65s, background 0.2s ease;
}

.welcome-overlay.active .welcome-cta {
    opacity: 1;
    transform: translateY(0);
}

.welcome-cta:hover {
    background: #1a1a1a;
}

.welcome-cta i {
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.welcome-cta:hover i {
    transform: translateX(4px);
}

/* Back button takes 1/3 width */
.step-actions .btn-back {
    flex: 1;
}

/* Continue/Submit buttons take 2/3 width */
.step-actions .btn-next,
.step-actions .btn-submit {
    flex: 2;
}

/* Buttons Base */
.btn-next,
.btn-back,
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-height: 48px;
}

/* Next/Submit Button */
.btn-next,
.btn-submit {
    background: #000000;
    color: #ffffff;
}

.btn-next:hover:not(:disabled),
.btn-submit:hover:not(:disabled) {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-next:active:not(:disabled),
.btn-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

.btn-next:disabled,
.btn-submit:disabled {
    background: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.4);
    cursor: not-allowed;
}

.btn-next i,
.btn-back i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.btn-next:hover:not(:disabled) i {
    transform: translateX(2px);
}

/* Back Button */
.btn-back {
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.btn-back:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.25);
    color: #000000;
}

.btn-back:hover i {
    transform: translateX(-2px);
}

/* Submit Button Loading State */
.btn-submit .button-loader {
    display: none;
}

.btn-submit.loading .button-text {
    display: none;
}

.btn-submit.loading .button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Global Error - Hidden by default, errors show inline under fields */
.global-error {
    display: none;
}

/* Login Link */
.login-link {
    text-align: center;
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 1.25rem;
}

.login-link a {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.login-link a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.terms-consent {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 0.75rem;
    line-height: 1.4;
}

.terms-consent a {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.terms-consent a:hover {
    opacity: 0.7;
}

/* Honeypot Field */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Cloudflare Turnstile */
.cf-turnstile {
    margin: 0;
    padding: 0;
}

/* Keyboard Navigation Focus States */
input:focus-visible {
    outline: none;
}

.btn-next:focus-visible,
.btn-back:focus-visible,
.btn-submit:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

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

/* Tablet */
@media (max-width: 768px) {
    body.create-account-page {
        padding: 1rem;
        align-items: center;
        padding-top: max(1rem, env(safe-area-inset-top));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .signup-container {
        padding: 1.5rem;
        max-width: 100%;
        min-height: calc(100dvh - 2rem);
    }

    .step-content h1 {
        font-size: 1.5rem;
    }

    .step-description {
        font-size: 0.9375rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body.create-account-page {
        min-height: 100svh;
        padding: 0;
    }

    .signup-container {
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.25rem;
        padding-top: max(1.5rem, env(safe-area-inset-top));
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .progress-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .step-indicators {
        margin-top: 1rem;
    }

    .step-content h1 {
        font-size: 1.375rem;
    }

    .step-description {
        font-size: 0.875rem;
    }

    .step-actions {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .login-link {
        margin-top: 1.5rem;
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .step-content h1 {
        font-size: 1.25rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .btn-next,
    .btn-back,
    .btn-submit {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        min-height: 44px;
    }
}

/* Large Screens */
@media (min-width: 1024px) {
    .signup-container {
        padding: 3rem;
    }

    .step-indicators {
        margin-bottom: 4rem;
    }

    .step-content h1 {
        font-size: 2rem;
    }
}

/* Prefer Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .form-step,
    .progress-fill,
    .step-dot,
    input,
    .btn-next,
    .btn-back,
    .btn-submit,
    .field-error,
    .requirement {
        transition: none;
    }

    .spinner {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body.create-account-page {
        background: #0a0a0a;
    }

    .signup-container {
        color: #ffffff;
    }

    .progress-bar {
        background: rgba(255, 255, 255, 0.1);
    }

    .progress-fill {
        background: #ffffff;
    }

    .step-dot {
        background: rgba(255, 255, 255, 0.15);
    }

    .step-dot.active {
        background: rgba(255, 255, 255, 0.6);
    }

    .step-dot.completed {
        background: rgba(255, 255, 255, 0.35);
    }

    .step-content h1 {
        color: #ffffff;
    }

    .step-description {
        color: rgba(255, 255, 255, 0.5);
    }

    /* Input styling for dark mode */
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }

    input[type="text"]:hover,
    input[type="email"]:hover,
    input[type="password"]:hover {
        border-color: rgba(255, 255, 255, 0.3);
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus {
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: none;
    }

    /* Disable autofill background color - dark mode */
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 1000px #0a0a0a inset !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    input::placeholder {
        color: rgba(255, 255, 255, 0.35);
    }

    /* Field hint - more readable */
    .field-hint {
        color: rgba(255, 255, 255, 0.5);
    }

    /* Field error */
    .field-error {
        color: #f87171;
    }

    /* Username input wrapper - dark mode */
    .username-input-wrapper {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .username-input-wrapper:focus-within {
        border-color: rgba(255, 255, 255, 0.25);
    }

    .username-input-wrapper:hover {
        border-color: rgba(255, 255, 255, 0.25);
    }

    .username-prefix {
        background: rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.5);
    }

    .randomize-username {
        color: rgba(255, 255, 255, 0.4);
    }

    .randomize-username:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
    }

    /* Password input wrapper - dark mode */
    .password-input-wrapper {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .password-input-wrapper:focus-within {
        border-color: rgba(255, 255, 255, 0.25);
    }

    .password-input-wrapper:hover {
        border-color: rgba(255, 255, 255, 0.25);
    }

    .toggle-password {
        background: rgba(255, 255, 255, 0.08);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.5);
    }

    .toggle-password:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

    /* Password requirements */
    .requirement {
        color: rgba(255, 255, 255, 0.5);
    }

    .requirement.met {
        color: #4ade80;
    }

    /* Next/Submit buttons - inverted colors */
    .btn-next,
    .btn-submit {
        background: #ffffff;
        color: #000000;
    }

    .btn-next:hover:not(:disabled),
    .btn-submit:hover:not(:disabled) {
        background: #f0f0f0;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    }

    .btn-next:disabled,
    .btn-submit:disabled {
        background: rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.4);
    }

    /* Back button */
    .btn-back {
        color: rgba(255, 255, 255, 0.6);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .btn-back:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }

    /* Spinner for dark mode buttons */
    .spinner {
        border-color: rgba(0, 0, 0, 0.2);
        border-top-color: #000000;
    }

    /* Login link */
    .login-link {
        color: rgba(255, 255, 255, 0.5);
    }

    .login-link a {
        color: #ffffff;
    }

    .login-link a:hover {
        opacity: 0.7;
    }

    .terms-consent {
        color: rgba(255, 255, 255, 0.5);
    }

    .terms-consent a {
        color: #ffffff;
    }

    .terms-consent a:hover {
        opacity: 0.7;
    }

    /* Focus visible states */
    input:focus-visible {
        outline: none;
    }

    .btn-next:focus-visible,
    .btn-back:focus-visible,
    .btn-submit:focus-visible {
        outline-color: #ffffff;
    }

    /* Email verification - dark mode */
    #verificationEmailDisplay {
        color: #ffffff;
    }

    .resend-code-text {
        color: rgba(255, 255, 255, 0.5);
    }

    .resend-link {
        color: #ffffff;
    }

    .resend-link.disabled {
        color: rgba(255, 255, 255, 0.3);
    }

    #resendCooldown {
        color: rgba(255, 255, 255, 0.4);
    }

    /* Welcome screen - dark mode */
    .welcome-overlay {
        background: #0a0a0a;
    }

    .welcome-icon i {
        color: #22c55e;
    }

    .welcome-title {
        color: #ffffff;
    }

    .welcome-subtitle {
        color: rgba(255, 255, 255, 0.5);
    }

    .feature-icon {
        background: rgba(255, 255, 255, 0.08);
    }

    .feature-icon i {
        color: #ffffff;
    }

    .feature-text strong {
        color: #ffffff;
    }

    .feature-text span {
        color: rgba(255, 255, 255, 0.5);
    }

    .welcome-cta {
        background: #ffffff;
        color: #000000;
    }

    .welcome-cta:hover {
        background: #f0f0f0;
    }
}
