/* Intégration de la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    color: #14445c;
    padding: 20px;
    background-color: #f8f8f8;
    margin-bottom: 20px;
}

a.btn {
    display: inline-block;
    background-color: #14445c;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin: 20px auto;
    text-align: center;
}

a.btn:hover {
    background-color: #0e2c3a;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

table th,
table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
}

table th {
    background-color: #14445c;
    color: white;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tbody tr:hover {
    background-color: #e9e9e9;
}

table a.btn-delete {
    background-color: #ff9900;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

table a.btn-delete:hover {
    background-color: #e68900;
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    table th, table td {
        font-size: 12px;
    }

    table {
        width: 95%;
    }

    a.btn {
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    table {
        width: 100%;
    }

    table th, table td {
        padding: 8px;
    }

    a.btn {
        padding: 10px 15px;
    }

    a.btn-delete {
        padding: 4px 8px;
    }
}
