body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    overflow-y: auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #708090;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 1000;
}

.header img {
    max-height: 40px;
    height: auto;
}

.header .header-text {
    text-align: center;
    flex-grow: 1;
    margin: 0 20px;
    font-size: 18px;
}

.container {
    border-radius: 8px;
    padding: 20px;
    max-width: 700px;
    max-height: 1030px;
    width: 100%;
    margin-top: 100px;
    height: 100%;
}

h1 {
    text-align: center;
    color: #fff;
    font-size: 24px;
}

.file-input {
    display: block;
    margin: 20px auto;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 25px;
    text-align: left;
}

.styled-table thead tr {
    background-color: #3C8DBC;;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
    cursor: pointer;
}

.styled-table tbody tr:hover {
    background-color: #f1f1f1;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #3C8DBC;
}

.hidden {
    display: none;
}

.back-button {
    background-color: #3C8DBC;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.mesas-cell {
    color: #333;  /* Cor do texto */
    background-color: #f0f0f0;  /* Cor de fundo */
    font-weight: bold;  /* Deixa o texto em negrito */
    text-align: center;  /* Centraliza o texto */
    padding: 8px;  /* Espaçamento interno */
    border: 1px solid #ddd;  /* Borda */
    width: 30%;
}

.back-button i {
    margin-right: 8px;
}

.back-button:hover {
    background-color: #3C8DBC;
}

.person-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.person-details {
    text-align: center;
    margin-bottom: 10px;
}

.styled-table tbody {
    max-height: 75vh;
    overflow-y: auto;
    display: block;
}

.styled-table thead, .styled-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

#searchInput {
    width: 97%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.hidden-search {
    display: none;
}

.hidden {
    display: none;
}

/* Estilo da tela de digitar o ID */
#initial-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(to bottom, #f4f4f9, #e0e0e0);
    text-align: center;
    width: 100%;
}

#initial-screen h1 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

#initial-screen input {
    padding: 15px;
    font-size: 18px;
    margin-bottom: 20px;
    width: 300px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#initial-screen button {
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: #3C8DBC;
    color: white;
    transition: background-color 0.3s, transform 0.2s;
}

#initial-screen button:hover {
    background-color: #2a6da3;
    transform: scale(1.05);
}

/* Estilo do menu lateral */
.side-menu {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: #575757;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.side-menu a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 20px;
    color: #f1f1f1;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    background-color: #575757;
    color: #ffffff;
}

.side-menu .closebtn {
    position: absolute;
    top: -5px;
    right: 20px;
    font-size: 36px;
    color: #f1f1f1;
    cursor: pointer;
}

.sair {
    top: 70%;
    position: relative;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #FFF;
}

/* Estilo do botão de menu no header */
.menu-btn {
    font-size: 30px;
    cursor: pointer;
    color: white;
    margin-right: 20px;
    margin-left: 10px;
}

.hidden {
    display: none;
}

/* Estilo para o conteúdo principal */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Ocupa toda a altura da viewport */
    width: 100%; /* Ocupa toda a largura da viewport */
    box-sizing: border-box;
    text-align: center; /* Centraliza o texto dentro do container */
}

.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #333;
}

.modal-content input {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.confirm-btn {
    background-color: #4CAF50; /* Cor verde para Confirmar */
    color: white;
}

.cancel-btn {
    background-color: #9B9B9B; /* Cor vermelha para Cancelar */
    color: white;
}

.confirm-btn:hover, .cancel-btn:hover {
    opacity: 0.9;
}

.confirm-btn:active, .cancel-btn:active {
    transform: scale(0.98);
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.hidden {
    display: none;
}

.modal-content button {
    margin: 10px;
}

.modal-content button:nth-child(3) {
    background-color: #f44336; /* Cor para o botão Cancelar */
    color: white;
}

.modal-content button:nth-child(4) {
    background-color: #4CAF50; /* Cor para o botão Confirmar */
    color: white;
}







