main {
    padding: 30px 40px;
}

h1, h2, h3 {
    color: #17496E;
    font-family: "Segoe UI", sans-serif;
}

/* Barre de recherche */
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-form input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #17496E;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Segoe UI", sans-serif;
}

.search-form button {
    background: #17496E;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
}

.search-form button:hover {
    background: #0f2f47;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 20px;
}

th {
    background: #17496E;
    color: white;
    padding: 12px 16px;
    text-align: center;
}

td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
}

tr:hover {
    background: #f0f7ff;
}

.btn-edit {
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
    text-decoration: none;
}

.btn-edit:hover {
    background: #357abd;
}

.btn-fiche {
    background: #17496E;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
    text-decoration: none;
}

.btn-fiche:hover {
    background: #0f2f47;
}

.btn-back {
    background: #716f6a;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-block;
}

@media (max-width: 600px) {
    main {
        padding: 20px 16px;
    }

    .search-form {
        flex-direction: column;
        gap: 12px;
    }

    .search-form button {
        width: 100%;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th,
    td {
        padding: 10px 12px;
        font-size: 13px;
    }
}
