/* Definições Gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    font-weight: bold;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

/* Cabeçalho */
header {
    text-align: center;
    padding: 20px 0;
}

header img {
    width: 150px; /* Ajuste o tamanho conforme necessário */
}

/* Títulos */
h1, h2 {
    color: #003366; /* Azul escuro */
    text-align: center;
}

/* Formulários */
form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    min-height: 300px;
}

button {
    background-color: #003366; /* Azul escuro */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #002244; /* Azul ainda mais escuro */
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

select, input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #cccccc;
}

/* Layout */
.main-container {
    display: flex;
    flex-direction: column;
}

/* Seções Horizontais */
.section-one, .section-two, .section-three {
    margin-bottom: 20px;
    
}

/* Linha Horizontal Estilizada */
.line {
    border-top: 1px solid #cccccc;
    margin: 20px 0;
}

/* Primeira Seção */
.top-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.top-container .section {
    flex: 1;
    margin-right: 10px;
    box-sizing: border-box; /* Adiciona box-sizing para incluir padding e border no tamanho total */
}

.top-container .section:last-child {
    
    margin-right: 0;
}

/* Segunda Seção */
.section-two {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Terceira Seção */
.section-three {
    display: flex;
    justify-content: space-between;
    min-height: 350px; /* Altura mínima de 350px */
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.bottom-container .section {
    flex: 1;
    margin-right: 10px;
    box-sizing: border-box; /* Adiciona box-sizing para incluir padding e border no tamanho total */
}

.bottom-container .section:last-child {
    margin-right: 0;
}

/* Limpar fila */
#limpar-fila {
    display: block;
    margin: 20px auto;
    background-color: #ff0000; /* Vermelho */
}

/* Resposta */
#resultado {
    margin-top: 10px;
    color: #003366; /* Azul escuro */
}

#nome_paciente {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Ajustes para a área de senhas */
#senhas-aguardando, #senha-chamada, #senhas-chamadas {
    
    padding: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
#senhas-aguardando, #senhas-chamadas {
    min-height: 350px;
    max-height: 350px; /* Altura máxima de 350px */
    overflow-y: auto; /* Adiciona a rolagem vertical se o conteúdo exceder a altura máxima */
    border: 1px solid #003366; /* Azul escuro */
}
/* Ajustes para a área de senhas */
#senha-chamada {
    min-height: 50px;
    text-align: center;
    display: flex;
    align-items: center; /* Alinha verticalmente ao centro */
    justify-content: center; /* Alinha horizontalmente ao centro */
    font-size: 1.5em; /* Ajuste o tamanho da fonte conforme necessário */
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #003366; /* Azul escuro */
    margin-bottom: 10px; /* Espaçamento entre os blocos de senha */
}

#senhas-aguardando {
    border: 1px solid #003366; /* Azul escuro */
}

#senhas-chamadas {
    border: 1px solid #003366; /* Azul escuro */
}
