.profile__profile-container {
    width: 100%;
    max-width: 192rem;
    margin: 0 auto;
    position: relative;
    padding: 0 3rem;
}

.profile_auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10rem 0 12.5rem;
}

.profile-box__auth {
    width: 100%;
    padding: 1rem 2.5rem;
    box-shadow: 0 5px 16px rgba(181, 195, 208, .32);
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 25px;
    border-radius: 17px;
    align-items: center;
}

.auth__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 133%;
    margin: 0.67em 0;
}

.auth__list {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    align-self: stretch;
}

.auth__row-box {
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    position: relative;
    display: block;
}

.auth__row {
    position: relative;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    display: block;
}

.auth__input {
    border: 0.125rem solid #d0d6dc;
    padding: 16px 25px;
    border-radius: 0.375rem;
    width: 100%;
    color: #001427;
    line-height: 100% !important;
    height: 50px;
    overflow: visible;
    background: #fff;
}

.auth__input:hover {
    border: 0.225rem solid #5FBD6F;
}

.auth__input:focus {
    border: 0.225rem solid #5FBD6F;
}

.auth__label {
    color: #001427;
    top: -3.75rem;
    left: 1rem;
    /* padding: 0 0.5rem; */
    background: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    position: relative;
}

.auth__reset {
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    display: block;
    position: relative;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #5FBD6F;
    size: 44px;
}

.auth__reset:hover {
    text-decoration: underline;
}

.auth__button-login {
    border: 1px solid transparent;
    padding: 16px 32px;
    background-color: #003730;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    line-height: 157%;
    height: 52px;
    width: 100%;
}

.auth__agreement-block {
    font-size: 0.9rem;
    line-height: 1.4;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    color: #8a98a7;
    text-align: center;
}

.auth__agreement-text {
    margin: 0;
}

.auth__agreement-link {
    color: #5FBD6F;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.auth__agreement-link:hover {
    text-decoration: underline;
}

.auth__under-row {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 1rem;
    gap: 1rem;
    color: #8a98a7;
    font-weight: 400;
    font-size: 2rem;
    line-height: 150%;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
}

.auth__to-register {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    color: #8a98a7;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 1rem;
    gap: 1rem;
}

.auth__button-registration {
    background-color: transparent;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    color: #5FBD6F;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
}

.auth__button-registration:hover {
    text-decoration: underline;
}

.code-input {
    display: flex;
    transform: translateZ(0);
    font-size: inherit;
    color: #0b1f33;
    justify-content: center;
    gap: 50px;
}

.code-input__code {
    word-spacing: 0;
    border: 0.125rem solid #d0d6dc;
    border-radius: 0.375rem;
    width: 73px;
    height: 73px;
    background: #fafafa;
    text-align: center;
    border-radius: 8px;
    color: #171516;
    font-weight: 400;
}

.code-input__code:hover {
    border: 0.225rem solid #5FBD6F;
    border-bottom: 0.225rem solid #5FBD6F;
    box-shadow: none;
    text-shadow: none;
}

.code-input__code:focus {
    border: 0.225rem solid #5FBD6F;
    border-bottom: 0.225rem solid #5FBD6F;
    box-shadow: none;
    text-shadow: none;
}

.auth__under-title {
    display: flex;
    grid-gap: 1rem;
    gap: 1rem;
    color: #8a98a7;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
}

.error-message {
    background: rgba(255, 0, 0, 0.05);
    color: rgba(255, 0, 0, .8) !important;
    text-align: center;
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
}

.success-message {
    background: rgba(0, 255, 0, 0.05);
    color: #5FBD6F !important;
    text-align: center;
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
}

.--disabled-btn {
    background: var(--green-accent-light, linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(244, 244, 244, 0.15) 61.67%), gray);
    cursor: default;
}

.auth__notice {
    background-color: #f0f8f4;
    /* светло-зелёный оттенок, гармонирует с кнопками */
    border: 1px solid #b3e6c9;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #2a5934;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    animation: fadeInNotice 0.3s ease-in-out;
}

@keyframes fadeInNotice {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Если ты используешь тёмную тему */
.dark-theme .auth__notice {
    background-color: #243328;
    border-color: #375f4a;
    color: #d6f7df;
}

.auth__row--phone {
    position: relative;
}

.auth__phone-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    color: #262626;
    pointer-events: none;
    z-index: 1;
}

.auth__input--phone {
    padding-left: 30px;
}