/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color : #f4f6f9!important;
    color: #333;
    line-height: 1.6;
    padding: 2rem;
}

#emailForm{
    display: flex
;
    flex-direction: column;
    align-items: center;
        padding: 2em;
}

.modifyMailAdress{
flex-direction: column;
    align-items: center;
}

#add_user_form_MailAdress{
        width: 100%;
}
/* Navigation */
ul {
    list-style: none;
    background-color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

ul li {
    margin-right: 1rem;
}

ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

ul li a:hover {
    background-color: #2c3e50;
    color: #fff;
}

/* Form search */
form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

input[type="text"] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 200px;
    transition: border 0.3s ease;
}

input[type="text"]:focus {
    border-color: #3498db;
    outline: none;
}

button {
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
        width: 79%;
    height: 13%;
    font-size: 108%;
}

.userBox{
    margin:1em ;
}
.List{
       margin: 1em auto;
    /* max-width: 800px; */
    width: 95%;
    font: 18px / 1.5 sans-serif;
    background-color: white;
    display: flex
;
    flex-direction: column;
    /* align-items: center; */
    border-radius: 25px;
}

.List h1{
    display: flex
;
   
    flex-direction: column;
    align-content: center;
    align-items: center;
}

#userHistoric{
      display: flex
;
    flex-direction: column;
    align-items: center;
    background-color: white;
    margin: 2em;
    border-radius: 12px;
}

.List form{
     display: flex
;
 
}

button:hover {
    background-color: #2980b9;
}

/* Flash messages */
.alert-success {
    background-color: #d4edda;
    border-left: 6px solid #28a745;
    color: #155724;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
}

#searchBar{
    width: 33%;
    padding: 1em;
}

#add_user_form_Valider{

   width: 100%;   
}
  

.flash-error {
        background-color: #f8d7da;
        color: #721c24;
        padding: 1em;
        border: 1px solid #f5c6cb;
        border-radius: 5px;
        margin-bottom: 1em;
    }
#searchBar::after{
 border-bottom:2px solid black;
}

/* Titre principal */


/* Table stylée */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background-color: #3498db;
    color: #fff;
}

th,
td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

th {
    font-weight: 600;
    font-size: 1rem;
}

td {
    font-size: 0.95rem;
    color: #555;
}

/* Alternance de lignes */
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

footer{
       display: flex
;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#LogoSavee{
        display: flex
;
    width: 15%;

}




.guide-utilisateur__section ul li
{

        display: flex
;
    align-items: center;
    /* margin-right: 1rem; */
    flex-direction: column;
    width: 52em;
}

.guide-utilisateur__section{
    margin:2em;
}

.guide-utilisateur__section ul
{align-items: center;
    flex-direction: column;
   margin-left: 15px;

}
     
.guide-utilisateur__note{
    display: flex
;
    background-color: #feff0075;
    justify-content: center;
        flex-direction: column;
    align-items: center;
}



#manual{
        display: flex
;
    flex-direction: column;
    align-content: center;
    align-items: center;
        max-width: 90%;
    margin: 2em;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.guide-utilisateur{
    display: flex
;
    flex-direction: column;
    align-items: center;
}
/* Responsive table */
@media (max-width: 768px) {
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 0.5rem;
    }

    td {
        text-align: left;
        padding: 0.5rem;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: #2c3e50;
    }

}
#login{
        flex-direction: column;
    width: 22%;
  
    border-radius: 27px;
 height: 50vh;
    justify-content: center;
    background-color: white;
        font-size: 2vh;

}

.central{
    display:flex;

    flex-direction: column;
   /* height: 73rem;*/
    justify-content: center;
    align-items: center;
    margin: 8em 0em;

}


/* Responsive */
@media (max-width: 768px) {
    ul {
        flex-direction: column;
        align-items: flex-start;
    }

    form {
        flex-direction: column;
        align-items: stretch;
    }

    input[type="text"] {
        width: 100%;
    }


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color : #f4f6f9 !important;
    color: #333;
    padding: 2rem;
}

.example-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

h1 {
     font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

/* Form de recherche */
form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}



input[type="text"]:focus {
    border-color: #3498db;
    outline: none;
}

button {
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
        width: 73%;
    height: 11%;
    font-size: 99%;
}
}

button:hover {
    background-color: #2980b9;
}

/* Liste utilisateurs */
.example-wrapper > div {
    background-color: #f9f9f9;
    padding: 1rem;
    border-left: 4px solid #3498db;
    border-radius: 6px;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.example-wrapper a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    margin-right: 0.5rem;
    transition: color 0.2s ease;
}

.example-wrapper a:hover {
    color: #1d6fa5;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 2rem;
}

.pagination p {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.pagination a,
.pagination strong {
    display: inline-block;
    margin: 0 4px;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    text-decoration: none;
}

.pagination a {
    background-color: #eaeaea;
    color: #333;
    transition: background-color 0.2s;
}

.pagination a:hover {
    background-color: #d0d0d0;
}

.pagination strong {
    background-color: #3498db;
    color: #fff;
}


a {
    font-weight: 500;
    color: #3498db;
    text-decoration: none !important;
    transition: color 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
}

a:hover,
a:focus {
    color: #fff;
    background-color: #3498db;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}


input[type="text"],
input[type="password"] {
      padding: 0.5rem;
    border: 2px solid #ccc;
    border-radius: 13px;
    width: 64%;
    transition: border 0.3s ease;
    font-size: 77%;
}


