body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f5f5f7;
    color: #333;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #004d40;
    border-bottom: 1px solid #004d40;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
}

.navbar-toggler {
    border-color: #ffffff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link {
    color: #ffffff !important;
    font-size: 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
    color: #b2dfdb !important;
}

.nav-link.active {
    background-color: #003d33;
    color: #ffffff !important;
    border-radius: 5px;
    padding: 5px 10px;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h1, h2 {
    font-weight: 300;
    color: #333;
}

button, input, select {
    border-radius: 5px;
    transition: all 0.2s;
}

button:hover, input:hover, select:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #004d40;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #004d40;
}

.btn-primary:hover {
    background-color: #003d33;
}

.btn-secondary {
    background-color: #004d40;
}

.btn-secondary:hover {
    background-color: #003d33;
}

.btn-info {
    background-color: #004d40;
}

.btn-info:hover {
    background-color: #003d33;
}

.btn-danger {
    background-color: #f44336;
    padding: 5px 10px;
}

.btn-danger:hover {
    background-color: #e53935;
}

.btn-warning {
    background-color: #ff9800;
    color: #fff;
}

.btn-warning:hover {
    background-color: #fb8c00;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

input, select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
}

input[type="radio"] {
    width: auto;
}

.drop-zone {
    border: 2px dashed #004d40;
    padding: 40px;
    text-align: center;
    margin-top: 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: border-color 0.3s ease;
}

.drop-zone.dragover {
    border-color: #004d40;
    background-color: #e8f5e9;
}

.btn {
    margin: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.nav-item:last-child .nav-link img {
    transition: transform 0.3s ease;
}

.nav-item:last-child .nav-link img:hover {
    transform: rotate(360deg);
}

.btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn span {
    transition: all 0.3s ease;
}

.btn-primary:hover img,
.btn-secondary:hover img,
.btn-info:hover img,
.btn-danger:hover img,
.btn-warning:hover img {
    transform: translateY(-3px);
}

.btn-primary:hover span,
.btn-secondary:hover span,
.btn-info:hover span,
.btn-danger:hover span,
.btn-warning:hover span {
    transform: translateY(-3px);
}

.btn-submit-success {
    background-color: #004d40 !important;
}

.btn-submit-error {
    background-color: #e53935 !important;
}

.button-group {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.btn-full-width {
    width: 100%;
}

.reception-bubble {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.reception-bubble:hover {
    background-color: #e0f2f1;
}

.reception-bubble-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.reception-bubble-header div {
    flex: 1;
}

.reception-bubble-content {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.reception-bubble.open .reception-bubble-content {
    display: block;
}

.reception-bubble-header div {
    padding: 0 10px;
}

.reception-bubble-content table {
    width: 100%;
    border-collapse: collapse;
}

.reception-bubble-content th, .reception-bubble-content td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.reception-bubble-content th {
    background-color: #004d40;
    color: white;
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #004d40;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    display: none;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.drop-zone {
    border: 2px dashed #004d40;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: border-color 0.3s ease;
    display: none;
}

.drop-zone.dragover {
    border-color: #004d40;
}

.status-icon:hover {
    filter: brightness(1.2);
    transition: filter 0.3s ease;
}

.drop-zone {
    border: 2px dashed #004d40;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.drop-zone.dragover {
    background-color: #e0f2f1;
    border-color: #00796b;
}


.article-status {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
}

.article-status {
    transition: opacity 0.3s ease-in-out;
}

.info-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #004d40;  /* Vert foncé */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-button:hover {
    background-color: #00695c;  /* Vert foncé légèrement plus clair au survol */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.info-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);  /* Pour rendre l'icône blanche */
}

.info-button span {
    font-weight: 500;
}