/* Registration form — replaces static Figma placeholders */

.leto-form-group {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.leto-form-group .leto-reg-form,
.leto-form-group .leto-reg-form * {
    pointer-events: auto;
}

.leto-reg-form {
    position: absolute;
    box-sizing: border-box;
    font-family: "Calibri-Regular", Calibri, Arial, sans-serif;
}

.leto-reg-form .leto-label {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    color: #626262;
    margin: 0 0 4px;
    text-align: center;
}

.leto-reg-form .leto-label--social {
    font-size: 14px;
    text-align: left;
    padding-left: 56px;
}

.leto-reg-form .leto-req {
    color: #4b9eff;
    font-family: "Calibri-Bold", Calibri, Arial, sans-serif;
}

.leto-reg-form .leto-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: transparent;
    font-size: 20px;
    line-height: 1.2;
    color: #000;
    text-align: center;
    padding: 0;
    margin: 0;
    font-family: "Calibri-Regular", Calibri, Arial, sans-serif;
}

.leto-reg-form .leto-input--social {
    text-align: left;
    padding-left: 56px;
    font-size: 16px;
}

.leto-reg-form .leto-field {
    position: absolute;
    left: 23px;
    width: 408px;
    border-radius: 15px;
    box-shadow: 2.47px 3.71px 9.89px -1.24px rgba(0, 0, 0, 0.25);
    background: #fff;
    padding: 8px 12px 6px;
    box-sizing: border-box;
}

.leto-reg-form .leto-field--social {
    background: #d3eaff;
}

.leto-reg-form .leto-social-hint {
    position: absolute;
    left: 23px;
    width: 408px;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.25;
    color: #626262;
    text-align: center;
}

.leto-reg-form .leto-tabs {
    position: absolute;
    top: 22px;
    left: 23px;
    width: 408px;
    height: 58px;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 2.47px 3.71px 9.89px -1.24px rgba(0, 0, 0, 0.25);
}

.leto-reg-form .leto-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.2;
    cursor: pointer;
    font-family: "Calibri-Regular", Calibri, Arial, sans-serif;
    transition: background 0.2s, color 0.2s;
    position: relative;
    z-index: 2;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.leto-reg-form .leto-tab-radio {
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.leto-reg-form .leto-tab-text {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 58px;
    pointer-events: none;
}

.leto-reg-form .leto-tab--buyer {
    border-radius: 15px 0 0 15px;
}

.leto-reg-form .leto-tab--seller {
    border-radius: 0 15px 15px 0;
}

/* Неактивная вкладка — серая */
.leto-reg-form .leto-tab {
    background: #e9e9e9;
    color: #000;
}

/* Активная вкладка — синий фон (как в макете), фоны меняются местами */
.leto-reg-form .leto-tab.is-active,
.leto-reg-form .leto-tab:has(.leto-tab-radio:checked) {
    background: #326299;
    color: #fff;
}

.leto-reg-form .leto-tab:not(.is-active):not(:has(.leto-tab-radio:checked)) {
    background: #e9e9e9;
    color: #000;
}

.leto-reg-form .leto-submit {
    position: absolute;
    left: 22px;
    width: 409px;
    height: 56px;
    border: none;
    border-radius: 54px;
    background: #54a3ff;
    color: #fff;
    font-size: 22px;
    font-family: "Calibri-Bold", Calibri, Arial, sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
}

.leto-reg-form .leto-submit:hover {
    opacity: 0.92;
}

.leto-reg-form .leto-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.leto-reg-form .leto-field.is-invalid {
    box-shadow: 2.47px 3.71px 9.89px -1.24px rgba(0, 0, 0, 0.25), inset 0 0 0 2px #e31e24;
}

.leto-reg-form .leto-form-message {
    position: absolute;
    left: 23px;
    width: 408px;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}

.leto-reg-form .leto-form-message.is-error {
    color: #e31e24;
}

.leto-reg-form .leto-form-message.is-ok {
    color: #326299;
}

/* Desktop layout (within 454×840 group at 827, 2029) */
.leto-form-group--desktop {
    width: 454px;
    height: 840px;
    left: 827px;
    top: 2029px;
}

.leto-form-group--desktop .leto-reg-form {
    top: 0;
    left: 0;
    width: 454px;
    height: 840px;
}

.leto-form-group--desktop .leto-reg-form .leto-field--name { top: 118px; height: 58px; }
.leto-form-group--desktop .leto-reg-form .leto-field--surname { top: 210px; height: 58px; }
.leto-form-group--desktop .leto-reg-form .leto-field--phone { top: 303px; height: 58px; }
.leto-form-group--desktop .leto-reg-form .leto-field--email { top: 395px; height: 58px; }
.leto-form-group--desktop .leto-reg-form .leto-social-hint { top: 468px; }
.leto-form-group--desktop .leto-reg-form .leto-field--facebook { top: 513px; height: 58px; }
.leto-form-group--desktop .leto-reg-form .leto-field--instagram { top: 586px; height: 58px; }
.leto-form-group--desktop .leto-reg-form .leto-field--tiktok { top: 659px; height: 58px; }
.leto-form-group--desktop .leto-reg-form .leto-submit { top: 751px; }
.leto-form-group--desktop .leto-reg-form .leto-form-message { top: 812px; }

.leto-form-group--desktop .vector-1_52,
.leto-form-group--desktop .vector-1_204 {
    position: absolute;
    left: 0;
    top: 0;
    width: 454px;
    height: 840px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.leto-form-group--desktop .vector-1_52 {
    background-image: url(/usr/letoudalos/image/Rectangle9.svg);
}

.leto-form-group--desktop .vector-1_204 {
    background-image: url(/usr/letoudalos/image/Rectangle9.svg);
}

.leto-form-group--desktop .leto-reg-form {
    z-index: 1;
}

/* Mobile layout (320px canvas) */
.leto-form-group--mobile {
    width: 320px;
    height: 660px;
    left: 0;
    top: 1583px;
}

.leto-form-group--mobile .leto-reg-form {
    top: 0;
    left: 0;
    width: 320px;
    height: 660px;
}

.leto-form-group--mobile .leto-reg-form .leto-tabs {
    top: 0;
    left: 18px;
    width: 284px;
    height: 48px;
    border-radius: 10px;
}

.leto-form-group--mobile .leto-reg-form .leto-tab-text {
    line-height: 48px;
}

.leto-form-group--mobile .leto-reg-form .leto-tab {
    font-size: 16px;
}

.leto-form-group--mobile .leto-reg-form .leto-tab--buyer { border-radius: 10px 0 0 10px; }
.leto-form-group--mobile .leto-reg-form .leto-tab--seller { border-radius: 0 10px 10px 0; }

.leto-form-group--mobile .leto-reg-form .leto-field {
    left: 18px;
    width: 284px;
    border-radius: 10px;
    padding: 6px 10px 4px;
}

.leto-form-group--mobile .leto-reg-form .leto-field--name { top: 72px; height: 48px; }
.leto-form-group--mobile .leto-reg-form .leto-field--surname { top: 144px; height: 48px; }
.leto-form-group--mobile .leto-reg-form .leto-field--phone { top: 216px; height: 48px; }
.leto-form-group--mobile .leto-reg-form .leto-field--email { top: 288px; height: 48px; }
.leto-form-group--mobile .leto-reg-form .leto-social-hint {
    top: 352px;
    left: 18px;
    width: 284px;
    font-size: 12px;
}
.leto-form-group--mobile .leto-reg-form .leto-field--facebook { top: 384px; height: 48px; }
.leto-form-group--mobile .leto-reg-form .leto-field--instagram { top: 442px; height: 48px; }
.leto-form-group--mobile .leto-reg-form .leto-field--tiktok { top: 500px; height: 48px; }

.leto-form-group--mobile .leto-reg-form .leto-label { font-size: 12px; margin-bottom: 2px; }
.leto-form-group--mobile .leto-reg-form .leto-input { font-size: 16px; }
.leto-form-group--mobile .leto-reg-form .leto-label--social,
.leto-form-group--mobile .leto-reg-form .leto-input--social {
    padding-left: 40px;
    font-size: 12px;
}

.leto-form-group--mobile .leto-reg-form .leto-submit {
    left: 18px;
    width: 284px;
    height: 48px;
    top: 558px;
    font-size: 18px;
    border-radius: 40px;
}

.leto-form-group--mobile .leto-reg-form .leto-form-message {
    left: 18px;
    width: 284px;
    top: 612px;
}
