:host { padding-top: 48px; display: flex; flex-direction: column; align-items: center; max-width: 600px; margin: 0 auto 52px; padding-left: 20px; padding-right: 20px; h1 { margin-top: 20px; width: 302px; font-style: normal; font-weight: 700; font-size: 17px; line-height: 22px; text-align: center; letter-spacing: -0.408px; } h2 { margin-top: 44px; font-style: normal; font-weight: 700; font-size: 20px; line-height: 24px; text-align: center; letter-spacing: 0.38px; } .description { width: 180px; font-style: normal; font-weight: 400; font-size: 15px; line-height: 20px; text-align: center; letter-spacing: -0.24px; margin-top: 16px; } form { display: flex; flex-direction: column; align-items: center; margin-top: 35px; .offer { margin-top: 10px; padding: 0 16px; font-style: normal; font-weight: 400; font-size: 12px; line-height: 17px; text-align: center; a { text-decoration: none; color: var(--button-color); } } .input-container { position: relative; width: 100%; label { font-style: normal; font-weight: 400; font-size: 12px; line-height: 16px; color: var(--text-color_1); text-align: left; position: absolute; top: 10px; left: 16px; } input { width: 100%; padding: 24px 16px 8px; margin-bottom: 16px; border: none; border-top: solid var(--text-color_1) 1px; border-bottom: solid var(--text-color_1) 1px; color: var(--text-color_1); font-style: normal; font-weight: 400; font-size: 22px; line-height: 28px; } } button { height: 46px; width: calc(100% - 32px); padding: 10px 24px; background: var(--button-color); border-radius: 6px; display: flex; flex-direction: row; justify-content: center; align-items: center; border: none; letter-spacing: -0.408px; color: var(--button-text-color); font-style: normal; font-weight: 700; font-size: 17px; line-height: 22px; &:disabled { color: var(--button-text-color_disabled); background-color: var(--button-color_disabled); } } } .code-form { width: 100%; // input { // width: 100%; // padding: 24px 16px 8px; // background-color: #252323; // margin-bottom: 16px; // border: none; // border-top: solid #6a737c 1px; // border-bottom: solid #6a737c 1px; // color: #6a737c; // font-style: normal; // font-weight: 400; // font-size: 22px; // line-height: 28px; // } .inputs-container { width: 102px; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 40px; // code .box { position: relative; display: flex; align-items: center; justify-content: center; height: 42px; width: 42px; border-radius: 6px; // box-shadow: 0 0 6px 1px hsla(240, 54%, 61%, 0.2); overflow: hidden; will-change: transform; } .box:focus-within { box-shadow: 0 0 6px 1px rgba(rgb(127, 32, 97), 0.2), 0 0 0 2px rgba(rgb(127, 32, 97), 0.6); } .box::before, .box::after { content: ""; position: absolute; height: 100%; width: 100%; top: 0; left: 0; border-radius: 6px; overflow: hidden; } .box::before { // background: hsl(240, 54%, 97%); z-index: 1; transition: background-color 450ms cubic-bezier(0.25, 0.01, 0.25, 1); } .box::after { transform: translateY(100%); background-color: hsl(145, 0%, 42%); opacity: 0; z-index: 10; transition: transform 450ms cubic-bezier(0.25, 0.01, 0.25, 1), opacity 450ms cubic-bezier(0.25, 0.01, 0.25, 1), background-color 450ms cubic-bezier(0.25, 0.01, 0.25, 1); } .field { position: relative; border: 0; outline: 0; font-size: 25.21px; line-height: 42px; color: var(--text-color); background-color: transparent; text-align: center; z-index: 100; } .field::placeholder { color: var(--text-color); } } } .resend-code { font-style: normal; font-weight: 400; font-size: 12px; line-height: 16px; text-align: center; margin-top: 23px; .resend { cursor: pointer; } } } mat-form-field { width: 100%; }