html, body {
    height: 100%; 
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('bg3.jpg') no-repeat center center fixed; 
    background-size: cover; 
}

#login-container {
    display: flex;
    width: 80%;
    max-width: 800px;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#right-side {
    flex: 1;
    background-color: #ccc6c6;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#login-form {
    width: 90%;
    max-width: 300px;
}

#left-side {
    flex: 1;
    background-color: #28a745;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#left-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#data-screen {
    min-height: 100vh;
    padding: 20px;
    background: url('bg3.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

#data-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    max-width: 500px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

h1 {
    color: #333;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="datetime-local"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
}


button {
    background-color: #000000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px; 
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
    width: calc(100% - 22px);
}

.button-container {
    text-align: center;
    margin-top: 20px; 
}

button:hover {
    background-color: #0a1016;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    table-layout: fixed;
}

th, td {
    padding: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

th {
    background-color: #f2f2f2;
    font-size: 16px;
}

tbody tr:nth-child(odd) {
    background-color: #ffffff; /* Cor branca para linhas ímpares */
}

tbody tr:nth-child(even) {
    background-color: #f5f5f5; /* Cor cinza claro para linhas pares */
}

tbody tr:hover {
    background-color: #ddd;
}


@media screen and (max-width: 768px) {
    th, td {
        font-size: 10px;
        padding: 6px;
    }

    .hide-on-small {
        display: none;
    }

    .truncate {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
