@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #E3F2EF;
    margin: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 600px;
    height: auto;
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    body {
        margin: 10px;
    }
}

h1 {
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 15px;
    text-align: start;
}

input{
    padding: 16px;
    margin-bottom: 10px;
    color: #BEBEBE;
    border-width: 0 !important;
    border-color: 0 !important;
    background-color: #F8F8F8 !important;
    border-radius: 5px;
    font-family: 'Inter', serif;
}

button {
    padding: 14px;
    background-color: #3A8D6A;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #3A8D6A;
}

/* Adiciona esta classe para ocultar as abas inicialmente */
.tabs {
    display: none;
}

/* Estilo das abas quando visíveis */
.tabs.visible {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}


.tablink1 {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    font-family: 'Inter', serif;
    font-weight: bold;
    background-color: #FFFF;
    /* Cor das abas não ativas */
    color: #3A8D6A;
    border: 1px solid #3A8D6A;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.tablink2 {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    font-family: 'Inter', serif;
    font-weight: bold;
    background-color: #FFFF;
    /* Cor das abas não ativas */
    color: #3A8D6A;
    border: 1px solid #3A8D6A;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tablink1:hover {
    background-color: #3A8D6A;
    color: white;
    /* Cor ao passar o mouse */
}

.tablink2:hover {
    background-color: #3A8D6A;
    color: white;
    /* Cor ao passar o mouse */
}

.tablink.active {
    background-color: #3A8D6A;
    /* Cor da aba ativa */
    font-weight: bold;
    color: white;
}

.tabcontent {
    display: none;
    margin-top: 20px;
    padding-right: 10px;
    text-align: left;
    height: calc(100% - 280px);
    /* Ajuste a altura das abas considerando o espaço do cabeçalho */
    overflow-y: auto;
    /* Adiciona rolagem vertical interna */
}

#Pagos.tabcontent::-webkit-scrollbar {
    width: 4px;
    padding-left: 10px;
    border-radius: 3.5px;
}

#Pagos.tabcontent::-webkit-scrollbar-track {
    background-color: #D9D9D9; /* Fundo do track (parte inativa) */
    border-radius: 3.5px;
    width: 4px;
}

#Pagos.tabcontent::-webkit-scrollbar-thumb {
    background-color: #3A8D6A; /* Cor do thumb (parte ativa) */
    border-radius: 3.5px;
}

#Gerados.tabcontent::-webkit-scrollbar {
    width: 4px;
    padding-left: 10px;
    border-radius: 3.5px;
}

#Gerados.tabcontent::-webkit-scrollbar-track {
    background-color: #D9D9D9; /* Fundo do track (parte inativa) */
    border-radius: 3.5px;
    width: 4px;
}

#Gerados.tabcontent::-webkit-scrollbar-thumb {
    background-color: #3A8D6A; /* Cor do thumb (parte ativa) */
    border-radius: 3.5px;
}

.billet-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #3A8D6A;;
    border-radius: 5px;
}

.billet-item .billet-details {
    width: 70%;
    font-size: 14px;
}

.billet-item .billet-icon {
    width: 20%;
    text-align: end;
    justify-self: start;
    align-self: start;
}

.billet-item .billet-actions {
    width: 100%;
}

.billet-icon {
    position: relative;
    top: 10px;
    right: 10px;
    display: none;
}

.billet-icon img {
    width: 24px;
    height: 24px;
}

.billet-details {
    flex: 1;
}

.billet-actions button {
    margin-top: 10px;
    width: 100%;
    text-transform: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader {
    border: 8px solid #f3f3f3; /* Cor de fundo da borda */
    border-top: 8px solid #3a8d6a; /* Cor da borda animada */
    border-radius: 50%;
    margin: auto;
    margin-top: 20px;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-self: center;
}

.loader_billet {
    border: 8px solid #f3f3f3; /* Cor de fundo da borda */
    border-top: 8px solid #3a8d6a; /* Cor da borda animada */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-self: center;
}
