.register-subtitle {
    width: 100%;
    max-width: 720px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    line-height: 121%;
    text-align: center;
    color: #373737;
    padding-top: 15px;
}

.register-container .login-container__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.social-input-wrap {
    position: relative;
    padding: 9px 16px;
    overflow: visible;
    z-index: 1;
}

.social-input-wrap.social-select--open {
    z-index: 20;
}

.social-select {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.social-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.social-select__control {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.social-select__control:focus-visible {
    outline: 2px solid #1cb0f6;
    outline-offset: 2px;
    border-radius: 6px;
}

.social-select__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #1e293b;
}

.social-select__icon svg {
    width: 24px;
    height: 24px;
}

.social-select__caret {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #1e293b;
}

.social-select__option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #1e293b;
}

.social-select__option-icon svg {
    width: 20px;
    height: 20px;
}

.social-select__menu {
    position: absolute;
    top: calc(100% + 0px);
    left: -2px;
    min-width: 168px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(55, 55, 55, 0.12);
}

.social-select__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #1e293b;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.social-select__option:hover {
    background: #f8fafc;
    color: #1e293b;
}

.social-select__option--active {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
}

.social-select__option-label {
    white-space: nowrap;
}

.social-divider {
    width: 0;
    height: 30px;
    border-left: 0.8px solid rgba(55, 55, 55, 0.12);
    flex-shrink: 0;
}

.login-field__input-wrap.multi-select-wrap {
    height: auto;
    min-height: 48px;
}

.multi-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 10px 16px;
    overflow: visible;
    z-index: 1;
    box-sizing: border-box;
}

.multi-select-wrap.multi-select--open {
    z-index: 20;
}

.multi-select__trigger {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 26px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.multi-select__trigger:focus-visible {
    outline: 2px solid #1cb0f6;
    outline-offset: 2px;
    border-radius: 6px;
}

.multi-select__values {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    min-height: 26px;
    overflow: visible;
}

.multi-select__values--empty {
    min-height: 23px;
}

.multi-select__placeholder {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: rgba(55, 55, 55, 0.45);
}

.multi-select__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    height: 26px;
    padding: 0 4px 0 8px;
    border-radius: 999px;
    background: #f1f5f9;
    box-sizing: border-box;
    flex-shrink: 0;
}

.multi-select__chip-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.multi-select__chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.multi-select__chip-remove:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.multi-select__chip-remove:focus-visible {
    outline: 2px solid #1cb0f6;
    outline-offset: 1px;
}

.multi-select__caret {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    align-self: center;
}

.multi-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -1px;
    right: -1px;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(55, 55, 55, 0.12);
}

.multi-select__option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.multi-select__option:hover {
    background: #f8fafc;
}

.multi-select__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.multi-select__checkbox {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
}

.multi-select__option input:checked + .multi-select__checkbox {
    border-color: #1e293b;
    background: #1e293b;
}

.multi-select__option input:checked + .multi-select__checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.multi-select__option-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #1e293b;
}

.select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 16px;
    overflow: visible;
    z-index: 1;
    box-sizing: border-box;
}

.select-wrap.select-field--open {
    z-index: 20;
}

.select-wrap--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.select-field__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.select-field__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.select-wrap--disabled .select-field__trigger {
    cursor: not-allowed;
}

.select-field__trigger:focus-visible {
    outline: 2px solid #1cb0f6;
    outline-offset: 2px;
    border-radius: 6px;
}

.select-field__value {
    flex: 1;
    min-width: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #373737;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-field__value--placeholder {
    color: rgba(55, 55, 55, 0.45);
}

.select-field__caret {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.select-field__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -1px;
    right: -1px;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(55, 55, 55, 0.12);
}

.select-field__option {
    padding: 10px 12px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    color: #1e293b;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.select-field__option:hover {
    background: #f8fafc;
}

.select-field__option--active {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
}

.login-field__input-wrap--textarea {
    height: auto;
    min-height: 120px;
    align-items: flex-start;
    padding: 16px;
}

.login-field__textarea {
    resize: vertical;
    min-height: 88px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .register-subtitle {
        font-size: 18px;
    }
}

.register-avatar-field {
    align-items: center;
    width: 100%;
}

.register-avatar-field__error {
    text-align: center;
}

.register-avatar__link--empty {
    border-style: dashed;
    border-color: #cfcfcf;
}

.register-avatar__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    color: #cfcfcf;
}

.register-avatar__placeholder svg {
    width: 48px;
    height: 48px;
}

.register-avatar {
    display: flex;
    justify-content: center;
    width: 100%;
}

.register-avatar__link {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    padding: 6px;
    text-decoration: none;
    border: 1px solid rgba(55, 55, 55, 0.12);
    border-radius: 500px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.register-avatar__link:hover {
    border-color: #ff7a95;
}

.register-avatar__link:active {
    transform: scale(0.98);
}

.register-avatar__image {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
}

.register-avatar__edit {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ff7a95;
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(55, 55, 55, 0.12);
}

.register-avatar__edit svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .register-avatar__link {
        width: 108px;
        height: 108px;
        padding: 4px;
    }

    .register-avatar__image {
        width: 100%;
        height: 100%;
    }

    .register-avatar__edit {
        width: 32px;
        height: 32px;
    }

    .register-avatar__edit svg {
        width: 14px;
        height: 14px;
    }
}