/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hub-card {
    background: #424242;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: bold;
}

button {
    margin: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.log-table-container {
            overflow-x: auto;
            margin-top: 25px;
            max-height: 50px;  /* Ajuste à ta ligne */
            overflow-y: auto;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

@media (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    th {
        display: none;
    }

    td {
        position: relative;
        padding-left: 50%;
        border-bottom: 1px solid #ddd;
    }

    td::before {
        position: absolute;
        top: 8px;
        left: 8px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
    }

    td:nth-of-type(1)::before { content: "Utilisateur"; }
    td:nth-of-type(2)::before { content: "Zone"; }
    td:nth-of-type(3)::before { content: "Action"; }
    td:nth-of-type(4)::before { content: "Date/Heure"; }
}
