body {
    font-family: Arial, sans-serif;
    background: url('RS.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
}

.container {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 1200px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 200px;
    margin-bottom: 20px;
}

h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

form label {
    margin: 10px 0 5px;
    color: #fff;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 400px;
}

form button {
    padding: 10px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
}

form button:hover {
    background: #218838;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

a.button {
    padding: 10px 20px;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

a.button:hover {
    background: #c82333;
}

.actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Espaçamento entre os botões */
    margin-bottom: 20px;
}

.actions .custom-button {
    background: #ff5733; /* Cor personalizada */
    padding: 10px 20px;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: -10px; /* Mover para cima */
}

.actions .custom-button:hover {
    background: #c70039; /* Cor de hover personalizada */
}

/* Estilos para a tabela */
.table-container {
    width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: center;
}

table {
    width: 80%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    border-radius: 8px;
    overflow: hidden;
}

table, th, td {
    border: 1px solid #555;
}

th, td {
    padding: 10px;
    text-align: left;
    color: black;
}

th {
    background: rgba(0, 0, 0, 0.1);
    color: black;
    text-align: center;
}

td {
    padding: 5px 25px;
}

td:nth-child(2),
td:nth-child(5) {
    padding: 10px 30px;
}

/* Media queries para ajuste em telas menores */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    table {
        width: 90%;
    }
}

@media (max-width: 768px) {
    form {
        flex-direction: column;
    }
    form input[type="text"],
    form button,
    form .reset {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .actions a {
        width: 100%;
        text-align: center;
    }
    table {
        width: 100%;
    }
}

@media (max-width: 480px) {
    th, td {
        padding: 5px;
        font-size: 12px;
    }
    .actions a {
        padding: 8px 10px;
        font-size: 12px;
    }
}
