body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #0D1B2A;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    color: white;
    font-size: 28px;
    padding: 0;
    margin: 0;
}

#balance {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    padding: 5px 15px;
    color: #778DA9;
    background-color: #1B263B;
}

#get_phone {
    padding: 10px 30px;
    background-color: #4571a4;
    border: 0;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;

    .loader {
        filter: invert();
        width: 15px;
        animation: spin .75s linear infinite;
        margin-left: 10px;
    }
}

#phone_result {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #415A77;

    .text {
        color: #86f46b;
    }

    .phone {
        #input_number {
            padding: 10px;
            font-size: 20px;
            border: 0;
            border-radius: 5px;
            margin-top: 20px;
            background-color: transparent;
            border: 1px solid #4571a4;
            color: white;
        }

        .copy {
            padding: 10px 30px;
            background-color: #4571a4;
            border: 0;
            border-radius: 5px;
            margin-top: 20px;
            font-size: 20px;
            cursor: pointer;
            color: white;
            transition: all .5 ease-in-out;
        }
    }
}

#code_result {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;

    .pending {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        img {
            filter: invert();
            width: 30px;
            animation: spin .75s linear infinite;
            margin-top: 10px;
        }
    }

    .success {
        display: none;

        #code {
            color: #4571a4;
            text-decoration: underline;
            cursor: pointer;
            margin-left:5px;
        }
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}