body {
    margin: 0;
    padding: 0;
    background: #e9e7e7;
    font-family: Arial, Helvetica, sans-serif;
    color: #222222;
}

.top {
    background: #ffffff;
    border-bottom: 1px solid #d4d4d4;
}

.top-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo img {
    height: 46px;
    display: block;
}

.step-count {
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: #555555;
}

.progress-wrap {
    width: 120px;
    height: 6px;
    background: #eeeeee;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    width: 20%;
    height: 100%;
    background: #f78f07;
    border-radius: 20px;
    transition: width 0.25s ease;
}

.assistant {
    max-width: 760px;
    min-height: 620px;
    margin: 24px auto;
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.avatar {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f1f1;
    border: 1px solid #dddddd;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bubble {
    max-width: 560px;
    padding: 14px 18px;
    background: #f9f9f9;
    border: 1px solid #dddddd;
    border-radius: 7px;
    font-size: 16px;
    line-height: 1.4;
}

.step {
    display: none;
    margin-top: 18px;
}

.step.active {
    display: block;
}

.choices {
    margin-left: 62px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choices.cards {
    gap: 10px;
}

.choice {
    min-width: 130px;
    min-height: 46px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    color: #222222;
    font-size: 16px;
    cursor: pointer;
}

.cards .choice {
    width: 180px;
    height: 92px;
}

.choice:hover,
.choice.selected {
    background: #fff4e6;
    border-color: #f78f07;
    color: #c87500;
}

.choice-title {
    display: block;
    margin-bottom: 8px;
}

.choice-icon {
    display: block;
    font-size: 28px;
    color: #c87500;
}

.form-zone {
    max-width: 430px;
    margin-left: 62px;
    display: grid;
    gap: 12px;
}

.form-zone input,
.form-zone select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #ffffff;
    color: #222222;
    font-size: 16px;
    box-sizing: border-box;
}

.btn-main {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 4px;
    background: #f78f07;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.22);
}

.btn-main:hover {
    background: #e17f00;
}

.signup-note {
    color: #666666;
    font-size: 13px;
    line-height: 1.4;
}

@media screen and (max-width: 700px) {
    .top-inner {
        padding: 10px 12px;
    }

    .progress-wrap {
        width: 90px;
    }

    .assistant {
        margin: 14px 10px;
        padding: 20px 14px;
        min-height: auto;
    }

    .choices,
    .form-zone {
        margin-left: 0;
    }

    .cards .choice {
        width: calc(50% - 5px);
    }

    .bubble {
        max-width: none;
    }
}
.field-help {
    margin-top: -6px;
    font-size: 13px;
    line-height: 1.35;
    color: #666666;
}

.field-help.ok {
    color: #218739;
    font-weight: 700;
}

.field-help.error {
    color: #b3261e;
    font-weight: 700;
}

.form-zone input.input-ok {
    border-color: #218739;
}

.form-zone input.input-error {
    border-color: #b3261e;
}
.birth-zone {
    max-width: 520px;
}

.birth-row {
    display: grid !important;
    grid-template-columns: 90px 1fr 110px !important;
    gap: 10px !important;
    width: 100%;
}

.birth-row select {
    width: 100% !important;
}

@media screen and (max-width: 700px) {
    .birth-row {
        grid-template-columns: 1fr !important;
    }
}
.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-right: 46px !important;
}

.password-eye {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 46px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #555555;
    box-shadow: none !important;
}

.password-eye:hover {
    background: transparent;
    color: #f78f07;
}

.signup-review-box strong {
    color: #555555;
}

.signup-review-box span {
    font-weight: 700;
    color: #222222;
}

.btn-secondary {
    width: 100%;
    height: 44px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: #ffffff;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f5f5f5;
}
.city-help {
    font-size: 14px;
    line-height: 1.4;
    color: #666666;
}

.geo-error {
    color: #b3261e !important;
    font-weight: 700;
}

.geo-error-blink {
    animation: geoBlink 0.35s linear 0s 4;
}

.select-error {
    border-color: #b3261e !important;
    background: #fff5f5 !important;
}

@keyframes geoBlink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }

    100% {
        opacity: 1;
    }
}
.step-alert {
    margin-top: 14px;
    padding: 13px 14px;
    background: #fff1f1;
    border: 1px solid #e3a5a5;
    border-radius: 4px;
    color: #9d1111;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.step-alert::before {
    content: "⚠ ";
    font-weight: 700;
}

.input-error,
.select-error {
    border-color: #b3261e !important;
    background: #fff7f7 !important;
}
#signupUsername:not(.input-error):not(.input-ok) {
    border-color: #d0d0d0 !important;
    background: #ffffff !important;
}



#finalSubmitButton:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.captcha-box {
    margin: 18px 0 14px 0;
}

.captcha-title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
}
.signup-review-box {
    background: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 18px;
    font-size: 16px;
    line-height: 1.65;
}
.signup-error {
    margin: 0 0 18px 62px;
    padding: 12px 14px;
    background: #fff2f2;
    border: 1px solid #e5b5b5;
    color: #9f1f1f;
    border-radius: 4px;
    font-weight: 700;
}

.form-zone label {
    font-size: 15px;
    font-weight: 700;
    color: #333333;
    margin-bottom: -6px;
}

.form-zone select:disabled {
    background: #f5f5f5;
    color: #777777;
}

@media screen and (max-width: 700px) {
    .signup-error {
        margin-left: 0;
    }
}
.signup-page-intro h1 {
    margin: 0 0 18px 62px;
    font-size: 24px;
    line-height: 1.25;
    color: #222222;
}

.signup-info-box {
    margin: 0 0 22px 62px;
    padding: 14px 16px;
    background: #fffaf2;
    border: 1px solid #f0d4a8;
    border-radius: 6px;
    color: #444444;
    font-size: 14px;
    line-height: 1.45;
}

.signup-info-box p {
    margin: 0 0 10px 0;
}

.signup-info-box p:last-child {
    margin-bottom: 0;
}

.signup-info-warning {
    color: #7a3b00;
}

@media screen and (max-width: 700px) {
    .signup-page-intro h1,
    .signup-info-box {
        margin-left: 0;
    }

    .signup-page-intro h1 {
        font-size: 21px;
    }
}