/* Styles généraux 
* Code CSS généré par ChatGPT by OpenAI
*/
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1.title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Table Styles */
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.order-table thead th {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: left;
}

.order-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.order-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.order-table ul {
    margin: 0;
    padding: 0;
    list-style-type: disc;
    margin-left: 20px;
}

.order-table ul li {
    margin-bottom: 5px;
}

/* Boutons */
.btn-primary {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838;
}

.btn-secondary {
    display: inline-block;
    padding: 8px 15px;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .order-table thead {
        display: none;
    }

    .order-table tbody tr {
        display: block;
        margin-bottom: 10px;
    }

    .order-table tbody td {
        display: block;
        padding: 10px;
        text-align: right;
        border-bottom: 1px solid #ddd;
    }

    .order-table tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }
}
