/* Container général pour le contenu */
.container-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Grille de disposition 4x4 */
.tile-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
    gap: 20px; /* Espacement entre les tuiles */
    width: 100%;
    margin-top: 20px;
}

/* Style des tuiles */
.tile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    height: 150px; /* Hauteur fixe pour chaque tuile */
}

.tile a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    width: 100%; /* Largeur pour remplir la tuile */
    height: 100%;
    transition: background-color 0.3s ease;
}

.tile a i {
    font-size: 24px;
    margin-bottom: 8px;
}

/* Couleurs de fond pour les boutons */
.tile a.btn-primary { background-color: #007bff; }
.tile a.btn-success { background-color: #28a745; }
.tile a.btn-info { background-color: #17a2b8; }
.tile a.btn-warning { background-color: #ffc107; color: #333; }
.tile a.btn-secondary { background-color: #6c757d; }
.tile a.btn-danger { background-color: #dc3545; }

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Container pour la page de connexion */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Titre de la page de connexion */
.login-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Champs de formulaire */
.login-container .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.login-container .form-control {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

/* Bouton de connexion */
.login-container button {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    background-color: #db1e09;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #f71f07;
}

/* Message d'erreur */
.error-message {
    color: #d9534f;
    margin-top: 15px;
    font-size: 14px;
}

/* Liens */
a {
    color: #D75252;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

a i {
    margin-right: 8px;
}

a:hover {
    text-decoration: underline;
    color: #FF9C9C;
}

/* Boutons */
button, .btn {
    background-color: #D75252;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

button i, .btn i {
    margin-right: 8px;
}

button:hover, .btn:hover {
    background-color: #FF9C9C;
}

/* Styles pour le tableau de list_order.php */
table.dataTable {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table.dataTable th, table.dataTable td {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

table.dataTable th {
    background-color: #707070;
    color: white;
}

.select2-container--default .select2-selection--single {
    background-color: inherit;
    border: inherit;
    border-radius: inherit;
    height: auto;
    padding: inherit;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: inherit;
    font-size: inherit;
    padding: inherit;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: inherit;
    top: inherit;
}



