@import url('https://fonts.googleapis.com/css2?family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');

html * {

    position: relative;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    color: white;
    font: normal 16px / 1.2 "TikTok Sans", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0, "wdth" 100;
    text-align: center;
    background: #000;
    padding: 0.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

header {
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand {
    height: 3rem;
    aspect-ratio: 512/133;
    justify-self: flex-start;
}

h1 {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
}

h1 small {
    color: #f1a400;
    display: block;
}

h1 small,
h2 {
    font-size: 1rem;
    padding: 0;
    margin: 0;
}

h3 {
    font-size: 0.8rem;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

p {
    font-size: 0.6rem;
    padding: 0;
    margin: 0;
    text-align: left;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem;
    background: #0008;
    backdrop-filter: blur(5px);
    --radius: 1rem;
    border-radius: var(--radius);
}

footer {
    font-size: 0.6rem;
    text-align: left;
}

footer a {
    text-decoration: underline;
    text-transform: uppercase;
}

button {
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    border: none;
    border-radius: 0.5rem;
    background: #f1a400;
    color: #fff;
    margin: 1rem auto;
    flex-shrink: 0;
    font-size: 1rem;
}

section button {
    width: 100%;
}

.phone-number,
.submit,
.otp {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 0.25rem;
    visibility: hidden;
}

label {
    font-size: 0.8rem;
}

input[type="tel"],
input[type="number"] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 3.5rem;
    border-radius: 0.5rem;
    outline: none;
    border: none;
    padding: 0 1rem;
    color: #10223e;
}

input[type="tel"]::placeholder,
input[type="number"]::placeholder {
    color: #bbb;
}

input[type="tel"],
input[type="tel"]::placeholder {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

input[type="tel"] {
    padding: 0 1rem;
}

input[type="tel"]::placeholder {
    color: #bbb;
}


input[type="number"],
input[type="number"]::placeholder {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 6px;
}

input[type="number"] {
    padding: 0 1.5rem;
    width: 9rem;
    text-align: center;
}

input[type="number"]::placeholder {
    color: #bbb;
}

.msisdn-input {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.msisdn-input label {
    font-size: 1.2rem;
}

.inactive {
    opacity: 0.5;
    filter: grayscale(60%);
}
