.register-page {
    width: 100%;
    padding: 32px 16px 56px;
}

.register-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #ececec;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    color: #121212;
}

.register-header h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.register-intro,
.register-intro-en {
    margin: 0;
    line-height: 1.7;
}

.register-intro {
    color: #222;
}

.register-intro-en {
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.95rem;
}

.register-steps-form {
    margin: 26px 0 18px;
}

.register-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.register-steps__item {
    appearance: none;
    border: 1px solid #d9d9d9;
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    color: #444;
}

.register-steps__item:disabled,
.register-steps__item[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

.register-steps__item:not(:disabled):hover {
    transform: translateY(-1px);
    border-color: #c8c8c8;
}

.register-steps__item--current {
    background: #111;
    color: #fff;
    border-color: #111;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.register-steps__item--done {
    background: #f6f6f6;
    color: #111;
    border-color: #d6d6d6;
}

.register-steps__index {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    flex: 0 0 auto;
}

.register-steps__label {
    font-size: 0.92rem;
    line-height: 1;
    white-space: nowrap;
}

.register-error {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 14px 16px;
    margin: 0 0 20px;
    background: #fff1f1;
    border: 1px solid #f0b6b6;
    border-radius: 16px;
    color: #b30000;
    font-size: 0.95rem;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.register-form h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.register-step-help {
    margin: -12px 0 0;
    color: #6b7280;
    font-size: 0.94rem;
    line-height: 1.6;
}

.input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.section-input {
    position: relative;
    flex: 1 1 280px;
    min-width: 0;
}

.section-input input,
.section-input textarea,
.section-input select {
    width: 100%;
    min-height: 56px;
    padding: 16px 16px;
    border: 1px solid #d7d7d7;
    border-radius: 16px;
    font-size: 15px;
    background: #fff;
    color: #111;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    resize: vertical;
}

.section-input input::placeholder,
.section-input textarea::placeholder {
    color: #8a8a8a;
}

.section-input input:focus,
.section-input textarea:focus,
.section-input select:focus {
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.07);
}

.section-input select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #111 50%),
        linear-gradient(135deg, #111 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.register-choice-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #fafafa;
}

.register-choice-title {
    font-size: 0.96rem;
    font-weight: 600;
    color: #121212;
}

.register-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.register-choice-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #222;
    font-size: 0.95rem;
}

.register-terms-hint {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

.register-form input[type="radio"],
.register-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #111;
}

.register-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.submit-button {
    appearance: none;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.submit-button:hover {
    transform: translateY(-1px);
    background: #222;
}

.submit-button-secondary {
    background: #efefef;
    color: #111;
    box-shadow: none;
}

.submit-button-secondary:hover {
    background: #e6e6e6;
}

.register-success-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.register-success-card h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
}

.register-success-card p {
    margin: 0;
    color: #333;
    line-height: 1.7;
}

.register-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.register-link-secondary {
    display: inline-flex;
    align-items: center;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.register-link-secondary:hover {
    text-decoration: underline;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .register-page {
        padding: 18px 12px 40px;
    }

    .register-shell {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .register-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .register-steps__item {
        justify-content: flex-start;
    }

    .input-row {
        gap: 14px;
    }

    .section-input {
        flex-basis: 100%;
    }

    .register-actions {
        flex-direction: column;
    }

    .submit-button,
    .submit-button-secondary {
        width: 100%;
    }
}