.trash-icon {
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease, margin-right 0.2s ease;
}
.a-main-container {
    overflow-x: auto; /* Active le défilement horizontal pour le conteneur */
    padding: 20px;
    transition: padding 0.3s ease, margin-bottom 0.3s ease; /* Ajoute une transition pour le padding et la marge */
}
.trash-icon:hover {
    color: red;
    transform: scale(1.3);
}
/* Button styling */
.styled-button {
    background-color: #c3b8ca; /* Green */
    border: 2px solid #515051;
    color: #000000;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.styled-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -75px;
    width: 100px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s;
}

.styled-button:hover:before {
    left: 125%;
}

.styled-button:hover {
    background-color: #b8a9cc;
    color: #1a221a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.button-container {
    padding-bottom: 20px; /* Padding bottom */
    text-align: right; /* Align to the right */
}
.a-main-container {
    padding: 20px;
}
.dataTables_wrapper {
    width: 100%;
    overflow: hidden; /* Disable horizontal scrolling */
}
table.dataTable {
    width: 100% !important; /* Ensures the table takes the full width it needs */
    margin: 0 !important; /* Removes margin around the table */
}
.dataTables_scrollBody {
    overflow-x: hidden !important; /* Disables horizontal scrolling */
}
td.details-control {
    cursor: pointer;
}
tr.shown td.details-control:before {
    color: red; /* Change color when expanded */
}
td.details-control:before {
    font-family: 'FontAwesome';
    content: '\f067'; /* FontAwesome "+" sign */
    color: green; /* Change the color of the "+" sign */
}
tr.shown td.details-control:before {
    content: '\f068'; /* FontAwesome "-" sign */
    color: red; /* Change the color of the "-" sign when expanded */
}
.custom-checkbox {
    pointer-events: auto; /* Ensure checkbox does not interfere with row click events */
}
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before {
    background-color: #6c6c6c;
}
#map {
    width: 100%;
    height: 600px;
    margin-top: 20px;
}
#update-map {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}
.button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}
.tag-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.tag {
    background-color: #7c7c7c;
    border-radius: 3px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    border: 1px solid #434343;
    color: black;
    transition-duration: 0.2s;
}
.tag:hover{
    background-color: #989898;
}
.tag .remove-tag {
    margin-left: 5px;
    font-size: 1.9rem;
    cursor: pointer;
    text-align: center;
    align-content: center;
}
.suggestions {
    display: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    z-index: 1000;
    width: 300px;
    margin-top: 5px;
}
.suggestion {
    padding: 5px 10px;
    cursor: pointer;
}
.suggestion:hover {
    background-color: #f0f0f0;
}
.tag {
    background-color: #e0e0e0;
    border-radius: 3px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    margin: 2px;
    font-size: 14px;
}

.tag .remove-tag {
    margin-left: 5px;
    cursor: pointer;
    color: #434343;
    font-weight: bold;
}