.register-page {
    position: relative;
    overflow: hidden;
}

    .register-page .register-glow {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: min(70vw, 760px);
        height: min(70vw, 760px);
        background: radial-gradient(circle, rgba(200, 24, 128, 0.14) 0%, transparent 70%);
        filter: blur(80px);
        pointer-events: none;
        z-index: 0;
    }

    .register-page .register-hero {
        padding: 160px 0 40px;
        position: relative;
        z-index: 1;
    }

    .register-page .register-card-wrap {
        position: relative;
        z-index: 1;
        padding: 20px 0 100px;
    }

    .register-page .register-card {
        max-width: 860px;
        margin: 0 auto;
    }

    .register-page .register-card-body {
        display: grid;
        gap: 24px;
    }

    .register-page .register-state-title {
        margin-bottom: 18px;
        transition: color 0.3s ease;
    }

    .register-page .register-state-intro {
        max-width: 760px;
        transition: color 0.3s ease;
    }

    .register-page .register-form-shell {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        display: grid;
        gap: 24px;
    }

    .register-page .lux-input-wrapper {
        width: 100%;
        min-height: 72px;
        margin: 0;
        border-color: rgba(200, 24, 128, 0.34);
        box-shadow: 0 0 0 1px rgba(200, 24, 128, 0.14), 0 10px 40px -10px rgba(0,0,0,0.8);
    }

        .register-page .lux-input-wrapper:focus-within {
            border-color: rgba(200, 24, 128, 0.7);
            box-shadow: 0 0 0 1px rgba(200, 24, 128, 0.42), 0 20px 40px -10px rgba(200, 24, 128, 0.2);
        }

    .register-page #feedbackContainer {
        display: none;
        width: 100%;
        margin: 0;
    }

    .register-page .validation-list {
        display: grid;
        gap: 12px;
        padding: 18px 20px;
        border-radius: 20px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
    }

    .register-page .validation-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: var(--color-text-secondary);
        font-size: 0.98rem;
        line-height: 1.6;
        text-align: left;
    }

    .register-page .validation-icon {
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        color: var(--color-accent-bright);
        margin-top: 5px;
        margin-right: 5px;
    }

        .register-page .validation-icon svg {
            width: 18px;
            height: 18px;
            display: block;
            stroke: currentColor;
        }

    .register-page .registration-details {
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(18px);
        transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease, margin-top 0.35s ease, padding-top 0.35s ease;
        margin-top: 0;
        padding-top: 0;
    }

        .register-page .registration-details.open {
            max-height: 900px;
            opacity: 1;
            transform: translateY(0);
            margin-top: 0;
            padding-top: 28px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }

        .register-page .registration-details form {
            display: grid;
            gap: 14px;
            width: 100%;
            margin: 0;
        }

    .register-page .register-fields-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .register-page .registration-details .form-group {
        margin: 0;
        text-align: left;
    }

    .register-page .registration-details .form-label {
        display: block;
        margin-bottom: 10px;
        color: rgba(255,255,255,0.76);
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .register-page .registration-details .form-input {
        width: 100%;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 18px;
        background: rgba(255,255,255,0.04);
        color: var(--color-text-primary);
        padding: 16px 18px;
        font-size: 1rem;
        outline: none;
        transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    }

        .register-page .registration-details .form-input:focus {
            border-color: rgba(200, 24, 128, 0.65);
            box-shadow: 0 0 0 1px rgba(200, 24, 128, 0.4);
            background: rgba(255,255,255,0.05);
        }

        .register-page .registration-details .form-input::placeholder {
            color: rgba(255,255,255,0.3);
        }

    .register-page .registration-details .password-box {
        position: relative;
    }

        .register-page .registration-details .password-box .form-input {
            padding-right: 56px;
        }

    .register-page .registration-details .password-toggle {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: none;
        background: transparent;
        color: rgba(255,255,255,0.6);
        cursor: pointer;
        transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    }

        .register-page .registration-details .password-toggle:hover {
            color: rgba(255,255,255,0.9);
            transform: translateY(-50%) scale(1.05);
        }

        .register-page .registration-details .password-toggle svg {
            width: 22px;
            height: 22px;
            stroke: currentColor;
        }

    .register-page .registration-details .custom-checkbox {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        width: 100%;
        margin: 0;
        color: var(--color-text-secondary);
        font-size: 0.96rem;
        line-height: 1.6;
        text-align: left;
        cursor: pointer;
    }

        .register-page .registration-details .custom-checkbox input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

    .register-page .registration-details .checkmark {
        width: 24px;
        height: 24px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.16);
        background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
        position: relative;
        margin-top: 1px;
        transition: all 0.25s ease;
    }

    .register-page .registration-details .custom-checkbox:hover .checkmark {
        border-color: rgba(255,255,255,0.28);
    }

    .register-page .registration-details .custom-checkbox input:focus + .checkmark {
        box-shadow: 0 0 0 1px rgba(200, 24, 128, 0.35);
    }

    .register-page .registration-details .custom-checkbox input:checked + .checkmark {
        background: linear-gradient(180deg, var(--color-accent-bright), var(--color-accent));
        border-color: var(--color-accent);
        box-shadow: 0 10px 24px -10px rgba(200, 24, 128, 0.85);
    }

        .register-page .registration-details .custom-checkbox input:checked + .checkmark::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 7px;
            width: 10px;
            height: 6px;
            border-left: 2px solid var(--color-white);
            border-bottom: 2px solid var(--color-white);
            transform: rotate(-45deg);
        }

    .register-page .registration-details .custom-checkbox a {
        color: var(--color-text-primary);
        border-bottom: 1px solid rgba(255,255,255,0.22);
    }

        .register-page .registration-details .custom-checkbox a:hover {
            border-color: rgba(255,255,255,0.5);
        }

    .register-page .registration-details .btn-form {
        width: auto;
        min-width: 220px;
        margin-top: 18px;
        margin-bottom: 14px;
        justify-self: center;
        padding: 16px 30px;
    }

    .register-page .field-validation {
        display: block;
        margin-top: 8px;
        text-align: left;
    }

    .register-page .register-success-modal {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: center;
        padding: 24px;
    }

        .register-page .register-success-modal[hidden] {
            display: none;
        }

    .register-page .register-success-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(7, 10, 23, 0.78);
        backdrop-filter: blur(14px);
    }

    .register-page .register-success-dialog {
        position: relative;
        z-index: 1;
        width: min(100%, 640px);
        padding: 36px 32px 32px;
        border-radius: 32px;
        border: 1px solid rgba(255,255,255,0.12);
        background:
            radial-gradient(circle at top, rgba(200, 24, 128, 0.16), transparent 55%),
            linear-gradient(180deg, rgba(16, 20, 38, 0.96), rgba(10, 13, 26, 0.98));
        box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
        text-align: center;
    }

    .register-page .register-success-close {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
        color: var(--color-text-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem;
        line-height: 1;
        transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

        .register-page .register-success-close:hover {
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.2);
            transform: scale(1.04);
        }

    .register-page .register-success-badge {
        margin-bottom: 18px;
        justify-self: center;
    }

    .register-page .register-success-title {
        margin-bottom: 16px;
        font-size: clamp(2rem, 5vw, 3.1rem);
    }

    .register-page .register-success-intro {
        margin-bottom: 14px;
        max-width: none;
    }

    .register-page .register-success-text {
        margin: 0;
        color: var(--color-text-secondary);
        font-size: 1rem;
        line-height: 1.7;
    }

        .register-page .register-success-text strong,
        .register-page .register-success-intro strong {
            color: var(--color-text-primary);
        }

    .register-page .register-success-actions {
        display: flex;
        gap: 14px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 28px;
    }

        .register-page .register-success-actions .btn {
            min-width: 220px;
            padding: 16px 28px;
        }

.register-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
}

.register-hero-subtitle {
    margin-bottom: 0;
}

.hero-badge::before,
.hero-badge::after {
    content: none;
    animation: none;
    display: none;
}

@media (max-width: 768px) {
    .register-page .register-hero {
        padding: 134px 0 28px;
    }

    .register-page .register-card-wrap {
        padding: 12px 0 72px;
    }

    .register-page .register-fields-grid {
        grid-template-columns: 1fr;
    }

    .register-page .lux-input-wrapper {
        padding: 16px 20px;
    }

    .register-page .lux-suffix {
        margin-right: 0;
        font-size: 1rem;
    }

    .register-page .registration-details .btn-form {
        width: 100%;
    }

    .register-page .register-success-dialog {
        padding: 32px 22px 24px;
        border-radius: 24px;
    }

    .register-page .register-success-actions {
        flex-direction: column;
    }

        .register-page .register-success-actions .btn {
            width: 100%;
        }
}
