.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.profil-panel {
    position: fixed;
    color: white;
    top: 0;
    right: -500px;
    width: 320px;
    height: 100vh;
    background-color: #1e1e1e;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.profil-panel.open {
    right: 0;
}

.profil-header {
    padding: 16px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profil-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.section {
    margin-bottom: 24px;
}

.section h3 {
    margin-bottom: 12px;
    color: #90caf9;
}

.profile-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #333;
    object-fit: cover;
}

.input {
    width: 97%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #444;
    background: #222;
    color: white;
    border-radius: 5px;
}

.btn {
    background: #2196f3;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background: #1976d2;
}

.stats {
    display: flex;
    gap: 12px;
}

.stat-box {
    flex: 1;
    background: #2c2c2c;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.commande {
    background: #2a2a2a;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.commande .actions {
    margin-top: 6px;
    text-align: right;
}

.btn-annuler {
    background: #e53935;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
}

.btn-annuler:hover {
    background: #c62828;
}