:focus:-webkit-input-placeholder {
    color: rgba(55, 55, 55, 0.60);
}
:-webkit-input-placeholder {
    font-family: Inter, sans-serif;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.20);
    transition: 0.3s;
}
.breadcrumbs {
    margin-top: 20px;
    margin-bottom: 155px;
}
.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 120px;
    min-height: 380px;
}
.form h2 {
    font: 700 24px Inter;
    max-width: 430px;
    text-align: center;
    margin-bottom: 40px;
}
.form form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 330px;
}
.form form .phone {
    display: flex;
    width: 100%;
    gap: 1px;
    position: relative;
    align-items: center;
}
.form form .phone::before {
    position: absolute;
    left: 60px;
    top: calc(50% - 6px);
    color: rgba(0, 0, 0, 0.60);
}
.form form .phone .country {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    min-width: 44px;
}
.form form .phone.focus .country {
    border: 1px solid rgba(0, 0, 0, 0.60);
}
.form form input {
    padding: 11px 10px 11px 40px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    color: rgba(55, 55, 55, 0.60);
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
}
.form form input:focus {
    border: 1px solid rgba(0, 0, 0, 0.60);
}
.form form :is(.password, .sms-cod) {
    margin-top: 30px;
    position: relative;
    display: none;
}
.form form :is(.password, .sms-cod).active {
    display: block;
}
.form form :is(.password, .sms-cod).error::before {
    content: '';
    position: absolute;
    bottom: -1px;
    top: -1px;
    left: -1px;
    right: -1px;
    background: linear-gradient(180deg, #DD1F1F 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 4px;
    z-index: -1;
}
.form form :is(.password, .sms-cod) input {
    padding: 11px 40px 11px 10px;
}
.form form :is(.password, .sms-cod).error input {
    border: 1px solid transparent;
}
.form form :is(.password, .sms-cod) span {
    position: absolute;
    right: 10px;
    top: 17px;
    cursor: pointer;
}
.form form :is(.password, .sms-cod) span::before {
    color: #37373799;
}
.form form :is(.password, .sms-cod).view span::before {
    content: '\e012';
}
.form form :is(.password, .sms-cod) .pass-wrong {
    color: var(--wrong);
    display: none;
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
}
.form form :is(.password, .sms-cod).error .pass-wrong {
    display: block;
}
.form form .enter {
    display: none;
    flex-direction: column;
    width: 100%;
}
.form form .enter.active {
    display: flex;
}
.form form .enter .restore {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    text-decoration-line: underline;
    margin-top: 50px;
    margin-bottom: 30px;
}
.form form .enter .restore {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    text-decoration-line: underline;
    margin-top: 50px;
    margin-bottom: 30px;
    cursor: pointer;
}
.form form .enter .btn-black:disabled {
    border: 1px solid rgba(0, 0, 0, 0.20);
    background: rgba(36, 36, 36, 0.20);
}
.form form .registration {
    display: none;
    flex-direction: column;
}
.form form .registration.active {
    display: flex;
}
.form form .registration p {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 35px;
}
.form form .registration .phone-wrong {
    margin-top: 15px;
    margin-bottom: 60px;
    color: var(--wrong);
}
.form form .registration .btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form form .registration .btns * {
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}
@media screen and (max-width:668px) {
    .form {
        align-items: start;
        margin-bottom: 80px;
    }
    .form h2 {
        font: 700 14px Inter;
        text-align: start;
        margin-bottom: 20px;
    }
    .form form .phone {
        align-items: start;
    }
    .form form .phone .country {
        min-width: 40px;
        max-width: 40px;
    }
    .form form input {
        font-size: 16px;
    }
    .form form .enter .restore {
        margin-top: 30px;
    }
    .form form .registration {
        align-items: start;
    }
    .form form .registration p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .form form .registration .phone-wrong {
        margin-bottom: 40px;
    }
    .form form .registration .btns {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}