@font-face {
    font-family: coinbasesans;
    src: url(/cbfont/Coinbase_Sans-Regular-web-1.32.woff2);
}
@font-face {
    font-family: coinbasesansmedium;
    src: url(/cbfont/Coinbase_Sans-Medium-web-1.32.woff2);
}
@font-face {
    font-family: coinbasedisplay;
    src: url(/cbfont/Coinbase_Display-Medium-web-1.32.woff2);
}
@font-face {
    font-family: coinbasetext;
    src: url(/cbfont/Coinbase_Text-Regular-web-1.32.woff2);
}

*::-webkit-scrollbar {
    display: none;
  }

* { 
    list-style: none;
    box-sizing: border-box;
    color: white;
}

*:focus {
    outline: none;
}

html {
    height: 100%;
}

body {
    background-color: #0a0b0d;
    margin: 0px;
    padding: 0px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.cbicon {
    padding-left: 24px;
    padding-right: 24px;
    display:flex;
}

main {
    flex: 1;
}

.middle {
    flex-grow: 0;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.formbox {
    flex-grow: 1;
    height: 100%;
    max-width: 448px;
    width: 100%;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #8a919e33;
}

.formboxinside {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#signintitle {
    font-size: 28px;
    line-height: 36px;
    font-family: coinbasedisplay;
}

.formboxtop {
    padding-bottom: 16px;
}

.emailform {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#emailinplabel {
    font-size: 14px;
    line-height: 20px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-family: coinbasesansmedium;
}

#emailinp {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
    text-align: start;
    color-scheme: dark;
    border: 1px solid #8a919ea8;
    border-radius: 8px;
    background-color: #0a0b0d;
    font-family: coinbasesans;
}

#emailinp::placeholder {
    color: #8a919e;
}

#emailinp:active {
    background-color: #1e1f20;
    opacity: 0.92;
}

#emailinp:focus {
    border: 2px solid #578bfa;
}

#emailinp:hover {
    background-color: #0f1012;
    opacity: 0.98;
}

#emailcontinue {
    height: 56px;
    border-radius: 56px;
    background-color: #578bfa;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    color: #0a0b0d;
    margin-top: 16px;
    margin-bottom: 16px;
    font-family: coinbasesansmedium;
    display: flex;
    align-items: center;
    justify-content: center;
}

#emailcontinue:hover {
    background-color: #507fe5;
    opacity: 0.91;
}

#emailcontinue:active {
    background-color: #4b78d6;
    opacity: 0.85;
    transform: scale(0.98);
}

#emailcontinue:disabled {
    background-color: #314b84;
    pointer-events: none;
}

#formbottomtext2 {
    font-size: 13px;
    line-height: 16px;
    text-align: center;
    color: #8a919e;
    font-family: coinbasesans;
}

#formbottomtext1 {
    font-size: 13px;
    line-height: 16px;
    text-align: center;
    color: #8a919e;
    font-family: coinbasesans;
}

.privacypolicy1 {
    color: #8a919e;
}

#emaildisplay {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
    text-align: start;
    color-scheme: dark;
    border: 1px solid #8a919ea8;
    border-radius: 8px;
    background-color: #0a0b0d;
    font-family: coinbasesansmedium;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #8a919e33;
    margin-bottom: 24px;
}

#passinplabel {
    font-size: 14px;
    line-height: 20px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-family: coinbasesansmedium;
}

#passinp {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
    text-align: start;
    color-scheme: dark;
    border: 1px solid #8a919ea8;
    border-radius: 8px;
    background-color: #0a0b0d;
    font-family: coinbasesans;
}

#passinp:active {
    background-color: #1e1f20;
    opacity: 0.92;
}

#passinp:focus {
    border: 2px solid #578bfa;
}

#passinp:hover {
    background-color: #0f1012;
    opacity: 0.98;
}

#passcontinue {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border-radius: 56px;
    background-color: #578bfa;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    color: #0a0b0d;
    margin-top: 16px;
    margin-bottom: 16px;
    font-family: coinbasesansmedium;
}

#passcontinue:hover {
    background-color: #507fe5;
    opacity: 0.91;
}

#passcontinue:active {
    background-color: #4b78d6;
    opacity: 0.85;
    transform: scale(0.98);
}

#passcontinue:disabled {
    background-color: #314b84;
    pointer-events: none;
}

.continue-text {
    color: #0a0b0d;
    font-size: 16px;
    font-family: coinbasesansmedium;
    display: inline-block;
}

.passcontinue-text {
    color: #0a0b0d;
    font-size: 16px;
    font-family: coinbasesansmedium;
    display: inline-block;
}

.btn-spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 2px solid #0a0b0d04;
    border-top-color: #0a0b0d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 6px;
}
.passbtn-spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 2px solid #0a0b0d04;
    border-top-color: #0a0b0d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 6px;
}
  
.loading .continue-text {
    display: none;
}
  
.loading .btn-spinner {
    display: inline-block;
}

.loading .passcontinue-text {
    display: none;
}
  
.loading .passbtn-spinner {
    display: inline-block;
}

.loading {
    pointer-events: none;
}
  
@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
    .formbox {
        flex-grow: 1;
        height: 100%;
        max-width: 448px;
        width: 100%;
        padding: 32px;
        border-radius: 0px;
        border: 0px;
    }
    .middle {
        flex-grow: 0;
        width: 100%;
        padding-top: 20px;
        padding-bottom: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}