.commande-page {
    padding:30px;
}
/* TITRE */

.commande-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}
.commande-header h1 {
    margin:0;
}

.btn-retour {
    text-decoration:none;
    background:#222;
    color:white;
    padding:10px 18px;
    border-radius:8px;
}

/* CARTES */

.card-admin {
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    margin-bottom:25px;
}

.card-admin h2 {
    margin-top:0;
    margin-bottom:20px;
}

/* INFOS CLIENT */
.info-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.info-item {
    background:#f6f6f6;
    padding:15px;
    border-radius:10px;
}

.info-item span {
    display:block;
    font-size:13px;
    color:#777;
    margin-bottom:5px;
}

/* STATUT */

.status-container {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.status-badge {
    display:inline-block;
    padding:8px 15px;
    border-radius:20px;
    background:#ffeeba;
    color:#856404;
    font-weight:bold;
}

.status-form {
    display:flex;
    gap:10px;
}

.status-form select {
    padding:10px;
    border-radius:8px;
    border:1px solid #ddd;
}

.btn-update {
    background:#111;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
}
.btn-update:hover {
    opacity:0.8;
}
/* TABLE PRODUITS */

.table-produits {
    width:100%;
    border-collapse:collapse;
}

.table-produits th {
    background:#222;
    color:white;
    padding:14px;
    text-align:left;
}

.table-produits td {
    padding:14px;
    border-bottom:1px solid #ddd;
}

.table-produits tr:hover {
    background:#f8f8f8;
}

.status-badge {
    display:inline-block;
    padding:8px 15px;
    border-radius:20px;
    font-weight:bold;
}

/* Statuts */
.status-attente {
    background:#fff3cd;
    color:#856404;
}

.status-preparation {
    background:#cfe2ff;
    color:#084298;
}

.status-expediee {
    background:#d1e7dd;
    color:#0f5132;
}

.status-terminee {
    background:#e2e3e5;
    color:#41464b;
}

.status-default {
    background:#eee;
    color:#333;
}