* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    font-family: Arial, sans-serif;
    background-color: #333333;
    color: #fff;
    max-height: 100vh;
}

#boletos {
    display: flex;
    width: 100%;
    max-width: 1366px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10vh;
    max-height: 100vh;
}

#boletos h1 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    height: 40px;
    margin-top: 10px;
}

#boletos .input {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#boletos .input input {
    width: 400px;
    height: 45px;
    margin-top: 10px;
    text-align: center;
    border: none;
    text-decoration: none;
    outline: none;
    border-radius: 5px;
    background-color: rgb(41, 40, 40);
    color: #fff;
}

#boletos .input input::placeholder {
    color: #fff;
}

/* Estilo para os campos quando preenchidos automaticamente */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    /* Pode levar um tempo muito longo para alterar a cor de fundo */
    background-color: rgb(41, 40, 40);
    color: #fff;
    -webkit-text-fill-color: #fff !important;
    /* Cor do texto para campos preenchidos automaticamente */

}

#boletos .input div {
    display: flex;
    width: 400px;
    justify-content: space-around;
    margin-top: 5px;
}

#boletos .input div a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    width: 150px;
    height: 40px;
    text-decoration: underline;
    cursor: pointer;
}

#boletos #buscar {
    width: 200px;
    height: 40px;
    background-color: #FFB700;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
}

#boletos hr {
    width: 100%;
}

.titulo {
    display: none;
    width: 90%;
    height: 50px;
    margin: 0;
    justify-content: start;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    background-color: rgb(41, 41, 41);
    padding: .5rem;
    border-radius: 5px;
}

.mostrarTitulo {
    display: flex;
}

.tituloScrool {
    padding-right: calc(12px + .5rem);
}

#boletos ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
    padding: 0;
    width: 90%;
    height: 75%;
    overflow-y: auto;
    border-radius: 5px;
}

#boletos ul::-webkit-scrollbar {
    width: 12px;
    /* largura do scrollbar */
}

#boletos ul::-webkit-scrollbar-thumb {
    background-color: #333;
    /* cor do polegar (thumb) do scrollbar */
    border-radius: 6px;
    /* borda do polegar do scrollbar */
}

#boletos ul::-webkit-scrollbar-track {
    background-color: #FFB700;
    /* cor da trilha do scrollbar */
}

#boletos ul {
    scrollbar-width: thin;
    /* largura do scrollbar */
    scrollbar-color: #333 #FFB700;
    /* cor do polegar (thumb) e da trilha do scrollbar */
}

#boletos li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: .5rem;
    color: #fff;
    border-bottom: #FFB700 solid 1px;
    margin-bottom: 5px;
    background-color: #5f5e5d;
}

#boletos li .nroDoc,
#tituloNroDoc  {
    width: 10%;
    margin: 0;
}

#boletos li .obs,
#tituloObs {
    width: 45%;
    margin: 0;
}

#boletos li .valor,
#tituloValor  {
    width: 10%;
    margin: 0;
}

#boletos li .vencimento,
#tituloVencimento {
    width: 10%;
    margin: 0;
}

#boletos li button,
.titulo button {
    width: 20%;
    height: 40px;
    margin: 0;
    margin-left: 5%;
    background-color: #FFB700;
    border: none;
    border-radius: 5px;
}

@media screen and (max-width: 950px) {
    .titulo {
        width: 100%;
        background-color: #222221;
        height: auto;
        margin: 0;
        font-size: 12px;
        margin-bottom: 1rem;

    }

    #boletos ul {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        font-size: 12px;
        overflow-y: hidden;
    }

    #boletos li {
        margin: 0;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 500px) {
    body {
        width: 100%;
    }

    .titulo {
        width: 100%;
        background-color: #222221;
        height: auto;
        margin: 0;
        font-size: 12px;
        margin-bottom: 1rem;

    }

    #boletos ul {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        font-size: 12px;
        overflow-y: hidden;
    }

    #boletos li {
        margin: 0;
        margin-bottom: 2rem;
    }

    #tituloNroDoc,
    #boletos li .nroDoc {
        width: 100%;
    }

    #tituloObs,
    #boletos li .obs {
        width: 100%;
    }

    #tituloValor,
    #boletos li .valor {
        width: 100%;
    }

    #tituloVencimento,
    #boletos li .vencimento {
        width: 100%;
    }

    #boletos li button,
    .titulo button {
        width: 100%;
    }



    #boletos .input input {
        width: 90%;
    }

    #boletos .input div {
        width: 100%;
    }
}