/* Style de la bannière */
.banner {
    display: block;
    width: 100% !important;  /* Ajuste la largeur à celle du conteneur */
    max-width: 900px !important; /* Définit une largeur maximale */
    height: auto !important; /* Garde les proportions */
    max-height: 200px !important; /* Limite la hauteur */
    object-fit: contain !important; /* S'assure que l'image reste bien cadrée */
    margin: 0 auto !important; /* Centre l'image */
}

/* Message d'accueil */
.welcome-message {
    text-align: center;
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.welcome-message h1 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 10px;
}

.welcome-message p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

/* Formulaire de connexion */
.login-form {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 0 auto;
}

.login-form h2 {
    color: #2c3e50;
}

.login-form input {
    width: 90%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #1a5e85;
}

.login-form p {
    margin-top: 10px;
    font-size: 14px;
}

.login-form a {
    color: #2980b9;
    text-decoration: none;
}

.login-form a:hover {
    text-decoration: underline;
}
body {
    background-color: #fbf8f4 !important;
}
.form-container {
    max-width: 350px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-container h2 {
    color: #0056b3;
    margin-bottom: 20px;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin: 10px -10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    display: block; /* Force l'affichage en colonne */
}

.form-container button {
    width: 100%;
    padding: 10px;
    background: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.form-container button:hover {
    background: #003d82;
}

.form-container p {
    margin-top: 10px;
    font-size: 14px;
}

.form-container a {
    color: #0056b3;
    text-decoration: none;
}

.form-container a:hover {
    text-decoration: underline;
}
.header-banner {
    text-align: center;
    padding: 10px 0;
}

.banner {
    max-width: 100%;
    height: auto;
}
footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    font-size: 14px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Espacement entre l'image et le texte */
}

footer p {
    display: inline; /* Permet au texte de s'afficher sur la même ligne que l'image */
    margin: 0;
}

.cgt-text {
    color: red; /* Met le mot "CGT" en rouge */
}

.form-container.wide {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.return-link {
    display: inline-block;
    margin-top: 20px; /* Ajuste cette valeur pour un décalage plus ou moins grand */
}

/* Centrer le texte */
.centered-text {
    text-align: center;
    font-family: Arial, sans-serif;
    color: #003366; /* Bleu foncé */
}

/* Style du carré bleu foncé contenant le taux */
.taux-box {
    background-color: #003366; /* Bleu foncé */
    color: #ffffff; /* Blanc */
    font-size: 2em;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px; /* Espacement vers le bas */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Centrer le lien "Retour au menu" */
.return-link {
    display: block; /* Change de inline-block à block pour occuper toute la largeur */
    text-align: center; /* Assure que le texte est centré dans le bloc */
    margin-top: 20px;
    font-size: 1.2em;
    color: #003366; /* Bleu foncé */
    text-decoration: none;
}

.return-link:hover {
    text-decoration: underline;
}

/* Style pour le texte explicatif page new_JS */
.info-text {
    background-color: #ffc9be; /* Couleur de fond claire */
    padding: 20px;
    margin: 20px auto; /* Centrage de la div */
    max-width: 800px; /* Largeur maximale de la boîte */
    border: 1px solid #1a3d6d; /* Bordure bleue foncée */
    border-radius: 8px; /* Bords arrondis */
    text-align: center; /* Centrage du texte */
    font-size: 1.1em; /* Taille du texte */
    color: #000000; /* Texte en bleu foncé */
}

.info-text h3 {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.info-text ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.info-text ul li {
    margin: 5px 0;
	text-align: left!important
}

.info-text p {
    font-size: 1em;
    color: #000000;
    line-height: 1.6;
}

/* Style du lien "Retour au menu" */
a {
    color: #003366; /* Bleu foncé */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Message confirmation ou erreur */

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
    text-align: center;
    font-weight: bold;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
    text-align: center;
    font-weight: bold;
}
/* Affichage sur Smartphone */
@media (max-width: 768px) {
    .admin-table th:nth-child(3),
    .admin-table td:nth-child(3) {
        display: none; /* Masquer la colonne Email */
    }

    .admin-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .admin-actions a,
    .smart-search-container {
        width: 90% !important;
        text-align: center;
    }

    .smart-search-container input {
        width: 100% !important;
    }

    .form-container.wide {
        padding: 10px;
    }

    .stats-summary {
        flex-direction: column;
        gap: 20px;
    }

    .admin-table {
        font-size: 12px;
    }

    .admin-table th,
    .admin-table td {
        padding: 6px;
    }
}

/* Lien Supprimer dans le tableau admin */
.table-responsive table a {
    color: #c0392b;
    font-weight: bold;
}

.table-responsive table a:hover {
    text-decoration: underline;
}
