/* Style Général */
body {
    font-family: sans-serif;
    background-color: #f0f4e7;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2 {
    text-align: center;
    margin: 20px 0;
}

a {
    text-decoration: none;
    color: #333;
    transition: all .3s ease;
}

a:hover {
    text-decoration: underline;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin: 20px auto;
    border: 1px solid #ffeeba;
    border-radius: .25rem;
    width: 50%;
    text-align: center;
    background-color: #fff3cd;
}

/* Grille */
.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 20px;
}

.grid-item {
    padding: 6%;
    border: 1px solid #e1e1e1;
    border-radius: 20px;
}

/* Tableau */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #333;
}

th, td {
    padding: 10px;
    text-align: left;
}

/* Barre de recherche */
.searchbarcontainer {
    margin: 2% auto;
    width: 60%;
}

.input-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.search-icon, .clear-icon {
    font-size: 1.2rem;
    color: #6b6b6e;
    cursor: pointer;
}

#ecommerce-search {
    flex-grow: 2;
    font-size: 1.2rem;
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    background-color: transparent;
}

/* Résultat de la recherche */
#search-result {
    margin: 2% auto;
    width: 60%;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#amazon-link:hover {
    background-color: #f1f1f1;
}

/* Pied de page */
footer {
    margin-top: 2%;
    padding: 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

footer a {
    margin: 0 10px;
    color: #fff;
    font-size: 0.9rem;
}

/* Différenciation pour les liens Amazon */
#amazon-link {
    background-color: #f6f8f8;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

#amazon-link:before {
    content: url('path-to-amazon-icon.png'); /* Remplacez 'path-to-amazon-icon.png' par le chemin de votre icône Amazon */
    margin-right: 10px;
}

/* Style pour la barre de filtre */
.filter-bar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #e1e1e1;
    background-color: #f9f9f9;
}

.select-wrapper {
    position: relative;
    margin-right: 20px;
}

.select-wrapper:last-child {
    margin-right: 0;
}

select {
    padding: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    outline: none;
}
