/* Estilo geral da página */
html, body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    height: 100%;
    margin: 0;
    overflow-y: auto;
}

/* Container */
.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    width: 600px;
}

/* Título */
h1 {
    background-color: white;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 20px; 
    margin-left: 0px;
    margin-right: 0px;
    padding: 0px;
    text-align: center;
}

/* Subtítulo */
h2 {
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 0px; 
    margin-right: 0px; 
    padding: 0px;
}

/* Botão Genérico*/
#botao {
    background-color: #2c3e50;
    border: 1px solid #2c3e50;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    height: 35px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    width: 125px;
}
  
  /* Botão de Upload */
  .upload-btn {
    background-color: #2c3e50;
    border: 1px solid #2c3e50;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    height: 35px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    width: 125px;
    position: relative;
    overflow: hidden;
  }

/* Oculta o input file dentro do botão de upload*/
.upload-btn input[type="file"] {
    display: none;
}

/* Remove a interface nativa do input file do botão de upload*/
input[type="file"] {
    display: none;
  }

/* Botão para Compactar e Baixar */
#download_all {
    background-color: #2c3e50;
    border: 1px solid #2c3e50;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    height: 35px;
    margin-top: 20px;;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    width: 125px;
}

/* Inputs de data */
input[type="date"] {
    background-color: #f0f0f0;
    border: 1px solid #2c3e50;
    border-radius: 4px;
    color: #2c3e50;
    cursor: pointer;
    font-size: 14px;
    height: 35px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    width: 125px;
}

/* Inputs de texto */
input[type="text"], input[type="password"] {
    background-color: #f0f0f0;
    border: 1px solid #2c3e50;
    border-radius: 4px;
    color: #2c3e50;
    cursor: text;
    font-size: 14px;
    height: 35px;
    margin: 20px auto;
    padding: 0 10px;
    width: 400px;
    display: block;
    text-align: left;
}

/* Botão do dropdown */
.like-date {
    background-color: #f0f0f0;
    border: 1px solid #2c3e50;
    border-radius: 4px;
    color: #2c3e50;
    cursor: pointer;
    font-size: 14px;
    height: 35px;
    text-align: center;
    width: 125px;
}

/* Dropdown para seleção de turno */
.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

/* Lista suspensa do dropdown */
#dropdownList {
    display: none;
    position: absolute;
    background-color: #f0f0f0;
    border: 1px solid #2c3e50;
    border-radius: 4px;
    width: 125px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
}

#dropdownList li {
    padding: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    color: #2c3e50;
}

#dropdownList li:hover {
    background-color: #ddd;
}

/* Painel de resultados */
#painel_de_resultados {
    align-items: center;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
    padding: 0;
    text-align: left;
    transition: height 0.3s ease;
    width: 100%;
}

/* Mensagem antes dos resultados */
#mensagem {
    align-items: center;
    display: flex;
    font-size: 14px;
    justify-content: center;
    margin: 0;
    min-height: 80px;
    padding: 0;
    text-align: center;
}

/* Lista de resultados */
#lista_de_resultados {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

#lista_de_resultados div {
    border-radius: 0 !important;
    margin: 0 !important;
}

/* Itens da lista */
#lista_de_resultados li {
    font-size: 14px;
    display: flex;
    padding: 0px;
    flex-direction: column;
    min-height: 25px;
}

#lista_de_resultados li:nth-child(odd) {
    background-color: #f0f0f0;
}

#lista_de_resultados li:nth-child(even) {
    background-color: #e9e9e9;
}

/* Animação */
.animacao {
    animation: spin 1s linear infinite;
    border: 5px solid #e9e9e9;
    border-left-color: #000;
    border-radius: 50%;
    display: none;
    height: 50px;
    margin: 10px auto;
    width: 50px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
