body {
    font-family: 'Segoe UI', Arial, sans-serif;
    /* Fundo com gradiente suave para um visual mais "top" */
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    min-height: 100vh;
    margin: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("https://share.google/KERQdc2Izg1sznoCg");
    background-size: cover;          /* Garante que a imagem cubra a tela toda */
    background-position: center;     /* Centraliza a imagem na tela */
    background-repeat: no-repeat;    /* Impede que a imagem fique se repetindo */
    background-attachment: fixed;    /* Mantém o fundo fixo ao rolar a página */
    height: 100vh;                   /* Garante que o corpo tenha a altura da tela */
    margin: 0;
}

h3 {
    color: #1f3864;
    text-align: center;
    margin-bottom: 4px;
    text-transform: uppercase;
}

h4 {
    color: #4678e4;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
}

/* =========================
   FORMULÁRIO (INSERIR DADOS)
   ========================= */

.container {
    background-color: #fff;
    width: 90%;
    max-width: 900px;
    margin: 0 auto 30px auto; 
    padding: 25px 30px;
    border-radius: 8px;
    /* Sombra mais pronunciada para destacar o container */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.container form {
    display: flex;
    flex-direction: column;
}

.container label {
    color: #1f3864;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 10px;
}

.container input[type="text"],
.container input[type="datetime-local"],
.container select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f9f9f9;
    outline: none;
    transition: all 0.3s ease;
}

.container input[type="text"]:focus,
.container input[type="datetime-local"]:focus,
.container select:focus {
    border-color: #1f3864;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(31, 56, 100, 0.2);
}

.container button {
    margin-top: 25px;
    padding: 12px;
    background-color: #1f3864;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.2s;
}

.container button:hover {
    background-color: #152747; 
    transform: translateY(-2px);
}

/* =========================
   TABELA
   ========================= */

table {
    border-collapse: collapse;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

table thead tr {
    background-color: #606c80;
    color: #ffffff;
    text-align: center;
}

table th, table td {
    padding: 14px 16px;
    text-align: center;
    border-right: 1px solid rgba(2, 14, 124, 0.2);
    /* Transição suave para o efeito de hover e cores */
    transition: all 0.3s ease;
}

table th:last-child, table td:last-child {
    border-right: none;
}

/* Cores independentes para cada coluna da tabela (tons bem suaves) */
table tbody td:nth-child(1) { background-color: rgba(2, 10, 77, 0.08); }
table tbody td:nth-child(2) { background-color: rgba(2, 15, 82, 0.013); }
table tbody td:nth-child(3) { background-color: rgba(2, 20, 87, 0.018); }
table tbody td:nth-child(4) { background-color: rgba(2, 25, 92, 0.023); }
table tbody td:nth-child(5) { background-color: rgba(2, 30, 97, 0.028); }
table tbody td:nth-child(6) { background-color: rgba(2, 35, 102, 0.033); }

/* Efeito ao passar o cursor: fundo forte, texto branco e leve expansão */
table tbody tr:hover td {
    background-color: #240066 !important;
    color: #ffffff !important;
    transform: scale(1.02);
    cursor: pointer;
}

/* =========================
   RESPONSIVIDADE (CELULARES)
   ========================= */

@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }
    
    .container {
        padding: 15px; 
        width: 100%;
    }

    table {
        width: 100%;
        font-size: 13px;
    }

    table th, table td {
        padding: 10px 5px;
    }
}   