body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}



.container {
    max-width: 1100px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


/* ..====================================== . */

h2 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    margin-bottom: 15px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4caf50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


/* ..====================================== . */





/* Table Design */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.table th, .table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.table th {
    background-color: #4caf50;
    color: white;
    font-weight: bold;
}

.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tr:hover {
    background-color: #f1f1f1;
}

/* ..=============   (ajout pour la pagination) ==================== . */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-btn {
    background-color: #4caf50;
    color: white;
    padding: 10px 15px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-btn:hover {
    background-color: #45a049;
}

.pagination-btn.active {
    background-color: #333;
}

.no-packages {
    text-align: center;
    font-weight: bold;
    color: #ff0000;
}

/* ..====================================== . */
/* CSS  PART 05 */


/* Section des boutons de gestion de données */


.title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.data-mgnt-buttons {
    display: flex;
    justify-content: left;
    gap: 15px;
    margin-top: 30px;
}

.data-mgnt-bouton {
    background-color: #FF7043;
    color: white;
    padding: 16px 35px; /* Augmenter la hauteur et la largeur */
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px; /* Augmenter la taille de la police */
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.data-mgnt-bouton:hover {
    background-color: #E64A19;
    transform: translateY(-3px);


}


.export-by-period {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.export-by-period .date-label {
    margin-right: 10px;
    font-size: 18px;
}

.export-by-period input {
    margin-right: 20px;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}



/* ..====================================== . */



/* Messages flash */
.flash-messages {
    margin-top: 10px;
}

.flash-message {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #4caf50;
    background-color: #4caf50;
    color: white;
    border-radius: 4px;
}




/* ..====================================== . */

.header {
    background-color: #B2C8E2;
    padding: 20px;
    display: flex;
    align-items: center;
}

.header h1 {
    margin: 0;
    color: #fff;
    flex: 1;
    text-align: center;
}

.logo {
    max-width: 100px;
    margin-right: 20px;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.menu-button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.menu-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.logout-button {
    background-color: #f44336;
}

.logout-button:hover {
    background-color: #d32f2f;
}




/* ..====================================== . */






/* Container pour centrer le formulaire */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

/* Style du formulaire de login */
.login-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
}


/* ..====================================== . */




/* Titre principal */
.page-title {
    text-align: center;
    font-size: 24px;
    color: #34495e;
    margin-bottom: 20px;
}

/* Formulaire de paquet */
.package-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Style des groupes de champs */
.input-group {
    display: flex;
    flex-direction: column;
}

/* Style des étiquettes */
.input-group label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

/* Style des champs de saisie */
.input-group input,
.input-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #4caf50;
}

/* Bouton de soumission */
.submit-button {
    background-color: #4caf50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* ..====================================== . */


/* Style du bouton de login */
.login-button {
    background-color: #4caf50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover et focus styles */
.login-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.input-group input:focus {
    border-color: #4caf50;
}



/* ..====================================== . */



/* ..====================================== . */


/* ..====================================== . */


.welcome-message {
    margin-left: auto;
    font-size: 16px;
    color: #333;
}

.footer {
    background-color: #B2C8E2;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}


/* ..====================================== . */




/* ====================welcome ======================*/


/* Background image for the welcome page 

background-image: url("{{ url_for('static', filename='images/background.jpg') }}");

    background-image: url('/static/bkp.jpg')";
*/


/* Styles for the welcome page */
.welcome-container {

    background-image: url("/static/bkp.jpg"); /* Use absolute path */
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-content {
    text-align: center;
}

.welcome-button {
    display: inline-block;
    padding: 20px 40px;
    font-size: 24px;
    color: #fff;
    background-color: #d64161;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.welcome-button:hover {
    background-color: #a83250;
}




/* ..====================================== . */



/* ..====================================== . */





