body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #fff;
}

.container {
    width: 80%; /* largura desejada para o contêiner */
    margin: 0 auto; /* centralizar o contêiner na página */
}

#container {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 360px;
    height: 120px;
    margin: auto;
    box-shadow: 0px 0px 5px black;
    padding: 5px;
    box-sizing: border-box;
}

.row {
    clear: both;
}



.label {
    padding-top: 8px;
    text-align: right;    
}

.label:after {
    content: ':';
    padding-right: 5px;
}

.column {
    float: left;
    height: 30px;    
}

.input input {
    width: 100%;
    height: 34px;    
    padding-left: 5px;
    box-sizing: border-box;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #2d2d2d;
    margin: 15% auto;
    padding: 5px;
    border: 1px solid #888;
    width: 20%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

input[type="text"],
input[type="password"],
button,
label,
select {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

button {
    background-color: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.hidden {
    display: none;
}

header {
    background-color: #333;
    padding: 5px;
    text-align: center;
}

footer {
    background-color: #222;
    padding: 0px;
    text-align: center;
}

.controls {
    margin-top: 0px;
}

#appointmentTable {
    margin: 0 auto; /* Centralizar a tabela */
    max-height: calc(100vh - 170px); /* Altura máxima da tabela */
    overflow-y: auto; /* Adiciona uma barra de rolagem vertical */
    display: block; /* Para manter a largura da tabela dentro do contêiner */
}

#appointmentTable th,
#appointmentTable td {
    padding: 2px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 12px; /* Definir o tamanho da fonte para 12px */
}

#appointmentTable th {
    background-color: #333;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1; /* Para manter o cabeçalho acima do conteúdo rolável */
    font-size: 14px; /* Definir o tamanho da fonte para 14px */
}

#appointmentTable tbody tr {
    height: 20px; /* Definir a altura das linhas do corpo da tabela */
}

#estatisticas input{
    width: 50px;
} 
